]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/html_wrap.cpp
Add AppendSubMenu
[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
554f62e9
RD
988/* for raw pointers */
989#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995#define swig_owntype int
d14a1e28 996
554f62e9
RD
997/* for raw packed data */
998#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 1000
554f62e9
RD
1001/* for class or struct pointers */
1002#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d14a1e28 1004
554f62e9
RD
1005/* for C or C++ function pointers */
1006#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d14a1e28 1008
554f62e9
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1012
093d3ff1 1013
554f62e9 1014/* Runtime API */
093d3ff1 1015
554f62e9
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1019
554f62e9
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
7449af73 1025
093d3ff1 1026
554f62e9 1027/* Runtime API implementation */
093d3ff1 1028
554f62e9 1029/* Error manipulation */
093d3ff1 1030
554f62e9
RD
1031SWIGINTERN void
1032SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1
RD
1037}
1038
554f62e9
RD
1039SWIGINTERN void
1040SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
d14a1e28 1044}
093d3ff1 1045
554f62e9 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1047
554f62e9 1048/* Set a constant value */
093d3ff1 1049
554f62e9
RD
1050SWIGINTERN void
1051SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
093d3ff1
RD
1054}
1055
554f62e9 1056/* Append a value to the result obj */
093d3ff1 1057
554f62e9
RD
1058SWIGINTERN PyObject*
1059SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076#else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
093d3ff1 1084 } else {
554f62e9
RD
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
093d3ff1 1096 }
554f62e9
RD
1097 return result;
1098#endif
093d3ff1
RD
1099}
1100
554f62e9 1101/* Unpack the argument tuple */
093d3ff1 1102
554f62e9
RD
1103SWIGINTERN int
1104SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105{
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139}
1140
1141/* A functor is a function object with one single object argument */
1142#if PY_VERSION_HEX >= 0x02020000
1143#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144#else
1145#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146#endif
1147
1148/*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151*/
1152#ifdef __cplusplus
1153#define SWIG_STATIC_POINTER(var) var
1154#else
1155#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156#endif
1157
1158/* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162/* Flags for new pointer objects */
1163#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168#ifdef __cplusplus
1169extern "C" {
1170#if 0
1171} /* cc-mode */
1172#endif
1173#endif
1174
1175/* How to access Py_None */
1176#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177# ifndef SWIG_PYTHON_NO_BUILD_NONE
1178# ifndef SWIG_PYTHON_BUILD_NONE
1179# define SWIG_PYTHON_BUILD_NONE
1180# endif
1181# endif
1182#endif
1183
1184#ifdef SWIG_PYTHON_BUILD_NONE
1185# ifdef Py_None
1186# undef Py_None
1187# define Py_None SWIG_Py_None()
1188# endif
1189SWIGRUNTIMEINLINE PyObject *
1190_SWIG_Py_None(void)
1191{
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195}
1196SWIGRUNTIME PyObject *
1197SWIG_Py_None(void)
1198{
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201}
1202#endif
1203
1204/* The python void return value */
1205
1206SWIGRUNTIMEINLINE PyObject *
1207SWIG_Py_Void(void)
1208{
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212}
1213
1214/* PySwigClientData */
1215
1216typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223} PySwigClientData;
1224
1225SWIGRUNTIMEINLINE int
1226SWIG_Python_CheckImplicit(swig_type_info *ty)
1227{
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230}
1231
1232SWIGRUNTIMEINLINE PyObject *
1233SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237}
1238
1239
1240SWIGRUNTIME PySwigClientData *
1241PySwigClientData_New(PyObject* obj)
1242{
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256#if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258#else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260#endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280#ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282#else
1283 data->delargs = 0;
1284#endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291}
1292
1293SWIGRUNTIME void
1294PySwigClientData_Del(PySwigClientData* data)
1295{
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299}
1300
1301/* =============== PySwigObject =====================*/
1302
1303typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309} PySwigObject;
1310
1311SWIGRUNTIME PyObject *
1312PySwigObject_long(PySwigObject *v)
1313{
1314 return PyLong_FromVoidPtr(v->ptr);
1315}
1316
1317SWIGRUNTIME PyObject *
1318PySwigObject_format(const char* fmt, PySwigObject *v)
1319{
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333}
1334
1335SWIGRUNTIME PyObject *
1336PySwigObject_oct(PySwigObject *v)
1337{
1338 return PySwigObject_format("%o",v);
1339}
1340
1341SWIGRUNTIME PyObject *
1342PySwigObject_hex(PySwigObject *v)
1343{
1344 return PySwigObject_format("%x",v);
1345}
1346
1347SWIGRUNTIME PyObject *
1348#ifdef METH_NOARGS
1349PySwigObject_repr(PySwigObject *v)
1350#else
1351PySwigObject_repr(PySwigObject *v, PyObject *args)
1352#endif
1353{
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359#ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361#else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363#endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367}
1368
1369SWIGRUNTIME int
1370PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371{
1372#ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374#else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376#endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384}
1385
1386SWIGRUNTIME PyObject *
1387PySwigObject_str(PySwigObject *v)
1388{
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392}
1393
1394SWIGRUNTIME int
1395PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396{
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400}
1401
1402SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404SWIGRUNTIME PyTypeObject*
1405PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408}
1409
1410SWIGRUNTIMEINLINE int
1411PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414}
1415
1416SWIGRUNTIME PyObject *
1417PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419SWIGRUNTIME void
1420PySwigObject_dealloc(PyObject *v)
1421{
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446#endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451}
1452
1453SWIGRUNTIME PyObject*
1454PySwigObject_append(PyObject* v, PyObject* next)
1455{
1456 PySwigObject *sobj = (PySwigObject *) v;
1457#ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461#endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468}
1469
1470SWIGRUNTIME PyObject*
1471#ifdef METH_NOARGS
1472PySwigObject_next(PyObject* v)
1473#else
1474PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475#endif
1476{
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484}
1485
1486SWIGINTERN PyObject*
1487#ifdef METH_NOARGS
1488PySwigObject_disown(PyObject *v)
1489#else
1490PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491#endif
1492{
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496}
1497
1498SWIGINTERN PyObject*
1499#ifdef METH_NOARGS
1500PySwigObject_acquire(PyObject *v)
1501#else
1502PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503#endif
1504{
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508}
1509
1510SWIGINTERN PyObject*
1511PySwigObject_own(PyObject *v, PyObject *args)
1512{
1513 PyObject *val = 0;
1514#if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516#else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518#endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527#ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533#else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539#endif
1540 }
1541 return obj;
1542 }
1543}
1544
1545#ifdef METH_O
1546static PyMethodDef
1547swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555};
1556#else
1557static PyMethodDef
1558swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566};
1567#endif
1568
1569#if PY_VERSION_HEX < 0x02020000
1570SWIGINTERN PyObject *
1571PySwigObject_getattr(PySwigObject *sobj,char *name)
1572{
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574}
1575#endif
1576
1577SWIGRUNTIME PyTypeObject*
1578_PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1605#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1609#endif
1610 };
1611
554f62e9 1612 static PyTypeObject pyswigobject_type;
7449af73 1613 static int type_init = 0;
093d3ff1 1614 if (!type_init) {
554f62e9
RD
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624#if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626#else
1627 (getattrfunc)0, /* tp_getattr */
093d3ff1 1628#endif
554f62e9
RD
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
093d3ff1 1647#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
093d3ff1
RD
1668#endif
1669#if PY_VERSION_HEX >= 0x02030000
554f62e9 1670 0, /* tp_del */
d14a1e28 1671#endif
093d3ff1 1672#ifdef COUNT_ALLOCS
554f62e9 1673 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1674#endif
554f62e9 1675 };
7449af73 1676 pyswigobject_type = tmp;
554f62e9 1677 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1678 type_init = 1;
1679 }
7449af73 1680 return &pyswigobject_type;
093d3ff1 1681}
c32bde28 1682
093d3ff1 1683SWIGRUNTIME PyObject *
554f62e9 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1685{
554f62e9
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
7449af73 1692 }
554f62e9 1693 return (PyObject *)sobj;
093d3ff1 1694}
d14a1e28 1695
093d3ff1
RD
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
d14a1e28 1699
093d3ff1
RD
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
554f62e9 1703 swig_type_info *ty;
093d3ff1
RD
1704 size_t size;
1705} PySwigPacked;
d14a1e28 1706
093d3ff1 1707SWIGRUNTIME int
554f62e9 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1709{
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
554f62e9 1716 fputs(v->ty->name,fp);
093d3ff1
RD
1717 fputs(">", fp);
1718 return 0;
1719}
9d7dfdff 1720
093d3ff1
RD
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1727 } else {
554f62e9 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1729 }
1730}
c32bde28 1731
093d3ff1
RD
1732SWIGRUNTIME PyObject *
1733PySwigPacked_str(PySwigPacked *v)
1734{
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1738 } else {
554f62e9 1739 return PyString_FromString(v->ty->name);
093d3ff1
RD
1740 }
1741}
1742
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745{
554f62e9
RD
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1750}
1751
554f62e9 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1753
1754SWIGRUNTIME PyTypeObject*
7449af73 1755PySwigPacked_type(void) {
554f62e9
RD
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758}
1759
1760SWIGRUNTIMEINLINE int
1761PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764}
1765
1766SWIGRUNTIME void
1767PySwigPacked_dealloc(PyObject *v)
1768{
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774}
1775
1776SWIGRUNTIME PyTypeObject*
1777_PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810#if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
093d3ff1
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
554f62e9 1833 0, /* tp_del */
093d3ff1
RD
1834#endif
1835#ifdef COUNT_ALLOCS
554f62e9 1836 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1837#endif
554f62e9 1838 };
7449af73 1839 pyswigpacked_type = tmp;
554f62e9 1840 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1841 type_init = 1;
1842 }
7449af73 1843 return &pyswigpacked_type;
093d3ff1
RD
1844}
1845
1846SWIGRUNTIME PyObject *
554f62e9 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1848{
554f62e9
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
093d3ff1 1851 void *pack = malloc(size);
7449af73
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
554f62e9
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
7449af73 1860 }
093d3ff1 1861 }
554f62e9 1862 return (PyObject *) sobj;
093d3ff1
RD
1863}
1864
554f62e9 1865SWIGRUNTIME swig_type_info *
093d3ff1
RD
1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867{
554f62e9
RD
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
093d3ff1
RD
1876}
1877
093d3ff1 1878/* -----------------------------------------------------------------------------
554f62e9 1879 * pointers/data manipulation
093d3ff1
RD
1880 * ----------------------------------------------------------------------------- */
1881
554f62e9
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
093d3ff1 1887
554f62e9
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
093d3ff1 1894
554f62e9 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1896
554f62e9
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1899{
554f62e9
RD
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913#ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918#endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
093d3ff1 1922 } else {
554f62e9
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
093d3ff1 1925 }
093d3ff1 1926 }
554f62e9
RD
1927 }
1928#else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936#endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
093d3ff1
RD
1943 }
1944}
1945
554f62e9
RD
1946/* Acquire a pointer value */
1947
1948SWIGRUNTIME int
1949SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
093d3ff1 1957 }
554f62e9 1958 return 0;
093d3ff1
RD
1959}
1960
554f62e9
RD
1961/* Convert a pointer value */
1962
093d3ff1 1963SWIGRUNTIME int
554f62e9
RD
1964SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
093d3ff1 1988 } else {
554f62e9
RD
1989 if (ptr) *ptr = vptr;
1990 break;
093d3ff1 1991 }
093d3ff1 1992 }
554f62e9
RD
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
093d3ff1
RD
2038 }
2039}
2040
554f62e9
RD
2041/* Convert a function ptr value */
2042
093d3ff1 2043SWIGRUNTIME int
554f62e9
RD
2044SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2047 } else {
554f62e9
RD
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
093d3ff1
RD
2065 }
2066}
2067
554f62e9 2068/* Convert a packed value value */
093d3ff1 2069
093d3ff1 2070SWIGRUNTIME int
554f62e9
RD
2071SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
093d3ff1 2080 }
554f62e9
RD
2081 return SWIG_OK;
2082}
093d3ff1 2083
554f62e9
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
093d3ff1 2087
554f62e9
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
093d3ff1 2092
554f62e9
RD
2093SWIGRUNTIME PyObject*
2094SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095{
2096#if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
093d3ff1 2111 }
554f62e9
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
093d3ff1 2116 }
554f62e9
RD
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
093d3ff1 2122 }
554f62e9
RD
2123 return inst;
2124#else
2125#if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132#else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
093d3ff1 2136 }
554f62e9
RD
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
093d3ff1 2143 }
554f62e9
RD
2144#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146#endif
2147#ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149#endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152#endif
2153#endif
093d3ff1
RD
2154}
2155
554f62e9
RD
2156SWIGRUNTIME void
2157SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158{
2159 PyObject *dict;
2160#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
093d3ff1 2171#endif
554f62e9
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
093d3ff1 2176
554f62e9
RD
2177
2178SWIGINTERN PyObject *
2179SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2187 } else {
554f62e9 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2189 }
554f62e9 2190 return SWIG_Py_Void();
093d3ff1 2191 }
554f62e9
RD
2192}
2193
2194/* Create a new pointer object */
093d3ff1 2195
093d3ff1 2196SWIGRUNTIME PyObject *
554f62e9 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2198 if (!ptr) {
554f62e9
RD
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
093d3ff1 2209 }
093d3ff1 2210 }
554f62e9 2211 return robj;
093d3ff1 2212 }
093d3ff1
RD
2213}
2214
554f62e9
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
093d3ff1 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2220}
2221
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
7449af73
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
093d3ff1
RD
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235#ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237#else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
093d3ff1 2244#endif
7449af73
RD
2245 }
2246 return (swig_module_info *) type_pointer;
093d3ff1
RD
2247}
2248
7449af73
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
554f62e9 2259 return SWIG_ERROR;
7449af73
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
554f62e9 2264 return SWIG_ERROR;
7449af73
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
554f62e9 2272 return SWIG_ERROR;
7449af73
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
554f62e9 2275 return SWIG_ERROR;
7449af73 2276 Py_DECREF(o);
554f62e9 2277 return SWIG_OK;
093d3ff1 2278}
7449af73 2279#endif
093d3ff1 2280
554f62e9
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
7449af73
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
554f62e9 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2306 } else {
2307 Py_XDECREF(pointer);
7449af73
RD
2308 }
2309}
8edf1c75 2310
554f62e9
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
093d3ff1 2316}
554f62e9
RD
2317
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 2461
7449af73
RD
2462#define SWIGTYPE_p_bool swig_types[0]
2463#define SWIGTYPE_p_char swig_types[1]
2464#define SWIGTYPE_p_form_ops_t swig_types[2]
2465#define SWIGTYPE_p_int swig_types[3]
2466#define SWIGTYPE_p_unsigned_char swig_types[4]
2467#define SWIGTYPE_p_unsigned_int swig_types[5]
2468#define SWIGTYPE_p_unsigned_long swig_types[6]
2469#define SWIGTYPE_p_wxANIHandler swig_types[7]
2470#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472#define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473#define SWIGTYPE_p_wxBitmap swig_types[11]
2474#define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475#define SWIGTYPE_p_wxCURHandler swig_types[13]
2476#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477#define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478#define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479#define SWIGTYPE_p_wxColour swig_types[17]
2480#define SWIGTYPE_p_wxColourData swig_types[18]
2481#define SWIGTYPE_p_wxColourDialog swig_types[19]
2482#define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483#define SWIGTYPE_p_wxConfigBase swig_types[21]
2484#define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2485#define SWIGTYPE_p_wxControl swig_types[23]
2486#define SWIGTYPE_p_wxControlWithItems swig_types[24]
2487#define SWIGTYPE_p_wxCursor swig_types[25]
2488#define SWIGTYPE_p_wxDC swig_types[26]
2489#define SWIGTYPE_p_wxDateEvent swig_types[27]
2490#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28]
2491#define SWIGTYPE_p_wxDialog swig_types[29]
2492#define SWIGTYPE_p_wxDirDialog swig_types[30]
2493#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495#define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496#define SWIGTYPE_p_wxEraseEvent swig_types[34]
2497#define SWIGTYPE_p_wxEvent swig_types[35]
2498#define SWIGTYPE_p_wxEvtHandler swig_types[36]
2499#define SWIGTYPE_p_wxFSFile swig_types[37]
2500#define SWIGTYPE_p_wxFileDialog swig_types[38]
2501#define SWIGTYPE_p_wxFileSystem swig_types[39]
2502#define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2503#define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2504#define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2505#define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2506#define SWIGTYPE_p_wxFocusEvent swig_types[44]
2507#define SWIGTYPE_p_wxFont swig_types[45]
2508#define SWIGTYPE_p_wxFontData swig_types[46]
2509#define SWIGTYPE_p_wxFontDialog swig_types[47]
2510#define SWIGTYPE_p_wxFrame swig_types[48]
2511#define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2512#define SWIGTYPE_p_wxGIFHandler swig_types[50]
2513#define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2514#define SWIGTYPE_p_wxGridSizer swig_types[52]
2515#define SWIGTYPE_p_wxHelpControllerBase swig_types[53]
2516#define SWIGTYPE_p_wxHelpSearchMode swig_types[54]
2517#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55]
2518#define SWIGTYPE_p_wxHtmlBookRecord swig_types[56]
2519#define SWIGTYPE_p_wxHtmlCell swig_types[57]
2520#define SWIGTYPE_p_wxHtmlColourCell swig_types[58]
2521#define SWIGTYPE_p_wxHtmlContainerCell swig_types[59]
2522#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60]
2523#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61]
2524#define SWIGTYPE_p_wxHtmlFilter swig_types[62]
2525#define SWIGTYPE_p_wxHtmlFontCell swig_types[63]
2526#define SWIGTYPE_p_wxHtmlHelpController swig_types[64]
2527#define SWIGTYPE_p_wxHtmlHelpData swig_types[65]
2528#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66]
2529#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67]
2530#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68]
2531#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69]
2532#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70]
2533#define SWIGTYPE_p_wxHtmlModalHelp swig_types[71]
2534#define SWIGTYPE_p_wxHtmlParser swig_types[72]
2535#define SWIGTYPE_p_wxHtmlPrintout swig_types[73]
2536#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74]
2537#define SWIGTYPE_p_wxHtmlRenderingState swig_types[75]
2538#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76]
2539#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77]
2540#define SWIGTYPE_p_wxHtmlSelection swig_types[78]
2541#define SWIGTYPE_p_wxHtmlTag swig_types[79]
2542#define SWIGTYPE_p_wxHtmlTagHandler swig_types[80]
2543#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81]
2544#define SWIGTYPE_p_wxHtmlWinParser swig_types[82]
2545#define SWIGTYPE_p_wxHtmlWindow swig_types[83]
2546#define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84]
e9d6f3a4
RD
2547#define SWIGTYPE_p_wxHtmlWindowInterface swig_types[85]
2548#define SWIGTYPE_p_wxHtmlWordCell swig_types[86]
2549#define SWIGTYPE_p_wxICOHandler swig_types[87]
2550#define SWIGTYPE_p_wxIconizeEvent swig_types[88]
2551#define SWIGTYPE_p_wxIdleEvent swig_types[89]
2552#define SWIGTYPE_p_wxImage swig_types[90]
2553#define SWIGTYPE_p_wxImageHandler swig_types[91]
2554#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[92]
2555#define SWIGTYPE_p_wxInitDialogEvent swig_types[93]
2556#define SWIGTYPE_p_wxJPEGHandler swig_types[94]
2557#define SWIGTYPE_p_wxKeyEvent swig_types[95]
2558#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[96]
2559#define SWIGTYPE_p_wxLayoutConstraints swig_types[97]
2560#define SWIGTYPE_p_wxMDIChildFrame swig_types[98]
2561#define SWIGTYPE_p_wxMDIClientWindow swig_types[99]
2562#define SWIGTYPE_p_wxMDIParentFrame swig_types[100]
2563#define SWIGTYPE_p_wxMaximizeEvent swig_types[101]
2564#define SWIGTYPE_p_wxMenu swig_types[102]
2565#define SWIGTYPE_p_wxMenuBar swig_types[103]
2566#define SWIGTYPE_p_wxMenuEvent swig_types[104]
2567#define SWIGTYPE_p_wxMenuItem swig_types[105]
2568#define SWIGTYPE_p_wxMessageDialog swig_types[106]
2569#define SWIGTYPE_p_wxMiniFrame swig_types[107]
2570#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[108]
2571#define SWIGTYPE_p_wxMouseEvent swig_types[109]
2572#define SWIGTYPE_p_wxMoveEvent swig_types[110]
2573#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[111]
2574#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[112]
2575#define SWIGTYPE_p_wxNcPaintEvent swig_types[113]
2576#define SWIGTYPE_p_wxNotifyEvent swig_types[114]
2577#define SWIGTYPE_p_wxObject swig_types[115]
2578#define SWIGTYPE_p_wxPCXHandler swig_types[116]
2579#define SWIGTYPE_p_wxPNGHandler swig_types[117]
2580#define SWIGTYPE_p_wxPNMHandler swig_types[118]
2581#define SWIGTYPE_p_wxPageSetupDialog swig_types[119]
2582#define SWIGTYPE_p_wxPageSetupDialogData swig_types[120]
2583#define SWIGTYPE_p_wxPaintEvent swig_types[121]
2584#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[122]
2585#define SWIGTYPE_p_wxPanel swig_types[123]
2586#define SWIGTYPE_p_wxPaperSize swig_types[124]
2587#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[125]
2588#define SWIGTYPE_p_wxPoint swig_types[126]
2589#define SWIGTYPE_p_wxPopupWindow swig_types[127]
2590#define SWIGTYPE_p_wxPreviewCanvas swig_types[128]
2591#define SWIGTYPE_p_wxPreviewControlBar swig_types[129]
2592#define SWIGTYPE_p_wxPreviewFrame swig_types[130]
2593#define SWIGTYPE_p_wxPrintData swig_types[131]
2594#define SWIGTYPE_p_wxPrintDialog swig_types[132]
2595#define SWIGTYPE_p_wxPrintDialogData swig_types[133]
2596#define SWIGTYPE_p_wxPrintPreview swig_types[134]
2597#define SWIGTYPE_p_wxPrinter swig_types[135]
2598#define SWIGTYPE_p_wxProgressDialog swig_types[136]
2599#define SWIGTYPE_p_wxPyApp swig_types[137]
2600#define SWIGTYPE_p_wxPyCommandEvent swig_types[138]
2601#define SWIGTYPE_p_wxPyEvent swig_types[139]
2602#define SWIGTYPE_p_wxPyHtmlFilter swig_types[140]
2603#define SWIGTYPE_p_wxPyHtmlListBox swig_types[141]
2604#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[142]
2605#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[143]
2606#define SWIGTYPE_p_wxPyHtmlWindow swig_types[144]
2607#define SWIGTYPE_p_wxPyImageHandler swig_types[145]
2608#define SWIGTYPE_p_wxPyPanel swig_types[146]
2609#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[147]
2610#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[148]
2611#define SWIGTYPE_p_wxPyPreviewFrame swig_types[149]
2612#define SWIGTYPE_p_wxPyPrintPreview swig_types[150]
2613#define SWIGTYPE_p_wxPyPrintout swig_types[151]
2614#define SWIGTYPE_p_wxPyScrolledWindow swig_types[152]
2615#define SWIGTYPE_p_wxPySizer swig_types[153]
2616#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[154]
2617#define SWIGTYPE_p_wxPyVListBox swig_types[155]
2618#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[156]
2619#define SWIGTYPE_p_wxPyValidator swig_types[157]
2620#define SWIGTYPE_p_wxPyWindow swig_types[158]
2621#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[159]
2622#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[160]
2623#define SWIGTYPE_p_wxSashEvent swig_types[161]
2624#define SWIGTYPE_p_wxSashLayoutWindow swig_types[162]
2625#define SWIGTYPE_p_wxSashWindow swig_types[163]
2626#define SWIGTYPE_p_wxScrollEvent swig_types[164]
2627#define SWIGTYPE_p_wxScrollWinEvent swig_types[165]
2628#define SWIGTYPE_p_wxScrolledWindow swig_types[166]
2629#define SWIGTYPE_p_wxSetCursorEvent swig_types[167]
2630#define SWIGTYPE_p_wxShowEvent swig_types[168]
2631#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[169]
2632#define SWIGTYPE_p_wxSize swig_types[170]
2633#define SWIGTYPE_p_wxSizeEvent swig_types[171]
2634#define SWIGTYPE_p_wxSizer swig_types[172]
2635#define SWIGTYPE_p_wxSizerItem swig_types[173]
2636#define SWIGTYPE_p_wxSplashScreen swig_types[174]
2637#define SWIGTYPE_p_wxSplashScreenWindow swig_types[175]
2638#define SWIGTYPE_p_wxSplitterEvent swig_types[176]
2639#define SWIGTYPE_p_wxSplitterWindow swig_types[177]
2640#define SWIGTYPE_p_wxStaticBoxSizer swig_types[178]
2641#define SWIGTYPE_p_wxStatusBar swig_types[179]
2642#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[180]
2643#define SWIGTYPE_p_wxString swig_types[181]
2644#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[182]
2645#define SWIGTYPE_p_wxTIFFHandler swig_types[183]
2646#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[184]
2647#define SWIGTYPE_p_wxTextEntryDialog swig_types[185]
2648#define SWIGTYPE_p_wxTipWindow swig_types[186]
2649#define SWIGTYPE_p_wxTopLevelWindow swig_types[187]
2650#define SWIGTYPE_p_wxTreeCtrl swig_types[188]
2651#define SWIGTYPE_p_wxUpdateUIEvent swig_types[189]
2652#define SWIGTYPE_p_wxValidator swig_types[190]
2653#define SWIGTYPE_p_wxVisualAttributes swig_types[191]
2654#define SWIGTYPE_p_wxWindow swig_types[192]
2655#define SWIGTYPE_p_wxWindowCreateEvent swig_types[193]
2656#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[194]
2657#define SWIGTYPE_p_wxXPMHandler swig_types[195]
2658static swig_type_info *swig_types[197];
2659static swig_module_info swig_module = {swig_types, 196, 0, 0, 0, 0};
7449af73
RD
2660#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2661#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
8edf1c75 2662
093d3ff1 2663/* -------- TYPES TABLE (END) -------- */
8edf1c75 2664
554f62e9
RD
2665#if (PY_VERSION_HEX <= 0x02000000)
2666# if !defined(SWIG_PYTHON_CLASSIC)
2667# error "This python version requires to use swig with the '-classic' option"
2668# endif
2669#endif
2670#if (PY_VERSION_HEX <= 0x02020000)
2671# error "This python version requires to use swig with the '-nomodern' option"
2672#endif
2673#if (PY_VERSION_HEX <= 0x02020000)
2674# error "This python version requires to use swig with the '-nomodernargs' option"
2675#endif
2676#ifndef METH_O
2677# error "This python version requires to use swig with the '-nofastunpack' option"
2678#endif
8edf1c75 2679
093d3ff1
RD
2680/*-----------------------------------------------
2681 @(target):= _html.so
2682 ------------------------------------------------*/
2683#define SWIG_init init_html
2684
2685#define SWIG_name "_html"
8edf1c75 2686
554f62e9
RD
2687#define SWIGVERSION 0x010329
2688
2689
2690#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2691#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2692
2693
2694#include <stdexcept>
2695
2696
2697namespace swig {
2698 class PyObject_ptr {
2699 protected:
2700 PyObject *_obj;
2701
2702 public:
2703 PyObject_ptr() :_obj(0)
2704 {
2705 }
2706
2707 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2708 {
2709 Py_XINCREF(_obj);
2710 }
2711
2712 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2713 {
2714 if (initial_ref) Py_XINCREF(_obj);
2715 }
2716
2717 PyObject_ptr & operator=(const PyObject_ptr& item)
2718 {
2719 Py_XINCREF(item._obj);
2720 Py_XDECREF(_obj);
2721 _obj = item._obj;
2722 return *this;
2723 }
2724
2725 ~PyObject_ptr()
2726 {
2727 Py_XDECREF(_obj);
2728 }
2729
2730 operator PyObject *() const
2731 {
2732 return _obj;
2733 }
2734
2735 PyObject *operator->() const
2736 {
2737 return _obj;
2738 }
2739 };
2740}
2741
2742
2743namespace swig {
2744 struct PyObject_var : PyObject_ptr {
2745 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2746
2747 PyObject_var & operator = (PyObject* obj)
2748 {
2749 Py_XDECREF(_obj);
2750 _obj = obj;
2751 return *this;
2752 }
2753 };
2754}
2755
2756
d14a1e28
RD
2757#include "wx/wxPython/wxPython.h"
2758#include "wx/wxPython/pyclasses.h"
2759#include "wx/wxPython/pyistream.h"
2760#include "wx/wxPython/printfw.h"
2761
2762#include <wx/html/htmlwin.h>
2763#include <wx/html/htmprint.h>
2764#include <wx/html/helpctrl.h>
7449af73
RD
2765#include <wx/html/helpwnd.h>
2766#include <wx/html/helpfrm.h>
2767#include <wx/html/helpdlg.h>
d14a1e28
RD
2768
2769
d03fd34d
RD
2770 static const wxString wxPyEmptyString(wxEmptyString);
2771 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2772 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2773 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
8edf1c75 2774
554f62e9 2775 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2776
2777
554f62e9
RD
2778SWIGINTERNINLINE PyObject *
2779SWIG_From_int (int value)
2780{
2781 return SWIG_From_long (value);
2782}
2f4c0a16
RD
2783
2784
554f62e9
RD
2785#include <limits.h>
2786#ifndef LLONG_MIN
2787# define LLONG_MIN LONG_LONG_MIN
2788#endif
2789#ifndef LLONG_MAX
2790# define LLONG_MAX LONG_LONG_MAX
2791#endif
2792#ifndef ULLONG_MAX
2793# define ULLONG_MAX ULONG_LONG_MAX
2794#endif
2f4c0a16
RD
2795
2796
093d3ff1 2797SWIGINTERN int
554f62e9 2798SWIG_AsVal_long (PyObject* obj, long* val)
2f4c0a16 2799{
c32bde28
RD
2800 if (PyNumber_Check(obj)) {
2801 if (val) *val = PyInt_AsLong(obj);
554f62e9 2802 return SWIG_OK;
c32bde28 2803 }
554f62e9 2804 return SWIG_TypeError;
2f4c0a16
RD
2805}
2806
2807
093d3ff1 2808SWIGINTERN int
554f62e9
RD
2809SWIG_AsVal_int (PyObject * obj, int *val)
2810{
c32bde28 2811 long v;
554f62e9
RD
2812 int res = SWIG_AsVal_long (obj, &v);
2813 if (SWIG_IsOK(res)) {
2814 if ((v < INT_MIN || v > INT_MAX)) {
2815 return SWIG_OverflowError;
c32bde28 2816 } else {
554f62e9 2817 if (val) *val = static_cast< int >(v);
c32bde28 2818 }
554f62e9
RD
2819 }
2820 return res;
8edf1c75
RD
2821}
2822
554f62e9 2823SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2824 int* temp = NULL;
2825 if (sizes) temp = int_LIST_helper(sizes);
2826 self->SetFonts(normal_face, fixed_face, temp);
2827 if (temp)
2828 delete [] temp;
2829 }
2830
2831class wxPyHtmlTagHandler : public wxHtmlTagHandler {
7449af73 2832 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
d14a1e28
RD
2833public:
2834 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2835
2836 wxHtmlParser* GetParser() { return m_Parser; }
2837 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
2838
2839 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2840 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2841
2842 PYPRIVATE;
2843};
2844
2845IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
2846
2847IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
2848IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
2849
2850
2851class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
7449af73 2852 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
d14a1e28
RD
2853public:
2854 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2855
2856 wxHtmlWinParser* GetParser() { return m_WParser; }
2857 void ParseInner(const wxHtmlTag& tag)
2858 { wxHtmlWinTagHandler::ParseInner(tag); }
2859
2860 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2861 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2862
2863 PYPRIVATE;
2864};
2865
2866IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
2867
2868IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
2869IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
2870
2871
2872
2873class wxPyHtmlTagsModule : public wxHtmlTagsModule {
2874public:
2875 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
2876 m_tagHandlerClass = thc;
2877 Py_INCREF(m_tagHandlerClass);
2878 RegisterModule(this);
2879 wxHtmlWinParser::AddModule(this);
2880 }
2881
2882 void OnExit() {
5a446332 2883 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2884 Py_DECREF(m_tagHandlerClass);
2885 m_tagHandlerClass = NULL;
2886 for (size_t x=0; x < m_objArray.GetCount(); x++) {
2887 PyObject* obj = (PyObject*)m_objArray.Item(x);
2888 Py_DECREF(obj);
2889 }
4f89f6a3 2890 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2891 };
2892
2893 void FillHandlersTable(wxHtmlWinParser *parser) {
2894 // Wave our magic wand... (if it works it's a miracle! ;-)
2895
2896 // First, make a new instance of the tag handler
5a446332 2897 wxPyBlock_t blocked = wxPyBeginBlockThreads();
fb757066
RD
2898 PyObject* arg = PyTuple_New(0);
2899 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 2900 Py_DECREF(arg);
7449af73 2901
d14a1e28
RD
2902 // now figure out where it's C++ object is...
2903 wxPyHtmlWinTagHandler* thPtr;
fb757066 2904 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
4f89f6a3 2905 wxPyEndBlockThreads(blocked);
d14a1e28 2906 return;
fb757066 2907 }
4f89f6a3 2908 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2909
2910 // add it,
2911 parser->AddTagHandler(thPtr);
2912
2913 // and track it.
2914 m_objArray.Add(obj);
2915 }
2916
2917private:
2918 PyObject* m_tagHandlerClass;
2919 wxArrayPtrVoid m_objArray;
2920
2921};
2922
2923
2924 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
2925 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2926 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2927 new wxPyHtmlTagsModule(tagHandlerClass);
2928 }
2929
2930
7449af73 2931SWIGINTERNINLINE PyObject*
554f62e9 2932 SWIG_From_bool (bool value)
093d3ff1 2933{
554f62e9 2934 return PyBool_FromLong(value ? 1 : 0);
093d3ff1
RD
2935}
2936
2937
093d3ff1 2938SWIGINTERN int
554f62e9 2939SWIG_AsVal_bool (PyObject *obj, bool *val)
2f4c0a16 2940{
c32bde28
RD
2941 if (obj == Py_True) {
2942 if (val) *val = true;
554f62e9
RD
2943 return SWIG_OK;
2944 } else if (obj == Py_False) {
c32bde28 2945 if (val) *val = false;
554f62e9 2946 return SWIG_OK;
093d3ff1 2947 } else {
554f62e9
RD
2948 long v = 0;
2949 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2950 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2951 return res;
2f4c0a16 2952 }
c32bde28
RD
2953}
2954
c32bde28 2955
093d3ff1 2956SWIGINTERN int
554f62e9 2957SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
c32bde28
RD
2958{
2959 long v = 0;
2960 if (SWIG_AsVal_long(obj, &v) && v < 0) {
554f62e9 2961 return SWIG_TypeError;
c32bde28
RD
2962 }
2963 else if (val)
2964 *val = (unsigned long)v;
554f62e9 2965 return SWIG_OK;
2f4c0a16
RD
2966}
2967
2968
093d3ff1 2969SWIGINTERN int
554f62e9
RD
2970SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2971{
c32bde28 2972 unsigned long v;
554f62e9
RD
2973 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2974 if (SWIG_IsOK(res)) {
2975 if ((v > UINT_MAX)) {
2976 return SWIG_OverflowError;
2977 } else {
2978 if (val) *val = static_cast< unsigned int >(v);
c32bde28 2979 }
554f62e9
RD
2980 }
2981 return res;
c32bde28 2982}
8edf1c75
RD
2983
2984
554f62e9
RD
2985SWIGINTERNINLINE PyObject*
2986SWIG_From_unsigned_SS_long (unsigned long value)
8edf1c75 2987{
554f62e9
RD
2988 return (value > LONG_MAX) ?
2989 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
c32bde28
RD
2990}
2991
554f62e9
RD
2992
2993SWIGINTERNINLINE PyObject *
2994SWIG_From_unsigned_SS_int (unsigned int value)
2995{
2996 return SWIG_From_unsigned_SS_long (value);
2f4c0a16
RD
2997}
2998
d14a1e28
RD
2999 // here's the C++ version
3000class wxPyHtmlFilter : public wxHtmlFilter {
7449af73 3001 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
d14a1e28
RD
3002public:
3003 wxPyHtmlFilter() : wxHtmlFilter() {}
3004
423f194a 3005 // returns True if this filter is able to open&read given file
d14a1e28 3006 virtual bool CanRead(const wxFSFile& file) const {
ae8162c8 3007 bool rval = false;
d14a1e28 3008 bool found;
5a446332 3009 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3010 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 3011 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
3012 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3013 Py_DECREF(obj);
3014 }
4f89f6a3 3015 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3016 return rval;
3017 }
3018
3019
3020 // Reads given file and returns HTML document.
3021 // Returns empty string if opening failed
3022 virtual wxString ReadFile(const wxFSFile& file) const {
3023 wxString rval;
3024 bool found;
5a446332 3025 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3026 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 3027 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
3028 PyObject* ro;
3029 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
3030 Py_DECREF(obj);
3031 if (ro) {
3032 rval = Py2wxString(ro);
3033 Py_DECREF(ro);
3034 }
3035 }
4f89f6a3 3036 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3037 return rval;
3038 }
3039
3040 PYPRIVATE;
3041};
3042
3043IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
3044
3045
3046class wxPyHtmlWindow : public wxHtmlWindow {
7449af73 3047 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
d14a1e28
RD
3048public:
3049 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
3050 const wxPoint& pos = wxDefaultPosition,
3051 const wxSize& size = wxDefaultSize,
3052 long style = wxHW_DEFAULT_STYLE,
3053 const wxString& name = wxPyHtmlWindowNameStr)
3054 : wxHtmlWindow(parent, id, pos, size, style, name) {};
3055 wxPyHtmlWindow() : wxHtmlWindow() {};
3056
3057 bool ScrollToAnchor(const wxString& anchor) {
3058 return wxHtmlWindow::ScrollToAnchor(anchor);
3059 }
3060
3061 bool HasAnchor(const wxString& anchor) {
3062 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
3063 return c!=NULL;
3064 }
3065
3066 void OnLinkClicked(const wxHtmlLinkInfo& link);
d14a1e28
RD
3067
3068 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
3069 const wxString& url,
3070 wxString *redirect) const;
3071
3072 DEC_PYCALLBACK__STRING(OnSetTitle);
3073 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
e9d6f3a4
RD
3074 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
3075
d14a1e28
RD
3076 PYPRIVATE;
3077};
3078
3079IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
3080IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
3081IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
e9d6f3a4 3082IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
d14a1e28
RD
3083
3084
3085void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
3086 bool found;
5a446332 3087 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3088 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3089 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3090 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3091 Py_DECREF(obj);
3092 }
4f89f6a3 3093 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3094 if (! found)
3095 wxHtmlWindow::OnLinkClicked(link);
3096}
d14a1e28
RD
3097
3098
3099wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
3100 const wxString& url,
3101 wxString *redirect) const {
3102 bool found;
3103 wxHtmlOpeningStatus rval;
5a446332 3104 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3105 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
3106 PyObject* ro;
3107 PyObject* s = wx2PyString(url);
3108 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
3109 Py_DECREF(s);
3110 if (PyString_Check(ro)
3111#if PYTHON_API_VERSION >= 1009
3112 || PyUnicode_Check(ro)
3113#endif
3114 ) {
3115 *redirect = Py2wxString(ro);
3116 rval = wxHTML_REDIRECT;
3117 }
3118 else {
3119 PyObject* num = PyNumber_Int(ro);
3120 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
3121 Py_DECREF(num);
3122 }
3123 Py_DECREF(ro);
3124 }
4f89f6a3 3125 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3126 if (! found)
3127 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
3128 return rval;
3129}
3130
3131
3132
554f62e9 3133SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3134 int* temp = NULL;
3135 if (sizes) temp = int_LIST_helper(sizes);
3136 self->SetFonts(normal_face, fixed_face, temp);
3137 if (temp)
3138 delete [] temp;
3139 }
554f62e9 3140SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3141 int* temp = NULL;
3142 if (sizes) temp = int_LIST_helper(sizes);
3143 self->SetFonts(normal_face, fixed_face, temp);
3144 if (temp)
3145 delete [] temp;
3146 }
554f62e9 3147SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3148 int* temp = NULL;
3149 if (sizes) temp = int_LIST_helper(sizes);
3150 self->SetFonts(normal_face, fixed_face, temp);
3151 if (temp)
3152 delete [] temp;
3153 }
8edf1c75 3154
2f4c0a16 3155#include <float.h>
2f4c0a16
RD
3156
3157
093d3ff1 3158SWIGINTERN int
554f62e9 3159SWIG_AsVal_double (PyObject *obj, double* val)
8edf1c75 3160{
c32bde28
RD
3161 if (PyNumber_Check(obj)) {
3162 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 3163 return SWIG_OK;
69223c70 3164 }
554f62e9 3165 return SWIG_TypeError;
c32bde28
RD
3166}
3167
3168
093d3ff1 3169SWIGINTERN int
554f62e9 3170SWIG_AsVal_float (PyObject * obj, float *val)
c32bde28 3171{
c32bde28 3172 double v;
554f62e9
RD
3173 int res = SWIG_AsVal_double (obj, &v);
3174 if (SWIG_IsOK(res)) {
3175 if ((v < -FLT_MAX || v > FLT_MAX)) {
3176 return SWIG_OverflowError;
c32bde28 3177 } else {
554f62e9 3178 if (val) *val = static_cast< float >(v);
c32bde28 3179 }
554f62e9
RD
3180 }
3181 return res;
8edf1c75
RD
3182}
3183
554f62e9 3184SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3185 int* temp = NULL;
3186 if (sizes) temp = int_LIST_helper(sizes);
3187 self->SetFonts(normal_face, fixed_face, temp);
3188 if (temp)
3189 delete [] temp;
3190 }
d14a1e28
RD
3191#ifdef __cplusplus
3192extern "C" {
3193#endif
554f62e9
RD
3194SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3195 SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3196 return 1;
d03fd34d
RD
3197}
3198
3199
554f62e9
RD
3200SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3201 PyObject *pyobj = 0;
3202
3203 {
d03fd34d 3204#if wxUSE_UNICODE
554f62e9 3205 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
d03fd34d 3206#else
554f62e9 3207 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
d03fd34d 3208#endif
554f62e9
RD
3209 }
3210 return pyobj;
d03fd34d
RD
3211}
3212
3213
554f62e9
RD
3214SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3215 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3216 return 1;
d03fd34d
RD
3217}
3218
3219
554f62e9
RD
3220SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3221 PyObject *pyobj = 0;
3222
3223 {
d03fd34d 3224#if wxUSE_UNICODE
554f62e9 3225 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
d03fd34d 3226#else
554f62e9 3227 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
d03fd34d 3228#endif
554f62e9
RD
3229 }
3230 return pyobj;
d03fd34d
RD
3231}
3232
3233
554f62e9
RD
3234SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3235 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3236 return 1;
d03fd34d
RD
3237}
3238
3239
554f62e9
RD
3240SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3241 PyObject *pyobj = 0;
3242
3243 {
d03fd34d 3244#if wxUSE_UNICODE
554f62e9 3245 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
d03fd34d 3246#else
554f62e9 3247 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
d03fd34d 3248#endif
554f62e9
RD
3249 }
3250 return pyobj;
3251}
3252
3253
3254SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj = 0;
3256 wxString *arg1 = 0 ;
3257 wxString const &arg2_defvalue = wxPyEmptyString ;
3258 wxString *arg2 = (wxString *) &arg2_defvalue ;
3259 wxHtmlLinkInfo *result = 0 ;
3260 bool temp1 = false ;
3261 bool temp2 = false ;
3262 PyObject * obj0 = 0 ;
3263 PyObject * obj1 = 0 ;
3264 char * kwnames[] = {
3265 (char *) "href",(char *) "target", NULL
3266 };
3267
3268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3269 {
3270 arg1 = wxString_in_helper(obj0);
3271 if (arg1 == NULL) SWIG_fail;
3272 temp1 = true;
3273 }
3274 if (obj1) {
d14a1e28 3275 {
554f62e9
RD
3276 arg2 = wxString_in_helper(obj1);
3277 if (arg2 == NULL) SWIG_fail;
3278 temp2 = true;
d14a1e28 3279 }
554f62e9
RD
3280 }
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3288 {
3289 if (temp1)
3290 delete arg1;
3291 }
3292 {
3293 if (temp2)
3294 delete arg2;
3295 }
3296 return resultobj;
3297fail:
3298 {
3299 if (temp1)
3300 delete arg1;
3301 }
3302 {
3303 if (temp2)
3304 delete arg2;
3305 }
3306 return NULL;
d14a1e28
RD
3307}
3308
3309
554f62e9
RD
3310SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3311 PyObject *resultobj = 0;
3312 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3313 wxString result;
3314 void *argp1 = 0 ;
3315 int res1 = 0 ;
3316 PyObject *swig_obj[1] ;
3317
3318 if (!args) SWIG_fail;
3319 swig_obj[0] = args;
3320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3321 if (!SWIG_IsOK(res1)) {
3322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3323 }
3324 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 result = (arg1)->GetHref();
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 {
d14a1e28 3332#if wxUSE_UNICODE
554f62e9 3333 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3334#else
554f62e9 3335 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3336#endif
554f62e9
RD
3337 }
3338 return resultobj;
3339fail:
3340 return NULL;
d14a1e28
RD
3341}
3342
3343
554f62e9
RD
3344SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3345 PyObject *resultobj = 0;
3346 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3347 wxString result;
3348 void *argp1 = 0 ;
3349 int res1 = 0 ;
3350 PyObject *swig_obj[1] ;
3351
3352 if (!args) SWIG_fail;
3353 swig_obj[0] = args;
3354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3355 if (!SWIG_IsOK(res1)) {
3356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3357 }
3358 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3359 {
3360 PyThreadState* __tstate = wxPyBeginAllowThreads();
3361 result = (arg1)->GetTarget();
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 {
d14a1e28 3366#if wxUSE_UNICODE
554f62e9 3367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3368#else
554f62e9 3369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3370#endif
554f62e9
RD
3371 }
3372 return resultobj;
3373fail:
3374 return NULL;
d14a1e28
RD
3375}
3376
3377
554f62e9
RD
3378SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3379 PyObject *resultobj = 0;
3380 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3381 wxMouseEvent *result = 0 ;
3382 void *argp1 = 0 ;
3383 int res1 = 0 ;
3384 PyObject *swig_obj[1] ;
3385
3386 if (!args) SWIG_fail;
3387 swig_obj[0] = args;
3388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3389 if (!SWIG_IsOK(res1)) {
3390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3391 }
3392 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 result = (wxMouseEvent *)(arg1)->GetEvent();
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 {
3400 resultobj = wxPyMake_wxObject(result, (bool)0);
3401 }
3402 return resultobj;
3403fail:
3404 return NULL;
d14a1e28
RD
3405}
3406
3407
554f62e9
RD
3408SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3409 PyObject *resultobj = 0;
3410 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3411 wxHtmlCell *result = 0 ;
3412 void *argp1 = 0 ;
3413 int res1 = 0 ;
3414 PyObject *swig_obj[1] ;
3415
3416 if (!args) SWIG_fail;
3417 swig_obj[0] = args;
3418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3419 if (!SWIG_IsOK(res1)) {
3420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3421 }
3422 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3430 return resultobj;
3431fail:
3432 return NULL;
3433}
3434
3435
3436SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3437 PyObject *resultobj = 0;
3438 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3439 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3440 void *argp1 = 0 ;
3441 int res1 = 0 ;
3442 void *argp2 = 0 ;
3443 int res2 = 0 ;
3444 PyObject * obj0 = 0 ;
3445 PyObject * obj1 = 0 ;
3446 char * kwnames[] = {
3447 (char *) "self",(char *) "e", NULL
3448 };
3449
3450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3452 if (!SWIG_IsOK(res1)) {
3453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3454 }
3455 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3457 if (!SWIG_IsOK(res2)) {
3458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3459 }
3460 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 (arg1)->SetEvent((wxMouseEvent const *)arg2);
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 resultobj = SWIG_Py_Void();
3468 return resultobj;
3469fail:
3470 return NULL;
3471}
3472
3473
3474SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3475 PyObject *resultobj = 0;
3476 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3477 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3478 void *argp1 = 0 ;
3479 int res1 = 0 ;
3480 void *argp2 = 0 ;
3481 int res2 = 0 ;
3482 PyObject * obj0 = 0 ;
3483 PyObject * obj1 = 0 ;
3484 char * kwnames[] = {
3485 (char *) "self",(char *) "e", NULL
3486 };
3487
3488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3490 if (!SWIG_IsOK(res1)) {
3491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3492 }
3493 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3495 if (!SWIG_IsOK(res2)) {
3496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3497 }
3498 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 resultobj = SWIG_Py_Void();
3506 return resultobj;
3507fail:
3508 return NULL;
d14a1e28
RD
3509}
3510
3511
554f62e9
RD
3512SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3513 PyObject *obj;
3514 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3515 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3516 return SWIG_Py_Void();
d14a1e28
RD
3517}
3518
554f62e9
RD
3519SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3520 return SWIG_Python_InitShadowInstance(args);
3521}
d14a1e28 3522
554f62e9
RD
3523SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3524 PyObject *resultobj = 0;
3525 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3526 wxString result;
3527 void *argp1 = 0 ;
3528 int res1 = 0 ;
3529 PyObject *swig_obj[1] ;
3530
3531 if (!args) SWIG_fail;
3532 swig_obj[0] = args;
3533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3534 if (!SWIG_IsOK(res1)) {
3535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3536 }
3537 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3538 {
3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
3540 result = (arg1)->GetName();
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 }
3544 {
3545#if wxUSE_UNICODE
3546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3547#else
3548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3549#endif
3550 }
3551 return resultobj;
3552fail:
3553 return NULL;
3554}
3555
3556
3557SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj = 0;
3559 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3560 wxString *arg2 = 0 ;
3561 bool result;
3562 void *argp1 = 0 ;
3563 int res1 = 0 ;
3564 bool temp2 = false ;
3565 PyObject * obj0 = 0 ;
3566 PyObject * obj1 = 0 ;
3567 char * kwnames[] = {
3568 (char *) "self",(char *) "par", NULL
3569 };
3570
3571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3573 if (!SWIG_IsOK(res1)) {
3574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3575 }
3576 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3577 {
3578 arg2 = wxString_in_helper(obj1);
3579 if (arg2 == NULL) SWIG_fail;
3580 temp2 = true;
3581 }
3582 {
3583 PyThreadState* __tstate = wxPyBeginAllowThreads();
3584 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 {
3589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3590 }
3591 {
3592 if (temp2)
3593 delete arg2;
3594 }
3595 return resultobj;
3596fail:
3597 {
3598 if (temp2)
3599 delete arg2;
3600 }
3601 return NULL;
3602}
3603
3604
3605SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj = 0;
3607 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3608 wxString *arg2 = 0 ;
3609 int arg3 = (int) false ;
3610 wxString result;
3611 void *argp1 = 0 ;
3612 int res1 = 0 ;
3613 bool temp2 = false ;
3614 int val3 ;
3615 int ecode3 = 0 ;
3616 PyObject * obj0 = 0 ;
3617 PyObject * obj1 = 0 ;
3618 PyObject * obj2 = 0 ;
3619 char * kwnames[] = {
3620 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3621 };
3622
3623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3625 if (!SWIG_IsOK(res1)) {
3626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3627 }
3628 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3629 {
3630 arg2 = wxString_in_helper(obj1);
3631 if (arg2 == NULL) SWIG_fail;
3632 temp2 = true;
3633 }
3634 if (obj2) {
3635 ecode3 = SWIG_AsVal_int(obj2, &val3);
3636 if (!SWIG_IsOK(ecode3)) {
3637 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3638 }
3639 arg3 = static_cast< int >(val3);
3640 }
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648#if wxUSE_UNICODE
3649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3650#else
3651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3652#endif
3653 }
3654 {
3655 if (temp2)
3656 delete arg2;
3657 }
3658 return resultobj;
3659fail:
3660 {
3661 if (temp2)
3662 delete arg2;
3663 }
3664 return NULL;
d14a1e28
RD
3665}
3666
3667
554f62e9
RD
3668SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3669 PyObject *resultobj = 0;
3670 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3671 wxString result;
3672 void *argp1 = 0 ;
3673 int res1 = 0 ;
3674 PyObject *swig_obj[1] ;
3675
3676 if (!args) SWIG_fail;
3677 swig_obj[0] = args;
3678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3679 if (!SWIG_IsOK(res1)) {
3680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3681 }
3682 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3683 {
3684 PyThreadState* __tstate = wxPyBeginAllowThreads();
3685 result = (arg1)->GetAllParams();
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 {
d14a1e28 3690#if wxUSE_UNICODE
554f62e9 3691 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3692#else
554f62e9 3693 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3694#endif
554f62e9
RD
3695 }
3696 return resultobj;
3697fail:
3698 return NULL;
d14a1e28
RD
3699}
3700
3701
554f62e9
RD
3702SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3703 PyObject *resultobj = 0;
3704 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3705 bool result;
3706 void *argp1 = 0 ;
3707 int res1 = 0 ;
3708 PyObject *swig_obj[1] ;
3709
3710 if (!args) SWIG_fail;
3711 swig_obj[0] = args;
3712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3713 if (!SWIG_IsOK(res1)) {
3714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3715 }
3716 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (bool)(arg1)->HasEnding();
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 {
3724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3725 }
3726 return resultobj;
3727fail:
3728 return NULL;
d14a1e28
RD
3729}
3730
3731
554f62e9
RD
3732SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3733 PyObject *resultobj = 0;
3734 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3735 int result;
3736 void *argp1 = 0 ;
3737 int res1 = 0 ;
3738 PyObject *swig_obj[1] ;
3739
3740 if (!args) SWIG_fail;
3741 swig_obj[0] = args;
3742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3743 if (!SWIG_IsOK(res1)) {
3744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3745 }
3746 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = (int)(arg1)->GetBeginPos();
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 resultobj = SWIG_From_int(static_cast< int >(result));
3754 return resultobj;
3755fail:
3756 return NULL;
d14a1e28
RD
3757}
3758
3759
554f62e9
RD
3760SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3761 PyObject *resultobj = 0;
3762 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3763 int result;
3764 void *argp1 = 0 ;
3765 int res1 = 0 ;
3766 PyObject *swig_obj[1] ;
3767
3768 if (!args) SWIG_fail;
3769 swig_obj[0] = args;
3770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3771 if (!SWIG_IsOK(res1)) {
3772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3773 }
3774 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 result = (int)(arg1)->GetEndPos1();
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 resultobj = SWIG_From_int(static_cast< int >(result));
3782 return resultobj;
3783fail:
3784 return NULL;
d14a1e28
RD
3785}
3786
3787
554f62e9
RD
3788SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3789 PyObject *resultobj = 0;
3790 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3791 int result;
3792 void *argp1 = 0 ;
3793 int res1 = 0 ;
3794 PyObject *swig_obj[1] ;
3795
3796 if (!args) SWIG_fail;
3797 swig_obj[0] = args;
3798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3799 if (!SWIG_IsOK(res1)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3801 }
3802 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = (int)(arg1)->GetEndPos2();
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = SWIG_From_int(static_cast< int >(result));
3810 return resultobj;
3811fail:
3812 return NULL;
3813}
3814
3815
3816SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3817 PyObject *obj;
3818 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3819 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3820 return SWIG_Py_Void();
3821}
3822
3823SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3824 PyObject *resultobj = 0;
3825 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3826 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3827 void *argp1 = 0 ;
3828 int res1 = 0 ;
3829 void *argp2 = 0 ;
3830 int res2 = 0 ;
3831 PyObject * obj0 = 0 ;
3832 PyObject * obj1 = 0 ;
3833 char * kwnames[] = {
3834 (char *) "self",(char *) "fs", NULL
3835 };
3836
3837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3839 if (!SWIG_IsOK(res1)) {
3840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3841 }
3842 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3843 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3844 if (!SWIG_IsOK(res2)) {
3845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3846 }
3847 arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 (arg1)->SetFS(arg2);
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_Py_Void();
3855 return resultobj;
3856fail:
3857 return NULL;
d14a1e28
RD
3858}
3859
3860
554f62e9
RD
3861SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3862 PyObject *resultobj = 0;
3863 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3864 wxFileSystem *result = 0 ;
3865 void *argp1 = 0 ;
3866 int res1 = 0 ;
3867 PyObject *swig_obj[1] ;
3868
3869 if (!args) SWIG_fail;
3870 swig_obj[0] = args;
3871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3872 if (!SWIG_IsOK(res1)) {
3873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3874 }
3875 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3876 {
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 result = (wxFileSystem *)(arg1)->GetFS();
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 {
3883 resultobj = wxPyMake_wxObject(result, (bool)0);
3884 }
3885 return resultobj;
3886fail:
3887 return NULL;
3888}
3889
3890
3891SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj = 0;
3893 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3894 wxString *arg2 = 0 ;
3895 wxObject *result = 0 ;
3896 void *argp1 = 0 ;
3897 int res1 = 0 ;
3898 bool temp2 = false ;
3899 PyObject * obj0 = 0 ;
3900 PyObject * obj1 = 0 ;
3901 char * kwnames[] = {
3902 (char *) "self",(char *) "source", NULL
3903 };
3904
3905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3907 if (!SWIG_IsOK(res1)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3909 }
3910 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3911 {
3912 arg2 = wxString_in_helper(obj1);
3913 if (arg2 == NULL) SWIG_fail;
3914 temp2 = true;
3915 }
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 resultobj = wxPyMake_wxObject(result, (bool)0);
3924 }
3925 {
3926 if (temp2)
3927 delete arg2;
3928 }
3929 return resultobj;
3930fail:
3931 {
3932 if (temp2)
3933 delete arg2;
3934 }
3935 return NULL;
d14a1e28
RD
3936}
3937
3938
554f62e9
RD
3939SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj = 0;
3941 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3942 wxString *arg2 = 0 ;
3943 void *argp1 = 0 ;
3944 int res1 = 0 ;
3945 bool temp2 = false ;
3946 PyObject * obj0 = 0 ;
3947 PyObject * obj1 = 0 ;
3948 char * kwnames[] = {
3949 (char *) "self",(char *) "source", NULL
3950 };
3951
3952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3954 if (!SWIG_IsOK(res1)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3956 }
3957 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3958 {
3959 arg2 = wxString_in_helper(obj1);
3960 if (arg2 == NULL) SWIG_fail;
3961 temp2 = true;
3962 }
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->InitParser((wxString const &)*arg2);
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 resultobj = SWIG_Py_Void();
3970 {
3971 if (temp2)
3972 delete arg2;
3973 }
3974 return resultobj;
3975fail:
3976 {
3977 if (temp2)
3978 delete arg2;
3979 }
3980 return NULL;
d14a1e28
RD
3981}
3982
3983
554f62e9
RD
3984SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3985 PyObject *resultobj = 0;
3986 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3987 void *argp1 = 0 ;
3988 int res1 = 0 ;
3989 PyObject *swig_obj[1] ;
3990
3991 if (!args) SWIG_fail;
3992 swig_obj[0] = args;
3993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3994 if (!SWIG_IsOK(res1)) {
3995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3996 }
3997 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 (arg1)->DoneParser();
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 resultobj = SWIG_Py_Void();
4005 return resultobj;
4006fail:
4007 return NULL;
4008}
4009
4010
4011SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4012 PyObject *resultobj = 0;
4013 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4014 int arg2 ;
4015 int arg3 ;
4016 void *argp1 = 0 ;
4017 int res1 = 0 ;
4018 int val2 ;
4019 int ecode2 = 0 ;
4020 int val3 ;
4021 int ecode3 = 0 ;
4022 PyObject * obj0 = 0 ;
4023 PyObject * obj1 = 0 ;
4024 PyObject * obj2 = 0 ;
4025 char * kwnames[] = {
4026 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4027 };
4028
4029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4031 if (!SWIG_IsOK(res1)) {
4032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4033 }
4034 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4035 ecode2 = SWIG_AsVal_int(obj1, &val2);
4036 if (!SWIG_IsOK(ecode2)) {
4037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4038 }
4039 arg2 = static_cast< int >(val2);
4040 ecode3 = SWIG_AsVal_int(obj2, &val3);
4041 if (!SWIG_IsOK(ecode3)) {
4042 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4043 }
4044 arg3 = static_cast< int >(val3);
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 (arg1)->DoParsing(arg2,arg3);
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 resultobj = SWIG_Py_Void();
4052 return resultobj;
4053fail:
4054 return NULL;
d14a1e28
RD
4055}
4056
4057
554f62e9
RD
4058SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4059 PyObject *resultobj = 0;
4060 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4061 void *argp1 = 0 ;
4062 int res1 = 0 ;
4063 PyObject *swig_obj[1] ;
4064
4065 if (!args) SWIG_fail;
4066 swig_obj[0] = args;
4067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4070 }
4071 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 (arg1)->StopParsing();
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 resultobj = SWIG_Py_Void();
4079 return resultobj;
4080fail:
4081 return NULL;
4082}
4083
4084
4085SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj = 0;
4087 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4088 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4089 void *argp1 = 0 ;
4090 int res1 = 0 ;
4091 void *argp2 = 0 ;
4092 int res2 = 0 ;
4093 PyObject * obj0 = 0 ;
4094 PyObject * obj1 = 0 ;
4095 char * kwnames[] = {
4096 (char *) "self",(char *) "handler", NULL
4097 };
4098
4099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4101 if (!SWIG_IsOK(res1)) {
4102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4103 }
4104 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4105 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4106 if (!SWIG_IsOK(res2)) {
4107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4108 }
4109 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4110 {
4111 PyThreadState* __tstate = wxPyBeginAllowThreads();
4112 (arg1)->AddTagHandler(arg2);
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 resultobj = SWIG_Py_Void();
4117 return resultobj;
4118fail:
4119 return NULL;
d14a1e28
RD
4120}
4121
4122
554f62e9
RD
4123SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4124 PyObject *resultobj = 0;
4125 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4126 wxString *result = 0 ;
4127 void *argp1 = 0 ;
4128 int res1 = 0 ;
4129 PyObject *swig_obj[1] ;
4130
4131 if (!args) SWIG_fail;
4132 swig_obj[0] = args;
4133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4134 if (!SWIG_IsOK(res1)) {
4135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4136 }
4137 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (wxString *)(arg1)->GetSource();
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 {
4145#if wxUSE_UNICODE
4146 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4147#else
4148 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4149#endif
4150 }
4151 return resultobj;
4152fail:
4153 return NULL;
4154}
4155
4156
4157SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj = 0;
4159 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4160 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4161 wxString arg3 ;
4162 void *argp1 = 0 ;
4163 int res1 = 0 ;
4164 void *argp2 = 0 ;
4165 int res2 = 0 ;
4166 PyObject * obj0 = 0 ;
4167 PyObject * obj1 = 0 ;
4168 PyObject * obj2 = 0 ;
4169 char * kwnames[] = {
4170 (char *) "self",(char *) "handler",(char *) "tags", NULL
4171 };
4172
4173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4175 if (!SWIG_IsOK(res1)) {
4176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4177 }
4178 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4179 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4180 if (!SWIG_IsOK(res2)) {
4181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4182 }
4183 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4184 {
4185 wxString* sptr = wxString_in_helper(obj2);
4186 if (sptr == NULL) SWIG_fail;
4187 arg3 = *sptr;
4188 delete sptr;
4189 }
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 (arg1)->PushTagHandler(arg2,arg3);
4193 wxPyEndAllowThreads(__tstate);
4194 if (PyErr_Occurred()) SWIG_fail;
4195 }
4196 resultobj = SWIG_Py_Void();
4197 return resultobj;
4198fail:
4199 return NULL;
d14a1e28
RD
4200}
4201
4202
554f62e9
RD
4203SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4204 PyObject *resultobj = 0;
4205 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4206 void *argp1 = 0 ;
4207 int res1 = 0 ;
4208 PyObject *swig_obj[1] ;
4209
4210 if (!args) SWIG_fail;
4211 swig_obj[0] = args;
4212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4213 if (!SWIG_IsOK(res1)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4215 }
4216 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 (arg1)->PopTagHandler();
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 resultobj = SWIG_Py_Void();
4224 return resultobj;
4225fail:
4226 return NULL;
d14a1e28
RD
4227}
4228
4229
e9d6f3a4
RD
4230SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4231 PyObject *resultobj = 0;
4232 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4233 wxHtmlTag *arg2 = 0 ;
4234 wxString result;
4235 void *argp1 = 0 ;
4236 int res1 = 0 ;
4237 void *argp2 = 0 ;
4238 int res2 = 0 ;
4239 PyObject * obj0 = 0 ;
4240 PyObject * obj1 = 0 ;
4241 char * kwnames[] = {
4242 (char *) "self",(char *) "tag", NULL
4243 };
4244
4245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4247 if (!SWIG_IsOK(res1)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4249 }
4250 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4251 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4252 if (!SWIG_IsOK(res2)) {
4253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4254 }
4255 if (!argp2) {
4256 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4257 }
4258 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
4266#if wxUSE_UNICODE
4267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4268#else
4269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4270#endif
4271 }
4272 return resultobj;
4273fail:
4274 return NULL;
4275}
4276
4277
554f62e9
RD
4278SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4279 PyObject *obj;
4280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4281 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4282 return SWIG_Py_Void();
d14a1e28
RD
4283}
4284
554f62e9
RD
4285SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4286 PyObject *resultobj = 0;
4287 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4288 wxHtmlWinParser *result = 0 ;
4289 void *argp1 = 0 ;
4290 int res1 = 0 ;
4291 PyObject * obj0 = 0 ;
4292 char * kwnames[] = {
4293 (char *) "wnd", NULL
4294 };
4295
4296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4297 if (obj0) {
4298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4299 if (!SWIG_IsOK(res1)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
d14a1e28 4301 }
554f62e9
RD
4302 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4303 }
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4311 return resultobj;
4312fail:
4313 return NULL;
4314}
4315
4316
4317SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj = 0;
4319 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4320 wxDC *arg2 = (wxDC *) 0 ;
4321 void *argp1 = 0 ;
4322 int res1 = 0 ;
4323 void *argp2 = 0 ;
4324 int res2 = 0 ;
4325 PyObject * obj0 = 0 ;
4326 PyObject * obj1 = 0 ;
4327 char * kwnames[] = {
4328 (char *) "self",(char *) "dc", NULL
4329 };
4330
4331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4333 if (!SWIG_IsOK(res1)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4335 }
4336 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4337 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4338 if (!SWIG_IsOK(res2)) {
4339 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4340 }
4341 arg2 = reinterpret_cast< wxDC * >(argp2);
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 (arg1)->SetDC(arg2);
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 resultobj = SWIG_Py_Void();
4349 return resultobj;
4350fail:
4351 return NULL;
d14a1e28
RD
4352}
4353
4354
554f62e9
RD
4355SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4356 PyObject *resultobj = 0;
4357 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4358 wxDC *result = 0 ;
4359 void *argp1 = 0 ;
4360 int res1 = 0 ;
4361 PyObject *swig_obj[1] ;
4362
4363 if (!args) SWIG_fail;
4364 swig_obj[0] = args;
4365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4366 if (!SWIG_IsOK(res1)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4368 }
4369 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 result = (wxDC *)(arg1)->GetDC();
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 {
4377 resultobj = wxPyMake_wxObject(result, (bool)0);
4378 }
4379 return resultobj;
4380fail:
4381 return NULL;
d14a1e28
RD
4382}
4383
4384
554f62e9
RD
4385SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4386 PyObject *resultobj = 0;
4387 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4388 int result;
4389 void *argp1 = 0 ;
4390 int res1 = 0 ;
4391 PyObject *swig_obj[1] ;
4392
4393 if (!args) SWIG_fail;
4394 swig_obj[0] = args;
4395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4396 if (!SWIG_IsOK(res1)) {
4397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4398 }
4399 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (int)(arg1)->GetCharHeight();
4403 wxPyEndAllowThreads(__tstate);
4404 if (PyErr_Occurred()) SWIG_fail;
4405 }
4406 resultobj = SWIG_From_int(static_cast< int >(result));
4407 return resultobj;
4408fail:
4409 return NULL;
d14a1e28
RD
4410}
4411
4412
554f62e9
RD
4413SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4414 PyObject *resultobj = 0;
4415 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4416 int result;
4417 void *argp1 = 0 ;
4418 int res1 = 0 ;
4419 PyObject *swig_obj[1] ;
4420
4421 if (!args) SWIG_fail;
4422 swig_obj[0] = args;
4423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4424 if (!SWIG_IsOK(res1)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4426 }
4427 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (int)(arg1)->GetCharWidth();
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 resultobj = SWIG_From_int(static_cast< int >(result));
4435 return resultobj;
4436fail:
4437 return NULL;
d14a1e28
RD
4438}
4439
4440
554f62e9
RD
4441SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4442 PyObject *resultobj = 0;
4443 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4444 wxPyHtmlWindow *result = 0 ;
4445 void *argp1 = 0 ;
4446 int res1 = 0 ;
4447 PyObject *swig_obj[1] ;
4448
4449 if (!args) SWIG_fail;
4450 swig_obj[0] = args;
4451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4454 }
4455 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 result = (wxPyHtmlWindow *)(arg1)->GetWindow();
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 {
4463 resultobj = wxPyMake_wxObject(result, (bool)0);
4464 }
4465 return resultobj;
4466fail:
4467 return NULL;
4468}
4469
4470
e9d6f3a4
RD
4471SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4472 PyObject *resultobj = 0;
4473 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4474 wxHtmlWindowInterface *result = 0 ;
4475 void *argp1 = 0 ;
4476 int res1 = 0 ;
4477 PyObject *swig_obj[1] ;
4478
4479 if (!args) SWIG_fail;
4480 swig_obj[0] = args;
4481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4482 if (!SWIG_IsOK(res1)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4484 }
4485 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4486 {
4487 PyThreadState* __tstate = wxPyBeginAllowThreads();
4488 result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4493 return resultobj;
4494fail:
4495 return NULL;
4496}
4497
4498
554f62e9
RD
4499SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4500 PyObject *resultobj = 0;
4501 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4502 wxString arg2 ;
4503 wxString arg3 ;
4504 PyObject *arg4 = (PyObject *) NULL ;
4505 void *argp1 = 0 ;
4506 int res1 = 0 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 PyObject * obj2 = 0 ;
4510 PyObject * obj3 = 0 ;
4511 char * kwnames[] = {
4512 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4513 };
4514
4515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4517 if (!SWIG_IsOK(res1)) {
4518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4519 }
4520 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4521 {
4522 wxString* sptr = wxString_in_helper(obj1);
4523 if (sptr == NULL) SWIG_fail;
4524 arg2 = *sptr;
4525 delete sptr;
4526 }
4527 {
4528 wxString* sptr = wxString_in_helper(obj2);
4529 if (sptr == NULL) SWIG_fail;
4530 arg3 = *sptr;
4531 delete sptr;
4532 }
4533 if (obj3) {
4534 arg4 = obj3;
4535 }
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 resultobj = SWIG_Py_Void();
4543 return resultobj;
4544fail:
4545 return NULL;
4546}
4547
4548
4549SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4550 PyObject *resultobj = 0;
4551 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4552 int arg2 = (int) -1 ;
4553 wxString const &arg3_defvalue = wxPyEmptyString ;
4554 wxString *arg3 = (wxString *) &arg3_defvalue ;
4555 wxString const &arg4_defvalue = wxPyEmptyString ;
4556 wxString *arg4 = (wxString *) &arg4_defvalue ;
4557 void *argp1 = 0 ;
4558 int res1 = 0 ;
4559 int val2 ;
4560 int ecode2 = 0 ;
4561 bool temp3 = false ;
4562 bool temp4 = false ;
4563 PyObject * obj0 = 0 ;
4564 PyObject * obj1 = 0 ;
4565 PyObject * obj2 = 0 ;
4566 PyObject * obj3 = 0 ;
4567 char * kwnames[] = {
4568 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4569 };
4570
4571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4573 if (!SWIG_IsOK(res1)) {
4574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4575 }
4576 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4577 if (obj1) {
4578 ecode2 = SWIG_AsVal_int(obj1, &val2);
4579 if (!SWIG_IsOK(ecode2)) {
4580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4581 }
4582 arg2 = static_cast< int >(val2);
4583 }
4584 if (obj2) {
d14a1e28 4585 {
554f62e9
RD
4586 arg3 = wxString_in_helper(obj2);
4587 if (arg3 == NULL) SWIG_fail;
4588 temp3 = true;
d14a1e28 4589 }
554f62e9
RD
4590 }
4591 if (obj3) {
d14a1e28 4592 {
554f62e9
RD
4593 arg4 = wxString_in_helper(obj3);
4594 if (arg4 == NULL) SWIG_fail;
4595 temp4 = true;
d14a1e28 4596 }
554f62e9
RD
4597 }
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = SWIG_Py_Void();
4605 {
4606 if (temp3)
4607 delete arg3;
4608 }
4609 {
4610 if (temp4)
4611 delete arg4;
4612 }
4613 return resultobj;
4614fail:
4615 {
4616 if (temp3)
4617 delete arg3;
4618 }
4619 {
4620 if (temp4)
4621 delete arg4;
4622 }
4623 return NULL;
d14a1e28
RD
4624}
4625
4626
554f62e9
RD
4627SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4628 PyObject *resultobj = 0;
4629 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4630 wxHtmlContainerCell *result = 0 ;
4631 void *argp1 = 0 ;
4632 int res1 = 0 ;
4633 PyObject *swig_obj[1] ;
4634
4635 if (!args) SWIG_fail;
4636 swig_obj[0] = args;
4637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4638 if (!SWIG_IsOK(res1)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4640 }
4641 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4649 return resultobj;
4650fail:
4651 return NULL;
d14a1e28
RD
4652}
4653
4654
554f62e9
RD
4655SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4656 PyObject *resultobj = 0;
4657 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4658 wxHtmlContainerCell *result = 0 ;
4659 void *argp1 = 0 ;
4660 int res1 = 0 ;
4661 PyObject *swig_obj[1] ;
4662
4663 if (!args) SWIG_fail;
4664 swig_obj[0] = args;
4665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4666 if (!SWIG_IsOK(res1)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4668 }
4669 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4670 {
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4677 return resultobj;
4678fail:
4679 return NULL;
4680}
4681
4682
4683SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj = 0;
4685 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4686 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4687 wxHtmlContainerCell *result = 0 ;
4688 void *argp1 = 0 ;
4689 int res1 = 0 ;
4690 void *argp2 = 0 ;
4691 int res2 = 0 ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 char * kwnames[] = {
4695 (char *) "self",(char *) "c", NULL
4696 };
4697
4698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4700 if (!SWIG_IsOK(res1)) {
4701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4702 }
4703 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4704 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4705 if (!SWIG_IsOK(res2)) {
4706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4707 }
4708 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4716 return resultobj;
4717fail:
4718 return NULL;
d14a1e28
RD
4719}
4720
4721
554f62e9
RD
4722SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4723 PyObject *resultobj = 0;
4724 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4725 wxHtmlContainerCell *result = 0 ;
4726 void *argp1 = 0 ;
4727 int res1 = 0 ;
4728 PyObject *swig_obj[1] ;
4729
4730 if (!args) SWIG_fail;
4731 swig_obj[0] = args;
4732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4733 if (!SWIG_IsOK(res1)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4735 }
4736 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4744 return resultobj;
4745fail:
4746 return NULL;
d14a1e28
RD
4747}
4748
4749
554f62e9
RD
4750SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4751 PyObject *resultobj = 0;
4752 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4753 int result;
4754 void *argp1 = 0 ;
4755 int res1 = 0 ;
4756 PyObject *swig_obj[1] ;
4757
4758 if (!args) SWIG_fail;
4759 swig_obj[0] = args;
4760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4761 if (!SWIG_IsOK(res1)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4763 }
4764 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (int)(arg1)->GetFontSize();
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_From_int(static_cast< int >(result));
4772 return resultobj;
4773fail:
4774 return NULL;
4775}
4776
4777
4778SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj = 0;
4780 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4781 int arg2 ;
4782 void *argp1 = 0 ;
4783 int res1 = 0 ;
4784 int val2 ;
4785 int ecode2 = 0 ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 char * kwnames[] = {
4789 (char *) "self",(char *) "s", NULL
4790 };
4791
4792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4794 if (!SWIG_IsOK(res1)) {
4795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4796 }
4797 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4798 ecode2 = SWIG_AsVal_int(obj1, &val2);
4799 if (!SWIG_IsOK(ecode2)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4801 }
4802 arg2 = static_cast< int >(val2);
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 (arg1)->SetFontSize(arg2);
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 resultobj = SWIG_Py_Void();
4810 return resultobj;
4811fail:
4812 return NULL;
d14a1e28
RD
4813}
4814
4815
554f62e9
RD
4816SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4817 PyObject *resultobj = 0;
4818 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4819 int result;
4820 void *argp1 = 0 ;
4821 int res1 = 0 ;
4822 PyObject *swig_obj[1] ;
4823
4824 if (!args) SWIG_fail;
4825 swig_obj[0] = args;
4826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4827 if (!SWIG_IsOK(res1)) {
4828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4829 }
4830 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 result = (int)(arg1)->GetFontBold();
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 resultobj = SWIG_From_int(static_cast< int >(result));
4838 return resultobj;
4839fail:
4840 return NULL;
4841}
4842
4843
4844SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj = 0;
4846 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4847 int arg2 ;
4848 void *argp1 = 0 ;
4849 int res1 = 0 ;
4850 int val2 ;
4851 int ecode2 = 0 ;
4852 PyObject * obj0 = 0 ;
4853 PyObject * obj1 = 0 ;
4854 char * kwnames[] = {
4855 (char *) "self",(char *) "x", NULL
4856 };
4857
4858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4860 if (!SWIG_IsOK(res1)) {
4861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4862 }
4863 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4864 ecode2 = SWIG_AsVal_int(obj1, &val2);
4865 if (!SWIG_IsOK(ecode2)) {
4866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4867 }
4868 arg2 = static_cast< int >(val2);
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 (arg1)->SetFontBold(arg2);
4872 wxPyEndAllowThreads(__tstate);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 resultobj = SWIG_Py_Void();
4876 return resultobj;
4877fail:
4878 return NULL;
d14a1e28
RD
4879}
4880
4881
554f62e9
RD
4882SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4883 PyObject *resultobj = 0;
4884 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4885 int result;
4886 void *argp1 = 0 ;
4887 int res1 = 0 ;
4888 PyObject *swig_obj[1] ;
4889
4890 if (!args) SWIG_fail;
4891 swig_obj[0] = args;
4892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4895 }
4896 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 result = (int)(arg1)->GetFontItalic();
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 resultobj = SWIG_From_int(static_cast< int >(result));
4904 return resultobj;
4905fail:
4906 return NULL;
4907}
4908
4909
4910SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4911 PyObject *resultobj = 0;
4912 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4913 int arg2 ;
4914 void *argp1 = 0 ;
4915 int res1 = 0 ;
4916 int val2 ;
4917 int ecode2 = 0 ;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 char * kwnames[] = {
4921 (char *) "self",(char *) "x", NULL
4922 };
4923
4924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4926 if (!SWIG_IsOK(res1)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4928 }
4929 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4930 ecode2 = SWIG_AsVal_int(obj1, &val2);
4931 if (!SWIG_IsOK(ecode2)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4933 }
4934 arg2 = static_cast< int >(val2);
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 (arg1)->SetFontItalic(arg2);
4938 wxPyEndAllowThreads(__tstate);
4939 if (PyErr_Occurred()) SWIG_fail;
4940 }
4941 resultobj = SWIG_Py_Void();
4942 return resultobj;
4943fail:
4944 return NULL;
d14a1e28
RD
4945}
4946
4947
554f62e9
RD
4948SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4949 PyObject *resultobj = 0;
4950 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4951 int result;
4952 void *argp1 = 0 ;
4953 int res1 = 0 ;
4954 PyObject *swig_obj[1] ;
4955
4956 if (!args) SWIG_fail;
4957 swig_obj[0] = args;
4958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4959 if (!SWIG_IsOK(res1)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4961 }
4962 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 result = (int)(arg1)->GetFontUnderlined();
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
4969 resultobj = SWIG_From_int(static_cast< int >(result));
4970 return resultobj;
4971fail:
4972 return NULL;
4973}
4974
4975
4976SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4977 PyObject *resultobj = 0;
4978 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4979 int arg2 ;
4980 void *argp1 = 0 ;
4981 int res1 = 0 ;
4982 int val2 ;
4983 int ecode2 = 0 ;
4984 PyObject * obj0 = 0 ;
4985 PyObject * obj1 = 0 ;
4986 char * kwnames[] = {
4987 (char *) "self",(char *) "x", NULL
4988 };
4989
4990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4992 if (!SWIG_IsOK(res1)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4994 }
4995 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4996 ecode2 = SWIG_AsVal_int(obj1, &val2);
4997 if (!SWIG_IsOK(ecode2)) {
4998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
4999 }
5000 arg2 = static_cast< int >(val2);
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 (arg1)->SetFontUnderlined(arg2);
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 resultobj = SWIG_Py_Void();
5008 return resultobj;
5009fail:
5010 return NULL;
d14a1e28
RD
5011}
5012
5013
554f62e9
RD
5014SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5015 PyObject *resultobj = 0;
5016 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5017 int result;
5018 void *argp1 = 0 ;
5019 int res1 = 0 ;
5020 PyObject *swig_obj[1] ;
5021
5022 if (!args) SWIG_fail;
5023 swig_obj[0] = args;
5024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5025 if (!SWIG_IsOK(res1)) {
5026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5027 }
5028 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (int)(arg1)->GetFontFixed();
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 resultobj = SWIG_From_int(static_cast< int >(result));
5036 return resultobj;
5037fail:
5038 return NULL;
5039}
5040
5041
5042SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj = 0;
5044 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5045 int arg2 ;
5046 void *argp1 = 0 ;
5047 int res1 = 0 ;
5048 int val2 ;
5049 int ecode2 = 0 ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
5052 char * kwnames[] = {
5053 (char *) "self",(char *) "x", NULL
5054 };
5055
5056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5058 if (!SWIG_IsOK(res1)) {
5059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5060 }
5061 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5062 ecode2 = SWIG_AsVal_int(obj1, &val2);
5063 if (!SWIG_IsOK(ecode2)) {
5064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5065 }
5066 arg2 = static_cast< int >(val2);
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 (arg1)->SetFontFixed(arg2);
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_Py_Void();
5074 return resultobj;
5075fail:
5076 return NULL;
30ee79f7
RD
5077}
5078
5079
554f62e9
RD
5080SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5081 PyObject *resultobj = 0;
5082 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5083 int result;
5084 void *argp1 = 0 ;
5085 int res1 = 0 ;
5086 PyObject *swig_obj[1] ;
5087
5088 if (!args) SWIG_fail;
5089 swig_obj[0] = args;
5090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5091 if (!SWIG_IsOK(res1)) {
5092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5093 }
5094 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 result = (int)(arg1)->GetAlign();
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 resultobj = SWIG_From_int(static_cast< int >(result));
5102 return resultobj;
5103fail:
5104 return NULL;
5105}
5106
5107
5108SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj = 0;
5110 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5111 int arg2 ;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 int val2 ;
5115 int ecode2 = 0 ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 char * kwnames[] = {
5119 (char *) "self",(char *) "a", NULL
5120 };
5121
5122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5124 if (!SWIG_IsOK(res1)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5126 }
5127 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5128 ecode2 = SWIG_AsVal_int(obj1, &val2);
5129 if (!SWIG_IsOK(ecode2)) {
5130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5131 }
5132 arg2 = static_cast< int >(val2);
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->SetAlign(arg2);
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 resultobj = SWIG_Py_Void();
5140 return resultobj;
5141fail:
5142 return NULL;
d14a1e28
RD
5143}
5144
5145
554f62e9
RD
5146SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5147 PyObject *resultobj = 0;
5148 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5149 wxColour result;
5150 void *argp1 = 0 ;
5151 int res1 = 0 ;
5152 PyObject *swig_obj[1] ;
5153
5154 if (!args) SWIG_fail;
5155 swig_obj[0] = args;
5156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5157 if (!SWIG_IsOK(res1)) {
5158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5159 }
5160 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 result = (arg1)->GetLinkColor();
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5168 return resultobj;
5169fail:
5170 return NULL;
5171}
5172
5173
5174SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj = 0;
5176 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5177 wxColour *arg2 = 0 ;
5178 void *argp1 = 0 ;
5179 int res1 = 0 ;
5180 wxColour temp2 ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 char * kwnames[] = {
5184 (char *) "self",(char *) "clr", NULL
5185 };
5186
5187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5189 if (!SWIG_IsOK(res1)) {
5190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5191 }
5192 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5193 {
5194 arg2 = &temp2;
5195 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5196 }
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 (arg1)->SetLinkColor((wxColour const &)*arg2);
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 resultobj = SWIG_Py_Void();
5204 return resultobj;
5205fail:
5206 return NULL;
d14a1e28
RD
5207}
5208
5209
554f62e9
RD
5210SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5211 PyObject *resultobj = 0;
5212 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5213 wxColour result;
5214 void *argp1 = 0 ;
5215 int res1 = 0 ;
5216 PyObject *swig_obj[1] ;
5217
5218 if (!args) SWIG_fail;
5219 swig_obj[0] = args;
5220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5221 if (!SWIG_IsOK(res1)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5223 }
5224 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 result = (arg1)->GetActualColor();
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5232 return resultobj;
5233fail:
5234 return NULL;
5235}
5236
5237
5238SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj = 0;
5240 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5241 wxColour *arg2 = 0 ;
5242 void *argp1 = 0 ;
5243 int res1 = 0 ;
5244 wxColour temp2 ;
5245 PyObject * obj0 = 0 ;
5246 PyObject * obj1 = 0 ;
5247 char * kwnames[] = {
5248 (char *) "self",(char *) "clr", NULL
5249 };
5250
5251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5253 if (!SWIG_IsOK(res1)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5255 }
5256 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5257 {
5258 arg2 = &temp2;
5259 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5260 }
5261 {
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 (arg1)->SetActualColor((wxColour const &)*arg2);
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 resultobj = SWIG_Py_Void();
5268 return resultobj;
5269fail:
5270 return NULL;
5271}
5272
5273
5274SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5275 PyObject *resultobj = 0;
5276 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5277 wxString *arg2 = 0 ;
5278 void *argp1 = 0 ;
5279 int res1 = 0 ;
5280 bool temp2 = false ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 char * kwnames[] = {
5284 (char *) "self",(char *) "link", NULL
5285 };
5286
5287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5289 if (!SWIG_IsOK(res1)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5291 }
5292 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5293 {
5294 arg2 = wxString_in_helper(obj1);
5295 if (arg2 == NULL) SWIG_fail;
5296 temp2 = true;
5297 }
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 (arg1)->SetLink((wxString const &)*arg2);
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 resultobj = SWIG_Py_Void();
5305 {
5306 if (temp2)
5307 delete arg2;
5308 }
5309 return resultobj;
5310fail:
5311 {
5312 if (temp2)
5313 delete arg2;
5314 }
5315 return NULL;
d14a1e28
RD
5316}
5317
5318
554f62e9
RD
5319SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5320 PyObject *resultobj = 0;
5321 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5322 wxFont *result = 0 ;
5323 void *argp1 = 0 ;
5324 int res1 = 0 ;
5325 PyObject *swig_obj[1] ;
5326
5327 if (!args) SWIG_fail;
5328 swig_obj[0] = args;
5329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5330 if (!SWIG_IsOK(res1)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5332 }
5333 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (wxFont *)(arg1)->CreateCurrentFont();
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5341 return resultobj;
5342fail:
5343 return NULL;
d14a1e28
RD
5344}
5345
5346
554f62e9
RD
5347SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5348 PyObject *resultobj = 0;
5349 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5350 SwigValueWrapper<wxHtmlLinkInfo > result;
5351 void *argp1 = 0 ;
5352 int res1 = 0 ;
5353 PyObject *swig_obj[1] ;
5354
5355 if (!args) SWIG_fail;
5356 swig_obj[0] = args;
5357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5358 if (!SWIG_IsOK(res1)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5360 }
5361 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (arg1)->GetLink();
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5369 return resultobj;
5370fail:
5371 return NULL;
d14a1e28
RD
5372}
5373
5374
554f62e9
RD
5375SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5376 PyObject *obj;
5377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5378 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5379 return SWIG_Py_Void();
d14a1e28
RD
5380}
5381
554f62e9
RD
5382SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5383 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
5384}
5385
554f62e9
RD
5386SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5387 PyObject *resultobj = 0;
5388 wxPyHtmlTagHandler *result = 0 ;
5389
5390 if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5391 {
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5398 return resultobj;
5399fail:
5400 return NULL;
5401}
5402
5403
5404SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj = 0;
5406 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5407 PyObject *arg2 = (PyObject *) 0 ;
5408 PyObject *arg3 = (PyObject *) 0 ;
5409 void *argp1 = 0 ;
5410 int res1 = 0 ;
5411 PyObject * obj0 = 0 ;
5412 PyObject * obj1 = 0 ;
5413 PyObject * obj2 = 0 ;
5414 char * kwnames[] = {
5415 (char *) "self",(char *) "self",(char *) "_class", NULL
5416 };
5417
5418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5420 if (!SWIG_IsOK(res1)) {
5421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5422 }
5423 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5424 arg2 = obj1;
5425 arg3 = obj2;
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 (arg1)->_setCallbackInfo(arg2,arg3);
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 resultobj = SWIG_Py_Void();
5433 return resultobj;
5434fail:
5435 return NULL;
5436}
5437
5438
5439SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj = 0;
5441 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5442 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5443 void *argp1 = 0 ;
5444 int res1 = 0 ;
5445 void *argp2 = 0 ;
5446 int res2 = 0 ;
5447 PyObject * obj0 = 0 ;
5448 PyObject * obj1 = 0 ;
5449 char * kwnames[] = {
5450 (char *) "self",(char *) "parser", NULL
5451 };
5452
5453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5455 if (!SWIG_IsOK(res1)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5457 }
5458 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5460 if (!SWIG_IsOK(res2)) {
5461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5462 }
5463 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 (arg1)->SetParser(arg2);
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 resultobj = SWIG_Py_Void();
5471 return resultobj;
5472fail:
5473 return NULL;
d14a1e28
RD
5474}
5475
5476
554f62e9
RD
5477SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5478 PyObject *resultobj = 0;
5479 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5480 wxHtmlParser *result = 0 ;
5481 void *argp1 = 0 ;
5482 int res1 = 0 ;
5483 PyObject *swig_obj[1] ;
5484
5485 if (!args) SWIG_fail;
5486 swig_obj[0] = args;
5487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5488 if (!SWIG_IsOK(res1)) {
5489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5490 }
5491 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (wxHtmlParser *)(arg1)->GetParser();
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5499 return resultobj;
5500fail:
5501 return NULL;
5502}
5503
5504
5505SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj = 0;
5507 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5508 wxHtmlTag *arg2 = 0 ;
5509 void *argp1 = 0 ;
5510 int res1 = 0 ;
5511 void *argp2 = 0 ;
5512 int res2 = 0 ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 char * kwnames[] = {
5516 (char *) "self",(char *) "tag", NULL
5517 };
5518
5519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5521 if (!SWIG_IsOK(res1)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5523 }
5524 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5525 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5526 if (!SWIG_IsOK(res2)) {
5527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5528 }
5529 if (!argp2) {
5530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5531 }
5532 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 resultobj = SWIG_Py_Void();
5540 return resultobj;
5541fail:
5542 return NULL;
d14a1e28
RD
5543}
5544
5545
554f62e9
RD
5546SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5547 PyObject *obj;
5548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5549 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5550 return SWIG_Py_Void();
d14a1e28
RD
5551}
5552
554f62e9
RD
5553SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5554 return SWIG_Python_InitShadowInstance(args);
5555}
d14a1e28 5556
554f62e9
RD
5557SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5558 PyObject *resultobj = 0;
5559 wxPyHtmlWinTagHandler *result = 0 ;
5560
5561 if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5569 return resultobj;
5570fail:
5571 return NULL;
5572}
5573
5574
5575SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj = 0;
5577 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5578 PyObject *arg2 = (PyObject *) 0 ;
5579 PyObject *arg3 = (PyObject *) 0 ;
5580 void *argp1 = 0 ;
5581 int res1 = 0 ;
5582 PyObject * obj0 = 0 ;
5583 PyObject * obj1 = 0 ;
5584 PyObject * obj2 = 0 ;
5585 char * kwnames[] = {
5586 (char *) "self",(char *) "self",(char *) "_class", NULL
5587 };
5588
5589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5591 if (!SWIG_IsOK(res1)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5593 }
5594 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5595 arg2 = obj1;
5596 arg3 = obj2;
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 (arg1)->_setCallbackInfo(arg2,arg3);
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 resultobj = SWIG_Py_Void();
5604 return resultobj;
5605fail:
5606 return NULL;
5607}
5608
5609
5610SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5611 PyObject *resultobj = 0;
5612 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5613 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5614 void *argp1 = 0 ;
5615 int res1 = 0 ;
5616 void *argp2 = 0 ;
5617 int res2 = 0 ;
5618 PyObject * obj0 = 0 ;
5619 PyObject * obj1 = 0 ;
5620 char * kwnames[] = {
5621 (char *) "self",(char *) "parser", NULL
5622 };
5623
5624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5626 if (!SWIG_IsOK(res1)) {
5627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5628 }
5629 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5630 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5631 if (!SWIG_IsOK(res2)) {
5632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5633 }
5634 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 (arg1)->SetParser(arg2);
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 resultobj = SWIG_Py_Void();
5642 return resultobj;
5643fail:
5644 return NULL;
d14a1e28
RD
5645}
5646
5647
554f62e9
RD
5648SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5649 PyObject *resultobj = 0;
5650 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5651 wxHtmlWinParser *result = 0 ;
5652 void *argp1 = 0 ;
5653 int res1 = 0 ;
5654 PyObject *swig_obj[1] ;
5655
5656 if (!args) SWIG_fail;
5657 swig_obj[0] = args;
5658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5659 if (!SWIG_IsOK(res1)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5661 }
5662 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 result = (wxHtmlWinParser *)(arg1)->GetParser();
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5670 return resultobj;
5671fail:
5672 return NULL;
5673}
5674
5675
5676SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj = 0;
5678 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5679 wxHtmlTag *arg2 = 0 ;
5680 void *argp1 = 0 ;
5681 int res1 = 0 ;
5682 void *argp2 = 0 ;
5683 int res2 = 0 ;
5684 PyObject * obj0 = 0 ;
5685 PyObject * obj1 = 0 ;
5686 char * kwnames[] = {
5687 (char *) "self",(char *) "tag", NULL
5688 };
5689
5690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5692 if (!SWIG_IsOK(res1)) {
5693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5694 }
5695 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5696 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5697 if (!SWIG_IsOK(res2)) {
5698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5699 }
5700 if (!argp2) {
5701 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5702 }
5703 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 resultobj = SWIG_Py_Void();
5711 return resultobj;
5712fail:
5713 return NULL;
d14a1e28
RD
5714}
5715
5716
554f62e9
RD
5717SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5718 PyObject *obj;
5719 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5721 return SWIG_Py_Void();
d14a1e28
RD
5722}
5723
554f62e9
RD
5724SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5725 return SWIG_Python_InitShadowInstance(args);
5726}
d14a1e28 5727
554f62e9
RD
5728SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5729 PyObject *resultobj = 0;
5730 PyObject *arg1 = (PyObject *) 0 ;
5731 PyObject * obj0 = 0 ;
5732 char * kwnames[] = {
5733 (char *) "tagHandlerClass", NULL
5734 };
5735
5736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5737 arg1 = obj0;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 wxHtmlWinParser_AddTagHandler(arg1);
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 resultobj = SWIG_Py_Void();
5745 return resultobj;
5746fail:
5747 return NULL;
d14a1e28
RD
5748}
5749
5750
554f62e9
RD
5751SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5752 PyObject *resultobj = 0;
5753 wxHtmlSelection *result = 0 ;
5754
5755 if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 result = (wxHtmlSelection *)new wxHtmlSelection();
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5763 return resultobj;
5764fail:
5765 return NULL;
d14a1e28
RD
5766}
5767
5768
554f62e9
RD
5769SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5770 PyObject *resultobj = 0;
5771 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5772 void *argp1 = 0 ;
5773 int res1 = 0 ;
5774 PyObject *swig_obj[1] ;
5775
5776 if (!args) SWIG_fail;
5777 swig_obj[0] = args;
5778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5779 if (!SWIG_IsOK(res1)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5781 }
5782 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 delete arg1;
d14a1e28 5786
554f62e9
RD
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 resultobj = SWIG_Py_Void();
5791 return resultobj;
5792fail:
5793 return NULL;
5794}
5795
5796
5797SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj = 0;
5799 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5800 wxPoint *arg2 = 0 ;
5801 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5802 wxPoint *arg4 = 0 ;
5803 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5804 void *argp1 = 0 ;
5805 int res1 = 0 ;
5806 wxPoint temp2 ;
5807 void *argp3 = 0 ;
5808 int res3 = 0 ;
5809 wxPoint temp4 ;
5810 void *argp5 = 0 ;
5811 int res5 = 0 ;
5812 PyObject * obj0 = 0 ;
5813 PyObject * obj1 = 0 ;
5814 PyObject * obj2 = 0 ;
5815 PyObject * obj3 = 0 ;
5816 PyObject * obj4 = 0 ;
5817 char * kwnames[] = {
5818 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5819 };
5820
5821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5823 if (!SWIG_IsOK(res1)) {
5824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5825 }
5826 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5827 {
5828 arg2 = &temp2;
5829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5830 }
5831 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5832 if (!SWIG_IsOK(res3)) {
5833 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5834 }
5835 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5836 {
5837 arg4 = &temp4;
5838 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5839 }
5840 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5841 if (!SWIG_IsOK(res5)) {
5842 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5843 }
5844 arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = SWIG_Py_Void();
5852 return resultobj;
5853fail:
5854 return NULL;
5855}
5856
5857
5858SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj = 0;
5860 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5861 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5862 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5863 void *argp1 = 0 ;
5864 int res1 = 0 ;
5865 void *argp2 = 0 ;
5866 int res2 = 0 ;
5867 void *argp3 = 0 ;
5868 int res3 = 0 ;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 PyObject * obj2 = 0 ;
5872 char * kwnames[] = {
5873 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5874 };
5875
5876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5878 if (!SWIG_IsOK(res1)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5880 }
5881 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5882 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5883 if (!SWIG_IsOK(res2)) {
5884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5885 }
5886 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5887 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5888 if (!SWIG_IsOK(res3)) {
5889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5890 }
5891 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 resultobj = SWIG_Py_Void();
5899 return resultobj;
5900fail:
5901 return NULL;
d14a1e28
RD
5902}
5903
5904
554f62e9
RD
5905SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5906 PyObject *resultobj = 0;
5907 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5908 wxHtmlCell *result = 0 ;
5909 void *argp1 = 0 ;
5910 int res1 = 0 ;
5911 PyObject *swig_obj[1] ;
5912
5913 if (!args) SWIG_fail;
5914 swig_obj[0] = args;
5915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5916 if (!SWIG_IsOK(res1)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5918 }
5919 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 {
5927 resultobj = wxPyMake_wxObject(result, 0);
5928 }
5929 return resultobj;
5930fail:
5931 return NULL;
d14a1e28
RD
5932}
5933
5934
554f62e9
RD
5935SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5936 PyObject *resultobj = 0;
5937 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5938 wxHtmlCell *result = 0 ;
5939 void *argp1 = 0 ;
5940 int res1 = 0 ;
5941 PyObject *swig_obj[1] ;
5942
5943 if (!args) SWIG_fail;
5944 swig_obj[0] = args;
5945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5946 if (!SWIG_IsOK(res1)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5948 }
5949 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 {
5957 resultobj = wxPyMake_wxObject(result, 0);
5958 }
5959 return resultobj;
5960fail:
5961 return NULL;
d14a1e28
RD
5962}
5963
5964
554f62e9
RD
5965SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5966 PyObject *resultobj = 0;
5967 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5968 wxPoint *result = 0 ;
5969 void *argp1 = 0 ;
5970 int res1 = 0 ;
5971 PyObject *swig_obj[1] ;
5972
5973 if (!args) SWIG_fail;
5974 swig_obj[0] = args;
5975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5976 if (!SWIG_IsOK(res1)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5978 }
5979 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 5982 {
554f62e9
RD
5983 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
5984 result = (wxPoint *) &_result_ref;
d14a1e28 5985 }
554f62e9
RD
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
5990 return resultobj;
5991fail:
5992 return NULL;
d14a1e28
RD
5993}
5994
5995
554f62e9
RD
5996SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5997 PyObject *resultobj = 0;
5998 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5999 wxPoint *result = 0 ;
6000 void *argp1 = 0 ;
6001 int res1 = 0 ;
6002 PyObject *swig_obj[1] ;
6003
6004 if (!args) SWIG_fail;
6005 swig_obj[0] = args;
6006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6009 }
6010 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6013 {
554f62e9
RD
6014 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
6015 result = (wxPoint *) &_result_ref;
d14a1e28 6016 }
554f62e9
RD
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6021 return resultobj;
6022fail:
6023 return NULL;
d14a1e28
RD
6024}
6025
6026
554f62e9
RD
6027SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6028 PyObject *resultobj = 0;
6029 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6030 wxPoint *result = 0 ;
6031 void *argp1 = 0 ;
6032 int res1 = 0 ;
6033 PyObject *swig_obj[1] ;
6034
6035 if (!args) SWIG_fail;
6036 swig_obj[0] = args;
6037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6038 if (!SWIG_IsOK(res1)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6040 }
6041 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6044 {
554f62e9
RD
6045 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6046 result = (wxPoint *) &_result_ref;
d14a1e28 6047 }
554f62e9
RD
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6052 return resultobj;
6053fail:
6054 return NULL;
d14a1e28
RD
6055}
6056
6057
554f62e9
RD
6058SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6059 PyObject *resultobj = 0;
6060 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6061 wxPoint *result = 0 ;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 PyObject *swig_obj[1] ;
6065
6066 if (!args) SWIG_fail;
6067 swig_obj[0] = args;
6068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6069 if (!SWIG_IsOK(res1)) {
6070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6071 }
6072 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6075 {
554f62e9
RD
6076 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6077 result = (wxPoint *) &_result_ref;
d14a1e28 6078 }
554f62e9
RD
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6083 return resultobj;
6084fail:
6085 return NULL;
6086}
6087
6088
6089SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj = 0;
6091 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6092 wxPoint *arg2 = 0 ;
6093 void *argp1 = 0 ;
6094 int res1 = 0 ;
6095 wxPoint temp2 ;
6096 PyObject * obj0 = 0 ;
6097 PyObject * obj1 = 0 ;
6098 char * kwnames[] = {
6099 (char *) "self",(char *) "pos", NULL
6100 };
6101
6102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6104 if (!SWIG_IsOK(res1)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6106 }
6107 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6108 {
6109 arg2 = &temp2;
6110 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6111 }
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 resultobj = SWIG_Py_Void();
6119 return resultobj;
6120fail:
6121 return NULL;
6122}
6123
6124
6125SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj = 0;
6127 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6128 wxPoint *arg2 = 0 ;
6129 void *argp1 = 0 ;
6130 int res1 = 0 ;
6131 wxPoint temp2 ;
6132 PyObject * obj0 = 0 ;
6133 PyObject * obj1 = 0 ;
6134 char * kwnames[] = {
6135 (char *) "self",(char *) "pos", NULL
6136 };
6137
6138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6140 if (!SWIG_IsOK(res1)) {
6141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6142 }
6143 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6144 {
6145 arg2 = &temp2;
6146 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6147 }
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 resultobj = SWIG_Py_Void();
6155 return resultobj;
6156fail:
6157 return NULL;
d14a1e28
RD
6158}
6159
6160
554f62e9
RD
6161SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6162 PyObject *resultobj = 0;
6163 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6164 void *argp1 = 0 ;
6165 int res1 = 0 ;
6166 PyObject *swig_obj[1] ;
6167
6168 if (!args) SWIG_fail;
6169 swig_obj[0] = args;
6170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6171 if (!SWIG_IsOK(res1)) {
6172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6173 }
6174 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6175 {
6176 PyThreadState* __tstate = wxPyBeginAllowThreads();
6177 (arg1)->ClearPrivPos();
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 resultobj = SWIG_Py_Void();
6182 return resultobj;
6183fail:
6184 return NULL;
d14a1e28
RD
6185}
6186
6187
554f62e9
RD
6188SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6189 PyObject *resultobj = 0;
6190 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6191 bool result;
6192 void *argp1 = 0 ;
6193 int res1 = 0 ;
6194 PyObject *swig_obj[1] ;
6195
6196 if (!args) SWIG_fail;
6197 swig_obj[0] = args;
6198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6199 if (!SWIG_IsOK(res1)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6201 }
6202 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 resultobj = SWIG_From_bool(static_cast< bool >(result));
6210 return resultobj;
6211fail:
6212 return NULL;
d14a1e28
RD
6213}
6214
6215
554f62e9
RD
6216SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6217 PyObject *obj;
6218 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6219 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6220 return SWIG_Py_Void();
d14a1e28
RD
6221}
6222
554f62e9
RD
6223SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6224 return SWIG_Python_InitShadowInstance(args);
6225}
d14a1e28 6226
554f62e9
RD
6227SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6228 PyObject *resultobj = 0;
6229 wxHtmlRenderingState *result = 0 ;
6230
6231 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6239 return resultobj;
6240fail:
6241 return NULL;
d14a1e28
RD
6242}
6243
6244
554f62e9
RD
6245SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6246 PyObject *resultobj = 0;
6247 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6248 void *argp1 = 0 ;
6249 int res1 = 0 ;
6250 PyObject *swig_obj[1] ;
6251
6252 if (!args) SWIG_fail;
6253 swig_obj[0] = args;
6254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6255 if (!SWIG_IsOK(res1)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6257 }
6258 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 delete arg1;
d14a1e28 6262
554f62e9
RD
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 resultobj = SWIG_Py_Void();
6267 return resultobj;
6268fail:
6269 return NULL;
6270}
6271
6272
6273SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj = 0;
6275 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6276 wxHtmlSelectionState arg2 ;
6277 void *argp1 = 0 ;
6278 int res1 = 0 ;
6279 int val2 ;
6280 int ecode2 = 0 ;
6281 PyObject * obj0 = 0 ;
6282 PyObject * obj1 = 0 ;
6283 char * kwnames[] = {
6284 (char *) "self",(char *) "s", NULL
6285 };
6286
6287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6289 if (!SWIG_IsOK(res1)) {
6290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6291 }
6292 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6293 ecode2 = SWIG_AsVal_int(obj1, &val2);
6294 if (!SWIG_IsOK(ecode2)) {
6295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6296 }
6297 arg2 = static_cast< wxHtmlSelectionState >(val2);
6298 {
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 (arg1)->SetSelectionState(arg2);
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
6304 resultobj = SWIG_Py_Void();
6305 return resultobj;
6306fail:
6307 return NULL;
d14a1e28
RD
6308}
6309
6310
554f62e9
RD
6311SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6312 PyObject *resultobj = 0;
6313 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6314 wxHtmlSelectionState result;
6315 void *argp1 = 0 ;
6316 int res1 = 0 ;
6317 PyObject *swig_obj[1] ;
6318
6319 if (!args) SWIG_fail;
6320 swig_obj[0] = args;
6321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6322 if (!SWIG_IsOK(res1)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6324 }
6325 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = SWIG_From_int(static_cast< int >(result));
6333 return resultobj;
6334fail:
6335 return NULL;
6336}
6337
6338
6339SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj = 0;
6341 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6342 wxColour *arg2 = 0 ;
6343 void *argp1 = 0 ;
6344 int res1 = 0 ;
6345 wxColour temp2 ;
6346 PyObject * obj0 = 0 ;
6347 PyObject * obj1 = 0 ;
6348 char * kwnames[] = {
6349 (char *) "self",(char *) "c", NULL
6350 };
6351
6352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6354 if (!SWIG_IsOK(res1)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6356 }
6357 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6358 {
6359 arg2 = &temp2;
6360 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6361 }
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 (arg1)->SetFgColour((wxColour const &)*arg2);
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 resultobj = SWIG_Py_Void();
6369 return resultobj;
6370fail:
6371 return NULL;
d14a1e28
RD
6372}
6373
6374
554f62e9
RD
6375SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6376 PyObject *resultobj = 0;
6377 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6378 wxColour *result = 0 ;
6379 void *argp1 = 0 ;
6380 int res1 = 0 ;
6381 PyObject *swig_obj[1] ;
6382
6383 if (!args) SWIG_fail;
6384 swig_obj[0] = args;
6385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6386 if (!SWIG_IsOK(res1)) {
6387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6388 }
6389 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6392 {
554f62e9
RD
6393 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6394 result = (wxColour *) &_result_ref;
d14a1e28 6395 }
554f62e9
RD
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6400 return resultobj;
6401fail:
6402 return NULL;
6403}
6404
6405
6406SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6407 PyObject *resultobj = 0;
6408 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6409 wxColour *arg2 = 0 ;
6410 void *argp1 = 0 ;
6411 int res1 = 0 ;
6412 wxColour temp2 ;
6413 PyObject * obj0 = 0 ;
6414 PyObject * obj1 = 0 ;
6415 char * kwnames[] = {
6416 (char *) "self",(char *) "c", NULL
6417 };
6418
6419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6421 if (!SWIG_IsOK(res1)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6423 }
6424 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6425 {
6426 arg2 = &temp2;
6427 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6428 }
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 (arg1)->SetBgColour((wxColour const &)*arg2);
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 resultobj = SWIG_Py_Void();
6436 return resultobj;
6437fail:
6438 return NULL;
d14a1e28
RD
6439}
6440
6441
554f62e9
RD
6442SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6443 PyObject *resultobj = 0;
6444 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6445 wxColour *result = 0 ;
6446 void *argp1 = 0 ;
6447 int res1 = 0 ;
6448 PyObject *swig_obj[1] ;
6449
6450 if (!args) SWIG_fail;
6451 swig_obj[0] = args;
6452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6453 if (!SWIG_IsOK(res1)) {
6454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6455 }
6456 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6459 {
554f62e9
RD
6460 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6461 result = (wxColour *) &_result_ref;
d14a1e28 6462 }
554f62e9
RD
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6467 return resultobj;
6468fail:
6469 return NULL;
d14a1e28
RD
6470}
6471
6472
554f62e9
RD
6473SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6474 PyObject *obj;
6475 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6476 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6477 return SWIG_Py_Void();
d14a1e28
RD
6478}
6479
554f62e9
RD
6480SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6481 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
6482}
6483
554f62e9
RD
6484SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj = 0;
6486 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6487 wxColour *arg2 = 0 ;
6488 wxColour result;
6489 void *argp1 = 0 ;
6490 int res1 = 0 ;
6491 wxColour temp2 ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 char * kwnames[] = {
6495 (char *) "self",(char *) "clr", NULL
6496 };
6497
6498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6500 if (!SWIG_IsOK(res1)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6502 }
6503 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6504 {
6505 arg2 = &temp2;
6506 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6507 }
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6515 return resultobj;
6516fail:
6517 return NULL;
6518}
6519
6520
6521SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj = 0;
6523 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6524 wxColour *arg2 = 0 ;
6525 wxColour result;
6526 void *argp1 = 0 ;
6527 int res1 = 0 ;
6528 wxColour temp2 ;
6529 PyObject * obj0 = 0 ;
6530 PyObject * obj1 = 0 ;
6531 char * kwnames[] = {
6532 (char *) "self",(char *) "clr", NULL
6533 };
6534
6535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6537 if (!SWIG_IsOK(res1)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6539 }
6540 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6541 {
6542 arg2 = &temp2;
6543 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6544 }
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6552 return resultobj;
6553fail:
6554 return NULL;
d14a1e28
RD
6555}
6556
6557
554f62e9
RD
6558SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6559 PyObject *obj;
6560 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6561 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6562 return SWIG_Py_Void();
d14a1e28
RD
6563}
6564
554f62e9
RD
6565SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6566 PyObject *obj;
6567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6568 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6569 return SWIG_Py_Void();
d14a1e28
RD
6570}
6571
554f62e9
RD
6572SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6573 PyObject *resultobj = 0;
6574 wxHtmlRenderingInfo *result = 0 ;
6575
6576 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6584 return resultobj;
6585fail:
6586 return NULL;
d14a1e28
RD
6587}
6588
6589
554f62e9
RD
6590SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6591 PyObject *resultobj = 0;
6592 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6593 void *argp1 = 0 ;
6594 int res1 = 0 ;
6595 PyObject *swig_obj[1] ;
6596
6597 if (!args) SWIG_fail;
6598 swig_obj[0] = args;
6599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6600 if (!SWIG_IsOK(res1)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6602 }
6603 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 delete arg1;
d14a1e28 6607
554f62e9
RD
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 resultobj = SWIG_Py_Void();
6612 return resultobj;
6613fail:
6614 return NULL;
6615}
6616
6617
6618SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6619 PyObject *resultobj = 0;
6620 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6621 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6622 void *argp1 = 0 ;
6623 int res1 = 0 ;
6624 void *argp2 = 0 ;
6625 int res2 = 0 ;
6626 PyObject * obj0 = 0 ;
6627 PyObject * obj1 = 0 ;
6628 char * kwnames[] = {
6629 (char *) "self",(char *) "s", NULL
6630 };
6631
6632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6634 if (!SWIG_IsOK(res1)) {
6635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6636 }
6637 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6638 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6639 if (!SWIG_IsOK(res2)) {
6640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6641 }
6642 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 (arg1)->SetSelection(arg2);
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = SWIG_Py_Void();
6650 return resultobj;
6651fail:
6652 return NULL;
d14a1e28
RD
6653}
6654
6655
554f62e9
RD
6656SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6657 PyObject *resultobj = 0;
6658 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6659 wxHtmlSelection *result = 0 ;
6660 void *argp1 = 0 ;
6661 int res1 = 0 ;
6662 PyObject *swig_obj[1] ;
6663
6664 if (!args) SWIG_fail;
6665 swig_obj[0] = args;
6666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6667 if (!SWIG_IsOK(res1)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6669 }
6670 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
6677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6678 return resultobj;
6679fail:
6680 return NULL;
6681}
6682
6683
6684SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj = 0;
6686 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6687 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6688 void *argp1 = 0 ;
6689 int res1 = 0 ;
6690 void *argp2 = 0 ;
6691 int res2 = 0 ;
6692 PyObject * obj0 = 0 ;
6693 PyObject * obj1 = 0 ;
6694 char * kwnames[] = {
6695 (char *) "self",(char *) "style", NULL
6696 };
6697
6698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6700 if (!SWIG_IsOK(res1)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6702 }
6703 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6704 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6705 if (!SWIG_IsOK(res2)) {
6706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6707 }
6708 arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 (arg1)->SetStyle(arg2);
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 resultobj = SWIG_Py_Void();
6716 return resultobj;
6717fail:
6718 return NULL;
d14a1e28
RD
6719}
6720
6721
554f62e9
RD
6722SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6723 PyObject *resultobj = 0;
6724 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6725 wxHtmlRenderingStyle *result = 0 ;
6726 void *argp1 = 0 ;
6727 int res1 = 0 ;
6728 PyObject *swig_obj[1] ;
6729
6730 if (!args) SWIG_fail;
6731 swig_obj[0] = args;
6732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6733 if (!SWIG_IsOK(res1)) {
6734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6735 }
6736 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6737 {
6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1fcee84 6739 {
554f62e9
RD
6740 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6741 result = (wxHtmlRenderingStyle *) &_result_ref;
b1fcee84 6742 }
554f62e9
RD
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6747 return resultobj;
6748fail:
6749 return NULL;
d14a1e28
RD
6750}
6751
6752
554f62e9
RD
6753SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6754 PyObject *resultobj = 0;
6755 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6756 wxHtmlRenderingState *result = 0 ;
6757 void *argp1 = 0 ;
6758 int res1 = 0 ;
6759 PyObject *swig_obj[1] ;
6760
6761 if (!args) SWIG_fail;
6762 swig_obj[0] = args;
6763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6764 if (!SWIG_IsOK(res1)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6766 }
6767 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1fcee84 6770 {
554f62e9
RD
6771 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6772 result = (wxHtmlRenderingState *) &_result_ref;
b1fcee84 6773 }
554f62e9
RD
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6778 return resultobj;
6779fail:
6780 return NULL;
d14a1e28
RD
6781}
6782
6783
554f62e9
RD
6784SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6785 PyObject *obj;
6786 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6787 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6788 return SWIG_Py_Void();
d14a1e28
RD
6789}
6790
554f62e9
RD
6791SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6792 return SWIG_Python_InitShadowInstance(args);
6793}
d14a1e28 6794
554f62e9
RD
6795SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6796 PyObject *resultobj = 0;
6797 wxHtmlCell *result = 0 ;
6798
6799 if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (wxHtmlCell *)new wxHtmlCell();
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6807 return resultobj;
6808fail:
6809 return NULL;
d14a1e28
RD
6810}
6811
6812
554f62e9
RD
6813SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6814 PyObject *resultobj = 0;
6815 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6816 void *argp1 = 0 ;
6817 int res1 = 0 ;
6818 PyObject *swig_obj[1] ;
6819
6820 if (!args) SWIG_fail;
6821 swig_obj[0] = args;
6822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6823 if (!SWIG_IsOK(res1)) {
6824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6825 }
6826 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6827 {
6828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6829 delete arg1;
d14a1e28 6830
554f62e9
RD
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
6834 resultobj = SWIG_Py_Void();
6835 return resultobj;
6836fail:
6837 return NULL;
d14a1e28
RD
6838}
6839
6840
554f62e9
RD
6841SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6842 PyObject *resultobj = 0;
6843 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6844 int result;
6845 void *argp1 = 0 ;
6846 int res1 = 0 ;
6847 PyObject *swig_obj[1] ;
6848
6849 if (!args) SWIG_fail;
6850 swig_obj[0] = args;
6851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6852 if (!SWIG_IsOK(res1)) {
6853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6854 }
6855 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6856 {
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 result = (int)(arg1)->GetPosX();
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 resultobj = SWIG_From_int(static_cast< int >(result));
6863 return resultobj;
6864fail:
6865 return NULL;
d14a1e28
RD
6866}
6867
6868
554f62e9
RD
6869SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6870 PyObject *resultobj = 0;
6871 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6872 int result;
6873 void *argp1 = 0 ;
6874 int res1 = 0 ;
6875 PyObject *swig_obj[1] ;
6876
6877 if (!args) SWIG_fail;
6878 swig_obj[0] = args;
6879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6880 if (!SWIG_IsOK(res1)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6882 }
6883 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6884 {
6885 PyThreadState* __tstate = wxPyBeginAllowThreads();
6886 result = (int)(arg1)->GetPosY();
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
6890 resultobj = SWIG_From_int(static_cast< int >(result));
6891 return resultobj;
6892fail:
6893 return NULL;
d14a1e28
RD
6894}
6895
6896
554f62e9
RD
6897SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6898 PyObject *resultobj = 0;
6899 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6900 int result;
6901 void *argp1 = 0 ;
6902 int res1 = 0 ;
6903 PyObject *swig_obj[1] ;
6904
6905 if (!args) SWIG_fail;
6906 swig_obj[0] = args;
6907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6908 if (!SWIG_IsOK(res1)) {
6909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6910 }
6911 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 result = (int)(arg1)->GetWidth();
6915 wxPyEndAllowThreads(__tstate);
6916 if (PyErr_Occurred()) SWIG_fail;
6917 }
6918 resultobj = SWIG_From_int(static_cast< int >(result));
6919 return resultobj;
6920fail:
6921 return NULL;
d14a1e28
RD
6922}
6923
6924
554f62e9
RD
6925SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6926 PyObject *resultobj = 0;
6927 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6928 int result;
6929 void *argp1 = 0 ;
6930 int res1 = 0 ;
6931 PyObject *swig_obj[1] ;
6932
6933 if (!args) SWIG_fail;
6934 swig_obj[0] = args;
6935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6936 if (!SWIG_IsOK(res1)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6938 }
6939 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = (int)(arg1)->GetHeight();
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 resultobj = SWIG_From_int(static_cast< int >(result));
6947 return resultobj;
6948fail:
6949 return NULL;
d14a1e28
RD
6950}
6951
6952
554f62e9
RD
6953SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6954 PyObject *resultobj = 0;
6955 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6956 int result;
6957 void *argp1 = 0 ;
6958 int res1 = 0 ;
6959 PyObject *swig_obj[1] ;
6960
6961 if (!args) SWIG_fail;
6962 swig_obj[0] = args;
6963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6964 if (!SWIG_IsOK(res1)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6966 }
6967 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 result = (int)(arg1)->GetDescent();
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 resultobj = SWIG_From_int(static_cast< int >(result));
6975 return resultobj;
6976fail:
6977 return NULL;
d14a1e28
RD
6978}
6979
6980
554f62e9
RD
6981SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6982 PyObject *resultobj = 0;
6983 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6984 int result;
6985 void *argp1 = 0 ;
6986 int res1 = 0 ;
6987 PyObject *swig_obj[1] ;
6988
6989 if (!args) SWIG_fail;
6990 swig_obj[0] = args;
6991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6992 if (!SWIG_IsOK(res1)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6994 }
6995 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 resultobj = SWIG_From_int(static_cast< int >(result));
7003 return resultobj;
7004fail:
7005 return NULL;
d14a1e28
RD
7006}
7007
7008
554f62e9
RD
7009SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7010 PyObject *resultobj = 0;
7011 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7012 wxString *result = 0 ;
7013 void *argp1 = 0 ;
7014 int res1 = 0 ;
7015 PyObject *swig_obj[1] ;
7016
7017 if (!args) SWIG_fail;
7018 swig_obj[0] = args;
7019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7020 if (!SWIG_IsOK(res1)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7022 }
7023 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 7026 {
554f62e9
RD
7027 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7028 result = (wxString *) &_result_ref;
d14a1e28 7029 }
554f62e9
RD
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 {
7034#if wxUSE_UNICODE
7035 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7036#else
7037 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7038#endif
7039 }
7040 return resultobj;
7041fail:
7042 return NULL;
7043}
7044
7045
7046SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj = 0;
7048 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7049 wxString *arg2 = 0 ;
7050 void *argp1 = 0 ;
7051 int res1 = 0 ;
7052 bool temp2 = false ;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 char * kwnames[] = {
7056 (char *) "self",(char *) "id", NULL
7057 };
7058
7059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7061 if (!SWIG_IsOK(res1)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7063 }
7064 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7065 {
7066 arg2 = wxString_in_helper(obj1);
7067 if (arg2 == NULL) SWIG_fail;
7068 temp2 = true;
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->SetId((wxString const &)*arg2);
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_Py_Void();
7077 {
7078 if (temp2)
7079 delete arg2;
7080 }
7081 return resultobj;
7082fail:
7083 {
7084 if (temp2)
7085 delete arg2;
7086 }
7087 return NULL;
7088}
7089
7090
7091SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj = 0;
7093 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7094 int arg2 = (int) 0 ;
7095 int arg3 = (int) 0 ;
7096 wxHtmlLinkInfo *result = 0 ;
7097 void *argp1 = 0 ;
7098 int res1 = 0 ;
7099 int val2 ;
7100 int ecode2 = 0 ;
7101 int val3 ;
7102 int ecode3 = 0 ;
7103 PyObject * obj0 = 0 ;
7104 PyObject * obj1 = 0 ;
7105 PyObject * obj2 = 0 ;
7106 char * kwnames[] = {
7107 (char *) "self",(char *) "x",(char *) "y", NULL
7108 };
7109
7110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7112 if (!SWIG_IsOK(res1)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7114 }
7115 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7116 if (obj1) {
7117 ecode2 = SWIG_AsVal_int(obj1, &val2);
7118 if (!SWIG_IsOK(ecode2)) {
7119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7120 }
7121 arg2 = static_cast< int >(val2);
7122 }
7123 if (obj2) {
7124 ecode3 = SWIG_AsVal_int(obj2, &val3);
7125 if (!SWIG_IsOK(ecode3)) {
7126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7127 }
7128 arg3 = static_cast< int >(val3);
7129 }
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7137 return resultobj;
7138fail:
7139 return NULL;
d14a1e28
RD
7140}
7141
7142
554f62e9
RD
7143SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7144 PyObject *resultobj = 0;
7145 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7146 wxHtmlCell *result = 0 ;
7147 void *argp1 = 0 ;
7148 int res1 = 0 ;
7149 PyObject *swig_obj[1] ;
7150
7151 if (!args) SWIG_fail;
7152 swig_obj[0] = args;
7153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7154 if (!SWIG_IsOK(res1)) {
7155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7156 }
7157 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7158 {
7159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7160 result = (wxHtmlCell *)(arg1)->GetNext();
7161 wxPyEndAllowThreads(__tstate);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 }
7164 {
7165 resultobj = wxPyMake_wxObject(result, 0);
7166 }
7167 return resultobj;
7168fail:
7169 return NULL;
d14a1e28
RD
7170}
7171
7172
554f62e9
RD
7173SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7174 PyObject *resultobj = 0;
7175 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7176 wxHtmlContainerCell *result = 0 ;
7177 void *argp1 = 0 ;
7178 int res1 = 0 ;
7179 PyObject *swig_obj[1] ;
7180
7181 if (!args) SWIG_fail;
7182 swig_obj[0] = args;
7183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7184 if (!SWIG_IsOK(res1)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7186 }
7187 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7188 {
7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
7190 result = (wxHtmlContainerCell *)(arg1)->GetParent();
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7195 return resultobj;
7196fail:
7197 return NULL;
d14a1e28
RD
7198}
7199
7200
554f62e9
RD
7201SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7202 PyObject *resultobj = 0;
7203 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7204 wxHtmlCell *result = 0 ;
7205 void *argp1 = 0 ;
7206 int res1 = 0 ;
7207 PyObject *swig_obj[1] ;
7208
7209 if (!args) SWIG_fail;
7210 swig_obj[0] = args;
7211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7212 if (!SWIG_IsOK(res1)) {
7213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7214 }
7215 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 {
7223 resultobj = wxPyMake_wxObject(result, 0);
7224 }
7225 return resultobj;
7226fail:
7227 return NULL;
d14a1e28
RD
7228}
7229
7230
e9d6f3a4
RD
7231SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj = 0;
7233 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7234 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7235 wxCursor result;
7236 void *argp1 = 0 ;
7237 int res1 = 0 ;
7238 void *argp2 = 0 ;
7239 int res2 = 0 ;
7240 PyObject * obj0 = 0 ;
7241 PyObject * obj1 = 0 ;
7242 char * kwnames[] = {
7243 (char *) "self",(char *) "window", NULL
7244 };
7245
7246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7248 if (!SWIG_IsOK(res1)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7250 }
7251 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7253 if (!SWIG_IsOK(res2)) {
7254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7255 }
7256 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7264 return resultobj;
7265fail:
7266 return NULL;
7267}
7268
7269
554f62e9
RD
7270SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7271 PyObject *resultobj = 0;
7272 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7273 wxCursor result;
7274 void *argp1 = 0 ;
7275 int res1 = 0 ;
7276 PyObject *swig_obj[1] ;
7277
7278 if (!args) SWIG_fail;
7279 swig_obj[0] = args;
7280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7281 if (!SWIG_IsOK(res1)) {
7282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7283 }
7284 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 result = ((wxHtmlCell const *)arg1)->GetCursor();
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7292 return resultobj;
7293fail:
7294 return NULL;
d14a1e28
RD
7295}
7296
7297
554f62e9
RD
7298SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7299 PyObject *resultobj = 0;
7300 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7301 bool result;
7302 void *argp1 = 0 ;
7303 int res1 = 0 ;
7304 PyObject *swig_obj[1] ;
7305
7306 if (!args) SWIG_fail;
7307 swig_obj[0] = args;
7308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7309 if (!SWIG_IsOK(res1)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7311 }
7312 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 {
7320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7321 }
7322 return resultobj;
7323fail:
7324 return NULL;
7325}
7326
7327
7328SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj = 0;
7330 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7331 wxHtmlLinkInfo *arg2 = 0 ;
7332 void *argp1 = 0 ;
7333 int res1 = 0 ;
7334 void *argp2 = 0 ;
7335 int res2 = 0 ;
7336 PyObject * obj0 = 0 ;
7337 PyObject * obj1 = 0 ;
7338 char * kwnames[] = {
7339 (char *) "self",(char *) "link", NULL
7340 };
7341
7342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7344 if (!SWIG_IsOK(res1)) {
7345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7346 }
7347 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7348 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7349 if (!SWIG_IsOK(res2)) {
7350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7351 }
7352 if (!argp2) {
7353 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7354 }
7355 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 resultobj = SWIG_Py_Void();
7363 return resultobj;
7364fail:
7365 return NULL;
7366}
7367
7368
7369SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7370 PyObject *resultobj = 0;
7371 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7372 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7373 int res1 = 0 ;
7374 int res2 = 0 ;
7375 PyObject * obj0 = 0 ;
7376 PyObject * obj1 = 0 ;
7377 char * kwnames[] = {
7378 (char *) "self",(char *) "cell", NULL
7379 };
7380
7381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7382 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7383 if (!SWIG_IsOK(res1)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7385 }
7386 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7387 if (!SWIG_IsOK(res2)) {
7388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7389 }
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 (arg1)->SetNext(arg2);
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 resultobj = SWIG_Py_Void();
7397 return resultobj;
7398fail:
7399 return NULL;
7400}
7401
7402
7403SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj = 0;
7405 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7406 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7407 void *argp1 = 0 ;
7408 int res1 = 0 ;
7409 void *argp2 = 0 ;
7410 int res2 = 0 ;
7411 PyObject * obj0 = 0 ;
7412 PyObject * obj1 = 0 ;
7413 char * kwnames[] = {
7414 (char *) "self",(char *) "p", NULL
7415 };
7416
7417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7419 if (!SWIG_IsOK(res1)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7421 }
7422 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7423 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7424 if (!SWIG_IsOK(res2)) {
7425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7426 }
7427 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 (arg1)->SetParent(arg2);
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 resultobj = SWIG_Py_Void();
7435 return resultobj;
7436fail:
7437 return NULL;
7438}
7439
7440
7441SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj = 0;
7443 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7444 int arg2 ;
7445 int arg3 ;
7446 void *argp1 = 0 ;
7447 int res1 = 0 ;
7448 int val2 ;
7449 int ecode2 = 0 ;
7450 int val3 ;
7451 int ecode3 = 0 ;
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 PyObject * obj2 = 0 ;
7455 char * kwnames[] = {
7456 (char *) "self",(char *) "x",(char *) "y", NULL
7457 };
7458
7459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7461 if (!SWIG_IsOK(res1)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7463 }
7464 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7465 ecode2 = SWIG_AsVal_int(obj1, &val2);
7466 if (!SWIG_IsOK(ecode2)) {
7467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7468 }
7469 arg2 = static_cast< int >(val2);
7470 ecode3 = SWIG_AsVal_int(obj2, &val3);
7471 if (!SWIG_IsOK(ecode3)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7473 }
7474 arg3 = static_cast< int >(val3);
7475 {
7476 PyThreadState* __tstate = wxPyBeginAllowThreads();
7477 (arg1)->SetPos(arg2,arg3);
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 resultobj = SWIG_Py_Void();
7482 return resultobj;
7483fail:
7484 return NULL;
7485}
7486
7487
7488SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj = 0;
7490 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7491 int arg2 ;
7492 void *argp1 = 0 ;
7493 int res1 = 0 ;
7494 int val2 ;
7495 int ecode2 = 0 ;
7496 PyObject * obj0 = 0 ;
7497 PyObject * obj1 = 0 ;
7498 char * kwnames[] = {
7499 (char *) "self",(char *) "w", NULL
7500 };
7501
7502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7504 if (!SWIG_IsOK(res1)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7506 }
7507 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7508 ecode2 = SWIG_AsVal_int(obj1, &val2);
7509 if (!SWIG_IsOK(ecode2)) {
7510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7511 }
7512 arg2 = static_cast< int >(val2);
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 (arg1)->Layout(arg2);
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = SWIG_Py_Void();
7520 return resultobj;
7521fail:
7522 return NULL;
7523}
7524
7525
7526SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj = 0;
7528 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7529 wxDC *arg2 = 0 ;
7530 int arg3 ;
7531 int arg4 ;
7532 int arg5 ;
7533 int arg6 ;
7534 wxHtmlRenderingInfo *arg7 = 0 ;
7535 void *argp1 = 0 ;
7536 int res1 = 0 ;
7537 void *argp2 = 0 ;
7538 int res2 = 0 ;
7539 int val3 ;
7540 int ecode3 = 0 ;
7541 int val4 ;
7542 int ecode4 = 0 ;
7543 int val5 ;
7544 int ecode5 = 0 ;
7545 int val6 ;
7546 int ecode6 = 0 ;
7547 void *argp7 = 0 ;
7548 int res7 = 0 ;
7549 PyObject * obj0 = 0 ;
7550 PyObject * obj1 = 0 ;
7551 PyObject * obj2 = 0 ;
7552 PyObject * obj3 = 0 ;
7553 PyObject * obj4 = 0 ;
7554 PyObject * obj5 = 0 ;
7555 PyObject * obj6 = 0 ;
7556 char * kwnames[] = {
7557 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7558 };
7559
7560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7562 if (!SWIG_IsOK(res1)) {
7563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7564 }
7565 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7566 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7567 if (!SWIG_IsOK(res2)) {
7568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7569 }
7570 if (!argp2) {
7571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7572 }
7573 arg2 = reinterpret_cast< wxDC * >(argp2);
7574 ecode3 = SWIG_AsVal_int(obj2, &val3);
7575 if (!SWIG_IsOK(ecode3)) {
7576 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7577 }
7578 arg3 = static_cast< int >(val3);
7579 ecode4 = SWIG_AsVal_int(obj3, &val4);
7580 if (!SWIG_IsOK(ecode4)) {
7581 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7582 }
7583 arg4 = static_cast< int >(val4);
7584 ecode5 = SWIG_AsVal_int(obj4, &val5);
7585 if (!SWIG_IsOK(ecode5)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7587 }
7588 arg5 = static_cast< int >(val5);
7589 ecode6 = SWIG_AsVal_int(obj5, &val6);
7590 if (!SWIG_IsOK(ecode6)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7592 }
7593 arg6 = static_cast< int >(val6);
7594 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7595 if (!SWIG_IsOK(res7)) {
7596 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7597 }
7598 if (!argp7) {
7599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7600 }
7601 arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7602 {
7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7604 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 resultobj = SWIG_Py_Void();
7609 return resultobj;
7610fail:
7611 return NULL;
7612}
7613
7614
7615SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj = 0;
7617 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7618 wxDC *arg2 = 0 ;
7619 int arg3 ;
7620 int arg4 ;
7621 wxHtmlRenderingInfo *arg5 = 0 ;
7622 void *argp1 = 0 ;
7623 int res1 = 0 ;
7624 void *argp2 = 0 ;
7625 int res2 = 0 ;
7626 int val3 ;
7627 int ecode3 = 0 ;
7628 int val4 ;
7629 int ecode4 = 0 ;
7630 void *argp5 = 0 ;
7631 int res5 = 0 ;
7632 PyObject * obj0 = 0 ;
7633 PyObject * obj1 = 0 ;
7634 PyObject * obj2 = 0 ;
7635 PyObject * obj3 = 0 ;
7636 PyObject * obj4 = 0 ;
7637 char * kwnames[] = {
7638 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7639 };
7640
7641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7643 if (!SWIG_IsOK(res1)) {
7644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7645 }
7646 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7647 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7648 if (!SWIG_IsOK(res2)) {
7649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7650 }
7651 if (!argp2) {
7652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7653 }
7654 arg2 = reinterpret_cast< wxDC * >(argp2);
7655 ecode3 = SWIG_AsVal_int(obj2, &val3);
7656 if (!SWIG_IsOK(ecode3)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7658 }
7659 arg3 = static_cast< int >(val3);
7660 ecode4 = SWIG_AsVal_int(obj3, &val4);
7661 if (!SWIG_IsOK(ecode4)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7663 }
7664 arg4 = static_cast< int >(val4);
7665 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7666 if (!SWIG_IsOK(res5)) {
7667 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7668 }
7669 if (!argp5) {
7670 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7671 }
7672 arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = SWIG_Py_Void();
7680 return resultobj;
7681fail:
7682 return NULL;
7683}
7684
7685
7686SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj = 0;
7688 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7689 int arg2 ;
7690 void *arg3 = (void *) 0 ;
7691 wxHtmlCell *result = 0 ;
7692 void *argp1 = 0 ;
7693 int res1 = 0 ;
7694 int val2 ;
7695 int ecode2 = 0 ;
7696 int res3 ;
7697 PyObject * obj0 = 0 ;
7698 PyObject * obj1 = 0 ;
7699 PyObject * obj2 = 0 ;
7700 char * kwnames[] = {
7701 (char *) "self",(char *) "condition",(char *) "param", NULL
7702 };
7703
7704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7706 if (!SWIG_IsOK(res1)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7708 }
7709 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7710 ecode2 = SWIG_AsVal_int(obj1, &val2);
7711 if (!SWIG_IsOK(ecode2)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7713 }
7714 arg2 = static_cast< int >(val2);
7715 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7716 if (!SWIG_IsOK(res3)) {
7717 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7718 }
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 {
7726 resultobj = wxPyMake_wxObject(result, 0);
7727 }
7728 return resultobj;
7729fail:
7730 return NULL;
7731}
7732
7733
e9d6f3a4
RD
7734SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj = 0;
7736 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7737 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7738 wxPoint *arg3 = 0 ;
7739 wxMouseEvent *arg4 = 0 ;
7740 bool result;
7741 void *argp1 = 0 ;
7742 int res1 = 0 ;
7743 void *argp2 = 0 ;
7744 int res2 = 0 ;
7745 wxPoint temp3 ;
7746 void *argp4 = 0 ;
7747 int res4 = 0 ;
7748 PyObject * obj0 = 0 ;
7749 PyObject * obj1 = 0 ;
7750 PyObject * obj2 = 0 ;
7751 PyObject * obj3 = 0 ;
7752 char * kwnames[] = {
7753 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7754 };
7755
7756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7758 if (!SWIG_IsOK(res1)) {
7759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7760 }
7761 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7762 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7763 if (!SWIG_IsOK(res2)) {
7764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7765 }
7766 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7767 {
7768 arg3 = &temp3;
7769 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7770 }
7771 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7772 if (!SWIG_IsOK(res4)) {
7773 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7774 }
7775 if (!argp4) {
7776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7777 }
7778 arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 {
7786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7787 }
7788 return resultobj;
7789fail:
7790 return NULL;
7791}
7792
7793
554f62e9
RD
7794SWIGINTERN PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj = 0;
7796 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7797 int *arg2 = (int *) 0 ;
7798 bool result;
7799 void *argp1 = 0 ;
7800 int res1 = 0 ;
7801 int temp2 ;
7802 int res2 = 0 ;
7803 PyObject * obj0 = 0 ;
7804 PyObject * obj1 = 0 ;
7805 char * kwnames[] = {
7806 (char *) "self",(char *) "INOUT", NULL
7807 };
7808
7809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7811 if (!SWIG_IsOK(res1)) {
7812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7813 }
7814 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7815 if (!(SWIG_IsOK((res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2),SWIGTYPE_p_int,0))))) {
7816 int val;
7817 int ecode = SWIG_AsVal_int(obj1, &val);
7818 if (!SWIG_IsOK(ecode)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "2"" of type '" "int""'");
7820 }
7821 temp2 = static_cast< int >(val);
7822 arg2 = &temp2;
7823 res2 = SWIG_AddTmpMask(ecode);
7824 }
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 result = (bool)(arg1)->AdjustPagebreak(arg2);
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 {
7832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7833 }
7834 if (SWIG_IsTmpObj(res2)) {
7835 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
7836 } else {
7837 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
7839 }
7840 return resultobj;
7841fail:
7842 return NULL;
7843}
7844
7845
7846SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj = 0;
7848 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7849 bool arg2 ;
7850 void *argp1 = 0 ;
7851 int res1 = 0 ;
7852 bool val2 ;
7853 int ecode2 = 0 ;
7854 PyObject * obj0 = 0 ;
7855 PyObject * obj1 = 0 ;
7856 char * kwnames[] = {
7857 (char *) "self",(char *) "can", NULL
7858 };
7859
7860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7862 if (!SWIG_IsOK(res1)) {
7863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7864 }
7865 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7866 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7867 if (!SWIG_IsOK(ecode2)) {
7868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7869 }
7870 arg2 = static_cast< bool >(val2);
7871 {
7872 PyThreadState* __tstate = wxPyBeginAllowThreads();
7873 (arg1)->SetCanLiveOnPagebreak(arg2);
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 resultobj = SWIG_Py_Void();
7878 return resultobj;
7879fail:
7880 return NULL;
d14a1e28
RD
7881}
7882
7883
554f62e9
RD
7884SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7885 PyObject *resultobj = 0;
7886 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7887 bool result;
7888 void *argp1 = 0 ;
7889 int res1 = 0 ;
7890 PyObject *swig_obj[1] ;
7891
7892 if (!args) SWIG_fail;
7893 swig_obj[0] = args;
7894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7895 if (!SWIG_IsOK(res1)) {
7896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7897 }
7898 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 {
7906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7907 }
7908 return resultobj;
7909fail:
7910 return NULL;
d14a1e28
RD
7911}
7912
7913
554f62e9
RD
7914SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7915 PyObject *resultobj = 0;
7916 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7917 bool result;
7918 void *argp1 = 0 ;
7919 int res1 = 0 ;
7920 PyObject *swig_obj[1] ;
7921
7922 if (!args) SWIG_fail;
7923 swig_obj[0] = args;
7924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7925 if (!SWIG_IsOK(res1)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7927 }
7928 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 {
7936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7937 }
7938 return resultobj;
7939fail:
7940 return NULL;
7941}
7942
7943
7944SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj = 0;
7946 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7947 int arg2 ;
7948 int arg3 ;
7949 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7950 wxHtmlCell *result = 0 ;
7951 void *argp1 = 0 ;
7952 int res1 = 0 ;
7953 int val2 ;
7954 int ecode2 = 0 ;
7955 int val3 ;
7956 int ecode3 = 0 ;
7957 unsigned int val4 ;
7958 int ecode4 = 0 ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 PyObject * obj2 = 0 ;
7962 PyObject * obj3 = 0 ;
7963 char * kwnames[] = {
7964 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7965 };
7966
7967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7969 if (!SWIG_IsOK(res1)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7971 }
7972 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7973 ecode2 = SWIG_AsVal_int(obj1, &val2);
7974 if (!SWIG_IsOK(ecode2)) {
7975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7976 }
7977 arg2 = static_cast< int >(val2);
7978 ecode3 = SWIG_AsVal_int(obj2, &val3);
7979 if (!SWIG_IsOK(ecode3)) {
7980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7981 }
7982 arg3 = static_cast< int >(val3);
7983 if (obj3) {
7984 ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7985 if (!SWIG_IsOK(ecode4)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7987 }
7988 arg4 = static_cast< unsigned int >(val4);
7989 }
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 {
7997 resultobj = wxPyMake_wxObject(result, 0);
7998 }
7999 return resultobj;
8000fail:
8001 return NULL;
d14a1e28
RD
8002}
8003
8004
e9d6f3a4 8005SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
554f62e9
RD
8006 PyObject *resultobj = 0;
8007 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
e9d6f3a4 8008 wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
554f62e9
RD
8009 wxPoint result;
8010 void *argp1 = 0 ;
8011 int res1 = 0 ;
e9d6f3a4
RD
8012 void *argp2 = 0 ;
8013 int res2 = 0 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char * kwnames[] = {
8017 (char *) "self",(char *) "rootCell", NULL
8018 };
8019
8020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
8021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8022 if (!SWIG_IsOK(res1)) {
8023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8024 }
8025 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8026 if (obj1) {
8027 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8028 if (!SWIG_IsOK(res2)) {
8029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8030 }
8031 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8032 }
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
8040 return resultobj;
8041fail:
8042 return NULL;
8043}
8044
8045
8046SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8047 PyObject *resultobj = 0;
8048 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8049 wxHtmlCell *result = 0 ;
8050 void *argp1 = 0 ;
8051 int res1 = 0 ;
554f62e9
RD
8052 PyObject *swig_obj[1] ;
8053
8054 if (!args) SWIG_fail;
8055 swig_obj[0] = args;
8056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8057 if (!SWIG_IsOK(res1)) {
e9d6f3a4 8058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
554f62e9
RD
8059 }
8060 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 8063 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
554f62e9
RD
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
e9d6f3a4
RD
8067 {
8068 resultobj = wxPyMake_wxObject(result, 0);
8069 }
554f62e9
RD
8070 return resultobj;
8071fail:
8072 return NULL;
d14a1e28
RD
8073}
8074
8075
554f62e9
RD
8076SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8077 PyObject *resultobj = 0;
8078 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8079 wxHtmlCell *result = 0 ;
8080 void *argp1 = 0 ;
8081 int res1 = 0 ;
8082 PyObject *swig_obj[1] ;
8083
8084 if (!args) SWIG_fail;
8085 swig_obj[0] = args;
8086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8087 if (!SWIG_IsOK(res1)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8089 }
8090 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 {
8098 resultobj = wxPyMake_wxObject(result, 0);
8099 }
8100 return resultobj;
8101fail:
8102 return NULL;
d14a1e28
RD
8103}
8104
8105
554f62e9
RD
8106SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8107 PyObject *resultobj = 0;
8108 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8109 wxHtmlCell *result = 0 ;
8110 void *argp1 = 0 ;
8111 int res1 = 0 ;
8112 PyObject *swig_obj[1] ;
8113
8114 if (!args) SWIG_fail;
8115 swig_obj[0] = args;
8116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8117 if (!SWIG_IsOK(res1)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8119 }
8120 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 {
8128 resultobj = wxPyMake_wxObject(result, 0);
8129 }
8130 return resultobj;
8131fail:
8132 return NULL;
d14a1e28
RD
8133}
8134
8135
554f62e9
RD
8136SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8137 PyObject *resultobj = 0;
8138 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8139 unsigned int result;
8140 void *argp1 = 0 ;
8141 int res1 = 0 ;
8142 PyObject *swig_obj[1] ;
8143
8144 if (!args) SWIG_fail;
8145 swig_obj[0] = args;
8146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8147 if (!SWIG_IsOK(res1)) {
8148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8149 }
8150 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8158 return resultobj;
8159fail:
8160 return NULL;
8161}
8162
8163
8164SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj = 0;
8166 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8167 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8168 bool result;
8169 void *argp1 = 0 ;
8170 int res1 = 0 ;
8171 void *argp2 = 0 ;
8172 int res2 = 0 ;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 char * kwnames[] = {
8176 (char *) "self",(char *) "cell", NULL
8177 };
8178
8179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8181 if (!SWIG_IsOK(res1)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8183 }
8184 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8186 if (!SWIG_IsOK(res2)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8188 }
8189 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 {
8197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8198 }
8199 return resultobj;
8200fail:
8201 return NULL;
8202}
8203
8204
8205SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj = 0;
8207 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8208 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8209 wxString result;
8210 void *argp1 = 0 ;
8211 int res1 = 0 ;
8212 void *argp2 = 0 ;
8213 int res2 = 0 ;
8214 PyObject * obj0 = 0 ;
8215 PyObject * obj1 = 0 ;
8216 char * kwnames[] = {
8217 (char *) "self",(char *) "sel", NULL
8218 };
8219
8220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8222 if (!SWIG_IsOK(res1)) {
8223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8224 }
8225 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8226 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8227 if (!SWIG_IsOK(res2)) {
8228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8229 }
8230 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 {
8238#if wxUSE_UNICODE
8239 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8240#else
8241 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8242#endif
8243 }
8244 return resultobj;
8245fail:
8246 return NULL;
d14a1e28
RD
8247}
8248
8249
554f62e9
RD
8250SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8251 PyObject *obj;
8252 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8253 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8254 return SWIG_Py_Void();
d14a1e28
RD
8255}
8256
554f62e9
RD
8257SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8258 return SWIG_Python_InitShadowInstance(args);
8259}
d14a1e28 8260
554f62e9
RD
8261SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj = 0;
8263 wxString *arg1 = 0 ;
8264 wxDC *arg2 = 0 ;
8265 wxHtmlWordCell *result = 0 ;
8266 bool temp1 = false ;
8267 void *argp2 = 0 ;
8268 int res2 = 0 ;
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
8271 char * kwnames[] = {
8272 (char *) "word",(char *) "dc", NULL
8273 };
8274
8275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8276 {
8277 arg1 = wxString_in_helper(obj0);
8278 if (arg1 == NULL) SWIG_fail;
8279 temp1 = true;
8280 }
8281 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8282 if (!SWIG_IsOK(res2)) {
8283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8284 }
8285 if (!argp2) {
8286 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8287 }
8288 arg2 = reinterpret_cast< wxDC * >(argp2);
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8296 {
8297 if (temp1)
8298 delete arg1;
8299 }
8300 return resultobj;
8301fail:
8302 {
8303 if (temp1)
8304 delete arg1;
8305 }
8306 return NULL;
8307}
8308
8309
8310SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj = 0;
8312 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8313 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8314 wxString result;
8315 void *argp1 = 0 ;
8316 int res1 = 0 ;
8317 void *argp2 = 0 ;
8318 int res2 = 0 ;
8319 PyObject * obj0 = 0 ;
8320 PyObject * obj1 = 0 ;
8321 char * kwnames[] = {
8322 (char *) "self",(char *) "sel", NULL
8323 };
8324
8325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8327 if (!SWIG_IsOK(res1)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8329 }
8330 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8331 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8332 if (!SWIG_IsOK(res2)) {
8333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8334 }
8335 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 {
8343#if wxUSE_UNICODE
8344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8345#else
8346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8347#endif
8348 }
8349 return resultobj;
8350fail:
8351 return NULL;
d14a1e28
RD
8352}
8353
8354
554f62e9
RD
8355SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8356 PyObject *resultobj = 0;
8357 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8358 bool result;
8359 void *argp1 = 0 ;
8360 int res1 = 0 ;
8361 PyObject *swig_obj[1] ;
8362
8363 if (!args) SWIG_fail;
8364 swig_obj[0] = args;
8365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8366 if (!SWIG_IsOK(res1)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8368 }
8369 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 {
8377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8378 }
8379 return resultobj;
8380fail:
8381 return NULL;
8382}
8383
8384
8385SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj = 0;
8387 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8388 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8389 void *argp1 = 0 ;
8390 int res1 = 0 ;
8391 void *argp2 = 0 ;
8392 int res2 = 0 ;
8393 PyObject * obj0 = 0 ;
8394 PyObject * obj1 = 0 ;
8395 char * kwnames[] = {
8396 (char *) "self",(char *) "cell", NULL
8397 };
8398
8399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8401 if (!SWIG_IsOK(res1)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8403 }
8404 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8405 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8406 if (!SWIG_IsOK(res2)) {
8407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8408 }
8409 arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 (arg1)->SetPreviousWord(arg2);
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 resultobj = SWIG_Py_Void();
8417 return resultobj;
8418fail:
8419 return NULL;
d14a1e28
RD
8420}
8421
8422
554f62e9
RD
8423SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8424 PyObject *obj;
8425 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8426 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8427 return SWIG_Py_Void();
d14a1e28
RD
8428}
8429
554f62e9
RD
8430SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8431 return SWIG_Python_InitShadowInstance(args);
8432}
d14a1e28 8433
554f62e9
RD
8434SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj = 0;
8436 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8437 wxHtmlContainerCell *result = 0 ;
8438 void *argp1 = 0 ;
8439 int res1 = 0 ;
8440 PyObject * obj0 = 0 ;
8441 char * kwnames[] = {
8442 (char *) "parent", NULL
8443 };
8444
8445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8447 if (!SWIG_IsOK(res1)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8449 }
8450 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8458 return resultobj;
8459fail:
8460 return NULL;
8461}
8462
8463
8464SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj = 0;
8466 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8467 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8468 void *argp1 = 0 ;
8469 int res1 = 0 ;
8470 int res2 = 0 ;
8471 PyObject * obj0 = 0 ;
8472 PyObject * obj1 = 0 ;
8473 char * kwnames[] = {
8474 (char *) "self",(char *) "cell", NULL
8475 };
8476
8477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8479 if (!SWIG_IsOK(res1)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8481 }
8482 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8483 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8484 if (!SWIG_IsOK(res2)) {
8485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8486 }
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 (arg1)->InsertCell(arg2);
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 resultobj = SWIG_Py_Void();
8494 return resultobj;
8495fail:
8496 return NULL;
8497}
8498
8499
8500SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj = 0;
8502 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8503 int arg2 ;
8504 void *argp1 = 0 ;
8505 int res1 = 0 ;
8506 int val2 ;
8507 int ecode2 = 0 ;
8508 PyObject * obj0 = 0 ;
8509 PyObject * obj1 = 0 ;
8510 char * kwnames[] = {
8511 (char *) "self",(char *) "al", NULL
8512 };
8513
8514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8516 if (!SWIG_IsOK(res1)) {
8517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8518 }
8519 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8520 ecode2 = SWIG_AsVal_int(obj1, &val2);
8521 if (!SWIG_IsOK(ecode2)) {
8522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8523 }
8524 arg2 = static_cast< int >(val2);
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 (arg1)->SetAlignHor(arg2);
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 resultobj = SWIG_Py_Void();
8532 return resultobj;
8533fail:
8534 return NULL;
d14a1e28 8535}
554f62e9
RD
8536
8537
8538SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8539 PyObject *resultobj = 0;
8540 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8541 int result;
8542 void *argp1 = 0 ;
8543 int res1 = 0 ;
8544 PyObject *swig_obj[1] ;
8545
8546 if (!args) SWIG_fail;
8547 swig_obj[0] = args;
8548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8549 if (!SWIG_IsOK(res1)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8551 }
8552 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (int)(arg1)->GetAlignHor();
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 resultobj = SWIG_From_int(static_cast< int >(result));
8560 return resultobj;
8561fail:
8562 return NULL;
8563}
8564
8565
8566SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8567 PyObject *resultobj = 0;
8568 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8569 int arg2 ;
8570 void *argp1 = 0 ;
8571 int res1 = 0 ;
8572 int val2 ;
8573 int ecode2 = 0 ;
8574 PyObject * obj0 = 0 ;
8575 PyObject * obj1 = 0 ;
8576 char * kwnames[] = {
8577 (char *) "self",(char *) "al", NULL
8578 };
8579
8580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8582 if (!SWIG_IsOK(res1)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8584 }
8585 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8586 ecode2 = SWIG_AsVal_int(obj1, &val2);
8587 if (!SWIG_IsOK(ecode2)) {
8588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8589 }
8590 arg2 = static_cast< int >(val2);
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 (arg1)->SetAlignVer(arg2);
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 resultobj = SWIG_Py_Void();
8598 return resultobj;
8599fail:
8600 return NULL;
d14a1e28
RD
8601}
8602
8603
554f62e9
RD
8604SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8605 PyObject *resultobj = 0;
8606 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8607 int result;
8608 void *argp1 = 0 ;
8609 int res1 = 0 ;
8610 PyObject *swig_obj[1] ;
8611
8612 if (!args) SWIG_fail;
8613 swig_obj[0] = args;
8614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8615 if (!SWIG_IsOK(res1)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8617 }
8618 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 result = (int)(arg1)->GetAlignVer();
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 resultobj = SWIG_From_int(static_cast< int >(result));
8626 return resultobj;
8627fail:
8628 return NULL;
8629}
8630
8631
8632SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj = 0;
8634 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8635 int arg2 ;
8636 int arg3 ;
8637 int arg4 = (int) wxHTML_UNITS_PIXELS ;
8638 void *argp1 = 0 ;
8639 int res1 = 0 ;
8640 int val2 ;
8641 int ecode2 = 0 ;
8642 int val3 ;
8643 int ecode3 = 0 ;
8644 int val4 ;
8645 int ecode4 = 0 ;
8646 PyObject * obj0 = 0 ;
8647 PyObject * obj1 = 0 ;
8648 PyObject * obj2 = 0 ;
8649 PyObject * obj3 = 0 ;
8650 char * kwnames[] = {
8651 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8652 };
8653
8654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8656 if (!SWIG_IsOK(res1)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8658 }
8659 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8660 ecode2 = SWIG_AsVal_int(obj1, &val2);
8661 if (!SWIG_IsOK(ecode2)) {
8662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8663 }
8664 arg2 = static_cast< int >(val2);
8665 ecode3 = SWIG_AsVal_int(obj2, &val3);
8666 if (!SWIG_IsOK(ecode3)) {
8667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8668 }
8669 arg3 = static_cast< int >(val3);
8670 if (obj3) {
8671 ecode4 = SWIG_AsVal_int(obj3, &val4);
8672 if (!SWIG_IsOK(ecode4)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8674 }
8675 arg4 = static_cast< int >(val4);
8676 }
8677 {
8678 PyThreadState* __tstate = wxPyBeginAllowThreads();
8679 (arg1)->SetIndent(arg2,arg3,arg4);
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 resultobj = SWIG_Py_Void();
8684 return resultobj;
8685fail:
8686 return NULL;
8687}
8688
8689
8690SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj = 0;
8692 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8693 int arg2 ;
8694 int result;
8695 void *argp1 = 0 ;
8696 int res1 = 0 ;
8697 int val2 ;
8698 int ecode2 = 0 ;
8699 PyObject * obj0 = 0 ;
8700 PyObject * obj1 = 0 ;
8701 char * kwnames[] = {
8702 (char *) "self",(char *) "ind", NULL
8703 };
8704
8705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8707 if (!SWIG_IsOK(res1)) {
8708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8709 }
8710 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8711 ecode2 = SWIG_AsVal_int(obj1, &val2);
8712 if (!SWIG_IsOK(ecode2)) {
8713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8714 }
8715 arg2 = static_cast< int >(val2);
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (int)(arg1)->GetIndent(arg2);
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 resultobj = SWIG_From_int(static_cast< int >(result));
8723 return resultobj;
8724fail:
8725 return NULL;
8726}
8727
8728
8729SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj = 0;
8731 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8732 int arg2 ;
8733 int result;
8734 void *argp1 = 0 ;
8735 int res1 = 0 ;
8736 int val2 ;
8737 int ecode2 = 0 ;
8738 PyObject * obj0 = 0 ;
8739 PyObject * obj1 = 0 ;
8740 char * kwnames[] = {
8741 (char *) "self",(char *) "ind", NULL
8742 };
8743
8744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8746 if (!SWIG_IsOK(res1)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8748 }
8749 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8750 ecode2 = SWIG_AsVal_int(obj1, &val2);
8751 if (!SWIG_IsOK(ecode2)) {
8752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8753 }
8754 arg2 = static_cast< int >(val2);
8755 {
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 result = (int)(arg1)->GetIndentUnits(arg2);
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 resultobj = SWIG_From_int(static_cast< int >(result));
8762 return resultobj;
8763fail:
8764 return NULL;
8765}
8766
8767
8768SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj = 0;
8770 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8771 wxHtmlTag *arg2 = 0 ;
8772 void *argp1 = 0 ;
8773 int res1 = 0 ;
8774 void *argp2 = 0 ;
8775 int res2 = 0 ;
8776 PyObject * obj0 = 0 ;
8777 PyObject * obj1 = 0 ;
8778 char * kwnames[] = {
8779 (char *) "self",(char *) "tag", NULL
8780 };
8781
8782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8784 if (!SWIG_IsOK(res1)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8786 }
8787 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8788 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8789 if (!SWIG_IsOK(res2)) {
8790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8791 }
8792 if (!argp2) {
8793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8794 }
8795 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 resultobj = SWIG_Py_Void();
8803 return resultobj;
8804fail:
8805 return NULL;
8806}
8807
8808
8809SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj = 0;
8811 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8812 int arg2 ;
8813 int arg3 ;
8814 void *argp1 = 0 ;
8815 int res1 = 0 ;
8816 int val2 ;
8817 int ecode2 = 0 ;
8818 int val3 ;
8819 int ecode3 = 0 ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 PyObject * obj2 = 0 ;
8823 char * kwnames[] = {
8824 (char *) "self",(char *) "w",(char *) "units", NULL
8825 };
8826
8827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) 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_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8831 }
8832 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8833 ecode2 = SWIG_AsVal_int(obj1, &val2);
8834 if (!SWIG_IsOK(ecode2)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8836 }
8837 arg2 = static_cast< int >(val2);
8838 ecode3 = SWIG_AsVal_int(obj2, &val3);
8839 if (!SWIG_IsOK(ecode3)) {
8840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8841 }
8842 arg3 = static_cast< int >(val3);
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 (arg1)->SetWidthFloat(arg2,arg3);
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 resultobj = SWIG_Py_Void();
8850 return resultobj;
8851fail:
8852 return NULL;
8853}
8854
8855
8856SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj = 0;
8858 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8859 wxHtmlTag *arg2 = 0 ;
8860 void *argp1 = 0 ;
8861 int res1 = 0 ;
8862 void *argp2 = 0 ;
8863 int res2 = 0 ;
8864 PyObject * obj0 = 0 ;
8865 PyObject * obj1 = 0 ;
8866 char * kwnames[] = {
8867 (char *) "self",(char *) "tag", NULL
8868 };
8869
8870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8872 if (!SWIG_IsOK(res1)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8874 }
8875 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8876 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8877 if (!SWIG_IsOK(res2)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8879 }
8880 if (!argp2) {
8881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8882 }
8883 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
8890 resultobj = SWIG_Py_Void();
8891 return resultobj;
8892fail:
8893 return NULL;
8894}
8895
8896
8897SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj = 0;
8899 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8900 int arg2 ;
8901 int arg3 = (int) wxHTML_ALIGN_TOP ;
8902 void *argp1 = 0 ;
8903 int res1 = 0 ;
8904 int val2 ;
8905 int ecode2 = 0 ;
8906 int val3 ;
8907 int ecode3 = 0 ;
8908 PyObject * obj0 = 0 ;
8909 PyObject * obj1 = 0 ;
8910 PyObject * obj2 = 0 ;
8911 char * kwnames[] = {
8912 (char *) "self",(char *) "h",(char *) "align", NULL
8913 };
8914
8915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8917 if (!SWIG_IsOK(res1)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8919 }
8920 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8921 ecode2 = SWIG_AsVal_int(obj1, &val2);
8922 if (!SWIG_IsOK(ecode2)) {
8923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8924 }
8925 arg2 = static_cast< int >(val2);
8926 if (obj2) {
8927 ecode3 = SWIG_AsVal_int(obj2, &val3);
8928 if (!SWIG_IsOK(ecode3)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8930 }
8931 arg3 = static_cast< int >(val3);
8932 }
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 (arg1)->SetMinHeight(arg2,arg3);
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 resultobj = SWIG_Py_Void();
8940 return resultobj;
8941fail:
8942 return NULL;
8943}
8944
8945
8946SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8947 PyObject *resultobj = 0;
8948 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8949 wxColour *arg2 = 0 ;
8950 void *argp1 = 0 ;
8951 int res1 = 0 ;
8952 wxColour temp2 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char * kwnames[] = {
8956 (char *) "self",(char *) "clr", NULL
8957 };
8958
8959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8961 if (!SWIG_IsOK(res1)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8963 }
8964 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8965 {
8966 arg2 = &temp2;
8967 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8968 }
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 resultobj = SWIG_Py_Void();
8976 return resultobj;
8977fail:
8978 return NULL;
d14a1e28
RD
8979}
8980
8981
554f62e9
RD
8982SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8983 PyObject *resultobj = 0;
8984 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8985 wxColour result;
8986 void *argp1 = 0 ;
8987 int res1 = 0 ;
8988 PyObject *swig_obj[1] ;
8989
8990 if (!args) SWIG_fail;
8991 swig_obj[0] = args;
8992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8993 if (!SWIG_IsOK(res1)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8995 }
8996 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 result = (arg1)->GetBackgroundColour();
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9004 return resultobj;
9005fail:
9006 return NULL;
9007}
9008
9009
9010SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj = 0;
9012 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9013 wxColour *arg2 = 0 ;
9014 wxColour *arg3 = 0 ;
9015 void *argp1 = 0 ;
9016 int res1 = 0 ;
9017 wxColour temp2 ;
9018 wxColour temp3 ;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj1 = 0 ;
9021 PyObject * obj2 = 0 ;
9022 char * kwnames[] = {
9023 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
9024 };
9025
9026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9028 if (!SWIG_IsOK(res1)) {
9029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9030 }
9031 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9032 {
9033 arg2 = &temp2;
9034 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9035 }
9036 {
9037 arg3 = &temp3;
9038 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9039 }
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 resultobj = SWIG_Py_Void();
9047 return resultobj;
9048fail:
9049 return NULL;
d14a1e28
RD
9050}
9051
9052
554f62e9
RD
9053SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9054 PyObject *resultobj = 0;
9055 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
9056 wxHtmlCell *result = 0 ;
9057 void *argp1 = 0 ;
9058 int res1 = 0 ;
9059 PyObject *swig_obj[1] ;
9060
9061 if (!args) SWIG_fail;
9062 swig_obj[0] = args;
9063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
9064 if (!SWIG_IsOK(res1)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9066 }
9067 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 result = (wxHtmlCell *)(arg1)->GetFirstChild();
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 {
9075 resultobj = wxPyMake_wxObject(result, 0);
9076 }
9077 return resultobj;
9078fail:
9079 return NULL;
d14a1e28
RD
9080}
9081
9082
554f62e9
RD
9083SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9084 PyObject *obj;
9085 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9086 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
9087 return SWIG_Py_Void();
d14a1e28
RD
9088}
9089
554f62e9
RD
9090SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9091 return SWIG_Python_InitShadowInstance(args);
9092}
d14a1e28 9093
554f62e9
RD
9094SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj = 0;
9096 wxColour *arg1 = 0 ;
9097 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9098 wxHtmlColourCell *result = 0 ;
9099 wxColour temp1 ;
9100 int val2 ;
9101 int ecode2 = 0 ;
9102 PyObject * obj0 = 0 ;
9103 PyObject * obj1 = 0 ;
9104 char * kwnames[] = {
9105 (char *) "clr",(char *) "flags", NULL
9106 };
9107
9108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9109 {
9110 arg1 = &temp1;
9111 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9112 }
9113 if (obj1) {
9114 ecode2 = SWIG_AsVal_int(obj1, &val2);
9115 if (!SWIG_IsOK(ecode2)) {
9116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9117 }
9118 arg2 = static_cast< int >(val2);
9119 }
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9127 return resultobj;
9128fail:
9129 return NULL;
d14a1e28
RD
9130}
9131
9132
554f62e9
RD
9133SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9134 PyObject *obj;
9135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9136 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9137 return SWIG_Py_Void();
d00d1b88
RD
9138}
9139
554f62e9
RD
9140SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9141 return SWIG_Python_InitShadowInstance(args);
9142}
d00d1b88 9143
554f62e9
RD
9144SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj = 0;
9146 wxFont *arg1 = (wxFont *) 0 ;
9147 wxHtmlFontCell *result = 0 ;
9148 void *argp1 = 0 ;
9149 int res1 = 0 ;
9150 PyObject * obj0 = 0 ;
9151 char * kwnames[] = {
9152 (char *) "font", NULL
9153 };
9154
9155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9157 if (!SWIG_IsOK(res1)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9159 }
9160 arg1 = reinterpret_cast< wxFont * >(argp1);
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9168 return resultobj;
9169fail:
9170 return NULL;
cbd72d4f
RD
9171}
9172
9173
554f62e9
RD
9174SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9175 PyObject *obj;
9176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9177 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9178 return SWIG_Py_Void();
cbd72d4f
RD
9179}
9180
554f62e9
RD
9181SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9182 return SWIG_Python_InitShadowInstance(args);
9183}
cbd72d4f 9184
554f62e9
RD
9185SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj = 0;
9187 wxWindow *arg1 = (wxWindow *) 0 ;
9188 int arg2 = (int) 0 ;
9189 wxHtmlWidgetCell *result = 0 ;
9190 void *argp1 = 0 ;
9191 int res1 = 0 ;
9192 int val2 ;
9193 int ecode2 = 0 ;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char * kwnames[] = {
9197 (char *) "wnd",(char *) "w", NULL
9198 };
9199
9200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9202 if (!SWIG_IsOK(res1)) {
9203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9204 }
9205 arg1 = reinterpret_cast< wxWindow * >(argp1);
9206 if (obj1) {
9207 ecode2 = SWIG_AsVal_int(obj1, &val2);
9208 if (!SWIG_IsOK(ecode2)) {
9209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9210 }
9211 arg2 = static_cast< int >(val2);
9212 }
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
9215 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9220 return resultobj;
9221fail:
9222 return NULL;
d14a1e28
RD
9223}
9224
9225
554f62e9
RD
9226SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9227 PyObject *obj;
9228 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9229 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9230 return SWIG_Py_Void();
d14a1e28
RD
9231}
9232
554f62e9
RD
9233SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9234 return SWIG_Python_InitShadowInstance(args);
9235}
d14a1e28 9236
554f62e9
RD
9237SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9238 PyObject *resultobj = 0;
9239 wxPyHtmlFilter *result = 0 ;
9240
9241 if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9249 return resultobj;
9250fail:
9251 return NULL;
9252}
9253
9254
9255SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9256 PyObject *resultobj = 0;
9257 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9258 PyObject *arg2 = (PyObject *) 0 ;
9259 PyObject *arg3 = (PyObject *) 0 ;
9260 void *argp1 = 0 ;
9261 int res1 = 0 ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 PyObject * obj2 = 0 ;
9265 char * kwnames[] = {
9266 (char *) "self",(char *) "self",(char *) "_class", NULL
9267 };
9268
9269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9271 if (!SWIG_IsOK(res1)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9273 }
9274 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9275 arg2 = obj1;
9276 arg3 = obj2;
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->_setCallbackInfo(arg2,arg3);
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = SWIG_Py_Void();
9284 return resultobj;
9285fail:
9286 return NULL;
9287}
9288
9289
9290SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9291 PyObject *obj;
9292 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9293 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9294 return SWIG_Py_Void();
9295}
9296
9297SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9298 return SWIG_Python_InitShadowInstance(args);
9299}
9300
e9d6f3a4
RD
9301SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9302 PyObject *resultobj = 0;
9303 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9304 void *argp1 = 0 ;
9305 int res1 = 0 ;
9306 PyObject *swig_obj[1] ;
9307
9308 if (!args) SWIG_fail;
9309 swig_obj[0] = args;
9310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9311 if (!SWIG_IsOK(res1)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9313 }
9314 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 delete arg1;
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 resultobj = SWIG_Py_Void();
9323 return resultobj;
9324fail:
9325 return NULL;
9326}
9327
9328
9329SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj = 0;
9331 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9332 wxString *arg2 = 0 ;
9333 void *argp1 = 0 ;
9334 int res1 = 0 ;
9335 bool temp2 = false ;
9336 PyObject * obj0 = 0 ;
9337 PyObject * obj1 = 0 ;
9338 char * kwnames[] = {
9339 (char *) "self",(char *) "title", NULL
9340 };
9341
9342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9344 if (!SWIG_IsOK(res1)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9346 }
9347 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9348 {
9349 arg2 = wxString_in_helper(obj1);
9350 if (arg2 == NULL) SWIG_fail;
9351 temp2 = true;
9352 }
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9356 wxPyEndAllowThreads(__tstate);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 }
9359 resultobj = SWIG_Py_Void();
9360 {
9361 if (temp2)
9362 delete arg2;
9363 }
9364 return resultobj;
9365fail:
9366 {
9367 if (temp2)
9368 delete arg2;
9369 }
9370 return NULL;
9371}
9372
9373
9374SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj = 0;
9376 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9377 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9378 wxPoint *arg3 = 0 ;
9379 wxPoint result;
9380 void *argp1 = 0 ;
9381 int res1 = 0 ;
9382 void *argp2 = 0 ;
9383 int res2 = 0 ;
9384 wxPoint temp3 ;
9385 PyObject * obj0 = 0 ;
9386 PyObject * obj1 = 0 ;
9387 PyObject * obj2 = 0 ;
9388 char * kwnames[] = {
9389 (char *) "self",(char *) "cell",(char *) "pos", NULL
9390 };
9391
9392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9394 if (!SWIG_IsOK(res1)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9396 }
9397 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9398 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9399 if (!SWIG_IsOK(res2)) {
9400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9401 }
9402 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9403 {
9404 arg3 = &temp3;
9405 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9414 return resultobj;
9415fail:
9416 return NULL;
9417}
9418
9419
9420SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9421 PyObject *resultobj = 0;
9422 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9423 wxWindow *result = 0 ;
9424 void *argp1 = 0 ;
9425 int res1 = 0 ;
9426 PyObject *swig_obj[1] ;
9427
9428 if (!args) SWIG_fail;
9429 swig_obj[0] = args;
9430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9431 if (!SWIG_IsOK(res1)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9433 }
9434 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 result = (wxWindow *)(arg1)->GetHTMLWindow();
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 {
9442 resultobj = wxPyMake_wxObject(result, 0);
9443 }
9444 return resultobj;
9445fail:
9446 return NULL;
9447}
9448
9449
9450SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9451 PyObject *resultobj = 0;
9452 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9453 wxColour result;
9454 void *argp1 = 0 ;
9455 int res1 = 0 ;
9456 PyObject *swig_obj[1] ;
9457
9458 if (!args) SWIG_fail;
9459 swig_obj[0] = args;
9460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9461 if (!SWIG_IsOK(res1)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9463 }
9464 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9468 wxPyEndAllowThreads(__tstate);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
9471 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9472 return resultobj;
9473fail:
9474 return NULL;
9475}
9476
9477
9478SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj = 0;
9480 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9481 wxColour *arg2 = 0 ;
9482 void *argp1 = 0 ;
9483 int res1 = 0 ;
9484 wxColour temp2 ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 char * kwnames[] = {
9488 (char *) "self",(char *) "clr", NULL
9489 };
9490
9491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9493 if (!SWIG_IsOK(res1)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9495 }
9496 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9497 {
9498 arg2 = &temp2;
9499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9500 }
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
9507 resultobj = SWIG_Py_Void();
9508 return resultobj;
9509fail:
9510 return NULL;
9511}
9512
9513
9514SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9515 PyObject *resultobj = 0;
9516 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9517 wxBitmap *arg2 = 0 ;
9518 void *argp1 = 0 ;
9519 int res1 = 0 ;
9520 void *argp2 = 0 ;
9521 int res2 = 0 ;
9522 PyObject * obj0 = 0 ;
9523 PyObject * obj1 = 0 ;
9524 char * kwnames[] = {
9525 (char *) "self",(char *) "bmpBg", NULL
9526 };
9527
9528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9530 if (!SWIG_IsOK(res1)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9532 }
9533 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9534 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9535 if (!SWIG_IsOK(res2)) {
9536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9537 }
9538 if (!argp2) {
9539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9540 }
9541 arg2 = reinterpret_cast< wxBitmap * >(argp2);
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 resultobj = SWIG_Py_Void();
9549 return resultobj;
9550fail:
9551 return NULL;
9552}
9553
9554
9555SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj = 0;
9557 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9558 wxString *arg2 = 0 ;
9559 void *argp1 = 0 ;
9560 int res1 = 0 ;
9561 bool temp2 = false ;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564 char * kwnames[] = {
9565 (char *) "self",(char *) "text", NULL
9566 };
9567
9568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9570 if (!SWIG_IsOK(res1)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9572 }
9573 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9574 {
9575 arg2 = wxString_in_helper(obj1);
9576 if (arg2 == NULL) SWIG_fail;
9577 temp2 = true;
9578 }
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 (arg1)->SetHTMLStatusText((wxString const &)*arg2);
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 resultobj = SWIG_Py_Void();
9586 {
9587 if (temp2)
9588 delete arg2;
9589 }
9590 return resultobj;
9591fail:
9592 {
9593 if (temp2)
9594 delete arg2;
9595 }
9596 return NULL;
9597}
9598
9599
9600SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9601 PyObject *obj;
9602 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9603 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9604 return SWIG_Py_Void();
9605}
9606
554f62e9
RD
9607SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9608 PyObject *resultobj = 0;
9609 wxWindow *arg1 = (wxWindow *) 0 ;
9610 int arg2 = (int) -1 ;
9611 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9612 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9613 wxSize const &arg4_defvalue = wxDefaultSize ;
9614 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9615 int arg5 = (int) wxHW_DEFAULT_STYLE ;
9616 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9617 wxString *arg6 = (wxString *) &arg6_defvalue ;
9618 wxPyHtmlWindow *result = 0 ;
9619 void *argp1 = 0 ;
9620 int res1 = 0 ;
9621 int val2 ;
9622 int ecode2 = 0 ;
9623 wxPoint temp3 ;
9624 wxSize temp4 ;
9625 int val5 ;
9626 int ecode5 = 0 ;
9627 bool temp6 = false ;
9628 PyObject * obj0 = 0 ;
9629 PyObject * obj1 = 0 ;
9630 PyObject * obj2 = 0 ;
9631 PyObject * obj3 = 0 ;
9632 PyObject * obj4 = 0 ;
9633 PyObject * obj5 = 0 ;
9634 char * kwnames[] = {
9635 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9636 };
9637
9638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9640 if (!SWIG_IsOK(res1)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9642 }
9643 arg1 = reinterpret_cast< wxWindow * >(argp1);
9644 if (obj1) {
9645 ecode2 = SWIG_AsVal_int(obj1, &val2);
9646 if (!SWIG_IsOK(ecode2)) {
9647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9648 }
9649 arg2 = static_cast< int >(val2);
9650 }
9651 if (obj2) {
d14a1e28 9652 {
554f62e9
RD
9653 arg3 = &temp3;
9654 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 9655 }
554f62e9
RD
9656 }
9657 if (obj3) {
d14a1e28 9658 {
554f62e9
RD
9659 arg4 = &temp4;
9660 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9661 }
554f62e9
RD
9662 }
9663 if (obj4) {
9664 ecode5 = SWIG_AsVal_int(obj4, &val5);
9665 if (!SWIG_IsOK(ecode5)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9667 }
9668 arg5 = static_cast< int >(val5);
9669 }
9670 if (obj5) {
b1fcee84 9671 {
554f62e9
RD
9672 arg6 = wxString_in_helper(obj5);
9673 if (arg6 == NULL) SWIG_fail;
9674 temp6 = true;
b1fcee84 9675 }
554f62e9
RD
9676 }
9677 {
9678 if (!wxPyCheckForApp()) SWIG_fail;
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9685 {
9686 if (temp6)
9687 delete arg6;
9688 }
9689 return resultobj;
9690fail:
9691 {
9692 if (temp6)
9693 delete arg6;
9694 }
9695 return NULL;
d14a1e28
RD
9696}
9697
9698
554f62e9
RD
9699SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9700 PyObject *resultobj = 0;
9701 wxPyHtmlWindow *result = 0 ;
9702
9703 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9704 {
9705 if (!wxPyCheckForApp()) SWIG_fail;
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9712 return resultobj;
9713fail:
9714 return NULL;
9715}
9716
9717
9718SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj = 0;
9720 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9721 wxWindow *arg2 = (wxWindow *) 0 ;
9722 int arg3 = (int) -1 ;
9723 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9724 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9725 wxSize const &arg5_defvalue = wxDefaultSize ;
9726 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9727 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9728 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9729 wxString *arg7 = (wxString *) &arg7_defvalue ;
9730 bool result;
9731 void *argp1 = 0 ;
9732 int res1 = 0 ;
9733 void *argp2 = 0 ;
9734 int res2 = 0 ;
9735 int val3 ;
9736 int ecode3 = 0 ;
9737 wxPoint temp4 ;
9738 wxSize temp5 ;
9739 int val6 ;
9740 int ecode6 = 0 ;
9741 bool temp7 = false ;
9742 PyObject * obj0 = 0 ;
9743 PyObject * obj1 = 0 ;
9744 PyObject * obj2 = 0 ;
9745 PyObject * obj3 = 0 ;
9746 PyObject * obj4 = 0 ;
9747 PyObject * obj5 = 0 ;
9748 PyObject * obj6 = 0 ;
9749 char * kwnames[] = {
9750 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9751 };
9752
9753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9755 if (!SWIG_IsOK(res1)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9757 }
9758 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9759 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9760 if (!SWIG_IsOK(res2)) {
9761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9762 }
9763 arg2 = reinterpret_cast< wxWindow * >(argp2);
9764 if (obj2) {
9765 ecode3 = SWIG_AsVal_int(obj2, &val3);
9766 if (!SWIG_IsOK(ecode3)) {
9767 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9768 }
9769 arg3 = static_cast< int >(val3);
9770 }
9771 if (obj3) {
d14a1e28 9772 {
554f62e9
RD
9773 arg4 = &temp4;
9774 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9775 }
554f62e9
RD
9776 }
9777 if (obj4) {
d14a1e28 9778 {
554f62e9
RD
9779 arg5 = &temp5;
9780 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9781 }
554f62e9
RD
9782 }
9783 if (obj5) {
9784 ecode6 = SWIG_AsVal_int(obj5, &val6);
9785 if (!SWIG_IsOK(ecode6)) {
9786 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9787 }
9788 arg6 = static_cast< int >(val6);
9789 }
9790 if (obj6) {
4f89f6a3 9791 {
554f62e9
RD
9792 arg7 = wxString_in_helper(obj6);
9793 if (arg7 == NULL) SWIG_fail;
9794 temp7 = true;
4f89f6a3 9795 }
554f62e9
RD
9796 }
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 {
9804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9805 }
9806 {
9807 if (temp7)
9808 delete arg7;
9809 }
9810 return resultobj;
9811fail:
9812 {
9813 if (temp7)
9814 delete arg7;
9815 }
9816 return NULL;
9817}
9818
9819
9820SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9821 PyObject *resultobj = 0;
9822 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9823 PyObject *arg2 = (PyObject *) 0 ;
9824 PyObject *arg3 = (PyObject *) 0 ;
9825 void *argp1 = 0 ;
9826 int res1 = 0 ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
9830 char * kwnames[] = {
9831 (char *) "self",(char *) "self",(char *) "_class", NULL
9832 };
9833
9834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9838 }
9839 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9840 arg2 = obj1;
9841 arg3 = obj2;
9842 {
9843 PyThreadState* __tstate = wxPyBeginAllowThreads();
9844 (arg1)->_setCallbackInfo(arg2,arg3);
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 resultobj = SWIG_Py_Void();
9849 return resultobj;
9850fail:
9851 return NULL;
9852}
9853
9854
9855SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj = 0;
9857 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9858 wxString *arg2 = 0 ;
9859 bool result;
9860 void *argp1 = 0 ;
9861 int res1 = 0 ;
9862 bool temp2 = false ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 char * kwnames[] = {
9866 (char *) "self",(char *) "source", NULL
9867 };
9868
9869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9871 if (!SWIG_IsOK(res1)) {
9872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9873 }
9874 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9875 {
9876 arg2 = wxString_in_helper(obj1);
9877 if (arg2 == NULL) SWIG_fail;
9878 temp2 = true;
9879 }
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 {
9887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9888 }
9889 {
9890 if (temp2)
9891 delete arg2;
9892 }
9893 return resultobj;
9894fail:
9895 {
9896 if (temp2)
9897 delete arg2;
9898 }
9899 return NULL;
9900}
9901
9902
9903SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj = 0;
9905 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9906 wxString *arg2 = 0 ;
9907 bool result;
9908 void *argp1 = 0 ;
9909 int res1 = 0 ;
9910 bool temp2 = false ;
9911 PyObject * obj0 = 0 ;
9912 PyObject * obj1 = 0 ;
9913 char * kwnames[] = {
9914 (char *) "self",(char *) "location", NULL
9915 };
9916
9917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9919 if (!SWIG_IsOK(res1)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9921 }
9922 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9923 {
9924 arg2 = wxString_in_helper(obj1);
9925 if (arg2 == NULL) SWIG_fail;
9926 temp2 = true;
9927 }
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 {
9935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9936 }
9937 {
9938 if (temp2)
9939 delete arg2;
9940 }
9941 return resultobj;
9942fail:
9943 {
9944 if (temp2)
9945 delete arg2;
9946 }
9947 return NULL;
9948}
9949
9950
9951SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj = 0;
9953 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9954 wxString *arg2 = 0 ;
9955 bool result;
9956 void *argp1 = 0 ;
9957 int res1 = 0 ;
9958 bool temp2 = false ;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 char * kwnames[] = {
9962 (char *) "self",(char *) "filename", NULL
9963 };
9964
9965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9967 if (!SWIG_IsOK(res1)) {
9968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9969 }
9970 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9971 {
9972 arg2 = wxString_in_helper(obj1);
9973 if (arg2 == NULL) SWIG_fail;
9974 temp2 = true;
9975 }
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 {
9983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9984 }
9985 {
9986 if (temp2)
9987 delete arg2;
9988 }
9989 return resultobj;
9990fail:
9991 {
9992 if (temp2)
9993 delete arg2;
9994 }
9995 return NULL;
9996}
9997
9998
9999SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10000 PyObject *resultobj = 0;
10001 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10002 wxString *arg2 = 0 ;
10003 bool result;
10004 void *argp1 = 0 ;
10005 int res1 = 0 ;
10006 bool temp2 = false ;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 char * kwnames[] = {
10010 (char *) "self",(char *) "source", NULL
10011 };
10012
10013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
10014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10015 if (!SWIG_IsOK(res1)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10017 }
10018 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10019 {
10020 arg2 = wxString_in_helper(obj1);
10021 if (arg2 == NULL) SWIG_fail;
10022 temp2 = true;
10023 }
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 {
10031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10032 }
10033 {
10034 if (temp2)
10035 delete arg2;
10036 }
10037 return resultobj;
10038fail:
10039 {
10040 if (temp2)
10041 delete arg2;
10042 }
10043 return NULL;
d14a1e28
RD
10044}
10045
10046
554f62e9
RD
10047SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10048 PyObject *resultobj = 0;
10049 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10050 wxString result;
10051 void *argp1 = 0 ;
10052 int res1 = 0 ;
10053 PyObject *swig_obj[1] ;
10054
10055 if (!args) SWIG_fail;
10056 swig_obj[0] = args;
10057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10060 }
10061 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (arg1)->GetOpenedPage();
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 {
10069#if wxUSE_UNICODE
10070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10071#else
10072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10073#endif
10074 }
10075 return resultobj;
10076fail:
10077 return NULL;
d14a1e28
RD
10078}
10079
10080
554f62e9
RD
10081SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10082 PyObject *resultobj = 0;
10083 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10084 wxString result;
10085 void *argp1 = 0 ;
10086 int res1 = 0 ;
10087 PyObject *swig_obj[1] ;
10088
10089 if (!args) SWIG_fail;
10090 swig_obj[0] = args;
10091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10092 if (!SWIG_IsOK(res1)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10094 }
10095 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (arg1)->GetOpenedAnchor();
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 {
10103#if wxUSE_UNICODE
10104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10105#else
10106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10107#endif
10108 }
10109 return resultobj;
10110fail:
10111 return NULL;
d14a1e28
RD
10112}
10113
10114
554f62e9
RD
10115SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10116 PyObject *resultobj = 0;
10117 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10118 wxString result;
10119 void *argp1 = 0 ;
10120 int res1 = 0 ;
10121 PyObject *swig_obj[1] ;
10122
10123 if (!args) SWIG_fail;
10124 swig_obj[0] = args;
10125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10126 if (!SWIG_IsOK(res1)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10128 }
10129 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (arg1)->GetOpenedPageTitle();
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 {
10137#if wxUSE_UNICODE
10138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10139#else
10140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10141#endif
10142 }
10143 return resultobj;
10144fail:
10145 return NULL;
10146}
10147
10148
10149SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj = 0;
10151 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10152 wxFrame *arg2 = (wxFrame *) 0 ;
10153 wxString *arg3 = 0 ;
10154 void *argp1 = 0 ;
10155 int res1 = 0 ;
10156 void *argp2 = 0 ;
10157 int res2 = 0 ;
10158 bool temp3 = false ;
10159 PyObject * obj0 = 0 ;
10160 PyObject * obj1 = 0 ;
10161 PyObject * obj2 = 0 ;
10162 char * kwnames[] = {
10163 (char *) "self",(char *) "frame",(char *) "format", NULL
10164 };
10165
10166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10168 if (!SWIG_IsOK(res1)) {
10169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10170 }
10171 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10173 if (!SWIG_IsOK(res2)) {
10174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10175 }
10176 arg2 = reinterpret_cast< wxFrame * >(argp2);
10177 {
10178 arg3 = wxString_in_helper(obj2);
10179 if (arg3 == NULL) SWIG_fail;
10180 temp3 = true;
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 resultobj = SWIG_Py_Void();
10189 {
10190 if (temp3)
10191 delete arg3;
10192 }
10193 return resultobj;
10194fail:
10195 {
10196 if (temp3)
10197 delete arg3;
10198 }
10199 return NULL;
d14a1e28
RD
10200}
10201
10202
554f62e9
RD
10203SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10204 PyObject *resultobj = 0;
10205 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10206 wxFrame *result = 0 ;
10207 void *argp1 = 0 ;
10208 int res1 = 0 ;
10209 PyObject *swig_obj[1] ;
10210
10211 if (!args) SWIG_fail;
10212 swig_obj[0] = args;
10213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10214 if (!SWIG_IsOK(res1)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10216 }
10217 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
10220 result = (wxFrame *)(arg1)->GetRelatedFrame();
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 {
10225 resultobj = wxPyMake_wxObject(result, 0);
10226 }
10227 return resultobj;
10228fail:
10229 return NULL;
10230}
10231
10232
10233SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj = 0;
10235 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10236 int arg2 ;
10237 void *argp1 = 0 ;
10238 int res1 = 0 ;
10239 int val2 ;
10240 int ecode2 = 0 ;
10241 PyObject * obj0 = 0 ;
10242 PyObject * obj1 = 0 ;
10243 char * kwnames[] = {
10244 (char *) "self",(char *) "bar", NULL
10245 };
10246
10247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10249 if (!SWIG_IsOK(res1)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10251 }
10252 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10253 ecode2 = SWIG_AsVal_int(obj1, &val2);
10254 if (!SWIG_IsOK(ecode2)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10256 }
10257 arg2 = static_cast< int >(val2);
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 (arg1)->SetRelatedStatusBar(arg2);
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = SWIG_Py_Void();
10265 return resultobj;
10266fail:
10267 return NULL;
10268}
10269
10270
10271SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj = 0;
10273 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10274 wxString arg2 ;
10275 wxString arg3 ;
10276 PyObject *arg4 = (PyObject *) NULL ;
10277 void *argp1 = 0 ;
10278 int res1 = 0 ;
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10281 PyObject * obj2 = 0 ;
10282 PyObject * obj3 = 0 ;
10283 char * kwnames[] = {
10284 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10285 };
10286
10287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10289 if (!SWIG_IsOK(res1)) {
10290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10291 }
10292 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10293 {
10294 wxString* sptr = wxString_in_helper(obj1);
10295 if (sptr == NULL) SWIG_fail;
10296 arg2 = *sptr;
10297 delete sptr;
10298 }
10299 {
10300 wxString* sptr = wxString_in_helper(obj2);
10301 if (sptr == NULL) SWIG_fail;
10302 arg3 = *sptr;
10303 delete sptr;
10304 }
10305 if (obj3) {
10306 arg4 = obj3;
10307 }
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 resultobj = SWIG_Py_Void();
10315 return resultobj;
10316fail:
10317 return NULL;
10318}
10319
10320
10321SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj = 0;
10323 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10324 int arg2 = (int) -1 ;
10325 wxString const &arg3_defvalue = wxPyEmptyString ;
10326 wxString *arg3 = (wxString *) &arg3_defvalue ;
10327 wxString const &arg4_defvalue = wxPyEmptyString ;
10328 wxString *arg4 = (wxString *) &arg4_defvalue ;
10329 void *argp1 = 0 ;
10330 int res1 = 0 ;
10331 int val2 ;
10332 int ecode2 = 0 ;
10333 bool temp3 = false ;
10334 bool temp4 = false ;
10335 PyObject * obj0 = 0 ;
10336 PyObject * obj1 = 0 ;
10337 PyObject * obj2 = 0 ;
10338 PyObject * obj3 = 0 ;
10339 char * kwnames[] = {
10340 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10341 };
10342
10343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10345 if (!SWIG_IsOK(res1)) {
10346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10347 }
10348 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10349 if (obj1) {
10350 ecode2 = SWIG_AsVal_int(obj1, &val2);
10351 if (!SWIG_IsOK(ecode2)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10353 }
10354 arg2 = static_cast< int >(val2);
10355 }
10356 if (obj2) {
093d3ff1 10357 {
554f62e9
RD
10358 arg3 = wxString_in_helper(obj2);
10359 if (arg3 == NULL) SWIG_fail;
10360 temp3 = true;
093d3ff1 10361 }
554f62e9
RD
10362 }
10363 if (obj3) {
d14a1e28 10364 {
554f62e9
RD
10365 arg4 = wxString_in_helper(obj3);
10366 if (arg4 == NULL) SWIG_fail;
10367 temp4 = true;
093d3ff1 10368 }
554f62e9
RD
10369 }
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 resultobj = SWIG_Py_Void();
10377 {
10378 if (temp3)
10379 delete arg3;
10380 }
10381 {
10382 if (temp4)
10383 delete arg4;
10384 }
10385 return resultobj;
10386fail:
10387 {
10388 if (temp3)
10389 delete arg3;
10390 }
10391 {
10392 if (temp4)
10393 delete arg4;
10394 }
10395 return NULL;
10396}
10397
10398
10399SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj = 0;
10401 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10402 int arg2 ;
10403 void *argp1 = 0 ;
10404 int res1 = 0 ;
10405 int val2 ;
10406 int ecode2 = 0 ;
10407 PyObject * obj0 = 0 ;
10408 PyObject * obj1 = 0 ;
10409 char * kwnames[] = {
10410 (char *) "self",(char *) "b", NULL
10411 };
10412
10413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10415 if (!SWIG_IsOK(res1)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10417 }
10418 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10419 ecode2 = SWIG_AsVal_int(obj1, &val2);
10420 if (!SWIG_IsOK(ecode2)) {
10421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10422 }
10423 arg2 = static_cast< int >(val2);
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 (arg1)->SetBorders(arg2);
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 resultobj = SWIG_Py_Void();
10431 return resultobj;
10432fail:
10433 return NULL;
10434}
10435
10436
10437SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj = 0;
10439 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10440 wxBitmap *arg2 = 0 ;
10441 void *argp1 = 0 ;
10442 int res1 = 0 ;
10443 void *argp2 = 0 ;
10444 int res2 = 0 ;
10445 PyObject * obj0 = 0 ;
10446 PyObject * obj1 = 0 ;
10447 char * kwnames[] = {
10448 (char *) "self",(char *) "bmpBg", NULL
10449 };
10450
10451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) 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_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10455 }
10456 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10457 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10458 if (!SWIG_IsOK(res2)) {
10459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10460 }
10461 if (!argp2) {
10462 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10463 }
10464 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 resultobj = SWIG_Py_Void();
10472 return resultobj;
10473fail:
10474 return NULL;
10475}
10476
10477
10478SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj = 0;
10480 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10481 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10482 wxString arg3 = (wxString) wxPyEmptyString ;
10483 void *argp1 = 0 ;
10484 int res1 = 0 ;
10485 void *argp2 = 0 ;
10486 int res2 = 0 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 PyObject * obj2 = 0 ;
10490 char * kwnames[] = {
10491 (char *) "self",(char *) "cfg",(char *) "path", NULL
10492 };
10493
10494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10496 if (!SWIG_IsOK(res1)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10498 }
10499 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10501 if (!SWIG_IsOK(res2)) {
10502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10503 }
10504 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10505 if (obj2) {
093d3ff1 10506 {
554f62e9
RD
10507 wxString* sptr = wxString_in_helper(obj2);
10508 if (sptr == NULL) SWIG_fail;
10509 arg3 = *sptr;
10510 delete sptr;
d14a1e28 10511 }
554f62e9
RD
10512 }
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 (arg1)->ReadCustomization(arg2,arg3);
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_Py_Void();
10520 return resultobj;
10521fail:
10522 return NULL;
10523}
10524
10525
10526SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj = 0;
10528 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10529 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10530 wxString arg3 = (wxString) wxPyEmptyString ;
10531 void *argp1 = 0 ;
10532 int res1 = 0 ;
10533 void *argp2 = 0 ;
10534 int res2 = 0 ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 PyObject * obj2 = 0 ;
10538 char * kwnames[] = {
10539 (char *) "self",(char *) "cfg",(char *) "path", NULL
10540 };
10541
10542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10544 if (!SWIG_IsOK(res1)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10546 }
10547 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10548 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10549 if (!SWIG_IsOK(res2)) {
10550 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10551 }
10552 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10553 if (obj2) {
d14a1e28 10554 {
554f62e9
RD
10555 wxString* sptr = wxString_in_helper(obj2);
10556 if (sptr == NULL) SWIG_fail;
10557 arg3 = *sptr;
10558 delete sptr;
d14a1e28 10559 }
554f62e9
RD
10560 }
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 (arg1)->WriteCustomization(arg2,arg3);
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = SWIG_Py_Void();
10568 return resultobj;
10569fail:
10570 return NULL;
d14a1e28
RD
10571}
10572
10573
554f62e9
RD
10574SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10575 PyObject *resultobj = 0;
10576 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10577 bool result;
10578 void *argp1 = 0 ;
10579 int res1 = 0 ;
10580 PyObject *swig_obj[1] ;
10581
10582 if (!args) SWIG_fail;
10583 swig_obj[0] = args;
10584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10585 if (!SWIG_IsOK(res1)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10587 }
10588 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (bool)(arg1)->HistoryBack();
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 {
10596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10597 }
10598 return resultobj;
10599fail:
10600 return NULL;
d14a1e28
RD
10601}
10602
10603
554f62e9
RD
10604SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10605 PyObject *resultobj = 0;
10606 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10607 bool result;
10608 void *argp1 = 0 ;
10609 int res1 = 0 ;
10610 PyObject *swig_obj[1] ;
10611
10612 if (!args) SWIG_fail;
10613 swig_obj[0] = args;
10614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10615 if (!SWIG_IsOK(res1)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10617 }
10618 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 result = (bool)(arg1)->HistoryForward();
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 {
10626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10627 }
10628 return resultobj;
10629fail:
10630 return NULL;
d14a1e28
RD
10631}
10632
10633
554f62e9
RD
10634SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10635 PyObject *resultobj = 0;
10636 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10637 bool result;
10638 void *argp1 = 0 ;
10639 int res1 = 0 ;
10640 PyObject *swig_obj[1] ;
10641
10642 if (!args) SWIG_fail;
10643 swig_obj[0] = args;
10644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10645 if (!SWIG_IsOK(res1)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10647 }
10648 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 result = (bool)(arg1)->HistoryCanBack();
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 {
10656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10657 }
10658 return resultobj;
10659fail:
10660 return NULL;
d14a1e28
RD
10661}
10662
10663
554f62e9
RD
10664SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10665 PyObject *resultobj = 0;
10666 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10667 bool result;
10668 void *argp1 = 0 ;
10669 int res1 = 0 ;
10670 PyObject *swig_obj[1] ;
10671
10672 if (!args) SWIG_fail;
10673 swig_obj[0] = args;
10674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10675 if (!SWIG_IsOK(res1)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10677 }
10678 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 result = (bool)(arg1)->HistoryCanForward();
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 {
10686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10687 }
10688 return resultobj;
10689fail:
10690 return NULL;
d14a1e28
RD
10691}
10692
10693
554f62e9
RD
10694SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10695 PyObject *resultobj = 0;
10696 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10697 void *argp1 = 0 ;
10698 int res1 = 0 ;
10699 PyObject *swig_obj[1] ;
10700
10701 if (!args) SWIG_fail;
10702 swig_obj[0] = args;
10703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10704 if (!SWIG_IsOK(res1)) {
10705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10706 }
10707 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 (arg1)->HistoryClear();
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 resultobj = SWIG_Py_Void();
10715 return resultobj;
10716fail:
10717 return NULL;
d14a1e28
RD
10718}
10719
10720
554f62e9
RD
10721SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10722 PyObject *resultobj = 0;
10723 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10724 wxHtmlContainerCell *result = 0 ;
10725 void *argp1 = 0 ;
10726 int res1 = 0 ;
10727 PyObject *swig_obj[1] ;
10728
10729 if (!args) SWIG_fail;
10730 swig_obj[0] = args;
10731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10732 if (!SWIG_IsOK(res1)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10734 }
10735 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10743 return resultobj;
10744fail:
10745 return NULL;
d14a1e28
RD
10746}
10747
10748
554f62e9
RD
10749SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10750 PyObject *resultobj = 0;
10751 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10752 wxHtmlWinParser *result = 0 ;
10753 void *argp1 = 0 ;
10754 int res1 = 0 ;
10755 PyObject *swig_obj[1] ;
10756
10757 if (!args) SWIG_fail;
10758 swig_obj[0] = args;
10759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10760 if (!SWIG_IsOK(res1)) {
10761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10762 }
10763 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (wxHtmlWinParser *)(arg1)->GetParser();
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10771 return resultobj;
10772fail:
10773 return NULL;
10774}
10775
10776
10777SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj = 0;
10779 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10780 wxString *arg2 = 0 ;
10781 bool result;
10782 void *argp1 = 0 ;
10783 int res1 = 0 ;
10784 bool temp2 = false ;
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 char * kwnames[] = {
10788 (char *) "self",(char *) "anchor", NULL
10789 };
10790
10791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10793 if (!SWIG_IsOK(res1)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10795 }
10796 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10797 {
10798 arg2 = wxString_in_helper(obj1);
10799 if (arg2 == NULL) SWIG_fail;
10800 temp2 = true;
10801 }
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 {
10809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10810 }
10811 {
10812 if (temp2)
10813 delete arg2;
10814 }
10815 return resultobj;
10816fail:
10817 {
10818 if (temp2)
10819 delete arg2;
10820 }
10821 return NULL;
10822}
10823
10824
10825SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj = 0;
10827 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10828 wxString *arg2 = 0 ;
10829 bool result;
10830 void *argp1 = 0 ;
10831 int res1 = 0 ;
10832 bool temp2 = false ;
10833 PyObject * obj0 = 0 ;
10834 PyObject * obj1 = 0 ;
10835 char * kwnames[] = {
10836 (char *) "self",(char *) "anchor", NULL
10837 };
10838
10839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10841 if (!SWIG_IsOK(res1)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10843 }
10844 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10845 {
10846 arg2 = wxString_in_helper(obj1);
10847 if (arg2 == NULL) SWIG_fail;
10848 temp2 = true;
10849 }
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 {
10857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10858 }
10859 {
10860 if (temp2)
10861 delete arg2;
10862 }
10863 return resultobj;
10864fail:
10865 {
10866 if (temp2)
10867 delete arg2;
10868 }
10869 return NULL;
d14a1e28
RD
10870}
10871
10872
554f62e9
RD
10873SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj = 0;
10875 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10876 void *argp1 = 0 ;
10877 int res1 = 0 ;
10878 PyObject * obj0 = 0 ;
10879 char * kwnames[] = {
10880 (char *) "filter", NULL
10881 };
10882
10883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10885 if (!SWIG_IsOK(res1)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10887 }
10888 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 wxPyHtmlWindow::AddFilter(arg1);
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 resultobj = SWIG_Py_Void();
10896 return resultobj;
10897fail:
10898 return NULL;
10899}
10900
10901
10902SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj = 0;
10904 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10905 wxPoint *arg2 = 0 ;
10906 void *argp1 = 0 ;
10907 int res1 = 0 ;
10908 wxPoint temp2 ;
10909 PyObject * obj0 = 0 ;
10910 PyObject * obj1 = 0 ;
10911 char * kwnames[] = {
10912 (char *) "self",(char *) "pos", NULL
10913 };
10914
10915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10917 if (!SWIG_IsOK(res1)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10919 }
10920 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10921 {
10922 arg2 = &temp2;
10923 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10924 }
10925 {
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 (arg1)->SelectWord((wxPoint const &)*arg2);
10928 wxPyEndAllowThreads(__tstate);
10929 if (PyErr_Occurred()) SWIG_fail;
10930 }
10931 resultobj = SWIG_Py_Void();
10932 return resultobj;
10933fail:
10934 return NULL;
10935}
10936
10937
10938SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10939 PyObject *resultobj = 0;
10940 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10941 wxPoint *arg2 = 0 ;
10942 void *argp1 = 0 ;
10943 int res1 = 0 ;
10944 wxPoint temp2 ;
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 char * kwnames[] = {
10948 (char *) "self",(char *) "pos", NULL
10949 };
10950
10951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10953 if (!SWIG_IsOK(res1)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10955 }
10956 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10957 {
10958 arg2 = &temp2;
10959 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10960 }
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 (arg1)->SelectLine((wxPoint const &)*arg2);
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 resultobj = SWIG_Py_Void();
10968 return resultobj;
10969fail:
10970 return NULL;
d14a1e28
RD
10971}
10972
10973
554f62e9
RD
10974SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10975 PyObject *resultobj = 0;
10976 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10977 void *argp1 = 0 ;
10978 int res1 = 0 ;
10979 PyObject *swig_obj[1] ;
10980
10981 if (!args) SWIG_fail;
10982 swig_obj[0] = args;
10983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10984 if (!SWIG_IsOK(res1)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10986 }
10987 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 (arg1)->SelectAll();
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 resultobj = SWIG_Py_Void();
10995 return resultobj;
10996fail:
10997 return NULL;
d14a1e28
RD
10998}
10999
11000
554f62e9
RD
11001SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11002 PyObject *resultobj = 0;
11003 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11004 wxString result;
11005 void *argp1 = 0 ;
11006 int res1 = 0 ;
11007 PyObject *swig_obj[1] ;
11008
11009 if (!args) SWIG_fail;
11010 swig_obj[0] = args;
11011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11012 if (!SWIG_IsOK(res1)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11014 }
11015 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (arg1)->SelectionToText();
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 {
11023#if wxUSE_UNICODE
11024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11025#else
11026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11027#endif
11028 }
11029 return resultobj;
11030fail:
11031 return NULL;
d14a1e28
RD
11032}
11033
11034
554f62e9
RD
11035SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11036 PyObject *resultobj = 0;
11037 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11038 wxString result;
11039 void *argp1 = 0 ;
11040 int res1 = 0 ;
11041 PyObject *swig_obj[1] ;
11042
11043 if (!args) SWIG_fail;
11044 swig_obj[0] = args;
11045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11046 if (!SWIG_IsOK(res1)) {
11047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11048 }
11049 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (arg1)->ToText();
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 {
d14a1e28 11057#if wxUSE_UNICODE
554f62e9 11058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 11059#else
554f62e9 11060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 11061#endif
554f62e9
RD
11062 }
11063 return resultobj;
11064fail:
11065 return NULL;
11066}
11067
11068
11069SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj = 0;
11071 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11072 wxHtmlLinkInfo *arg2 = 0 ;
11073 void *argp1 = 0 ;
11074 int res1 = 0 ;
11075 void *argp2 = 0 ;
11076 int res2 = 0 ;
11077 PyObject * obj0 = 0 ;
11078 PyObject * obj1 = 0 ;
11079 char * kwnames[] = {
11080 (char *) "self",(char *) "link", NULL
11081 };
11082
11083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
11084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11085 if (!SWIG_IsOK(res1)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11087 }
11088 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11089 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
11090 if (!SWIG_IsOK(res2)) {
11091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11092 }
11093 if (!argp2) {
11094 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11095 }
11096 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 resultobj = SWIG_Py_Void();
11104 return resultobj;
11105fail:
11106 return NULL;
11107}
11108
11109
11110SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj = 0;
11112 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11113 wxString *arg2 = 0 ;
11114 void *argp1 = 0 ;
11115 int res1 = 0 ;
11116 bool temp2 = false ;
11117 PyObject * obj0 = 0 ;
11118 PyObject * obj1 = 0 ;
11119 char * kwnames[] = {
11120 (char *) "self",(char *) "title", NULL
11121 };
11122
11123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11125 if (!SWIG_IsOK(res1)) {
11126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11127 }
11128 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11129 {
11130 arg2 = wxString_in_helper(obj1);
11131 if (arg2 == NULL) SWIG_fail;
11132 temp2 = true;
11133 }
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 (arg1)->OnSetTitle((wxString const &)*arg2);
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 resultobj = SWIG_Py_Void();
11141 {
11142 if (temp2)
11143 delete arg2;
11144 }
11145 return resultobj;
11146fail:
11147 {
11148 if (temp2)
11149 delete arg2;
11150 }
11151 return NULL;
11152}
11153
11154
11155SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj = 0;
11157 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11158 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11159 int arg3 ;
11160 int arg4 ;
11161 void *argp1 = 0 ;
11162 int res1 = 0 ;
11163 void *argp2 = 0 ;
11164 int res2 = 0 ;
11165 int val3 ;
11166 int ecode3 = 0 ;
11167 int val4 ;
11168 int ecode4 = 0 ;
11169 PyObject * obj0 = 0 ;
11170 PyObject * obj1 = 0 ;
11171 PyObject * obj2 = 0 ;
11172 PyObject * obj3 = 0 ;
11173 char * kwnames[] = {
11174 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11175 };
11176
11177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11179 if (!SWIG_IsOK(res1)) {
11180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11181 }
11182 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11184 if (!SWIG_IsOK(res2)) {
11185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11186 }
11187 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11188 ecode3 = SWIG_AsVal_int(obj2, &val3);
11189 if (!SWIG_IsOK(ecode3)) {
11190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11191 }
11192 arg3 = static_cast< int >(val3);
11193 ecode4 = SWIG_AsVal_int(obj3, &val4);
11194 if (!SWIG_IsOK(ecode4)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11196 }
11197 arg4 = static_cast< int >(val4);
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = SWIG_Py_Void();
11205 return resultobj;
11206fail:
11207 return NULL;
11208}
11209
11210
11211SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11212 PyObject *resultobj = 0;
11213 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11214 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11215 int arg3 ;
11216 int arg4 ;
11217 wxMouseEvent *arg5 = 0 ;
e9d6f3a4 11218 bool result;
554f62e9
RD
11219 void *argp1 = 0 ;
11220 int res1 = 0 ;
11221 void *argp2 = 0 ;
11222 int res2 = 0 ;
11223 int val3 ;
11224 int ecode3 = 0 ;
11225 int val4 ;
11226 int ecode4 = 0 ;
11227 void *argp5 = 0 ;
11228 int res5 = 0 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 PyObject * obj3 = 0 ;
11233 PyObject * obj4 = 0 ;
11234 char * kwnames[] = {
11235 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11236 };
11237
11238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11240 if (!SWIG_IsOK(res1)) {
11241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11242 }
11243 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11244 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11245 if (!SWIG_IsOK(res2)) {
11246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11247 }
11248 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11249 ecode3 = SWIG_AsVal_int(obj2, &val3);
11250 if (!SWIG_IsOK(ecode3)) {
11251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11252 }
11253 arg3 = static_cast< int >(val3);
11254 ecode4 = SWIG_AsVal_int(obj3, &val4);
11255 if (!SWIG_IsOK(ecode4)) {
11256 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11257 }
11258 arg4 = static_cast< int >(val4);
11259 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11260 if (!SWIG_IsOK(res5)) {
11261 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11262 }
11263 if (!argp5) {
11264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11265 }
11266 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 11269 result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
554f62e9
RD
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
e9d6f3a4
RD
11273 {
11274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11275 }
11276 return resultobj;
11277fail:
11278 return NULL;
11279}
11280
11281
11282SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11283 PyObject *resultobj = 0;
11284 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11285 wxHtmlURLType arg2 ;
11286 wxString *arg3 = 0 ;
11287 wxString *arg4 = (wxString *) 0 ;
11288 wxHtmlOpeningStatus result;
11289 void *argp1 = 0 ;
11290 int res1 = 0 ;
11291 int val2 ;
11292 int ecode2 = 0 ;
11293 bool temp3 = false ;
11294 bool temp4 = false ;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 PyObject * obj2 = 0 ;
11298 PyObject * obj3 = 0 ;
11299 char * kwnames[] = {
11300 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11301 };
11302
11303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11307 }
11308 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11309 ecode2 = SWIG_AsVal_int(obj1, &val2);
11310 if (!SWIG_IsOK(ecode2)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11312 }
11313 arg2 = static_cast< wxHtmlURLType >(val2);
11314 {
11315 arg3 = wxString_in_helper(obj2);
11316 if (arg3 == NULL) SWIG_fail;
11317 temp3 = true;
11318 }
11319 {
11320 arg4 = wxString_in_helper(obj3);
11321 if (arg4 == NULL) SWIG_fail;
11322 temp4 = true;
11323 }
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 resultobj = SWIG_From_int(static_cast< int >(result));
11331 {
11332 if (temp3)
11333 delete arg3;
11334 }
11335 {
11336 if (temp4)
11337 delete arg4;
11338 }
554f62e9
RD
11339 return resultobj;
11340fail:
e9d6f3a4
RD
11341 {
11342 if (temp3)
11343 delete arg3;
11344 }
11345 {
11346 if (temp4)
11347 delete arg4;
11348 }
554f62e9
RD
11349 return NULL;
11350}
11351
11352
11353SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj = 0;
11355 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11356 SwigValueWrapper<wxVisualAttributes > result;
11357 int val1 ;
11358 int ecode1 = 0 ;
11359 PyObject * obj0 = 0 ;
11360 char * kwnames[] = {
11361 (char *) "variant", NULL
11362 };
11363
11364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11365 if (obj0) {
11366 ecode1 = SWIG_AsVal_int(obj0, &val1);
11367 if (!SWIG_IsOK(ecode1)) {
11368 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11369 }
11370 arg1 = static_cast< wxWindowVariant >(val1);
11371 }
11372 {
11373 if (!wxPyCheckForApp()) SWIG_fail;
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11380 return resultobj;
11381fail:
11382 return NULL;
d14a1e28
RD
11383}
11384
11385
e9d6f3a4
RD
11386SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj = 0;
11388 wxPyHtmlWindow::HTMLCursor arg1 ;
11389 wxCursor result;
11390 int val1 ;
11391 int ecode1 = 0 ;
11392 PyObject * obj0 = 0 ;
11393 char * kwnames[] = {
11394 (char *) "type", NULL
11395 };
11396
11397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11398 ecode1 = SWIG_AsVal_int(obj0, &val1);
11399 if (!SWIG_IsOK(ecode1)) {
11400 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11401 }
11402 arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11406 wxPyEndAllowThreads(__tstate);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11410 return resultobj;
11411fail:
11412 return NULL;
11413}
11414
11415
554f62e9
RD
11416SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11417 PyObject *obj;
11418 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11419 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11420 return SWIG_Py_Void();
b1fcee84
RD
11421}
11422
554f62e9
RD
11423SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11424 return SWIG_Python_InitShadowInstance(args);
b1fcee84
RD
11425}
11426
554f62e9
RD
11427SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11428 PyObject *resultobj = 0;
11429 wxHtmlDCRenderer *result = 0 ;
11430
11431 if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11432 {
11433 if (!wxPyCheckForApp()) SWIG_fail;
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11440 return resultobj;
11441fail:
11442 return NULL;
b1fcee84
RD
11443}
11444
11445
554f62e9
RD
11446SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11447 PyObject *resultobj = 0;
11448 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11449 void *argp1 = 0 ;
11450 int res1 = 0 ;
11451 PyObject *swig_obj[1] ;
11452
11453 if (!args) SWIG_fail;
11454 swig_obj[0] = args;
11455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11456 if (!SWIG_IsOK(res1)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11458 }
11459 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 delete arg1;
d14a1e28 11463
554f62e9
RD
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 resultobj = SWIG_Py_Void();
11468 return resultobj;
11469fail:
11470 return NULL;
11471}
11472
11473
11474SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj = 0;
11476 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11477 wxDC *arg2 = (wxDC *) 0 ;
11478 int arg3 ;
11479 void *argp1 = 0 ;
11480 int res1 = 0 ;
11481 void *argp2 = 0 ;
11482 int res2 = 0 ;
11483 int val3 ;
11484 int ecode3 = 0 ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 PyObject * obj2 = 0 ;
11488 char * kwnames[] = {
11489 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11490 };
11491
11492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11494 if (!SWIG_IsOK(res1)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11496 }
11497 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11499 if (!SWIG_IsOK(res2)) {
11500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11501 }
11502 arg2 = reinterpret_cast< wxDC * >(argp2);
11503 ecode3 = SWIG_AsVal_int(obj2, &val3);
11504 if (!SWIG_IsOK(ecode3)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11506 }
11507 arg3 = static_cast< int >(val3);
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 (arg1)->SetDC(arg2,arg3);
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 resultobj = SWIG_Py_Void();
11515 return resultobj;
11516fail:
11517 return NULL;
11518}
11519
11520
11521SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj = 0;
11523 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11524 int arg2 ;
11525 int arg3 ;
11526 void *argp1 = 0 ;
11527 int res1 = 0 ;
11528 int val2 ;
11529 int ecode2 = 0 ;
11530 int val3 ;
11531 int ecode3 = 0 ;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 PyObject * obj2 = 0 ;
11535 char * kwnames[] = {
11536 (char *) "self",(char *) "width",(char *) "height", NULL
11537 };
11538
11539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11541 if (!SWIG_IsOK(res1)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11543 }
11544 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11545 ecode2 = SWIG_AsVal_int(obj1, &val2);
11546 if (!SWIG_IsOK(ecode2)) {
11547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11548 }
11549 arg2 = static_cast< int >(val2);
11550 ecode3 = SWIG_AsVal_int(obj2, &val3);
11551 if (!SWIG_IsOK(ecode3)) {
11552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11553 }
11554 arg3 = static_cast< int >(val3);
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 (arg1)->SetSize(arg2,arg3);
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 resultobj = SWIG_Py_Void();
11562 return resultobj;
11563fail:
11564 return NULL;
11565}
11566
11567
11568SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj = 0;
11570 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11571 wxString *arg2 = 0 ;
11572 wxString const &arg3_defvalue = wxPyEmptyString ;
11573 wxString *arg3 = (wxString *) &arg3_defvalue ;
11574 bool arg4 = (bool) true ;
11575 void *argp1 = 0 ;
11576 int res1 = 0 ;
11577 bool temp2 = false ;
11578 bool temp3 = false ;
11579 bool val4 ;
11580 int ecode4 = 0 ;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 PyObject * obj2 = 0 ;
11584 PyObject * obj3 = 0 ;
11585 char * kwnames[] = {
11586 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11587 };
11588
11589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11591 if (!SWIG_IsOK(res1)) {
11592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11593 }
11594 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11595 {
11596 arg2 = wxString_in_helper(obj1);
11597 if (arg2 == NULL) SWIG_fail;
11598 temp2 = true;
11599 }
11600 if (obj2) {
d14a1e28 11601 {
554f62e9
RD
11602 arg3 = wxString_in_helper(obj2);
11603 if (arg3 == NULL) SWIG_fail;
11604 temp3 = true;
d14a1e28 11605 }
554f62e9
RD
11606 }
11607 if (obj3) {
11608 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11609 if (!SWIG_IsOK(ecode4)) {
11610 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11611 }
11612 arg4 = static_cast< bool >(val4);
11613 }
11614 {
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 resultobj = SWIG_Py_Void();
11621 {
11622 if (temp2)
11623 delete arg2;
11624 }
11625 {
11626 if (temp3)
11627 delete arg3;
11628 }
11629 return resultobj;
11630fail:
11631 {
11632 if (temp2)
11633 delete arg2;
11634 }
11635 {
11636 if (temp3)
11637 delete arg3;
11638 }
11639 return NULL;
11640}
11641
11642
11643SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj = 0;
11645 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11646 wxString arg2 ;
11647 wxString arg3 ;
11648 PyObject *arg4 = (PyObject *) NULL ;
11649 void *argp1 = 0 ;
11650 int res1 = 0 ;
11651 PyObject * obj0 = 0 ;
11652 PyObject * obj1 = 0 ;
11653 PyObject * obj2 = 0 ;
11654 PyObject * obj3 = 0 ;
11655 char * kwnames[] = {
11656 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11657 };
11658
11659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11661 if (!SWIG_IsOK(res1)) {
11662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11663 }
11664 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11665 {
11666 wxString* sptr = wxString_in_helper(obj1);
11667 if (sptr == NULL) SWIG_fail;
11668 arg2 = *sptr;
11669 delete sptr;
11670 }
11671 {
11672 wxString* sptr = wxString_in_helper(obj2);
11673 if (sptr == NULL) SWIG_fail;
11674 arg3 = *sptr;
11675 delete sptr;
11676 }
11677 if (obj3) {
11678 arg4 = obj3;
11679 }
11680 {
11681 PyThreadState* __tstate = wxPyBeginAllowThreads();
11682 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 resultobj = SWIG_Py_Void();
11687 return resultobj;
11688fail:
11689 return NULL;
11690}
11691
11692
11693SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj = 0;
11695 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11696 int arg2 = (int) -1 ;
11697 wxString const &arg3_defvalue = wxPyEmptyString ;
11698 wxString *arg3 = (wxString *) &arg3_defvalue ;
11699 wxString const &arg4_defvalue = wxPyEmptyString ;
11700 wxString *arg4 = (wxString *) &arg4_defvalue ;
11701 void *argp1 = 0 ;
11702 int res1 = 0 ;
11703 int val2 ;
11704 int ecode2 = 0 ;
11705 bool temp3 = false ;
11706 bool temp4 = false ;
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 PyObject * obj2 = 0 ;
11710 PyObject * obj3 = 0 ;
11711 char * kwnames[] = {
11712 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11713 };
11714
11715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11717 if (!SWIG_IsOK(res1)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11719 }
11720 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11721 if (obj1) {
11722 ecode2 = SWIG_AsVal_int(obj1, &val2);
11723 if (!SWIG_IsOK(ecode2)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11725 }
11726 arg2 = static_cast< int >(val2);
11727 }
11728 if (obj2) {
d14a1e28 11729 {
554f62e9
RD
11730 arg3 = wxString_in_helper(obj2);
11731 if (arg3 == NULL) SWIG_fail;
11732 temp3 = true;
d14a1e28 11733 }
554f62e9
RD
11734 }
11735 if (obj3) {
093d3ff1 11736 {
554f62e9
RD
11737 arg4 = wxString_in_helper(obj3);
11738 if (arg4 == NULL) SWIG_fail;
11739 temp4 = true;
093d3ff1 11740 }
554f62e9
RD
11741 }
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 resultobj = SWIG_Py_Void();
11749 {
11750 if (temp3)
11751 delete arg3;
11752 }
11753 {
11754 if (temp4)
11755 delete arg4;
11756 }
11757 return resultobj;
11758fail:
11759 {
11760 if (temp3)
11761 delete arg3;
11762 }
11763 {
11764 if (temp4)
11765 delete arg4;
11766 }
11767 return NULL;
11768}
11769
11770
11771SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj = 0;
11773 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11774 int arg2 ;
11775 int arg3 ;
11776 int arg4 = (int) 0 ;
11777 int arg5 = (int) false ;
11778 int arg6 = (int) INT_MAX ;
11779 int *arg7 = (int *) NULL ;
11780 int arg8 = (int) 0 ;
11781 int result;
11782 void *argp1 = 0 ;
11783 int res1 = 0 ;
11784 int val2 ;
11785 int ecode2 = 0 ;
11786 int val3 ;
11787 int ecode3 = 0 ;
11788 int val4 ;
11789 int ecode4 = 0 ;
11790 int val5 ;
11791 int ecode5 = 0 ;
11792 int val6 ;
11793 int ecode6 = 0 ;
11794 void *argp7 = 0 ;
11795 int res7 = 0 ;
11796 int val8 ;
11797 int ecode8 = 0 ;
11798 PyObject * obj0 = 0 ;
11799 PyObject * obj1 = 0 ;
11800 PyObject * obj2 = 0 ;
11801 PyObject * obj3 = 0 ;
11802 PyObject * obj4 = 0 ;
11803 PyObject * obj5 = 0 ;
11804 PyObject * obj6 = 0 ;
11805 PyObject * obj7 = 0 ;
11806 char * kwnames[] = {
11807 (char *) "self",(char *) "x",(char *) "y",(char *) "_from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
11808 };
11809
11810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11812 if (!SWIG_IsOK(res1)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11814 }
11815 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11816 ecode2 = SWIG_AsVal_int(obj1, &val2);
11817 if (!SWIG_IsOK(ecode2)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11819 }
11820 arg2 = static_cast< int >(val2);
11821 ecode3 = SWIG_AsVal_int(obj2, &val3);
11822 if (!SWIG_IsOK(ecode3)) {
11823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11824 }
11825 arg3 = static_cast< int >(val3);
11826 if (obj3) {
11827 ecode4 = SWIG_AsVal_int(obj3, &val4);
11828 if (!SWIG_IsOK(ecode4)) {
11829 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_Render" "', expected argument " "4"" of type '" "int""'");
11830 }
11831 arg4 = static_cast< int >(val4);
11832 }
11833 if (obj4) {
11834 ecode5 = SWIG_AsVal_int(obj4, &val5);
11835 if (!SWIG_IsOK(ecode5)) {
11836 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11837 }
11838 arg5 = static_cast< int >(val5);
11839 }
11840 if (obj5) {
11841 ecode6 = SWIG_AsVal_int(obj5, &val6);
11842 if (!SWIG_IsOK(ecode6)) {
11843 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11844 }
11845 arg6 = static_cast< int >(val6);
11846 }
11847 if (obj6) {
11848 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 );
11849 if (!SWIG_IsOK(res7)) {
11850 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int *""'");
d14a1e28 11851 }
554f62e9
RD
11852 arg7 = reinterpret_cast< int * >(argp7);
11853 }
11854 if (obj7) {
11855 ecode8 = SWIG_AsVal_int(obj7, &val8);
11856 if (!SWIG_IsOK(ecode8)) {
11857 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HtmlDCRenderer_Render" "', expected argument " "8"" of type '" "int""'");
11858 }
11859 arg8 = static_cast< int >(val8);
11860 }
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 resultobj = SWIG_From_int(static_cast< int >(result));
11868 return resultobj;
11869fail:
11870 return NULL;
d14a1e28
RD
11871}
11872
11873
554f62e9
RD
11874SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11875 PyObject *resultobj = 0;
11876 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11877 int result;
11878 void *argp1 = 0 ;
11879 int res1 = 0 ;
11880 PyObject *swig_obj[1] ;
11881
11882 if (!args) SWIG_fail;
11883 swig_obj[0] = args;
11884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11885 if (!SWIG_IsOK(res1)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11887 }
11888 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 result = (int)(arg1)->GetTotalHeight();
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 resultobj = SWIG_From_int(static_cast< int >(result));
11896 return resultobj;
11897fail:
11898 return NULL;
d14a1e28
RD
11899}
11900
11901
554f62e9
RD
11902SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11903 PyObject *obj;
11904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11905 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11906 return SWIG_Py_Void();
d14a1e28
RD
11907}
11908
554f62e9
RD
11909SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11910 return SWIG_Python_InitShadowInstance(args);
11911}
d14a1e28 11912
554f62e9
RD
11913SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11914 PyObject *resultobj = 0;
11915 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11916 wxString *arg1 = (wxString *) &arg1_defvalue ;
11917 wxHtmlPrintout *result = 0 ;
11918 bool temp1 = false ;
11919 PyObject * obj0 = 0 ;
11920 char * kwnames[] = {
11921 (char *) "title", NULL
11922 };
11923
11924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11925 if (obj0) {
d14a1e28 11926 {
554f62e9
RD
11927 arg1 = wxString_in_helper(obj0);
11928 if (arg1 == NULL) SWIG_fail;
11929 temp1 = true;
d14a1e28 11930 }
554f62e9
RD
11931 }
11932 {
11933 if (!wxPyCheckForApp()) SWIG_fail;
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11936 wxPyEndAllowThreads(__tstate);
11937 if (PyErr_Occurred()) SWIG_fail;
11938 }
11939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11940 {
11941 if (temp1)
11942 delete arg1;
11943 }
11944 return resultobj;
11945fail:
11946 {
11947 if (temp1)
11948 delete arg1;
11949 }
11950 return NULL;
11951}
11952
11953
11954SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj = 0;
11956 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11957 wxString *arg2 = 0 ;
11958 wxString const &arg3_defvalue = wxPyEmptyString ;
11959 wxString *arg3 = (wxString *) &arg3_defvalue ;
11960 bool arg4 = (bool) true ;
11961 void *argp1 = 0 ;
11962 int res1 = 0 ;
11963 bool temp2 = false ;
11964 bool temp3 = false ;
11965 bool val4 ;
11966 int ecode4 = 0 ;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11969 PyObject * obj2 = 0 ;
11970 PyObject * obj3 = 0 ;
11971 char * kwnames[] = {
11972 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11973 };
11974
11975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11977 if (!SWIG_IsOK(res1)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11979 }
11980 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11981 {
11982 arg2 = wxString_in_helper(obj1);
11983 if (arg2 == NULL) SWIG_fail;
11984 temp2 = true;
11985 }
11986 if (obj2) {
093d3ff1 11987 {
554f62e9
RD
11988 arg3 = wxString_in_helper(obj2);
11989 if (arg3 == NULL) SWIG_fail;
11990 temp3 = true;
093d3ff1 11991 }
554f62e9
RD
11992 }
11993 if (obj3) {
11994 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11995 if (!SWIG_IsOK(ecode4)) {
11996 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11997 }
11998 arg4 = static_cast< bool >(val4);
11999 }
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 resultobj = SWIG_Py_Void();
12007 {
12008 if (temp2)
12009 delete arg2;
12010 }
12011 {
12012 if (temp3)
12013 delete arg3;
12014 }
12015 return resultobj;
12016fail:
12017 {
12018 if (temp2)
12019 delete arg2;
12020 }
12021 {
12022 if (temp3)
12023 delete arg3;
12024 }
12025 return NULL;
d14a1e28
RD
12026}
12027
12028
554f62e9
RD
12029SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12030 PyObject *resultobj = 0;
12031 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12032 wxString *arg2 = 0 ;
12033 void *argp1 = 0 ;
12034 int res1 = 0 ;
12035 bool temp2 = false ;
12036 PyObject * obj0 = 0 ;
12037 PyObject * obj1 = 0 ;
12038 char * kwnames[] = {
12039 (char *) "self",(char *) "htmlfile", NULL
12040 };
12041
12042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
12043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12044 if (!SWIG_IsOK(res1)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12046 }
12047 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12048 {
12049 arg2 = wxString_in_helper(obj1);
12050 if (arg2 == NULL) SWIG_fail;
12051 temp2 = true;
12052 }
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 (arg1)->SetHtmlFile((wxString const &)*arg2);
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = SWIG_Py_Void();
12060 {
12061 if (temp2)
12062 delete arg2;
12063 }
12064 return resultobj;
12065fail:
12066 {
12067 if (temp2)
12068 delete arg2;
12069 }
12070 return NULL;
12071}
12072
12073
12074SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj = 0;
12076 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12077 wxString *arg2 = 0 ;
12078 int arg3 = (int) wxPAGE_ALL ;
12079 void *argp1 = 0 ;
12080 int res1 = 0 ;
12081 bool temp2 = false ;
12082 int val3 ;
12083 int ecode3 = 0 ;
12084 PyObject * obj0 = 0 ;
12085 PyObject * obj1 = 0 ;
12086 PyObject * obj2 = 0 ;
12087 char * kwnames[] = {
12088 (char *) "self",(char *) "header",(char *) "pg", NULL
12089 };
12090
12091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12093 if (!SWIG_IsOK(res1)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12095 }
12096 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12097 {
12098 arg2 = wxString_in_helper(obj1);
12099 if (arg2 == NULL) SWIG_fail;
12100 temp2 = true;
12101 }
12102 if (obj2) {
12103 ecode3 = SWIG_AsVal_int(obj2, &val3);
12104 if (!SWIG_IsOK(ecode3)) {
12105 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12106 }
12107 arg3 = static_cast< int >(val3);
12108 }
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 resultobj = SWIG_Py_Void();
12116 {
12117 if (temp2)
12118 delete arg2;
12119 }
12120 return resultobj;
12121fail:
12122 {
12123 if (temp2)
12124 delete arg2;
12125 }
12126 return NULL;
12127}
12128
12129
12130SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12133 wxString *arg2 = 0 ;
12134 int arg3 = (int) wxPAGE_ALL ;
12135 void *argp1 = 0 ;
12136 int res1 = 0 ;
12137 bool temp2 = false ;
12138 int val3 ;
12139 int ecode3 = 0 ;
12140 PyObject * obj0 = 0 ;
12141 PyObject * obj1 = 0 ;
12142 PyObject * obj2 = 0 ;
12143 char * kwnames[] = {
12144 (char *) "self",(char *) "footer",(char *) "pg", NULL
12145 };
12146
12147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12149 if (!SWIG_IsOK(res1)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12151 }
12152 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12153 {
12154 arg2 = wxString_in_helper(obj1);
12155 if (arg2 == NULL) SWIG_fail;
12156 temp2 = true;
12157 }
12158 if (obj2) {
12159 ecode3 = SWIG_AsVal_int(obj2, &val3);
12160 if (!SWIG_IsOK(ecode3)) {
12161 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12162 }
12163 arg3 = static_cast< int >(val3);
12164 }
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 resultobj = SWIG_Py_Void();
12172 {
12173 if (temp2)
12174 delete arg2;
12175 }
12176 return resultobj;
12177fail:
12178 {
12179 if (temp2)
12180 delete arg2;
12181 }
12182 return NULL;
12183}
12184
12185
12186SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12187 PyObject *resultobj = 0;
12188 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12189 wxString arg2 ;
12190 wxString arg3 ;
12191 PyObject *arg4 = (PyObject *) NULL ;
12192 void *argp1 = 0 ;
12193 int res1 = 0 ;
12194 PyObject * obj0 = 0 ;
12195 PyObject * obj1 = 0 ;
12196 PyObject * obj2 = 0 ;
12197 PyObject * obj3 = 0 ;
12198 char * kwnames[] = {
12199 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12200 };
12201
12202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12204 if (!SWIG_IsOK(res1)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12206 }
12207 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12208 {
12209 wxString* sptr = wxString_in_helper(obj1);
12210 if (sptr == NULL) SWIG_fail;
12211 arg2 = *sptr;
12212 delete sptr;
12213 }
12214 {
12215 wxString* sptr = wxString_in_helper(obj2);
12216 if (sptr == NULL) SWIG_fail;
12217 arg3 = *sptr;
12218 delete sptr;
12219 }
12220 if (obj3) {
12221 arg4 = obj3;
12222 }
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = SWIG_Py_Void();
12230 return resultobj;
12231fail:
12232 return NULL;
12233}
12234
12235
12236SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj = 0;
12238 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12239 int arg2 = (int) -1 ;
12240 wxString const &arg3_defvalue = wxPyEmptyString ;
12241 wxString *arg3 = (wxString *) &arg3_defvalue ;
12242 wxString const &arg4_defvalue = wxPyEmptyString ;
12243 wxString *arg4 = (wxString *) &arg4_defvalue ;
12244 void *argp1 = 0 ;
12245 int res1 = 0 ;
12246 int val2 ;
12247 int ecode2 = 0 ;
12248 bool temp3 = false ;
12249 bool temp4 = false ;
12250 PyObject * obj0 = 0 ;
12251 PyObject * obj1 = 0 ;
12252 PyObject * obj2 = 0 ;
12253 PyObject * obj3 = 0 ;
12254 char * kwnames[] = {
12255 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12256 };
12257
12258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12260 if (!SWIG_IsOK(res1)) {
12261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12262 }
12263 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12264 if (obj1) {
12265 ecode2 = SWIG_AsVal_int(obj1, &val2);
12266 if (!SWIG_IsOK(ecode2)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12268 }
12269 arg2 = static_cast< int >(val2);
12270 }
12271 if (obj2) {
12272 {
12273 arg3 = wxString_in_helper(obj2);
12274 if (arg3 == NULL) SWIG_fail;
12275 temp3 = true;
8edf1c75 12276 }
554f62e9
RD
12277 }
12278 if (obj3) {
d14a1e28 12279 {
554f62e9
RD
12280 arg4 = wxString_in_helper(obj3);
12281 if (arg4 == NULL) SWIG_fail;
12282 temp4 = true;
d14a1e28 12283 }
554f62e9
RD
12284 }
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = SWIG_Py_Void();
12292 {
12293 if (temp3)
12294 delete arg3;
12295 }
12296 {
12297 if (temp4)
12298 delete arg4;
12299 }
12300 return resultobj;
12301fail:
12302 {
12303 if (temp3)
12304 delete arg3;
12305 }
12306 {
12307 if (temp4)
12308 delete arg4;
12309 }
12310 return NULL;
12311}
12312
12313
12314SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12315 PyObject *resultobj = 0;
12316 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12317 float arg2 = (float) 25.2 ;
12318 float arg3 = (float) 25.2 ;
12319 float arg4 = (float) 25.2 ;
12320 float arg5 = (float) 25.2 ;
12321 float arg6 = (float) 5 ;
12322 void *argp1 = 0 ;
12323 int res1 = 0 ;
12324 float val2 ;
12325 int ecode2 = 0 ;
12326 float val3 ;
12327 int ecode3 = 0 ;
12328 float val4 ;
12329 int ecode4 = 0 ;
12330 float val5 ;
12331 int ecode5 = 0 ;
12332 float val6 ;
12333 int ecode6 = 0 ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj1 = 0 ;
12336 PyObject * obj2 = 0 ;
12337 PyObject * obj3 = 0 ;
12338 PyObject * obj4 = 0 ;
12339 PyObject * obj5 = 0 ;
12340 char * kwnames[] = {
12341 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12342 };
12343
12344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12346 if (!SWIG_IsOK(res1)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12348 }
12349 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12350 if (obj1) {
12351 ecode2 = SWIG_AsVal_float(obj1, &val2);
12352 if (!SWIG_IsOK(ecode2)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12354 }
12355 arg2 = static_cast< float >(val2);
12356 }
12357 if (obj2) {
12358 ecode3 = SWIG_AsVal_float(obj2, &val3);
12359 if (!SWIG_IsOK(ecode3)) {
12360 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12361 }
12362 arg3 = static_cast< float >(val3);
12363 }
12364 if (obj3) {
12365 ecode4 = SWIG_AsVal_float(obj3, &val4);
12366 if (!SWIG_IsOK(ecode4)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12368 }
12369 arg4 = static_cast< float >(val4);
12370 }
12371 if (obj4) {
12372 ecode5 = SWIG_AsVal_float(obj4, &val5);
12373 if (!SWIG_IsOK(ecode5)) {
12374 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12375 }
12376 arg5 = static_cast< float >(val5);
12377 }
12378 if (obj5) {
12379 ecode6 = SWIG_AsVal_float(obj5, &val6);
12380 if (!SWIG_IsOK(ecode6)) {
12381 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12382 }
12383 arg6 = static_cast< float >(val6);
12384 }
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 resultobj = SWIG_Py_Void();
12392 return resultobj;
12393fail:
12394 return NULL;
d14a1e28
RD
12395}
12396
12397
554f62e9
RD
12398SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj = 0;
12400 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12401 void *argp1 = 0 ;
12402 int res1 = 0 ;
12403 PyObject * obj0 = 0 ;
12404 char * kwnames[] = {
12405 (char *) "filter", NULL
12406 };
12407
12408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12410 if (!SWIG_IsOK(res1)) {
12411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12412 }
12413 arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 wxHtmlPrintout::AddFilter(arg1);
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 resultobj = SWIG_Py_Void();
12421 return resultobj;
12422fail:
12423 return NULL;
d14a1e28
RD
12424}
12425
12426
554f62e9
RD
12427SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12428 PyObject *resultobj = 0;
12429
12430 if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 wxHtmlPrintout::CleanUpStatics();
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 resultobj = SWIG_Py_Void();
12438 return resultobj;
12439fail:
12440 return NULL;
d14a1e28
RD
12441}
12442
12443
554f62e9
RD
12444SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12445 PyObject *obj;
12446 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12447 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12448 return SWIG_Py_Void();
d14a1e28
RD
12449}
12450
554f62e9
RD
12451SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12452 return SWIG_Python_InitShadowInstance(args);
12453}
d14a1e28 12454
554f62e9
RD
12455SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12456 PyObject *resultobj = 0;
12457 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12458 wxString *arg1 = (wxString *) &arg1_defvalue ;
12459 wxWindow *arg2 = (wxWindow *) NULL ;
12460 wxHtmlEasyPrinting *result = 0 ;
12461 bool temp1 = false ;
12462 void *argp2 = 0 ;
12463 int res2 = 0 ;
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 char * kwnames[] = {
12467 (char *) "name",(char *) "parentWindow", NULL
12468 };
12469
12470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12471 if (obj0) {
093d3ff1 12472 {
554f62e9
RD
12473 arg1 = wxString_in_helper(obj0);
12474 if (arg1 == NULL) SWIG_fail;
12475 temp1 = true;
093d3ff1 12476 }
554f62e9
RD
12477 }
12478 if (obj1) {
12479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12480 if (!SWIG_IsOK(res2)) {
12481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 12482 }
554f62e9
RD
12483 arg2 = reinterpret_cast< wxWindow * >(argp2);
12484 }
12485 {
12486 if (!wxPyCheckForApp()) SWIG_fail;
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12493 {
12494 if (temp1)
12495 delete arg1;
12496 }
12497 return resultobj;
12498fail:
12499 {
12500 if (temp1)
12501 delete arg1;
12502 }
12503 return NULL;
d14a1e28
RD
12504}
12505
12506
554f62e9
RD
12507SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12508 PyObject *resultobj = 0;
12509 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12510 void *argp1 = 0 ;
12511 int res1 = 0 ;
12512 PyObject *swig_obj[1] ;
12513
12514 if (!args) SWIG_fail;
12515 swig_obj[0] = args;
12516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12517 if (!SWIG_IsOK(res1)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12519 }
12520 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 delete arg1;
d14a1e28 12524
554f62e9
RD
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 resultobj = SWIG_Py_Void();
12529 return resultobj;
12530fail:
12531 return NULL;
12532}
12533
12534
12535SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj = 0;
12537 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12538 wxString *arg2 = 0 ;
12539 void *argp1 = 0 ;
12540 int res1 = 0 ;
12541 bool temp2 = false ;
12542 PyObject * obj0 = 0 ;
12543 PyObject * obj1 = 0 ;
12544 char * kwnames[] = {
12545 (char *) "self",(char *) "htmlfile", NULL
12546 };
12547
12548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12550 if (!SWIG_IsOK(res1)) {
12551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12552 }
12553 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12554 {
12555 arg2 = wxString_in_helper(obj1);
12556 if (arg2 == NULL) SWIG_fail;
12557 temp2 = true;
12558 }
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 (arg1)->PreviewFile((wxString const &)*arg2);
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_Py_Void();
12566 {
12567 if (temp2)
12568 delete arg2;
12569 }
12570 return resultobj;
12571fail:
12572 {
12573 if (temp2)
12574 delete arg2;
12575 }
12576 return NULL;
12577}
12578
12579
12580SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj = 0;
12582 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12583 wxString *arg2 = 0 ;
12584 wxString const &arg3_defvalue = wxPyEmptyString ;
12585 wxString *arg3 = (wxString *) &arg3_defvalue ;
12586 void *argp1 = 0 ;
12587 int res1 = 0 ;
12588 bool temp2 = false ;
12589 bool temp3 = false ;
12590 PyObject * obj0 = 0 ;
12591 PyObject * obj1 = 0 ;
12592 PyObject * obj2 = 0 ;
12593 char * kwnames[] = {
12594 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12595 };
12596
12597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12599 if (!SWIG_IsOK(res1)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12601 }
12602 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12603 {
12604 arg2 = wxString_in_helper(obj1);
12605 if (arg2 == NULL) SWIG_fail;
12606 temp2 = true;
12607 }
12608 if (obj2) {
d14a1e28 12609 {
554f62e9
RD
12610 arg3 = wxString_in_helper(obj2);
12611 if (arg3 == NULL) SWIG_fail;
12612 temp3 = true;
d14a1e28 12613 }
554f62e9
RD
12614 }
12615 {
12616 PyThreadState* __tstate = wxPyBeginAllowThreads();
12617 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12618 wxPyEndAllowThreads(__tstate);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 }
12621 resultobj = SWIG_Py_Void();
12622 {
12623 if (temp2)
12624 delete arg2;
12625 }
12626 {
12627 if (temp3)
12628 delete arg3;
12629 }
12630 return resultobj;
12631fail:
12632 {
12633 if (temp2)
12634 delete arg2;
12635 }
12636 {
12637 if (temp3)
12638 delete arg3;
12639 }
12640 return NULL;
d14a1e28
RD
12641}
12642
12643
554f62e9
RD
12644SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj = 0;
12646 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12647 wxString *arg2 = 0 ;
12648 void *argp1 = 0 ;
12649 int res1 = 0 ;
12650 bool temp2 = false ;
12651 PyObject * obj0 = 0 ;
12652 PyObject * obj1 = 0 ;
12653 char * kwnames[] = {
12654 (char *) "self",(char *) "htmlfile", NULL
12655 };
12656
12657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12659 if (!SWIG_IsOK(res1)) {
12660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12661 }
12662 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12663 {
12664 arg2 = wxString_in_helper(obj1);
12665 if (arg2 == NULL) SWIG_fail;
12666 temp2 = true;
12667 }
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 (arg1)->PrintFile((wxString const &)*arg2);
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 resultobj = SWIG_Py_Void();
12675 {
12676 if (temp2)
12677 delete arg2;
12678 }
12679 return resultobj;
12680fail:
12681 {
12682 if (temp2)
12683 delete arg2;
12684 }
12685 return NULL;
12686}
12687
12688
12689SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj = 0;
12691 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12692 wxString *arg2 = 0 ;
12693 wxString const &arg3_defvalue = wxPyEmptyString ;
12694 wxString *arg3 = (wxString *) &arg3_defvalue ;
12695 void *argp1 = 0 ;
12696 int res1 = 0 ;
12697 bool temp2 = false ;
12698 bool temp3 = false ;
12699 PyObject * obj0 = 0 ;
12700 PyObject * obj1 = 0 ;
12701 PyObject * obj2 = 0 ;
12702 char * kwnames[] = {
12703 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12704 };
12705
12706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12708 if (!SWIG_IsOK(res1)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12710 }
12711 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12712 {
12713 arg2 = wxString_in_helper(obj1);
12714 if (arg2 == NULL) SWIG_fail;
12715 temp2 = true;
12716 }
12717 if (obj2) {
d14a1e28 12718 {
554f62e9
RD
12719 arg3 = wxString_in_helper(obj2);
12720 if (arg3 == NULL) SWIG_fail;
12721 temp3 = true;
d14a1e28 12722 }
554f62e9
RD
12723 }
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 resultobj = SWIG_Py_Void();
12731 {
12732 if (temp2)
12733 delete arg2;
12734 }
12735 {
12736 if (temp3)
12737 delete arg3;
12738 }
12739 return resultobj;
12740fail:
12741 {
12742 if (temp2)
12743 delete arg2;
12744 }
12745 {
12746 if (temp3)
12747 delete arg3;
12748 }
12749 return NULL;
d14a1e28
RD
12750}
12751
12752
554f62e9
RD
12753SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12754 PyObject *resultobj = 0;
12755 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12756 void *argp1 = 0 ;
12757 int res1 = 0 ;
12758 PyObject *swig_obj[1] ;
12759
12760 if (!args) SWIG_fail;
12761 swig_obj[0] = args;
12762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12763 if (!SWIG_IsOK(res1)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12765 }
12766 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 (arg1)->PageSetup();
12770 wxPyEndAllowThreads(__tstate);
12771 if (PyErr_Occurred()) SWIG_fail;
12772 }
12773 resultobj = SWIG_Py_Void();
12774 return resultobj;
12775fail:
12776 return NULL;
12777}
12778
12779
12780SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12781 PyObject *resultobj = 0;
12782 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12783 wxString *arg2 = 0 ;
12784 int arg3 = (int) wxPAGE_ALL ;
12785 void *argp1 = 0 ;
12786 int res1 = 0 ;
12787 bool temp2 = false ;
12788 int val3 ;
12789 int ecode3 = 0 ;
12790 PyObject * obj0 = 0 ;
12791 PyObject * obj1 = 0 ;
12792 PyObject * obj2 = 0 ;
12793 char * kwnames[] = {
12794 (char *) "self",(char *) "header",(char *) "pg", NULL
12795 };
12796
12797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12799 if (!SWIG_IsOK(res1)) {
12800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12801 }
12802 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12803 {
12804 arg2 = wxString_in_helper(obj1);
12805 if (arg2 == NULL) SWIG_fail;
12806 temp2 = true;
12807 }
12808 if (obj2) {
12809 ecode3 = SWIG_AsVal_int(obj2, &val3);
12810 if (!SWIG_IsOK(ecode3)) {
12811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12812 }
12813 arg3 = static_cast< int >(val3);
12814 }
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 resultobj = SWIG_Py_Void();
12822 {
12823 if (temp2)
12824 delete arg2;
12825 }
12826 return resultobj;
12827fail:
12828 {
12829 if (temp2)
12830 delete arg2;
12831 }
12832 return NULL;
12833}
12834
12835
12836SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12837 PyObject *resultobj = 0;
12838 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12839 wxString *arg2 = 0 ;
12840 int arg3 = (int) wxPAGE_ALL ;
12841 void *argp1 = 0 ;
12842 int res1 = 0 ;
12843 bool temp2 = false ;
12844 int val3 ;
12845 int ecode3 = 0 ;
12846 PyObject * obj0 = 0 ;
12847 PyObject * obj1 = 0 ;
12848 PyObject * obj2 = 0 ;
12849 char * kwnames[] = {
12850 (char *) "self",(char *) "footer",(char *) "pg", NULL
12851 };
12852
12853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12855 if (!SWIG_IsOK(res1)) {
12856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12857 }
12858 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12859 {
12860 arg2 = wxString_in_helper(obj1);
12861 if (arg2 == NULL) SWIG_fail;
12862 temp2 = true;
12863 }
12864 if (obj2) {
12865 ecode3 = SWIG_AsVal_int(obj2, &val3);
12866 if (!SWIG_IsOK(ecode3)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12868 }
12869 arg3 = static_cast< int >(val3);
12870 }
12871 {
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = SWIG_Py_Void();
12878 {
12879 if (temp2)
12880 delete arg2;
12881 }
12882 return resultobj;
12883fail:
12884 {
12885 if (temp2)
12886 delete arg2;
12887 }
12888 return NULL;
12889}
12890
12891
12892SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj = 0;
12894 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12895 wxString arg2 ;
12896 wxString arg3 ;
12897 PyObject *arg4 = (PyObject *) NULL ;
12898 void *argp1 = 0 ;
12899 int res1 = 0 ;
12900 PyObject * obj0 = 0 ;
12901 PyObject * obj1 = 0 ;
12902 PyObject * obj2 = 0 ;
12903 PyObject * obj3 = 0 ;
12904 char * kwnames[] = {
12905 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12906 };
12907
12908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12910 if (!SWIG_IsOK(res1)) {
12911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12912 }
12913 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12914 {
12915 wxString* sptr = wxString_in_helper(obj1);
12916 if (sptr == NULL) SWIG_fail;
12917 arg2 = *sptr;
12918 delete sptr;
12919 }
12920 {
12921 wxString* sptr = wxString_in_helper(obj2);
12922 if (sptr == NULL) SWIG_fail;
12923 arg3 = *sptr;
12924 delete sptr;
12925 }
12926 if (obj3) {
12927 arg4 = obj3;
12928 }
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = SWIG_Py_Void();
12936 return resultobj;
12937fail:
12938 return NULL;
12939}
12940
12941
12942SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj = 0;
12944 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12945 int arg2 = (int) -1 ;
12946 wxString const &arg3_defvalue = wxPyEmptyString ;
12947 wxString *arg3 = (wxString *) &arg3_defvalue ;
12948 wxString const &arg4_defvalue = wxPyEmptyString ;
12949 wxString *arg4 = (wxString *) &arg4_defvalue ;
12950 void *argp1 = 0 ;
12951 int res1 = 0 ;
12952 int val2 ;
12953 int ecode2 = 0 ;
12954 bool temp3 = false ;
12955 bool temp4 = false ;
12956 PyObject * obj0 = 0 ;
12957 PyObject * obj1 = 0 ;
12958 PyObject * obj2 = 0 ;
12959 PyObject * obj3 = 0 ;
12960 char * kwnames[] = {
12961 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12962 };
12963
12964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12966 if (!SWIG_IsOK(res1)) {
12967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12968 }
12969 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12970 if (obj1) {
12971 ecode2 = SWIG_AsVal_int(obj1, &val2);
12972 if (!SWIG_IsOK(ecode2)) {
12973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12974 }
12975 arg2 = static_cast< int >(val2);
12976 }
12977 if (obj2) {
d14a1e28 12978 {
554f62e9
RD
12979 arg3 = wxString_in_helper(obj2);
12980 if (arg3 == NULL) SWIG_fail;
12981 temp3 = true;
d14a1e28 12982 }
554f62e9
RD
12983 }
12984 if (obj3) {
d14a1e28 12985 {
554f62e9
RD
12986 arg4 = wxString_in_helper(obj3);
12987 if (arg4 == NULL) SWIG_fail;
12988 temp4 = true;
d14a1e28 12989 }
554f62e9
RD
12990 }
12991 {
12992 PyThreadState* __tstate = wxPyBeginAllowThreads();
12993 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12994 wxPyEndAllowThreads(__tstate);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 resultobj = SWIG_Py_Void();
12998 {
12999 if (temp3)
13000 delete arg3;
13001 }
13002 {
13003 if (temp4)
13004 delete arg4;
13005 }
13006 return resultobj;
13007fail:
13008 {
13009 if (temp3)
13010 delete arg3;
13011 }
13012 {
13013 if (temp4)
13014 delete arg4;
13015 }
13016 return NULL;
d14a1e28
RD
13017}
13018
13019
554f62e9
RD
13020SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13021 PyObject *resultobj = 0;
13022 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13023 wxPrintData *result = 0 ;
13024 void *argp1 = 0 ;
13025 int res1 = 0 ;
13026 PyObject *swig_obj[1] ;
13027
13028 if (!args) SWIG_fail;
13029 swig_obj[0] = args;
13030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13031 if (!SWIG_IsOK(res1)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13033 }
13034 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 result = (wxPrintData *)(arg1)->GetPrintData();
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
13042 return resultobj;
13043fail:
13044 return NULL;
d14a1e28
RD
13045}
13046
13047
554f62e9
RD
13048SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13049 PyObject *resultobj = 0;
13050 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
13051 wxPageSetupDialogData *result = 0 ;
13052 void *argp1 = 0 ;
13053 int res1 = 0 ;
13054 PyObject *swig_obj[1] ;
13055
13056 if (!args) SWIG_fail;
13057 swig_obj[0] = args;
13058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
13059 if (!SWIG_IsOK(res1)) {
13060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13061 }
13062 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
13063 {
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
13070 return resultobj;
13071fail:
13072 return NULL;
13073}
13074
13075
13076SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13077 PyObject *obj;
13078 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13079 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
13080 return SWIG_Py_Void();
13081}
13082
13083SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13084 return SWIG_Python_InitShadowInstance(args);
13085}
13086
13087SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj = 0;
13089 wxString *arg1 = 0 ;
13090 wxString *arg2 = 0 ;
13091 wxString *arg3 = 0 ;
13092 wxString *arg4 = 0 ;
13093 wxHtmlBookRecord *result = 0 ;
13094 bool temp1 = false ;
13095 bool temp2 = false ;
13096 bool temp3 = false ;
13097 bool temp4 = false ;
13098 PyObject * obj0 = 0 ;
13099 PyObject * obj1 = 0 ;
13100 PyObject * obj2 = 0 ;
13101 PyObject * obj3 = 0 ;
13102 char * kwnames[] = {
13103 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13104 };
13105
13106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13107 {
13108 arg1 = wxString_in_helper(obj0);
13109 if (arg1 == NULL) SWIG_fail;
13110 temp1 = true;
13111 }
13112 {
13113 arg2 = wxString_in_helper(obj1);
13114 if (arg2 == NULL) SWIG_fail;
13115 temp2 = true;
13116 }
13117 {
13118 arg3 = wxString_in_helper(obj2);
13119 if (arg3 == NULL) SWIG_fail;
13120 temp3 = true;
13121 }
13122 {
13123 arg4 = wxString_in_helper(obj3);
13124 if (arg4 == NULL) SWIG_fail;
13125 temp4 = true;
13126 }
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13134 {
13135 if (temp1)
13136 delete arg1;
13137 }
13138 {
13139 if (temp2)
13140 delete arg2;
13141 }
13142 {
13143 if (temp3)
13144 delete arg3;
13145 }
13146 {
13147 if (temp4)
13148 delete arg4;
13149 }
13150 return resultobj;
13151fail:
13152 {
13153 if (temp1)
13154 delete arg1;
13155 }
13156 {
13157 if (temp2)
13158 delete arg2;
13159 }
13160 {
13161 if (temp3)
13162 delete arg3;
13163 }
13164 {
13165 if (temp4)
13166 delete arg4;
13167 }
13168 return NULL;
d14a1e28
RD
13169}
13170
13171
554f62e9
RD
13172SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13173 PyObject *resultobj = 0;
13174 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13175 wxString result;
13176 void *argp1 = 0 ;
13177 int res1 = 0 ;
13178 PyObject *swig_obj[1] ;
13179
13180 if (!args) SWIG_fail;
13181 swig_obj[0] = args;
13182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13183 if (!SWIG_IsOK(res1)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13185 }
13186 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (arg1)->GetBookFile();
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 {
13194#if wxUSE_UNICODE
13195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13196#else
13197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13198#endif
13199 }
13200 return resultobj;
13201fail:
13202 return NULL;
d14a1e28
RD
13203}
13204
13205
554f62e9
RD
13206SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13207 PyObject *resultobj = 0;
13208 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13209 wxString result;
13210 void *argp1 = 0 ;
13211 int res1 = 0 ;
13212 PyObject *swig_obj[1] ;
13213
13214 if (!args) SWIG_fail;
13215 swig_obj[0] = args;
13216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13217 if (!SWIG_IsOK(res1)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13219 }
13220 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 result = (arg1)->GetTitle();
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 {
13228#if wxUSE_UNICODE
13229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13230#else
13231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13232#endif
13233 }
13234 return resultobj;
13235fail:
13236 return NULL;
d14a1e28
RD
13237}
13238
13239
554f62e9
RD
13240SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13241 PyObject *resultobj = 0;
13242 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13243 wxString result;
13244 void *argp1 = 0 ;
13245 int res1 = 0 ;
13246 PyObject *swig_obj[1] ;
13247
13248 if (!args) SWIG_fail;
13249 swig_obj[0] = args;
13250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13251 if (!SWIG_IsOK(res1)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13253 }
13254 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 result = (arg1)->GetStart();
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 {
13262#if wxUSE_UNICODE
13263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13264#else
13265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13266#endif
13267 }
13268 return resultobj;
13269fail:
13270 return NULL;
d14a1e28
RD
13271}
13272
13273
554f62e9
RD
13274SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13275 PyObject *resultobj = 0;
13276 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13277 wxString result;
13278 void *argp1 = 0 ;
13279 int res1 = 0 ;
13280 PyObject *swig_obj[1] ;
13281
13282 if (!args) SWIG_fail;
13283 swig_obj[0] = args;
13284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13285 if (!SWIG_IsOK(res1)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13287 }
13288 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 result = (arg1)->GetBasePath();
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 {
13296#if wxUSE_UNICODE
13297 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13298#else
13299 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13300#endif
13301 }
13302 return resultobj;
13303fail:
13304 return NULL;
13305}
13306
13307
13308SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj = 0;
13310 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13311 int arg2 ;
13312 int arg3 ;
13313 void *argp1 = 0 ;
13314 int res1 = 0 ;
13315 int val2 ;
13316 int ecode2 = 0 ;
13317 int val3 ;
13318 int ecode3 = 0 ;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 PyObject * obj2 = 0 ;
13322 char * kwnames[] = {
13323 (char *) "self",(char *) "start",(char *) "end", NULL
13324 };
13325
13326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13328 if (!SWIG_IsOK(res1)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13330 }
13331 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13332 ecode2 = SWIG_AsVal_int(obj1, &val2);
13333 if (!SWIG_IsOK(ecode2)) {
13334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13335 }
13336 arg2 = static_cast< int >(val2);
13337 ecode3 = SWIG_AsVal_int(obj2, &val3);
13338 if (!SWIG_IsOK(ecode3)) {
13339 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13340 }
13341 arg3 = static_cast< int >(val3);
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 (arg1)->SetContentsRange(arg2,arg3);
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 resultobj = SWIG_Py_Void();
13349 return resultobj;
13350fail:
13351 return NULL;
d14a1e28
RD
13352}
13353
13354
554f62e9
RD
13355SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13356 PyObject *resultobj = 0;
13357 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13358 int result;
13359 void *argp1 = 0 ;
13360 int res1 = 0 ;
13361 PyObject *swig_obj[1] ;
13362
13363 if (!args) SWIG_fail;
13364 swig_obj[0] = args;
13365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13366 if (!SWIG_IsOK(res1)) {
13367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13368 }
13369 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 result = (int)(arg1)->GetContentsStart();
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 resultobj = SWIG_From_int(static_cast< int >(result));
13377 return resultobj;
13378fail:
13379 return NULL;
d14a1e28 13380}
554f62e9
RD
13381
13382
13383SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13384 PyObject *resultobj = 0;
13385 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13386 int result;
13387 void *argp1 = 0 ;
13388 int res1 = 0 ;
13389 PyObject *swig_obj[1] ;
13390
13391 if (!args) SWIG_fail;
13392 swig_obj[0] = args;
13393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13394 if (!SWIG_IsOK(res1)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13396 }
13397 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (int)(arg1)->GetContentsEnd();
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_From_int(static_cast< int >(result));
13405 return resultobj;
13406fail:
13407 return NULL;
13408}
13409
13410
13411SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj = 0;
13413 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13414 wxString *arg2 = 0 ;
13415 void *argp1 = 0 ;
13416 int res1 = 0 ;
13417 bool temp2 = false ;
13418 PyObject * obj0 = 0 ;
13419 PyObject * obj1 = 0 ;
13420 char * kwnames[] = {
13421 (char *) "self",(char *) "title", NULL
13422 };
13423
13424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13426 if (!SWIG_IsOK(res1)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13428 }
13429 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13430 {
13431 arg2 = wxString_in_helper(obj1);
13432 if (arg2 == NULL) SWIG_fail;
13433 temp2 = true;
13434 }
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 (arg1)->SetTitle((wxString const &)*arg2);
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 resultobj = SWIG_Py_Void();
13442 {
13443 if (temp2)
13444 delete arg2;
13445 }
13446 return resultobj;
13447fail:
13448 {
13449 if (temp2)
13450 delete arg2;
13451 }
13452 return NULL;
d14a1e28
RD
13453}
13454
13455
554f62e9
RD
13456SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj = 0;
13458 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13459 wxString *arg2 = 0 ;
13460 void *argp1 = 0 ;
13461 int res1 = 0 ;
13462 bool temp2 = false ;
13463 PyObject * obj0 = 0 ;
13464 PyObject * obj1 = 0 ;
13465 char * kwnames[] = {
13466 (char *) "self",(char *) "path", NULL
13467 };
13468
13469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13471 if (!SWIG_IsOK(res1)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13473 }
13474 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13475 {
13476 arg2 = wxString_in_helper(obj1);
13477 if (arg2 == NULL) SWIG_fail;
13478 temp2 = true;
13479 }
13480 {
13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
13482 (arg1)->SetBasePath((wxString const &)*arg2);
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 resultobj = SWIG_Py_Void();
13487 {
13488 if (temp2)
13489 delete arg2;
13490 }
13491 return resultobj;
13492fail:
13493 {
13494 if (temp2)
13495 delete arg2;
13496 }
13497 return NULL;
d14a1e28
RD
13498}
13499
13500
554f62e9
RD
13501SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13502 PyObject *resultobj = 0;
13503 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13504 wxString *arg2 = 0 ;
13505 void *argp1 = 0 ;
13506 int res1 = 0 ;
13507 bool temp2 = false ;
13508 PyObject * obj0 = 0 ;
13509 PyObject * obj1 = 0 ;
13510 char * kwnames[] = {
13511 (char *) "self",(char *) "start", NULL
13512 };
13513
13514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail;
13515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13516 if (!SWIG_IsOK(res1)) {
13517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13518 }
13519 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13520 {
13521 arg2 = wxString_in_helper(obj1);
13522 if (arg2 == NULL) SWIG_fail;
13523 temp2 = true;
13524 }
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 (arg1)->SetStart((wxString const &)*arg2);
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = SWIG_Py_Void();
13532 {
13533 if (temp2)
13534 delete arg2;
13535 }
13536 return resultobj;
13537fail:
13538 {
13539 if (temp2)
13540 delete arg2;
13541 }
13542 return NULL;
13543}
13544
13545
13546SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj = 0;
13548 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13549 wxString *arg2 = 0 ;
13550 wxString result;
13551 void *argp1 = 0 ;
13552 int res1 = 0 ;
13553 bool temp2 = false ;
13554 PyObject * obj0 = 0 ;
13555 PyObject * obj1 = 0 ;
13556 char * kwnames[] = {
13557 (char *) "self",(char *) "page", NULL
13558 };
13559
13560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13562 if (!SWIG_IsOK(res1)) {
13563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13564 }
13565 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13566 {
13567 arg2 = wxString_in_helper(obj1);
13568 if (arg2 == NULL) SWIG_fail;
13569 temp2 = true;
13570 }
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 {
13578#if wxUSE_UNICODE
13579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13580#else
13581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13582#endif
13583 }
13584 {
13585 if (temp2)
13586 delete arg2;
13587 }
13588 return resultobj;
13589fail:
13590 {
13591 if (temp2)
13592 delete arg2;
13593 }
13594 return NULL;
d14a1e28
RD
13595}
13596
13597
554f62e9
RD
13598SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13599 PyObject *obj;
13600 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13601 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13602 return SWIG_Py_Void();
d14a1e28
RD
13603}
13604
554f62e9
RD
13605SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13606 return SWIG_Python_InitShadowInstance(args);
13607}
d14a1e28 13608
554f62e9
RD
13609SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13610 PyObject *resultobj = 0;
13611 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13612 bool result;
13613 void *argp1 = 0 ;
13614 int res1 = 0 ;
13615 PyObject *swig_obj[1] ;
13616
13617 if (!args) SWIG_fail;
13618 swig_obj[0] = args;
13619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13620 if (!SWIG_IsOK(res1)) {
13621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13622 }
13623 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 result = (bool)(arg1)->Search();
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 {
13631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13632 }
13633 return resultobj;
13634fail:
13635 return NULL;
d14a1e28
RD
13636}
13637
13638
554f62e9
RD
13639SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13640 PyObject *resultobj = 0;
13641 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13642 bool result;
13643 void *argp1 = 0 ;
13644 int res1 = 0 ;
13645 PyObject *swig_obj[1] ;
13646
13647 if (!args) SWIG_fail;
13648 swig_obj[0] = args;
13649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13650 if (!SWIG_IsOK(res1)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13652 }
13653 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 result = (bool)(arg1)->IsActive();
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 {
13661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13662 }
13663 return resultobj;
13664fail:
13665 return NULL;
d14a1e28
RD
13666}
13667
13668
554f62e9
RD
13669SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13670 PyObject *resultobj = 0;
13671 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13672 int result;
13673 void *argp1 = 0 ;
13674 int res1 = 0 ;
13675 PyObject *swig_obj[1] ;
13676
13677 if (!args) SWIG_fail;
13678 swig_obj[0] = args;
13679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13680 if (!SWIG_IsOK(res1)) {
13681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13682 }
13683 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 result = (int)(arg1)->GetCurIndex();
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 resultobj = SWIG_From_int(static_cast< int >(result));
13691 return resultobj;
13692fail:
13693 return NULL;
d14a1e28
RD
13694}
13695
13696
554f62e9
RD
13697SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13698 PyObject *resultobj = 0;
13699 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13700 int result;
13701 void *argp1 = 0 ;
13702 int res1 = 0 ;
13703 PyObject *swig_obj[1] ;
13704
13705 if (!args) SWIG_fail;
13706 swig_obj[0] = args;
13707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13708 if (!SWIG_IsOK(res1)) {
13709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13710 }
13711 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 result = (int)(arg1)->GetMaxIndex();
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 resultobj = SWIG_From_int(static_cast< int >(result));
13719 return resultobj;
13720fail:
13721 return NULL;
d14a1e28
RD
13722}
13723
13724
554f62e9
RD
13725SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13726 PyObject *resultobj = 0;
13727 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13728 wxString *result = 0 ;
13729 void *argp1 = 0 ;
13730 int res1 = 0 ;
13731 PyObject *swig_obj[1] ;
13732
13733 if (!args) SWIG_fail;
13734 swig_obj[0] = args;
13735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13736 if (!SWIG_IsOK(res1)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13738 }
13739 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13740 {
13741 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 13742 {
554f62e9
RD
13743 wxString const &_result_ref = (arg1)->GetName();
13744 result = (wxString *) &_result_ref;
d14a1e28 13745 }
554f62e9
RD
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 {
13750#if wxUSE_UNICODE
13751 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13752#else
13753 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13754#endif
13755 }
13756 return resultobj;
13757fail:
13758 return NULL;
d14a1e28
RD
13759}
13760
13761
554f62e9
RD
13762SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13763 PyObject *obj;
13764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13765 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13766 return SWIG_Py_Void();
13767}
13768
13769SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13770 PyObject *resultobj = 0;
13771 wxHtmlHelpData *result = 0 ;
13772
13773 if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (wxHtmlHelpData *)new wxHtmlHelpData();
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13781 return resultobj;
13782fail:
13783 return NULL;
d14a1e28
RD
13784}
13785
13786
554f62e9
RD
13787SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13788 PyObject *resultobj = 0;
13789 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13790 void *argp1 = 0 ;
13791 int res1 = 0 ;
13792 PyObject *swig_obj[1] ;
13793
13794 if (!args) SWIG_fail;
13795 swig_obj[0] = args;
13796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13797 if (!SWIG_IsOK(res1)) {
13798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13799 }
13800 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 delete arg1;
d14a1e28 13804
554f62e9
RD
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 resultobj = SWIG_Py_Void();
13809 return resultobj;
13810fail:
13811 return NULL;
13812}
13813
13814
13815SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj = 0;
13817 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13818 wxString *arg2 = 0 ;
13819 void *argp1 = 0 ;
13820 int res1 = 0 ;
13821 bool temp2 = false ;
13822 PyObject * obj0 = 0 ;
13823 PyObject * obj1 = 0 ;
13824 char * kwnames[] = {
13825 (char *) "self",(char *) "path", NULL
13826 };
13827
13828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13830 if (!SWIG_IsOK(res1)) {
13831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13832 }
13833 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13834 {
13835 arg2 = wxString_in_helper(obj1);
13836 if (arg2 == NULL) SWIG_fail;
13837 temp2 = true;
13838 }
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 (arg1)->SetTempDir((wxString const &)*arg2);
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 resultobj = SWIG_Py_Void();
13846 {
13847 if (temp2)
13848 delete arg2;
13849 }
13850 return resultobj;
13851fail:
13852 {
13853 if (temp2)
13854 delete arg2;
13855 }
13856 return NULL;
13857}
13858
13859
13860SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj = 0;
13862 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13863 wxString *arg2 = 0 ;
13864 bool result;
13865 void *argp1 = 0 ;
13866 int res1 = 0 ;
13867 bool temp2 = false ;
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
13870 char * kwnames[] = {
13871 (char *) "self",(char *) "book", NULL
13872 };
13873
13874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13876 if (!SWIG_IsOK(res1)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13878 }
13879 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13880 {
13881 arg2 = wxString_in_helper(obj1);
13882 if (arg2 == NULL) SWIG_fail;
13883 temp2 = true;
13884 }
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 {
13892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13893 }
13894 {
13895 if (temp2)
13896 delete arg2;
13897 }
13898 return resultobj;
13899fail:
13900 {
13901 if (temp2)
13902 delete arg2;
13903 }
13904 return NULL;
13905}
13906
13907
13908SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13909 PyObject *resultobj = 0;
13910 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13911 wxString *arg2 = 0 ;
13912 wxString result;
13913 void *argp1 = 0 ;
13914 int res1 = 0 ;
13915 bool temp2 = false ;
13916 PyObject * obj0 = 0 ;
13917 PyObject * obj1 = 0 ;
13918 char * kwnames[] = {
13919 (char *) "self",(char *) "page", NULL
13920 };
13921
13922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
13923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13924 if (!SWIG_IsOK(res1)) {
13925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13926 }
13927 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13928 {
13929 arg2 = wxString_in_helper(obj1);
13930 if (arg2 == NULL) SWIG_fail;
13931 temp2 = true;
13932 }
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (arg1)->FindPageByName((wxString const &)*arg2);
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 {
d14a1e28 13940#if wxUSE_UNICODE
554f62e9 13941 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 13942#else
554f62e9 13943 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 13944#endif
554f62e9
RD
13945 }
13946 {
13947 if (temp2)
13948 delete arg2;
13949 }
13950 return resultobj;
13951fail:
13952 {
13953 if (temp2)
13954 delete arg2;
13955 }
13956 return NULL;
13957}
13958
13959
13960SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj = 0;
13962 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13963 int arg2 ;
13964 wxString result;
13965 void *argp1 = 0 ;
13966 int res1 = 0 ;
13967 int val2 ;
13968 int ecode2 = 0 ;
13969 PyObject * obj0 = 0 ;
13970 PyObject * obj1 = 0 ;
13971 char * kwnames[] = {
13972 (char *) "self",(char *) "id", NULL
13973 };
13974
13975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
13976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13977 if (!SWIG_IsOK(res1)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13979 }
13980 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13981 ecode2 = SWIG_AsVal_int(obj1, &val2);
13982 if (!SWIG_IsOK(ecode2)) {
13983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13984 }
13985 arg2 = static_cast< int >(val2);
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (arg1)->FindPageById(arg2);
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 {
d14a1e28 13993#if wxUSE_UNICODE
554f62e9 13994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 13995#else
554f62e9 13996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 13997#endif
554f62e9
RD
13998 }
13999 return resultobj;
14000fail:
14001 return NULL;
d14a1e28
RD
14002}
14003
14004
554f62e9
RD
14005SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14006 PyObject *resultobj = 0;
14007 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
14008 wxHtmlBookRecArray *result = 0 ;
14009 void *argp1 = 0 ;
14010 int res1 = 0 ;
14011 PyObject *swig_obj[1] ;
14012
14013 if (!args) SWIG_fail;
14014 swig_obj[0] = args;
14015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14016 if (!SWIG_IsOK(res1)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14018 }
14019 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 14022 {
554f62e9
RD
14023 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
14024 result = (wxHtmlBookRecArray *) &_result_ref;
d14a1e28 14025 }
554f62e9
RD
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
14030 return resultobj;
14031fail:
14032 return NULL;
14033}
14034
14035
14036SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14037 PyObject *obj;
14038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14039 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
14040 return SWIG_Py_Void();
14041}
14042
14043SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14044 return SWIG_Python_InitShadowInstance(args);
14045}
14046
14047SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14048 PyObject *resultobj = 0;
14049 wxWindow *arg1 = (wxWindow *) 0 ;
14050 int arg2 ;
14051 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14052 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14053 wxSize const &arg4_defvalue = wxDefaultSize ;
14054 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14055 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14056 int arg6 = (int) wxHF_DEFAULT_STYLE ;
14057 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
14058 wxHtmlHelpWindow *result = 0 ;
14059 void *argp1 = 0 ;
14060 int res1 = 0 ;
14061 int val2 ;
14062 int ecode2 = 0 ;
14063 wxPoint temp3 ;
14064 wxSize temp4 ;
14065 int val5 ;
14066 int ecode5 = 0 ;
14067 int val6 ;
14068 int ecode6 = 0 ;
14069 void *argp7 = 0 ;
14070 int res7 = 0 ;
14071 PyObject * obj0 = 0 ;
14072 PyObject * obj1 = 0 ;
14073 PyObject * obj2 = 0 ;
14074 PyObject * obj3 = 0 ;
14075 PyObject * obj4 = 0 ;
14076 PyObject * obj5 = 0 ;
14077 PyObject * obj6 = 0 ;
14078 char * kwnames[] = {
14079 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14080 };
14081
14082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14084 if (!SWIG_IsOK(res1)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14086 }
14087 arg1 = reinterpret_cast< wxWindow * >(argp1);
14088 ecode2 = SWIG_AsVal_int(obj1, &val2);
14089 if (!SWIG_IsOK(ecode2)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14091 }
14092 arg2 = static_cast< int >(val2);
14093 if (obj2) {
d14a1e28 14094 {
554f62e9
RD
14095 arg3 = &temp3;
14096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14097 }
554f62e9
RD
14098 }
14099 if (obj3) {
d14a1e28 14100 {
554f62e9
RD
14101 arg4 = &temp4;
14102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14103 }
554f62e9
RD
14104 }
14105 if (obj4) {
14106 ecode5 = SWIG_AsVal_int(obj4, &val5);
14107 if (!SWIG_IsOK(ecode5)) {
14108 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14109 }
14110 arg5 = static_cast< int >(val5);
14111 }
14112 if (obj5) {
14113 ecode6 = SWIG_AsVal_int(obj5, &val6);
14114 if (!SWIG_IsOK(ecode6)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14116 }
14117 arg6 = static_cast< int >(val6);
14118 }
14119 if (obj6) {
14120 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14121 if (!SWIG_IsOK(res7)) {
14122 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14123 }
14124 arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14125 }
14126 {
14127 if (!wxPyCheckForApp()) SWIG_fail;
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14134 return resultobj;
14135fail:
14136 return NULL;
14137}
14138
14139
14140SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14141 PyObject *resultobj = 0;
14142 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14143 wxHtmlHelpWindow *result = 0 ;
14144 void *argp1 = 0 ;
14145 int res1 = 0 ;
14146 PyObject * obj0 = 0 ;
14147 char * kwnames[] = {
14148 (char *) "data", NULL
14149 };
14150
14151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14152 if (obj0) {
14153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14154 if (!SWIG_IsOK(res1)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 14156 }
554f62e9
RD
14157 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14158 }
14159 {
14160 if (!wxPyCheckForApp()) SWIG_fail;
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14167 return resultobj;
14168fail:
14169 return NULL;
14170}
14171
14172
14173SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14174 PyObject *resultobj = 0;
14175 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14176 wxWindow *arg2 = (wxWindow *) 0 ;
14177 int arg3 ;
14178 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14179 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14180 wxSize const &arg5_defvalue = wxDefaultSize ;
14181 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14182 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14183 int arg7 = (int) wxHF_DEFAULT_STYLE ;
14184 bool result;
14185 void *argp1 = 0 ;
14186 int res1 = 0 ;
14187 void *argp2 = 0 ;
14188 int res2 = 0 ;
14189 int val3 ;
14190 int ecode3 = 0 ;
14191 wxPoint temp4 ;
14192 wxSize temp5 ;
14193 int val6 ;
14194 int ecode6 = 0 ;
14195 int val7 ;
14196 int ecode7 = 0 ;
14197 PyObject * obj0 = 0 ;
14198 PyObject * obj1 = 0 ;
14199 PyObject * obj2 = 0 ;
14200 PyObject * obj3 = 0 ;
14201 PyObject * obj4 = 0 ;
14202 PyObject * obj5 = 0 ;
14203 PyObject * obj6 = 0 ;
14204 char * kwnames[] = {
14205 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14206 };
14207
14208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14210 if (!SWIG_IsOK(res1)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14212 }
14213 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14215 if (!SWIG_IsOK(res2)) {
14216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14217 }
14218 arg2 = reinterpret_cast< wxWindow * >(argp2);
14219 ecode3 = SWIG_AsVal_int(obj2, &val3);
14220 if (!SWIG_IsOK(ecode3)) {
14221 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14222 }
14223 arg3 = static_cast< int >(val3);
14224 if (obj3) {
d14a1e28 14225 {
554f62e9
RD
14226 arg4 = &temp4;
14227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14228 }
554f62e9
RD
14229 }
14230 if (obj4) {
d14a1e28 14231 {
554f62e9
RD
14232 arg5 = &temp5;
14233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14234 }
554f62e9
RD
14235 }
14236 if (obj5) {
14237 ecode6 = SWIG_AsVal_int(obj5, &val6);
14238 if (!SWIG_IsOK(ecode6)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14240 }
14241 arg6 = static_cast< int >(val6);
14242 }
14243 if (obj6) {
14244 ecode7 = SWIG_AsVal_int(obj6, &val7);
14245 if (!SWIG_IsOK(ecode7)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14247 }
14248 arg7 = static_cast< int >(val7);
14249 }
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 {
14257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14258 }
14259 return resultobj;
14260fail:
14261 return NULL;
d14a1e28
RD
14262}
14263
14264
554f62e9
RD
14265SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14266 PyObject *resultobj = 0;
14267 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14268 wxHtmlHelpData *result = 0 ;
14269 void *argp1 = 0 ;
14270 int res1 = 0 ;
14271 PyObject *swig_obj[1] ;
14272
14273 if (!args) SWIG_fail;
14274 swig_obj[0] = args;
14275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14276 if (!SWIG_IsOK(res1)) {
14277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14278 }
14279 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 result = (wxHtmlHelpData *)(arg1)->GetData();
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14287 return resultobj;
14288fail:
14289 return NULL;
d14a1e28
RD
14290}
14291
14292
554f62e9
RD
14293SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14294 PyObject *resultobj = 0;
14295 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14296 wxHtmlHelpController *result = 0 ;
14297 void *argp1 = 0 ;
14298 int res1 = 0 ;
14299 PyObject *swig_obj[1] ;
14300
14301 if (!args) SWIG_fail;
14302 swig_obj[0] = args;
14303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14304 if (!SWIG_IsOK(res1)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14306 }
14307 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14315 return resultobj;
14316fail:
14317 return NULL;
14318}
14319
14320
14321SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj = 0;
14323 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14324 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14325 void *argp1 = 0 ;
14326 int res1 = 0 ;
14327 int res2 = 0 ;
14328 PyObject * obj0 = 0 ;
14329 PyObject * obj1 = 0 ;
14330 char * kwnames[] = {
14331 (char *) "self",(char *) "controller", NULL
14332 };
14333
14334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14336 if (!SWIG_IsOK(res1)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14338 }
14339 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14340 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14341 if (!SWIG_IsOK(res2)) {
14342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14343 }
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 (arg1)->SetController(arg2);
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
14350 resultobj = SWIG_Py_Void();
14351 return resultobj;
14352fail:
14353 return NULL;
14354}
14355
14356
14357SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14358 PyObject *resultobj = 0;
14359 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14360 wxString *arg2 = 0 ;
14361 bool result;
14362 void *argp1 = 0 ;
14363 int res1 = 0 ;
14364 bool temp2 = false ;
14365 PyObject * obj0 = 0 ;
14366 PyObject * obj1 = 0 ;
14367 char * kwnames[] = {
14368 (char *) "self",(char *) "x", NULL
14369 };
14370
14371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14373 if (!SWIG_IsOK(res1)) {
14374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14375 }
14376 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14377 {
14378 arg2 = wxString_in_helper(obj1);
14379 if (arg2 == NULL) SWIG_fail;
14380 temp2 = true;
14381 }
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 result = (bool)(arg1)->Display((wxString const &)*arg2);
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 {
14389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14390 }
14391 {
14392 if (temp2)
14393 delete arg2;
14394 }
14395 return resultobj;
14396fail:
14397 {
14398 if (temp2)
14399 delete arg2;
14400 }
14401 return NULL;
14402}
14403
14404
14405SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj = 0;
14407 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14408 int arg2 ;
14409 bool result;
14410 void *argp1 = 0 ;
14411 int res1 = 0 ;
14412 int val2 ;
14413 int ecode2 = 0 ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 char * kwnames[] = {
14417 (char *) "self",(char *) "id", NULL
14418 };
14419
14420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14422 if (!SWIG_IsOK(res1)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14424 }
14425 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14426 ecode2 = SWIG_AsVal_int(obj1, &val2);
14427 if (!SWIG_IsOK(ecode2)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14429 }
14430 arg2 = static_cast< int >(val2);
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 result = (bool)(arg1)->Display(arg2);
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 {
14438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14439 }
14440 return resultobj;
14441fail:
14442 return NULL;
d14a1e28
RD
14443}
14444
14445
554f62e9
RD
14446SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14447 PyObject *resultobj = 0;
14448 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14449 bool result;
14450 void *argp1 = 0 ;
14451 int res1 = 0 ;
14452 PyObject *swig_obj[1] ;
14453
14454 if (!args) SWIG_fail;
14455 swig_obj[0] = args;
14456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14457 if (!SWIG_IsOK(res1)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14459 }
14460 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = (bool)(arg1)->DisplayContents();
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 {
14468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14469 }
14470 return resultobj;
14471fail:
14472 return NULL;
d14a1e28
RD
14473}
14474
14475
554f62e9
RD
14476SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14477 PyObject *resultobj = 0;
14478 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14479 bool result;
14480 void *argp1 = 0 ;
14481 int res1 = 0 ;
14482 PyObject *swig_obj[1] ;
14483
14484 if (!args) SWIG_fail;
14485 swig_obj[0] = args;
14486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14487 if (!SWIG_IsOK(res1)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14489 }
14490 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (bool)(arg1)->DisplayIndex();
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
14498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14499 }
14500 return resultobj;
14501fail:
14502 return NULL;
14503}
14504
14505
14506SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj = 0;
14508 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14509 wxString *arg2 = 0 ;
14510 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14511 bool result;
14512 void *argp1 = 0 ;
14513 int res1 = 0 ;
14514 bool temp2 = false ;
14515 void *argp3 ;
14516 int res3 = 0 ;
14517 PyObject * obj0 = 0 ;
14518 PyObject * obj1 = 0 ;
14519 PyObject * obj2 = 0 ;
14520 char * kwnames[] = {
14521 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14522 };
14523
14524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14526 if (!SWIG_IsOK(res1)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14528 }
14529 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14530 {
14531 arg2 = wxString_in_helper(obj1);
14532 if (arg2 == NULL) SWIG_fail;
14533 temp2 = true;
14534 }
14535 if (obj2) {
14536 {
14537 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14538 if (!SWIG_IsOK(res3)) {
14539 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14540 }
14541 if (!argp3) {
14542 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14543 } else {
14544 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14545 arg3 = *temp;
14546 if (SWIG_IsNewObj(res3)) delete temp;
14547 }
ae8162c8 14548 }
554f62e9
RD
14549 }
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 {
14557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14558 }
14559 {
14560 if (temp2)
14561 delete arg2;
14562 }
14563 return resultobj;
14564fail:
14565 {
14566 if (temp2)
14567 delete arg2;
14568 }
14569 return NULL;
14570}
14571
14572
14573SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj = 0;
14575 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14576 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14577 wxString const &arg3_defvalue = wxEmptyString ;
14578 wxString *arg3 = (wxString *) &arg3_defvalue ;
14579 void *argp1 = 0 ;
14580 int res1 = 0 ;
14581 void *argp2 = 0 ;
14582 int res2 = 0 ;
14583 bool temp3 = false ;
14584 PyObject * obj0 = 0 ;
14585 PyObject * obj1 = 0 ;
14586 PyObject * obj2 = 0 ;
14587 char * kwnames[] = {
14588 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14589 };
14590
14591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14593 if (!SWIG_IsOK(res1)) {
14594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14595 }
14596 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14597 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14598 if (!SWIG_IsOK(res2)) {
14599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14600 }
14601 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14602 if (obj2) {
ae8162c8 14603 {
554f62e9
RD
14604 arg3 = wxString_in_helper(obj2);
14605 if (arg3 == NULL) SWIG_fail;
14606 temp3 = true;
ae8162c8 14607 }
554f62e9
RD
14608 }
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14612 wxPyEndAllowThreads(__tstate);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 resultobj = SWIG_Py_Void();
14616 {
14617 if (temp3)
14618 delete arg3;
14619 }
14620 return resultobj;
14621fail:
14622 {
14623 if (temp3)
14624 delete arg3;
14625 }
14626 return NULL;
14627}
14628
14629
14630SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj = 0;
14632 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14633 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14634 wxString const &arg3_defvalue = wxEmptyString ;
14635 wxString *arg3 = (wxString *) &arg3_defvalue ;
14636 void *argp1 = 0 ;
14637 int res1 = 0 ;
14638 void *argp2 = 0 ;
14639 int res2 = 0 ;
14640 bool temp3 = false ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj1 = 0 ;
14643 PyObject * obj2 = 0 ;
14644 char * kwnames[] = {
14645 (char *) "self",(char *) "cfg",(char *) "path", NULL
14646 };
14647
14648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14650 if (!SWIG_IsOK(res1)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14652 }
14653 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14654 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14655 if (!SWIG_IsOK(res2)) {
14656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14657 }
14658 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14659 if (obj2) {
ae8162c8 14660 {
554f62e9
RD
14661 arg3 = wxString_in_helper(obj2);
14662 if (arg3 == NULL) SWIG_fail;
14663 temp3 = true;
ae8162c8 14664 }
554f62e9
RD
14665 }
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 resultobj = SWIG_Py_Void();
14673 {
14674 if (temp3)
14675 delete arg3;
14676 }
14677 return resultobj;
14678fail:
14679 {
14680 if (temp3)
14681 delete arg3;
14682 }
14683 return NULL;
14684}
14685
14686
14687SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj = 0;
14689 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14690 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14691 wxString const &arg3_defvalue = wxEmptyString ;
14692 wxString *arg3 = (wxString *) &arg3_defvalue ;
14693 void *argp1 = 0 ;
14694 int res1 = 0 ;
14695 void *argp2 = 0 ;
14696 int res2 = 0 ;
14697 bool temp3 = false ;
14698 PyObject * obj0 = 0 ;
14699 PyObject * obj1 = 0 ;
14700 PyObject * obj2 = 0 ;
14701 char * kwnames[] = {
14702 (char *) "self",(char *) "cfg",(char *) "path", NULL
14703 };
14704
14705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14707 if (!SWIG_IsOK(res1)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14709 }
14710 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14711 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14712 if (!SWIG_IsOK(res2)) {
14713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14714 }
14715 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14716 if (obj2) {
ae8162c8 14717 {
554f62e9
RD
14718 arg3 = wxString_in_helper(obj2);
14719 if (arg3 == NULL) SWIG_fail;
14720 temp3 = true;
ae8162c8 14721 }
554f62e9
RD
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 resultobj = SWIG_Py_Void();
14730 {
14731 if (temp3)
14732 delete arg3;
14733 }
14734 return resultobj;
14735fail:
14736 {
14737 if (temp3)
14738 delete arg3;
14739 }
14740 return NULL;
30ee79f7
RD
14741}
14742
14743
554f62e9
RD
14744SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14745 PyObject *resultobj = 0;
14746 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14747 void *argp1 = 0 ;
14748 int res1 = 0 ;
14749 PyObject *swig_obj[1] ;
14750
14751 if (!args) SWIG_fail;
14752 swig_obj[0] = args;
14753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14754 if (!SWIG_IsOK(res1)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14756 }
14757 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 (arg1)->NotifyPageChanged();
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = SWIG_Py_Void();
14765 return resultobj;
14766fail:
14767 return NULL;
d14a1e28
RD
14768}
14769
14770
554f62e9
RD
14771SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14772 PyObject *resultobj = 0;
14773 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14774 void *argp1 = 0 ;
14775 int res1 = 0 ;
14776 PyObject *swig_obj[1] ;
14777
14778 if (!args) SWIG_fail;
14779 swig_obj[0] = args;
14780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14781 if (!SWIG_IsOK(res1)) {
14782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14783 }
14784 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 (arg1)->RefreshLists();
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 resultobj = SWIG_Py_Void();
14792 return resultobj;
14793fail:
14794 return NULL;
d14a1e28
RD
14795}
14796
14797
554f62e9
RD
14798SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14799 PyObject *resultobj = 0;
14800 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14801 wxHtmlWindow *result = 0 ;
14802 void *argp1 = 0 ;
14803 int res1 = 0 ;
14804 PyObject *swig_obj[1] ;
14805
14806 if (!args) SWIG_fail;
14807 swig_obj[0] = args;
14808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14809 if (!SWIG_IsOK(res1)) {
14810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14811 }
14812 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14813 {
14814 PyThreadState* __tstate = wxPyBeginAllowThreads();
14815 result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
14816 wxPyEndAllowThreads(__tstate);
14817 if (PyErr_Occurred()) SWIG_fail;
14818 }
14819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindow, 0 | 0 );
14820 return resultobj;
14821fail:
14822 return NULL;
53aa7709
RD
14823}
14824
14825
554f62e9
RD
14826SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14827 PyObject *resultobj = 0;
14828 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14829 wxSplitterWindow *result = 0 ;
14830 void *argp1 = 0 ;
14831 int res1 = 0 ;
14832 PyObject *swig_obj[1] ;
14833
14834 if (!args) SWIG_fail;
14835 swig_obj[0] = args;
14836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14837 if (!SWIG_IsOK(res1)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14839 }
14840 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14841 {
14842 PyThreadState* __tstate = wxPyBeginAllowThreads();
14843 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14848 return resultobj;
14849fail:
14850 return NULL;
d14a1e28
RD
14851}
14852
14853
554f62e9
RD
14854SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14855 PyObject *resultobj = 0;
14856 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14857 wxToolBar *result = 0 ;
14858 void *argp1 = 0 ;
14859 int res1 = 0 ;
14860 PyObject *swig_obj[1] ;
14861
14862 if (!args) SWIG_fail;
14863 swig_obj[0] = args;
14864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14865 if (!SWIG_IsOK(res1)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14867 }
14868 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 {
14876 resultobj = wxPyMake_wxObject(result, (bool)0);
14877 }
14878 return resultobj;
14879fail:
14880 return NULL;
d14a1e28
RD
14881}
14882
14883
554f62e9
RD
14884SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14885 PyObject *resultobj = 0;
14886 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14887 wxHtmlHelpFrameCfg *result = 0 ;
14888 void *argp1 = 0 ;
14889 int res1 = 0 ;
14890 PyObject *swig_obj[1] ;
14891
14892 if (!args) SWIG_fail;
14893 swig_obj[0] = args;
14894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14895 if (!SWIG_IsOK(res1)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14897 }
14898 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 14901 {
554f62e9
RD
14902 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14903 result = (wxHtmlHelpFrameCfg *) &_result_ref;
4f89f6a3 14904 }
554f62e9
RD
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14909 return resultobj;
14910fail:
14911 return NULL;
d14a1e28
RD
14912}
14913
14914
554f62e9
RD
14915SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14916 PyObject *resultobj = 0;
14917 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14918 wxTreeCtrl *result = 0 ;
14919 void *argp1 = 0 ;
14920 int res1 = 0 ;
14921 PyObject *swig_obj[1] ;
14922
14923 if (!args) SWIG_fail;
14924 swig_obj[0] = args;
14925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14926 if (!SWIG_IsOK(res1)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14928 }
14929 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
14937 return resultobj;
14938fail:
14939 return NULL;
d14a1e28
RD
14940}
14941
14942
554f62e9
RD
14943SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14944 PyObject *obj;
14945 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14946 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
14947 return SWIG_Py_Void();
14948}
14949
14950SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14951 return SWIG_Python_InitShadowInstance(args);
14952}
14953
14954SWIGINTERN PyObject *_wrap_new_HtmlWindowEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14955 PyObject *resultobj = 0;
14956 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14957 int arg2 = (int) 0 ;
14958 wxHtmlWindowEvent *result = 0 ;
14959 int val1 ;
14960 int ecode1 = 0 ;
14961 int val2 ;
14962 int ecode2 = 0 ;
14963 PyObject * obj0 = 0 ;
14964 PyObject * obj1 = 0 ;
14965 char * kwnames[] = {
14966 (char *) "commandType",(char *) "id", NULL
14967 };
14968
14969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) SWIG_fail;
14970 if (obj0) {
14971 ecode1 = SWIG_AsVal_int(obj0, &val1);
14972 if (!SWIG_IsOK(ecode1)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14974 }
14975 arg1 = static_cast< wxEventType >(val1);
14976 }
14977 if (obj1) {
14978 ecode2 = SWIG_AsVal_int(obj1, &val2);
14979 if (!SWIG_IsOK(ecode2)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14981 }
14982 arg2 = static_cast< int >(val2);
14983 }
14984 {
14985 PyThreadState* __tstate = wxPyBeginAllowThreads();
14986 result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2);
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_NEW | 0 );
14991 return resultobj;
14992fail:
14993 return NULL;
14994}
14995
14996
14997SWIGINTERN PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14998 PyObject *resultobj = 0;
14999 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
15000 wxString *arg2 = 0 ;
15001 void *argp1 = 0 ;
15002 int res1 = 0 ;
15003 bool temp2 = false ;
15004 PyObject * obj0 = 0 ;
15005 PyObject * obj1 = 0 ;
15006 char * kwnames[] = {
15007 (char *) "self",(char *) "url", NULL
15008 };
15009
15010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
15011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15012 if (!SWIG_IsOK(res1)) {
15013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
15014 }
15015 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15016 {
15017 arg2 = wxString_in_helper(obj1);
15018 if (arg2 == NULL) SWIG_fail;
15019 temp2 = true;
15020 }
15021 {
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 (arg1)->SetURL((wxString const &)*arg2);
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 resultobj = SWIG_Py_Void();
15028 {
15029 if (temp2)
15030 delete arg2;
15031 }
15032 return resultobj;
15033fail:
15034 {
15035 if (temp2)
15036 delete arg2;
15037 }
15038 return NULL;
15039}
15040
15041
15042SWIGINTERN PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15043 PyObject *resultobj = 0;
15044 wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ;
15045 wxString *result = 0 ;
15046 void *argp1 = 0 ;
15047 int res1 = 0 ;
15048 PyObject *swig_obj[1] ;
15049
15050 if (!args) SWIG_fail;
15051 swig_obj[0] = args;
15052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowEvent, 0 | 0 );
15053 if (!SWIG_IsOK(res1)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15055 }
15056 arg1 = reinterpret_cast< wxHtmlWindowEvent * >(argp1);
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 15059 {
554f62e9
RD
15060 wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL();
15061 result = (wxString *) &_result_ref;
d14a1e28 15062 }
554f62e9
RD
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 {
15067#if wxUSE_UNICODE
15068 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15069#else
15070 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15071#endif
15072 }
15073 return resultobj;
15074fail:
15075 return NULL;
15076}
15077
15078
15079SWIGINTERN PyObject *HtmlWindowEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15080 PyObject *obj;
15081 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15082 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent, SWIG_NewClientData(obj));
15083 return SWIG_Py_Void();
15084}
15085
15086SWIGINTERN PyObject *HtmlWindowEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15087 return SWIG_Python_InitShadowInstance(args);
15088}
15089
15090SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15091 PyObject *resultobj = 0;
15092 wxWindow *arg1 = (wxWindow *) 0 ;
15093 int arg2 ;
15094 wxString const &arg3_defvalue = wxPyEmptyString ;
15095 wxString *arg3 = (wxString *) &arg3_defvalue ;
15096 int arg4 = (int) wxHF_DEFAULTSTYLE ;
15097 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15098 wxHtmlHelpFrame *result = 0 ;
15099 void *argp1 = 0 ;
15100 int res1 = 0 ;
15101 int val2 ;
15102 int ecode2 = 0 ;
15103 bool temp3 = false ;
15104 int val4 ;
15105 int ecode4 = 0 ;
15106 void *argp5 = 0 ;
15107 int res5 = 0 ;
15108 PyObject * obj0 = 0 ;
15109 PyObject * obj1 = 0 ;
15110 PyObject * obj2 = 0 ;
15111 PyObject * obj3 = 0 ;
15112 PyObject * obj4 = 0 ;
15113 char * kwnames[] = {
15114 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15115 };
15116
15117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15119 if (!SWIG_IsOK(res1)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15121 }
15122 arg1 = reinterpret_cast< wxWindow * >(argp1);
15123 ecode2 = SWIG_AsVal_int(obj1, &val2);
15124 if (!SWIG_IsOK(ecode2)) {
15125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15126 }
15127 arg2 = static_cast< int >(val2);
15128 if (obj2) {
4f89f6a3 15129 {
554f62e9
RD
15130 arg3 = wxString_in_helper(obj2);
15131 if (arg3 == NULL) SWIG_fail;
15132 temp3 = true;
4f89f6a3 15133 }
554f62e9
RD
15134 }
15135 if (obj3) {
15136 ecode4 = SWIG_AsVal_int(obj3, &val4);
15137 if (!SWIG_IsOK(ecode4)) {
15138 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15139 }
15140 arg4 = static_cast< int >(val4);
15141 }
15142 if (obj4) {
15143 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15144 if (!SWIG_IsOK(res5)) {
15145 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15146 }
15147 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15148 }
15149 {
15150 if (!wxPyCheckForApp()) SWIG_fail;
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15157 {
15158 if (temp3)
15159 delete arg3;
15160 }
15161 return resultobj;
15162fail:
15163 {
15164 if (temp3)
15165 delete arg3;
15166 }
15167 return NULL;
d14a1e28
RD
15168}
15169
15170
554f62e9
RD
15171SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj = 0;
15173 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15174 wxHtmlHelpFrame *result = 0 ;
15175 void *argp1 = 0 ;
15176 int res1 = 0 ;
15177 PyObject * obj0 = 0 ;
15178 char * kwnames[] = {
15179 (char *) "data", NULL
15180 };
15181
15182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15183 if (obj0) {
15184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15185 if (!SWIG_IsOK(res1)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15187 }
554f62e9
RD
15188 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15189 }
15190 {
15191 if (!wxPyCheckForApp()) SWIG_fail;
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15198 return resultobj;
15199fail:
15200 return NULL;
15201}
15202
15203
15204SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj = 0;
15206 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15207 wxWindow *arg2 = (wxWindow *) 0 ;
15208 int arg3 ;
15209 wxString const &arg4_defvalue = wxPyEmptyString ;
15210 wxString *arg4 = (wxString *) &arg4_defvalue ;
15211 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15212 bool result;
15213 void *argp1 = 0 ;
15214 int res1 = 0 ;
15215 void *argp2 = 0 ;
15216 int res2 = 0 ;
15217 int val3 ;
15218 int ecode3 = 0 ;
15219 bool temp4 = false ;
15220 int val5 ;
15221 int ecode5 = 0 ;
15222 PyObject * obj0 = 0 ;
15223 PyObject * obj1 = 0 ;
15224 PyObject * obj2 = 0 ;
15225 PyObject * obj3 = 0 ;
15226 PyObject * obj4 = 0 ;
15227 char * kwnames[] = {
15228 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15229 };
15230
15231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15233 if (!SWIG_IsOK(res1)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15235 }
15236 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15237 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15238 if (!SWIG_IsOK(res2)) {
15239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15240 }
15241 arg2 = reinterpret_cast< wxWindow * >(argp2);
15242 ecode3 = SWIG_AsVal_int(obj2, &val3);
15243 if (!SWIG_IsOK(ecode3)) {
15244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15245 }
15246 arg3 = static_cast< int >(val3);
15247 if (obj3) {
4f89f6a3 15248 {
554f62e9
RD
15249 arg4 = wxString_in_helper(obj3);
15250 if (arg4 == NULL) SWIG_fail;
15251 temp4 = true;
4f89f6a3 15252 }
554f62e9
RD
15253 }
15254 if (obj4) {
15255 ecode5 = SWIG_AsVal_int(obj4, &val5);
15256 if (!SWIG_IsOK(ecode5)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15258 }
15259 arg5 = static_cast< int >(val5);
15260 }
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 {
15268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15269 }
15270 {
15271 if (temp4)
15272 delete arg4;
15273 }
15274 return resultobj;
15275fail:
15276 {
15277 if (temp4)
15278 delete arg4;
15279 }
15280 return NULL;
d14a1e28
RD
15281}
15282
15283
554f62e9
RD
15284SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15285 PyObject *resultobj = 0;
15286 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15287 wxHtmlHelpData *result = 0 ;
15288 void *argp1 = 0 ;
15289 int res1 = 0 ;
15290 PyObject *swig_obj[1] ;
15291
15292 if (!args) SWIG_fail;
15293 swig_obj[0] = args;
15294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15295 if (!SWIG_IsOK(res1)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15297 }
15298 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 result = (wxHtmlHelpData *)(arg1)->GetData();
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15306 return resultobj;
15307fail:
15308 return NULL;
15309}
15310
15311
15312SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj = 0;
15314 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15315 wxString *arg2 = 0 ;
15316 void *argp1 = 0 ;
15317 int res1 = 0 ;
15318 bool temp2 = false ;
15319 PyObject * obj0 = 0 ;
15320 PyObject * obj1 = 0 ;
15321 char * kwnames[] = {
15322 (char *) "self",(char *) "format", NULL
15323 };
15324
15325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15327 if (!SWIG_IsOK(res1)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15329 }
15330 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15331 {
15332 arg2 = wxString_in_helper(obj1);
15333 if (arg2 == NULL) SWIG_fail;
15334 temp2 = true;
15335 }
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 (arg1)->SetTitleFormat((wxString const &)*arg2);
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 resultobj = SWIG_Py_Void();
15343 {
15344 if (temp2)
15345 delete arg2;
15346 }
15347 return resultobj;
15348fail:
15349 {
15350 if (temp2)
15351 delete arg2;
15352 }
15353 return NULL;
d14a1e28
RD
15354}
15355
15356
554f62e9
RD
15357SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15358 PyObject *resultobj = 0;
15359 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15360 void *argp1 = 0 ;
15361 int res1 = 0 ;
15362 PyObject *swig_obj[1] ;
15363
15364 if (!args) SWIG_fail;
15365 swig_obj[0] = args;
15366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15367 if (!SWIG_IsOK(res1)) {
15368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15369 }
15370 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 (arg1)->AddGrabIfNeeded();
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 resultobj = SWIG_Py_Void();
15378 return resultobj;
15379fail:
15380 return NULL;
d14a1e28
RD
15381}
15382
15383
554f62e9
RD
15384SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15385 PyObject *resultobj = 0;
15386 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15387 wxHtmlHelpController *result = 0 ;
15388 void *argp1 = 0 ;
15389 int res1 = 0 ;
15390 PyObject *swig_obj[1] ;
15391
15392 if (!args) SWIG_fail;
15393 swig_obj[0] = args;
15394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15395 if (!SWIG_IsOK(res1)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15397 }
15398 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15406 return resultobj;
15407fail:
15408 return NULL;
15409}
15410
15411
15412SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj = 0;
15414 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15415 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15416 void *argp1 = 0 ;
15417 int res1 = 0 ;
15418 int res2 = 0 ;
15419 PyObject * obj0 = 0 ;
15420 PyObject * obj1 = 0 ;
15421 char * kwnames[] = {
15422 (char *) "self",(char *) "controller", NULL
15423 };
15424
15425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15427 if (!SWIG_IsOK(res1)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15429 }
15430 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15431 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15432 if (!SWIG_IsOK(res2)) {
15433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15434 }
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 (arg1)->SetController(arg2);
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 resultobj = SWIG_Py_Void();
15442 return resultobj;
15443fail:
15444 return NULL;
d14a1e28
RD
15445}
15446
15447
554f62e9
RD
15448SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15449 PyObject *resultobj = 0;
15450 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15451 wxHtmlHelpWindow *result = 0 ;
15452 void *argp1 = 0 ;
15453 int res1 = 0 ;
15454 PyObject *swig_obj[1] ;
15455
15456 if (!args) SWIG_fail;
15457 swig_obj[0] = args;
15458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15459 if (!SWIG_IsOK(res1)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15461 }
15462 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 {
15470 resultobj = wxPyMake_wxObject(result, 0);
15471 }
15472 return resultobj;
15473fail:
15474 return NULL;
15475}
15476
15477
15478SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15479 PyObject *obj;
15480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15481 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15482 return SWIG_Py_Void();
15483}
15484
15485SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15486 return SWIG_Python_InitShadowInstance(args);
15487}
15488
15489SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj = 0;
15491 wxWindow *arg1 = (wxWindow *) 0 ;
15492 int arg2 ;
15493 wxString const &arg3_defvalue = wxPyEmptyString ;
15494 wxString *arg3 = (wxString *) &arg3_defvalue ;
15495 int arg4 = (int) wxHF_DEFAULT_STYLE ;
15496 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15497 wxHtmlHelpDialog *result = 0 ;
15498 void *argp1 = 0 ;
15499 int res1 = 0 ;
15500 int val2 ;
15501 int ecode2 = 0 ;
15502 bool temp3 = false ;
15503 int val4 ;
15504 int ecode4 = 0 ;
15505 void *argp5 = 0 ;
15506 int res5 = 0 ;
15507 PyObject * obj0 = 0 ;
15508 PyObject * obj1 = 0 ;
15509 PyObject * obj2 = 0 ;
15510 PyObject * obj3 = 0 ;
15511 PyObject * obj4 = 0 ;
15512 char * kwnames[] = {
15513 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15514 };
15515
15516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15518 if (!SWIG_IsOK(res1)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15520 }
15521 arg1 = reinterpret_cast< wxWindow * >(argp1);
15522 ecode2 = SWIG_AsVal_int(obj1, &val2);
15523 if (!SWIG_IsOK(ecode2)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15525 }
15526 arg2 = static_cast< int >(val2);
15527 if (obj2) {
d14a1e28 15528 {
554f62e9
RD
15529 arg3 = wxString_in_helper(obj2);
15530 if (arg3 == NULL) SWIG_fail;
15531 temp3 = true;
d14a1e28 15532 }
554f62e9
RD
15533 }
15534 if (obj3) {
15535 ecode4 = SWIG_AsVal_int(obj3, &val4);
15536 if (!SWIG_IsOK(ecode4)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15538 }
15539 arg4 = static_cast< int >(val4);
15540 }
15541 if (obj4) {
15542 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15543 if (!SWIG_IsOK(res5)) {
15544 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15545 }
554f62e9
RD
15546 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15547 }
15548 {
15549 if (!wxPyCheckForApp()) SWIG_fail;
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15556 {
15557 if (temp3)
15558 delete arg3;
15559 }
15560 return resultobj;
15561fail:
15562 {
15563 if (temp3)
15564 delete arg3;
15565 }
15566 return NULL;
d14a1e28
RD
15567}
15568
15569
554f62e9
RD
15570SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj = 0;
15572 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15573 wxHtmlHelpDialog *result = 0 ;
15574 void *argp1 = 0 ;
15575 int res1 = 0 ;
15576 PyObject * obj0 = 0 ;
15577 char * kwnames[] = {
15578 (char *) "data", NULL
15579 };
15580
15581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15582 if (obj0) {
15583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15584 if (!SWIG_IsOK(res1)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15586 }
554f62e9
RD
15587 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15588 }
15589 {
15590 if (!wxPyCheckForApp()) SWIG_fail;
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15597 return resultobj;
15598fail:
15599 return NULL;
15600}
15601
15602
15603SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj = 0;
15605 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15606 wxWindow *arg2 = (wxWindow *) 0 ;
15607 int arg3 ;
15608 wxString const &arg4_defvalue = wxPyEmptyString ;
15609 wxString *arg4 = (wxString *) &arg4_defvalue ;
15610 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15611 bool result;
15612 void *argp1 = 0 ;
15613 int res1 = 0 ;
15614 void *argp2 = 0 ;
15615 int res2 = 0 ;
15616 int val3 ;
15617 int ecode3 = 0 ;
15618 bool temp4 = false ;
15619 int val5 ;
15620 int ecode5 = 0 ;
15621 PyObject * obj0 = 0 ;
15622 PyObject * obj1 = 0 ;
15623 PyObject * obj2 = 0 ;
15624 PyObject * obj3 = 0 ;
15625 PyObject * obj4 = 0 ;
15626 char * kwnames[] = {
15627 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15628 };
15629
15630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15632 if (!SWIG_IsOK(res1)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15634 }
15635 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15636 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15637 if (!SWIG_IsOK(res2)) {
15638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15639 }
15640 arg2 = reinterpret_cast< wxWindow * >(argp2);
15641 ecode3 = SWIG_AsVal_int(obj2, &val3);
15642 if (!SWIG_IsOK(ecode3)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15644 }
15645 arg3 = static_cast< int >(val3);
15646 if (obj3) {
d14a1e28 15647 {
554f62e9
RD
15648 arg4 = wxString_in_helper(obj3);
15649 if (arg4 == NULL) SWIG_fail;
15650 temp4 = true;
d14a1e28 15651 }
554f62e9
RD
15652 }
15653 if (obj4) {
15654 ecode5 = SWIG_AsVal_int(obj4, &val5);
15655 if (!SWIG_IsOK(ecode5)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15657 }
15658 arg5 = static_cast< int >(val5);
15659 }
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 {
15667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15668 }
15669 {
15670 if (temp4)
15671 delete arg4;
15672 }
15673 return resultobj;
15674fail:
15675 {
15676 if (temp4)
15677 delete arg4;
15678 }
15679 return NULL;
d14a1e28
RD
15680}
15681
15682
554f62e9
RD
15683SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15684 PyObject *resultobj = 0;
15685 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15686 wxHtmlHelpData *result = 0 ;
15687 void *argp1 = 0 ;
15688 int res1 = 0 ;
15689 PyObject *swig_obj[1] ;
15690
15691 if (!args) SWIG_fail;
15692 swig_obj[0] = args;
15693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15694 if (!SWIG_IsOK(res1)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15696 }
15697 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 result = (wxHtmlHelpData *)(arg1)->GetData();
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15705 return resultobj;
15706fail:
15707 return NULL;
d14a1e28
RD
15708}
15709
15710
554f62e9
RD
15711SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15712 PyObject *resultobj = 0;
15713 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15714 wxHtmlHelpController *result = 0 ;
15715 void *argp1 = 0 ;
15716 int res1 = 0 ;
15717 PyObject *swig_obj[1] ;
15718
15719 if (!args) SWIG_fail;
15720 swig_obj[0] = args;
15721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15722 if (!SWIG_IsOK(res1)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15724 }
15725 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15733 return resultobj;
15734fail:
15735 return NULL;
15736}
15737
15738
15739SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15740 PyObject *resultobj = 0;
15741 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15742 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15743 void *argp1 = 0 ;
15744 int res1 = 0 ;
15745 int res2 = 0 ;
15746 PyObject * obj0 = 0 ;
15747 PyObject * obj1 = 0 ;
15748 char * kwnames[] = {
15749 (char *) "self",(char *) "controller", NULL
15750 };
15751
15752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15754 if (!SWIG_IsOK(res1)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15756 }
15757 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15758 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15759 if (!SWIG_IsOK(res2)) {
15760 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15761 }
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 (arg1)->SetController(arg2);
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = SWIG_Py_Void();
15769 return resultobj;
15770fail:
15771 return NULL;
db914595
RD
15772}
15773
15774
554f62e9
RD
15775SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15776 PyObject *resultobj = 0;
15777 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15778 wxHtmlHelpWindow *result = 0 ;
15779 void *argp1 = 0 ;
15780 int res1 = 0 ;
15781 PyObject *swig_obj[1] ;
15782
15783 if (!args) SWIG_fail;
15784 swig_obj[0] = args;
15785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15786 if (!SWIG_IsOK(res1)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15788 }
15789 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 {
15797 resultobj = wxPyMake_wxObject(result, 0);
15798 }
15799 return resultobj;
15800fail:
15801 return NULL;
15802}
15803
15804
15805SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj = 0;
15807 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15808 wxString *arg2 = 0 ;
15809 void *argp1 = 0 ;
15810 int res1 = 0 ;
15811 bool temp2 = false ;
15812 PyObject * obj0 = 0 ;
15813 PyObject * obj1 = 0 ;
15814 char * kwnames[] = {
15815 (char *) "self",(char *) "format", NULL
15816 };
15817
15818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15820 if (!SWIG_IsOK(res1)) {
15821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15822 }
15823 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15824 {
15825 arg2 = wxString_in_helper(obj1);
15826 if (arg2 == NULL) SWIG_fail;
15827 temp2 = true;
15828 }
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
15831 (arg1)->SetTitleFormat((wxString const &)*arg2);
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 resultobj = SWIG_Py_Void();
15836 {
15837 if (temp2)
15838 delete arg2;
15839 }
15840 return resultobj;
15841fail:
15842 {
15843 if (temp2)
15844 delete arg2;
15845 }
15846 return NULL;
db914595
RD
15847}
15848
15849
554f62e9
RD
15850SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15851 PyObject *obj;
15852 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15853 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
15854 return SWIG_Py_Void();
db914595
RD
15855}
15856
554f62e9
RD
15857SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15858 return SWIG_Python_InitShadowInstance(args);
15859}
db914595 15860
554f62e9
RD
15861SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15862 PyObject *resultobj = 0;
15863 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15864 wxString *arg2 = 0 ;
15865 int arg3 ;
15866 bool result;
15867 void *argp1 = 0 ;
15868 int res1 = 0 ;
15869 bool temp2 = false ;
15870 int val3 ;
15871 int ecode3 = 0 ;
15872
15873 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
15874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15875 if (!SWIG_IsOK(res1)) {
15876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15877 }
15878 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15879 {
15880 arg2 = wxString_in_helper(swig_obj[1]);
15881 if (arg2 == NULL) SWIG_fail;
15882 temp2 = true;
15883 }
15884 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
15885 if (!SWIG_IsOK(ecode3)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15887 }
15888 arg3 = static_cast< int >(val3);
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 {
15896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15897 }
15898 {
15899 if (temp2)
15900 delete arg2;
15901 }
15902 return resultobj;
15903fail:
15904 {
15905 if (temp2)
15906 delete arg2;
15907 }
15908 return NULL;
b0f7404b
RD
15909}
15910
15911
554f62e9
RD
15912SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
15913 PyObject *resultobj = 0;
15914 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15915 wxString *arg2 = 0 ;
15916 bool result;
15917 void *argp1 = 0 ;
15918 int res1 = 0 ;
15919 bool temp2 = false ;
15920
15921 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
15922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15923 if (!SWIG_IsOK(res1)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15925 }
15926 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15927 {
15928 arg2 = wxString_in_helper(swig_obj[1]);
15929 if (arg2 == NULL) SWIG_fail;
15930 temp2 = true;
15931 }
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 {
15939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15940 }
15941 {
15942 if (temp2)
15943 delete arg2;
15944 }
15945 return resultobj;
15946fail:
15947 {
15948 if (temp2)
15949 delete arg2;
15950 }
15951 return NULL;
b0f7404b
RD
15952}
15953
15954
554f62e9
RD
15955SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
15956 int argc;
15957 PyObject *argv[4];
15958
15959 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
15960 --argc;
15961 if (argc == 2) {
15962 return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
15963 }
15964 if (argc == 3) {
15965 return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
15966 }
15967
15968fail:
15969 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15970 return NULL;
15971}
15972
15973
15974SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15975 PyObject *resultobj = 0;
15976 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
15977 wxString *arg2 = 0 ;
15978 long arg3 = (long) 0 ;
15979 void *argp1 = 0 ;
15980 int res1 = 0 ;
15981 bool temp2 = false ;
15982 long val3 ;
15983 int ecode3 = 0 ;
15984 PyObject * obj0 = 0 ;
15985 PyObject * obj1 = 0 ;
15986 PyObject * obj2 = 0 ;
15987 char * kwnames[] = {
15988 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15989 };
15990
15991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
15993 if (!SWIG_IsOK(res1)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15995 }
15996 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
15997 {
15998 arg2 = wxString_in_helper(obj1);
15999 if (arg2 == NULL) SWIG_fail;
16000 temp2 = true;
16001 }
16002 if (obj2) {
16003 ecode3 = SWIG_AsVal_long(obj2, &val3);
16004 if (!SWIG_IsOK(ecode3)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16006 }
16007 arg3 = static_cast< long >(val3);
16008 }
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 (arg1)->SetViewer((wxString const &)*arg2,arg3);
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 resultobj = SWIG_Py_Void();
16016 {
16017 if (temp2)
16018 delete arg2;
16019 }
16020 return resultobj;
16021fail:
16022 {
16023 if (temp2)
16024 delete arg2;
16025 }
16026 return NULL;
16027}
16028
16029
16030SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj = 0;
16032 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16033 wxString const &arg2_defvalue = wxEmptyString ;
16034 wxString *arg2 = (wxString *) &arg2_defvalue ;
16035 bool result;
16036 void *argp1 = 0 ;
16037 int res1 = 0 ;
16038 bool temp2 = false ;
16039 PyObject * obj0 = 0 ;
16040 PyObject * obj1 = 0 ;
16041 char * kwnames[] = {
16042 (char *) "self",(char *) "file", NULL
16043 };
16044
16045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
16046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16047 if (!SWIG_IsOK(res1)) {
16048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16049 }
16050 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16051 if (obj1) {
d14a1e28 16052 {
554f62e9
RD
16053 arg2 = wxString_in_helper(obj1);
16054 if (arg2 == NULL) SWIG_fail;
16055 temp2 = true;
d14a1e28 16056 }
554f62e9
RD
16057 }
16058 {
16059 PyThreadState* __tstate = wxPyBeginAllowThreads();
16060 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 {
16065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16066 }
16067 {
16068 if (temp2)
16069 delete arg2;
16070 }
16071 return resultobj;
16072fail:
16073 {
16074 if (temp2)
16075 delete arg2;
16076 }
16077 return NULL;
d14a1e28
RD
16078}
16079
16080
554f62e9
RD
16081SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16082 PyObject *resultobj = 0;
16083 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16084 bool result;
16085 void *argp1 = 0 ;
16086 int res1 = 0 ;
16087 PyObject *swig_obj[1] ;
16088
16089 if (!args) SWIG_fail;
16090 swig_obj[0] = args;
16091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16092 if (!SWIG_IsOK(res1)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16094 }
16095 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 result = (bool)(arg1)->DisplayContents();
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 {
16103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16104 }
16105 return resultobj;
16106fail:
16107 return NULL;
d14a1e28
RD
16108}
16109
16110
554f62e9
RD
16111SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16112 PyObject *resultobj = 0;
16113 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16114 int arg2 ;
16115 bool result;
16116 void *argp1 = 0 ;
16117 int res1 = 0 ;
16118 int val2 ;
16119 int ecode2 = 0 ;
16120
16121 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16123 if (!SWIG_IsOK(res1)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16125 }
16126 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16127 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16128 if (!SWIG_IsOK(ecode2)) {
16129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16130 }
16131 arg2 = static_cast< int >(val2);
16132 {
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 result = (bool)(arg1)->DisplaySection(arg2);
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 {
16139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16140 }
16141 return resultobj;
16142fail:
16143 return NULL;
16144}
16145
16146
16147SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj = 0;
16149 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16150 int arg2 ;
16151 bool result;
16152 void *argp1 = 0 ;
16153 int res1 = 0 ;
16154 int val2 ;
16155 int ecode2 = 0 ;
16156 PyObject * obj0 = 0 ;
16157 PyObject * obj1 = 0 ;
16158 char * kwnames[] = {
16159 (char *) "self",(char *) "contextId", NULL
16160 };
16161
16162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16164 if (!SWIG_IsOK(res1)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16166 }
16167 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16168 ecode2 = SWIG_AsVal_int(obj1, &val2);
16169 if (!SWIG_IsOK(ecode2)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16171 }
16172 arg2 = static_cast< int >(val2);
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (bool)(arg1)->DisplayContextPopup(arg2);
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 {
16180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16181 }
16182 return resultobj;
16183fail:
16184 return NULL;
16185}
16186
16187
16188SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj = 0;
16190 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16191 wxString *arg2 = 0 ;
16192 wxPoint *arg3 = 0 ;
16193 bool result;
16194 void *argp1 = 0 ;
16195 int res1 = 0 ;
16196 bool temp2 = false ;
16197 wxPoint temp3 ;
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 PyObject * obj2 = 0 ;
16201 char * kwnames[] = {
16202 (char *) "self",(char *) "text",(char *) "pos", NULL
16203 };
16204
16205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16207 if (!SWIG_IsOK(res1)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16209 }
16210 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16211 {
16212 arg2 = wxString_in_helper(obj1);
16213 if (arg2 == NULL) SWIG_fail;
16214 temp2 = true;
16215 }
16216 {
16217 arg3 = &temp3;
16218 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16219 }
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 {
16227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16228 }
16229 {
16230 if (temp2)
16231 delete arg2;
16232 }
16233 return resultobj;
16234fail:
16235 {
16236 if (temp2)
16237 delete arg2;
16238 }
16239 return NULL;
d14a1e28
RD
16240}
16241
16242
554f62e9
RD
16243SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16244 PyObject *resultobj = 0;
16245 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16246 wxString *arg2 = 0 ;
16247 bool result;
16248 void *argp1 = 0 ;
16249 int res1 = 0 ;
16250 bool temp2 = false ;
16251
16252 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16254 if (!SWIG_IsOK(res1)) {
16255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16256 }
16257 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16258 {
16259 arg2 = wxString_in_helper(swig_obj[1]);
16260 if (arg2 == NULL) SWIG_fail;
16261 temp2 = true;
16262 }
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 {
16270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16271 }
16272 {
16273 if (temp2)
16274 delete arg2;
16275 }
16276 return resultobj;
16277fail:
16278 {
16279 if (temp2)
16280 delete arg2;
16281 }
16282 return NULL;
d14a1e28
RD
16283}
16284
16285
554f62e9
RD
16286SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16287 int argc;
16288 PyObject *argv[3];
16289
16290 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16291 --argc;
16292 if (argc == 2) {
16293 int _v = 0;
f20a2e1f 16294 {
554f62e9
RD
16295 {
16296 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16297 }
f20a2e1f 16298 }
554f62e9
RD
16299 if (!_v) goto check_1;
16300 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16301 }
16302check_1:
16303
16304 if (argc == 2) {
16305 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16306 }
16307
16308fail:
16309 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16310 return NULL;
16311}
16312
16313
16314SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj = 0;
16316 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16317 long arg2 ;
16318 bool result;
16319 void *argp1 = 0 ;
16320 int res1 = 0 ;
16321 long val2 ;
16322 int ecode2 = 0 ;
16323 PyObject * obj0 = 0 ;
16324 PyObject * obj1 = 0 ;
16325 char * kwnames[] = {
16326 (char *) "self",(char *) "blockNo", NULL
16327 };
16328
16329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16331 if (!SWIG_IsOK(res1)) {
16332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16333 }
16334 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16335 ecode2 = SWIG_AsVal_long(obj1, &val2);
16336 if (!SWIG_IsOK(ecode2)) {
16337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16338 }
16339 arg2 = static_cast< long >(val2);
16340 {
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 result = (bool)(arg1)->DisplayBlock(arg2);
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 {
16347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16348 }
16349 return resultobj;
16350fail:
16351 return NULL;
16352}
16353
16354
16355SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj = 0;
16357 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16358 wxString *arg2 = 0 ;
16359 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16360 bool result;
16361 void *argp1 = 0 ;
16362 int res1 = 0 ;
16363 bool temp2 = false ;
16364 void *argp3 ;
16365 int res3 = 0 ;
16366 PyObject * obj0 = 0 ;
16367 PyObject * obj1 = 0 ;
16368 PyObject * obj2 = 0 ;
16369 char * kwnames[] = {
16370 (char *) "self",(char *) "k",(char *) "mode", NULL
16371 };
16372
16373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16375 if (!SWIG_IsOK(res1)) {
16376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16377 }
16378 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16379 {
16380 arg2 = wxString_in_helper(obj1);
16381 if (arg2 == NULL) SWIG_fail;
16382 temp2 = true;
16383 }
16384 if (obj2) {
16385 {
16386 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16387 if (!SWIG_IsOK(res3)) {
16388 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16389 }
16390 if (!argp3) {
16391 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16392 } else {
16393 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16394 arg3 = *temp;
16395 if (SWIG_IsNewObj(res3)) delete temp;
16396 }
f20a2e1f 16397 }
554f62e9
RD
16398 }
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16407 }
16408 {
16409 if (temp2)
16410 delete arg2;
16411 }
16412 return resultobj;
16413fail:
16414 {
16415 if (temp2)
16416 delete arg2;
16417 }
16418 return NULL;
16419}
16420
16421
16422SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj = 0;
16424 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16425 wxString *arg2 = 0 ;
16426 wxSize *arg3 = 0 ;
16427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16429 bool arg5 = (bool) false ;
16430 void *argp1 = 0 ;
16431 int res1 = 0 ;
16432 bool temp2 = false ;
16433 wxSize temp3 ;
16434 wxPoint temp4 ;
16435 bool val5 ;
16436 int ecode5 = 0 ;
16437 PyObject * obj0 = 0 ;
16438 PyObject * obj1 = 0 ;
16439 PyObject * obj2 = 0 ;
16440 PyObject * obj3 = 0 ;
16441 PyObject * obj4 = 0 ;
16442 char * kwnames[] = {
16443 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16444 };
16445
16446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16448 if (!SWIG_IsOK(res1)) {
16449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16450 }
16451 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16452 {
16453 arg2 = wxString_in_helper(obj1);
16454 if (arg2 == NULL) SWIG_fail;
16455 temp2 = true;
16456 }
16457 {
16458 arg3 = &temp3;
16459 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16460 }
16461 if (obj3) {
d14a1e28 16462 {
554f62e9
RD
16463 arg4 = &temp4;
16464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 16465 }
554f62e9
RD
16466 }
16467 if (obj4) {
16468 ecode5 = SWIG_AsVal_bool(obj4, &val5);
16469 if (!SWIG_IsOK(ecode5)) {
16470 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16471 }
16472 arg5 = static_cast< bool >(val5);
16473 }
16474 {
16475 PyThreadState* __tstate = wxPyBeginAllowThreads();
16476 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 resultobj = SWIG_Py_Void();
16481 {
16482 if (temp2)
16483 delete arg2;
16484 }
16485 return resultobj;
16486fail:
16487 {
16488 if (temp2)
16489 delete arg2;
16490 }
16491 return NULL;
16492}
16493
16494
16495SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj = 0;
16497 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16498 wxSize *arg2 = (wxSize *) NULL ;
16499 wxPoint *arg3 = (wxPoint *) NULL ;
16500 bool *arg4 = (bool *) NULL ;
16501 wxFrame *result = 0 ;
16502 void *argp1 = 0 ;
16503 int res1 = 0 ;
16504 void *argp2 = 0 ;
16505 int res2 = 0 ;
16506 void *argp3 = 0 ;
16507 int res3 = 0 ;
16508 void *argp4 = 0 ;
16509 int res4 = 0 ;
16510 PyObject * obj0 = 0 ;
16511 PyObject * obj1 = 0 ;
16512 PyObject * obj2 = 0 ;
16513 PyObject * obj3 = 0 ;
16514 char * kwnames[] = {
16515 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16516 };
16517
16518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16520 if (!SWIG_IsOK(res1)) {
16521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16522 }
16523 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16524 if (obj1) {
16525 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
16526 if (!SWIG_IsOK(res2)) {
16527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
d14a1e28 16528 }
554f62e9
RD
16529 arg2 = reinterpret_cast< wxSize * >(argp2);
16530 }
16531 if (obj2) {
16532 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
16533 if (!SWIG_IsOK(res3)) {
16534 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
093d3ff1 16535 }
554f62e9
RD
16536 arg3 = reinterpret_cast< wxPoint * >(argp3);
16537 }
16538 if (obj3) {
16539 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
16540 if (!SWIG_IsOK(res4)) {
16541 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
d14a1e28 16542 }
554f62e9
RD
16543 arg4 = reinterpret_cast< bool * >(argp4);
16544 }
16545 {
16546 PyThreadState* __tstate = wxPyBeginAllowThreads();
16547 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 {
16552 resultobj = wxPyMake_wxObject(result, 0);
16553 }
16554 return resultobj;
16555fail:
16556 return NULL;
d14a1e28
RD
16557}
16558
16559
554f62e9
RD
16560SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16561 PyObject *resultobj = 0;
16562 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16563 bool result;
16564 void *argp1 = 0 ;
16565 int res1 = 0 ;
16566 PyObject *swig_obj[1] ;
16567
16568 if (!args) SWIG_fail;
16569 swig_obj[0] = args;
16570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16571 if (!SWIG_IsOK(res1)) {
16572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16573 }
16574 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 result = (bool)(arg1)->Quit();
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 {
16582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16583 }
16584 return resultobj;
16585fail:
16586 return NULL;
d14a1e28
RD
16587}
16588
16589
554f62e9
RD
16590SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16591 PyObject *resultobj = 0;
16592 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16593 void *argp1 = 0 ;
16594 int res1 = 0 ;
16595 PyObject *swig_obj[1] ;
16596
16597 if (!args) SWIG_fail;
16598 swig_obj[0] = args;
16599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16600 if (!SWIG_IsOK(res1)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16602 }
16603 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 (arg1)->OnQuit();
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = SWIG_Py_Void();
16611 return resultobj;
16612fail:
16613 return NULL;
16614}
16615
16616
16617SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj = 0;
16619 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16620 wxWindow *arg2 = (wxWindow *) 0 ;
16621 void *argp1 = 0 ;
16622 int res1 = 0 ;
16623 void *argp2 = 0 ;
16624 int res2 = 0 ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char * kwnames[] = {
16628 (char *) "self",(char *) "win", NULL
16629 };
16630
16631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16633 if (!SWIG_IsOK(res1)) {
16634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16635 }
16636 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16638 if (!SWIG_IsOK(res2)) {
16639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16640 }
16641 arg2 = reinterpret_cast< wxWindow * >(argp2);
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 (arg1)->SetParentWindow(arg2);
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 resultobj = SWIG_Py_Void();
16649 return resultobj;
16650fail:
16651 return NULL;
d14a1e28
RD
16652}
16653
16654
554f62e9
RD
16655SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16656 PyObject *resultobj = 0;
16657 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16658 wxWindow *result = 0 ;
16659 void *argp1 = 0 ;
16660 int res1 = 0 ;
16661 PyObject *swig_obj[1] ;
16662
16663 if (!args) SWIG_fail;
16664 swig_obj[0] = args;
16665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16666 if (!SWIG_IsOK(res1)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16668 }
16669 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 {
16677 resultobj = wxPyMake_wxObject(result, 0);
16678 }
16679 return resultobj;
16680fail:
16681 return NULL;
16682}
16683
16684
16685SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16686 PyObject *obj;
16687 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16688 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16689 return SWIG_Py_Void();
16690}
16691
16692SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16693 PyObject *resultobj = 0;
16694 int arg1 = (int) wxHF_DEFAULT_STYLE ;
16695 wxWindow *arg2 = (wxWindow *) NULL ;
16696 wxHtmlHelpController *result = 0 ;
16697 int val1 ;
16698 int ecode1 = 0 ;
16699 void *argp2 = 0 ;
16700 int res2 = 0 ;
16701 PyObject * obj0 = 0 ;
16702 PyObject * obj1 = 0 ;
16703 char * kwnames[] = {
16704 (char *) "style",(char *) "parentWindow", NULL
16705 };
16706
16707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16708 if (obj0) {
16709 ecode1 = SWIG_AsVal_int(obj0, &val1);
16710 if (!SWIG_IsOK(ecode1)) {
16711 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16712 }
16713 arg1 = static_cast< int >(val1);
16714 }
16715 if (obj1) {
16716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16717 if (!SWIG_IsOK(res2)) {
16718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 16719 }
554f62e9
RD
16720 arg2 = reinterpret_cast< wxWindow * >(argp2);
16721 }
16722 {
16723 if (!wxPyCheckForApp()) SWIG_fail;
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16730 return resultobj;
16731fail:
16732 return NULL;
d14a1e28
RD
16733}
16734
16735
554f62e9
RD
16736SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16737 PyObject *resultobj = 0;
16738 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16739 void *argp1 = 0 ;
16740 int res1 = 0 ;
16741 PyObject *swig_obj[1] ;
16742
16743 if (!args) SWIG_fail;
16744 swig_obj[0] = args;
16745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16746 if (!SWIG_IsOK(res1)) {
16747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16748 }
16749 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16750 {
16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
16752 delete arg1;
30ee79f7 16753
554f62e9
RD
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
16757 resultobj = SWIG_Py_Void();
16758 return resultobj;
16759fail:
16760 return NULL;
30ee79f7
RD
16761}
16762
16763
554f62e9
RD
16764SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16765 PyObject *resultobj = 0;
16766 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16767 wxHtmlHelpWindow *result = 0 ;
16768 void *argp1 = 0 ;
16769 int res1 = 0 ;
16770 PyObject *swig_obj[1] ;
16771
16772 if (!args) SWIG_fail;
16773 swig_obj[0] = args;
16774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16775 if (!SWIG_IsOK(res1)) {
16776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16777 }
16778 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 {
16786 resultobj = wxPyMake_wxObject(result, 0);
16787 }
16788 return resultobj;
16789fail:
16790 return NULL;
16791}
16792
16793
16794SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj = 0;
16796 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16797 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
16798 void *argp1 = 0 ;
16799 int res1 = 0 ;
16800 void *argp2 = 0 ;
16801 int res2 = 0 ;
16802 PyObject * obj0 = 0 ;
16803 PyObject * obj1 = 0 ;
16804 char * kwnames[] = {
16805 (char *) "self",(char *) "helpWindow", NULL
16806 };
16807
16808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16810 if (!SWIG_IsOK(res1)) {
16811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16812 }
16813 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16814 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
16815 if (!SWIG_IsOK(res2)) {
16816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16817 }
16818 arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 (arg1)->SetHelpWindow(arg2);
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_Py_Void();
16826 return resultobj;
16827fail:
16828 return NULL;
d14a1e28
RD
16829}
16830
16831
554f62e9
RD
16832SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16833 PyObject *resultobj = 0;
16834 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16835 wxHtmlHelpFrame *result = 0 ;
16836 void *argp1 = 0 ;
16837 int res1 = 0 ;
16838 PyObject *swig_obj[1] ;
16839
16840 if (!args) SWIG_fail;
16841 swig_obj[0] = args;
16842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16843 if (!SWIG_IsOK(res1)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16845 }
16846 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 {
16854 resultobj = wxPyMake_wxObject(result, 0);
16855 }
16856 return resultobj;
16857fail:
16858 return NULL;
d14a1e28
RD
16859}
16860
16861
554f62e9
RD
16862SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16863 PyObject *resultobj = 0;
16864 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16865 wxHtmlHelpDialog *result = 0 ;
16866 void *argp1 = 0 ;
16867 int res1 = 0 ;
16868 PyObject *swig_obj[1] ;
16869
16870 if (!args) SWIG_fail;
16871 swig_obj[0] = args;
16872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16873 if (!SWIG_IsOK(res1)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16875 }
16876 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16877 {
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 {
16884 resultobj = wxPyMake_wxObject(result, 0);
16885 }
16886 return resultobj;
16887fail:
16888 return NULL;
16889}
16890
16891
16892SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj = 0;
16894 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16895 wxString *arg2 = 0 ;
16896 void *argp1 = 0 ;
16897 int res1 = 0 ;
16898 bool temp2 = false ;
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj1 = 0 ;
16901 char * kwnames[] = {
16902 (char *) "self",(char *) "format", NULL
16903 };
16904
16905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
16906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16907 if (!SWIG_IsOK(res1)) {
16908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16909 }
16910 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16911 {
16912 arg2 = wxString_in_helper(obj1);
16913 if (arg2 == NULL) SWIG_fail;
16914 temp2 = true;
16915 }
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 (arg1)->SetTitleFormat((wxString const &)*arg2);
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = SWIG_Py_Void();
16923 {
16924 if (temp2)
16925 delete arg2;
16926 }
16927 return resultobj;
16928fail:
16929 {
16930 if (temp2)
16931 delete arg2;
16932 }
16933 return NULL;
d14a1e28
RD
16934}
16935
16936
554f62e9
RD
16937SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj = 0;
16939 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16940 wxString *arg2 = 0 ;
16941 void *argp1 = 0 ;
16942 int res1 = 0 ;
16943 bool temp2 = false ;
16944 PyObject * obj0 = 0 ;
16945 PyObject * obj1 = 0 ;
16946 char * kwnames[] = {
16947 (char *) "self",(char *) "path", NULL
16948 };
16949
16950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
16951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16952 if (!SWIG_IsOK(res1)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16954 }
16955 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16956 {
16957 arg2 = wxString_in_helper(obj1);
16958 if (arg2 == NULL) SWIG_fail;
16959 temp2 = true;
16960 }
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 (arg1)->SetTempDir((wxString const &)*arg2);
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 resultobj = SWIG_Py_Void();
16968 {
16969 if (temp2)
16970 delete arg2;
16971 }
16972 return resultobj;
16973fail:
16974 {
16975 if (temp2)
16976 delete arg2;
16977 }
16978 return NULL;
16979}
16980
16981
16982SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj = 0;
16984 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16985 wxString *arg2 = 0 ;
16986 int arg3 = (int) false ;
16987 bool result;
16988 void *argp1 = 0 ;
16989 int res1 = 0 ;
16990 bool temp2 = false ;
16991 int val3 ;
16992 int ecode3 = 0 ;
16993 PyObject * obj0 = 0 ;
16994 PyObject * obj1 = 0 ;
16995 PyObject * obj2 = 0 ;
16996 char * kwnames[] = {
16997 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16998 };
16999
17000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17002 if (!SWIG_IsOK(res1)) {
17003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17004 }
17005 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17006 {
17007 arg2 = wxString_in_helper(obj1);
17008 if (arg2 == NULL) SWIG_fail;
17009 temp2 = true;
17010 }
17011 if (obj2) {
17012 ecode3 = SWIG_AsVal_int(obj2, &val3);
17013 if (!SWIG_IsOK(ecode3)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17015 }
17016 arg3 = static_cast< int >(val3);
17017 }
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 {
17025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17026 }
17027 {
17028 if (temp2)
17029 delete arg2;
17030 }
17031 return resultobj;
17032fail:
17033 {
17034 if (temp2)
17035 delete arg2;
17036 }
17037 return NULL;
d14a1e28
RD
17038}
17039
17040
554f62e9
RD
17041SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17042 PyObject *resultobj = 0;
17043 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17044 wxString *arg2 = 0 ;
17045 void *argp1 = 0 ;
17046 int res1 = 0 ;
17047 bool temp2 = false ;
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 char * kwnames[] = {
17051 (char *) "self",(char *) "x", NULL
17052 };
17053
17054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17056 if (!SWIG_IsOK(res1)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17058 }
17059 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17060 {
17061 arg2 = wxString_in_helper(obj1);
17062 if (arg2 == NULL) SWIG_fail;
17063 temp2 = true;
17064 }
17065 {
17066 PyThreadState* __tstate = wxPyBeginAllowThreads();
17067 (arg1)->Display((wxString const &)*arg2);
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 resultobj = SWIG_Py_Void();
17072 {
17073 if (temp2)
17074 delete arg2;
17075 }
17076 return resultobj;
17077fail:
17078 {
17079 if (temp2)
17080 delete arg2;
17081 }
17082 return NULL;
17083}
17084
17085
17086SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17087 PyObject *resultobj = 0;
17088 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17089 int arg2 ;
17090 void *argp1 = 0 ;
17091 int res1 = 0 ;
17092 int val2 ;
17093 int ecode2 = 0 ;
17094 PyObject * obj0 = 0 ;
17095 PyObject * obj1 = 0 ;
17096 char * kwnames[] = {
17097 (char *) "self",(char *) "id", NULL
17098 };
17099
17100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17102 if (!SWIG_IsOK(res1)) {
17103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17104 }
17105 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17106 ecode2 = SWIG_AsVal_int(obj1, &val2);
17107 if (!SWIG_IsOK(ecode2)) {
17108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17109 }
17110 arg2 = static_cast< int >(val2);
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 (arg1)->Display(arg2);
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 resultobj = SWIG_Py_Void();
17118 return resultobj;
17119fail:
17120 return NULL;
d14a1e28
RD
17121}
17122
17123
554f62e9
RD
17124SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17125 PyObject *resultobj = 0;
17126 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17127 void *argp1 = 0 ;
17128 int res1 = 0 ;
17129 PyObject *swig_obj[1] ;
17130
17131 if (!args) SWIG_fail;
17132 swig_obj[0] = args;
17133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17134 if (!SWIG_IsOK(res1)) {
17135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17136 }
17137 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 (arg1)->DisplayContents();
17141 wxPyEndAllowThreads(__tstate);
17142 if (PyErr_Occurred()) SWIG_fail;
17143 }
17144 resultobj = SWIG_Py_Void();
17145 return resultobj;
17146fail:
17147 return NULL;
d14a1e28
RD
17148}
17149
17150
554f62e9
RD
17151SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17152 PyObject *resultobj = 0;
17153 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17154 void *argp1 = 0 ;
17155 int res1 = 0 ;
17156 PyObject *swig_obj[1] ;
17157
17158 if (!args) SWIG_fail;
17159 swig_obj[0] = args;
17160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17161 if (!SWIG_IsOK(res1)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17163 }
17164 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 (arg1)->DisplayIndex();
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 resultobj = SWIG_Py_Void();
17172 return resultobj;
17173fail:
17174 return NULL;
17175}
17176
17177
17178SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj = 0;
17180 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17181 wxString *arg2 = 0 ;
17182 bool result;
17183 void *argp1 = 0 ;
17184 int res1 = 0 ;
17185 bool temp2 = false ;
17186 PyObject * obj0 = 0 ;
17187 PyObject * obj1 = 0 ;
17188 char * kwnames[] = {
17189 (char *) "self",(char *) "keyword", NULL
17190 };
17191
17192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17194 if (!SWIG_IsOK(res1)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17196 }
17197 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17198 {
17199 arg2 = wxString_in_helper(obj1);
17200 if (arg2 == NULL) SWIG_fail;
17201 temp2 = true;
17202 }
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17206 wxPyEndAllowThreads(__tstate);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 }
17209 {
17210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17211 }
17212 {
17213 if (temp2)
17214 delete arg2;
17215 }
17216 return resultobj;
17217fail:
17218 {
17219 if (temp2)
17220 delete arg2;
17221 }
17222 return NULL;
17223}
17224
17225
17226SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj = 0;
17228 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17229 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17230 wxString const &arg3_defvalue = wxPyEmptyString ;
17231 wxString *arg3 = (wxString *) &arg3_defvalue ;
17232 void *argp1 = 0 ;
17233 int res1 = 0 ;
17234 void *argp2 = 0 ;
17235 int res2 = 0 ;
17236 bool temp3 = false ;
17237 PyObject * obj0 = 0 ;
17238 PyObject * obj1 = 0 ;
17239 PyObject * obj2 = 0 ;
17240 char * kwnames[] = {
17241 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17242 };
17243
17244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17246 if (!SWIG_IsOK(res1)) {
17247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17248 }
17249 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17250 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17251 if (!SWIG_IsOK(res2)) {
17252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17253 }
17254 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17255 if (obj2) {
ae8162c8 17256 {
554f62e9
RD
17257 arg3 = wxString_in_helper(obj2);
17258 if (arg3 == NULL) SWIG_fail;
17259 temp3 = true;
ae8162c8 17260 }
554f62e9
RD
17261 }
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
17268 resultobj = SWIG_Py_Void();
17269 {
17270 if (temp3)
17271 delete arg3;
17272 }
17273 return resultobj;
17274fail:
17275 {
17276 if (temp3)
17277 delete arg3;
17278 }
17279 return NULL;
17280}
17281
17282
17283SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj = 0;
17285 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17286 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17287 wxString arg3 = (wxString) wxPyEmptyString ;
17288 void *argp1 = 0 ;
17289 int res1 = 0 ;
17290 void *argp2 = 0 ;
17291 int res2 = 0 ;
17292 PyObject * obj0 = 0 ;
17293 PyObject * obj1 = 0 ;
17294 PyObject * obj2 = 0 ;
17295 char * kwnames[] = {
17296 (char *) "self",(char *) "cfg",(char *) "path", NULL
17297 };
17298
17299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17301 if (!SWIG_IsOK(res1)) {
17302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17303 }
17304 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17305 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17306 if (!SWIG_IsOK(res2)) {
17307 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17308 }
17309 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17310 if (obj2) {
ae8162c8 17311 {
554f62e9
RD
17312 wxString* sptr = wxString_in_helper(obj2);
17313 if (sptr == NULL) SWIG_fail;
17314 arg3 = *sptr;
17315 delete sptr;
8edf1c75 17316 }
554f62e9
RD
17317 }
17318 {
17319 PyThreadState* __tstate = wxPyBeginAllowThreads();
17320 (arg1)->ReadCustomization(arg2,arg3);
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 resultobj = SWIG_Py_Void();
17325 return resultobj;
17326fail:
17327 return NULL;
17328}
17329
17330
17331SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj = 0;
17333 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17334 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17335 wxString arg3 = (wxString) wxPyEmptyString ;
17336 void *argp1 = 0 ;
17337 int res1 = 0 ;
17338 void *argp2 = 0 ;
17339 int res2 = 0 ;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 PyObject * obj2 = 0 ;
17343 char * kwnames[] = {
17344 (char *) "self",(char *) "cfg",(char *) "path", NULL
17345 };
17346
17347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17349 if (!SWIG_IsOK(res1)) {
17350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17351 }
17352 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17354 if (!SWIG_IsOK(res2)) {
17355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17356 }
17357 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17358 if (obj2) {
d14a1e28 17359 {
554f62e9
RD
17360 wxString* sptr = wxString_in_helper(obj2);
17361 if (sptr == NULL) SWIG_fail;
17362 arg3 = *sptr;
17363 delete sptr;
d14a1e28 17364 }
554f62e9
RD
17365 }
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 (arg1)->WriteCustomization(arg2,arg3);
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 resultobj = SWIG_Py_Void();
17373 return resultobj;
17374fail:
17375 return NULL;
d14a1e28
RD
17376}
17377
17378
554f62e9
RD
17379SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17380 PyObject *resultobj = 0;
17381 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17382 void *argp1 = 0 ;
17383 int res1 = 0 ;
17384 PyObject *swig_obj[1] ;
17385
17386 if (!args) SWIG_fail;
17387 swig_obj[0] = args;
17388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17389 if (!SWIG_IsOK(res1)) {
17390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17391 }
17392 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17393 {
17394 PyThreadState* __tstate = wxPyBeginAllowThreads();
17395 (arg1)->MakeModalIfNeeded();
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 resultobj = SWIG_Py_Void();
17400 return resultobj;
17401fail:
17402 return NULL;
d14a1e28
RD
17403}
17404
17405
554f62e9
RD
17406SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17407 PyObject *resultobj = 0;
17408 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17409 wxWindow *result = 0 ;
17410 void *argp1 = 0 ;
17411 int res1 = 0 ;
17412 PyObject *swig_obj[1] ;
17413
17414 if (!args) SWIG_fail;
17415 swig_obj[0] = args;
17416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17417 if (!SWIG_IsOK(res1)) {
17418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17419 }
17420 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17421 {
17422 PyThreadState* __tstate = wxPyBeginAllowThreads();
17423 result = (wxWindow *)(arg1)->FindTopLevelWindow();
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 {
17428 resultobj = wxPyMake_wxObject(result, 0);
17429 }
17430 return resultobj;
17431fail:
17432 return NULL;
17433}
17434
17435
17436SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17437 PyObject *obj;
17438 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17439 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17440 return SWIG_Py_Void();
17441}
17442
17443SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17444 return SWIG_Python_InitShadowInstance(args);
17445}
17446
17447SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj = 0;
17449 wxWindow *arg1 = (wxWindow *) 0 ;
17450 wxString *arg2 = 0 ;
17451 wxString const &arg3_defvalue = wxEmptyString ;
17452 wxString *arg3 = (wxString *) &arg3_defvalue ;
17453 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17454 wxHtmlModalHelp *result = 0 ;
17455 void *argp1 = 0 ;
17456 int res1 = 0 ;
17457 bool temp2 = false ;
17458 bool temp3 = false ;
17459 int val4 ;
17460 int ecode4 = 0 ;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 PyObject * obj2 = 0 ;
17464 PyObject * obj3 = 0 ;
17465 char * kwnames[] = {
17466 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17467 };
17468
17469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17471 if (!SWIG_IsOK(res1)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17473 }
17474 arg1 = reinterpret_cast< wxWindow * >(argp1);
17475 {
17476 arg2 = wxString_in_helper(obj1);
17477 if (arg2 == NULL) SWIG_fail;
17478 temp2 = true;
17479 }
17480 if (obj2) {
d14a1e28 17481 {
554f62e9
RD
17482 arg3 = wxString_in_helper(obj2);
17483 if (arg3 == NULL) SWIG_fail;
17484 temp3 = true;
d14a1e28 17485 }
554f62e9
RD
17486 }
17487 if (obj3) {
17488 ecode4 = SWIG_AsVal_int(obj3, &val4);
17489 if (!SWIG_IsOK(ecode4)) {
17490 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17491 }
17492 arg4 = static_cast< int >(val4);
17493 }
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17501 {
17502 if (temp2)
17503 delete arg2;
17504 }
17505 {
17506 if (temp3)
17507 delete arg3;
17508 }
17509 return resultobj;
17510fail:
17511 {
17512 if (temp2)
17513 delete arg2;
17514 }
17515 {
17516 if (temp3)
17517 delete arg3;
17518 }
17519 return NULL;
d14a1e28
RD
17520}
17521
17522
554f62e9
RD
17523SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17524 PyObject *obj;
17525 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17526 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17527 return SWIG_Py_Void();
d14a1e28
RD
17528}
17529
554f62e9
RD
17530SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17531 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
17532}
17533
d14a1e28 17534static PyMethodDef SwigMethods[] = {
093d3ff1 17535 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17536 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17537 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17538 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17539 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
093d3ff1
RD
17540 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17541 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17542 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17543 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17544 { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
093d3ff1
RD
17545 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17546 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17547 { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17548 { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17549 { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17550 { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17551 { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
093d3ff1
RD
17552 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17553 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17554 { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
093d3ff1
RD
17555 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17556 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17557 { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
093d3ff1 17558 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17559 { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
093d3ff1 17560 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17561 { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
093d3ff1 17562 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17563 { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
e9d6f3a4 17564 { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
17565 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17566 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17567 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17568 { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17569 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17570 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
17571 { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL},
e9d6f3a4 17572 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
093d3ff1
RD
17573 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17574 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17575 { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17576 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
093d3ff1 17577 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17578 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17579 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
093d3ff1 17580 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17581 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
093d3ff1 17582 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17583 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
093d3ff1 17584 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17585 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
093d3ff1 17586 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17587 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
093d3ff1 17588 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17589 { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
093d3ff1 17590 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17591 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
093d3ff1 17592 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17593 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
093d3ff1
RD
17594 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17595 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17596 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17597 { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
093d3ff1 17598 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17599 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17600 { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
093d3ff1
RD
17601 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17602 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17603 { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
093d3ff1
RD
17604 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17605 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17606 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17607 { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
093d3ff1
RD
17608 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17609 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17610 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
093d3ff1
RD
17611 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17612 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
554f62e9 17613 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
093d3ff1 17614 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17615 { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17616 { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
093d3ff1
RD
17617 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17618 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17619 { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17620 { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17621 { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17622 { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17623 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17624 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
093d3ff1
RD
17625 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17626 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17627 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17628 { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
093d3ff1 17629 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17630 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17631 { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17632 { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
093d3ff1 17633 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17634 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
093d3ff1 17635 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17636 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
093d3ff1 17637 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17638 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
093d3ff1 17639 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
554f62e9 17640 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17641 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17642 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17643 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
093d3ff1 17644 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17645 { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17646 { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
093d3ff1 17647 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17648 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
093d3ff1 17649 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17650 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17651 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
093d3ff1 17652 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17653 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17654 { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17655 { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17656 { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17657 { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17658 { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17659 { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17660 { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17661 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17662 { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
093d3ff1
RD
17663 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17664 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17665 { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17666 { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17667 { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
e9d6f3a4 17668 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17669 { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL},
17670 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
093d3ff1
RD
17671 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17672 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17673 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17674 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17675 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17676 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17677 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17678 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17679 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
17680 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
17681 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17682 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17683 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
093d3ff1 17684 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4
RD
17685 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17686 { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
554f62e9
RD
17687 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17688 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17689 { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
093d3ff1
RD
17690 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17691 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17692 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
554f62e9 17693 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
093d3ff1 17694 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 17695 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17696 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
b1fcee84 17697 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17698 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
554f62e9 17699 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17700 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17701 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17702 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17703 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
093d3ff1 17704 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17705 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
093d3ff1
RD
17706 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17707 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17708 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17709 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17710 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17711 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17712 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17713 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17714 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
093d3ff1 17715 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17716 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
093d3ff1 17717 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
554f62e9 17718 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17719 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17720 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
554f62e9 17721 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17722 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17723 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
554f62e9 17724 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17725 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17726 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17727 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17728 { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
093d3ff1
RD
17729 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17730 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
554f62e9 17731 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
e9d6f3a4
RD
17732 { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17733 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17734 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17735 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17736 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17737 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17738 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17739 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17740 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
093d3ff1 17741 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17742 { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
093d3ff1
RD
17743 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17744 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17745 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17746 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17747 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17748 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17749 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17750 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17751 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
093d3ff1 17752 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17753 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
093d3ff1
RD
17754 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
17755 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17756 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17757 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 17758 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
17759 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17760 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17761 { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
17762 { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
17763 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
17764 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
17765 { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
17766 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
17767 { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
093d3ff1
RD
17768 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17769 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17770 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17771 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
17772 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17773 { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
17774 { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
17775 { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
b06b3e70
RD
17776 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17777 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17778 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
17779 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17780 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17781 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17782 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17783 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17784 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
17785 { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
17786 { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
093d3ff1
RD
17787 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17788 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17789 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17790 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17791 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17792 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17793 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
093d3ff1 17794 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
554f62e9 17795 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17796 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
17797 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17798 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
17799 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17800 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17801 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17802 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17803 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17804 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17805 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
093d3ff1 17806 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
554f62e9 17807 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
093d3ff1 17808 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17809 { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
093d3ff1
RD
17810 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
17811 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
17812 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
17813 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17814 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
093d3ff1
RD
17815 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17816 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17817 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17818 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17819 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
17820 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
093d3ff1 17821 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
554f62e9 17822 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
093d3ff1 17823 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17824 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
17825 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
17826 { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
17827 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
093d3ff1 17828 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17829 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
17830 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
093d3ff1
RD
17831 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17832 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
17833 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17834 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
17835 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17836 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
17837 { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
17838 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
17839 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
17840 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
17841 { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
093d3ff1 17842 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
554f62e9
RD
17843 { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
17844 { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
093d3ff1
RD
17845 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17846 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17847 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
17848 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17849 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
093d3ff1 17850 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
554f62e9 17851 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
7449af73
RD
17852 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17853 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17854 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17855 { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
17856 { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
7449af73
RD
17857 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
17858 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17859 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17860 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
17861 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
7449af73
RD
17862 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17863 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17864 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17865 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17866 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
17867 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
17868 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
17869 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
17870 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
17871 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
17872 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
7449af73 17873 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
554f62e9 17874 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
7449af73
RD
17875 { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17876 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17877 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction)_wrap_HtmlWindowEvent_GetURL, METH_O, NULL},
7449af73 17878 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL},
554f62e9 17879 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 17880 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
7449af73
RD
17881 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
17882 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17883 { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
093d3ff1 17884 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17885 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
17886 { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
7449af73 17887 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17888 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
093d3ff1 17889 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
554f62e9 17890 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
7449af73
RD
17891 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17892 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
17893 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17894 { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
17895 { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
7449af73 17896 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17897 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
7449af73
RD
17898 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17899 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
554f62e9 17900 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
7449af73
RD
17901 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
17902 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
17903 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17904 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
7449af73
RD
17905 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17906 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
17907 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
17908 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
17909 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17910 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
17911 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17912 { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
17913 { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
7449af73 17914 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 17915 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
7449af73 17916 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
093d3ff1 17917 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17918 { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
17919 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
7449af73 17920 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17921 { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
17922 { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
093d3ff1
RD
17923 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
17924 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17925 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17926 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
17927 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17928 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
17929 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
093d3ff1
RD
17930 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
17931 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
17932 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17933 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
17934 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
17935 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
093d3ff1 17936 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
554f62e9 17937 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
7449af73
RD
17938 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
17939 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
554f62e9 17940 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
c32bde28 17941 { NULL, NULL, 0, NULL }
d14a1e28
RD
17942};
17943
17944
17945/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17946
17947static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
17948 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
17949}
7449af73
RD
17950static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17951 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 17952}
7449af73
RD
17953static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17954 return (void *)((wxEvent *) ((wxMenuEvent *) x));
d14a1e28 17955}
7449af73
RD
17956static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17957 return (void *)((wxEvent *) ((wxCloseEvent *) x));
a2482628 17958}
7449af73
RD
17959static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17960 return (void *)((wxEvent *) ((wxMouseEvent *) x));
d14a1e28 17961}
7449af73
RD
17962static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17963 return (void *)((wxEvent *) ((wxEraseEvent *) x));
d14a1e28 17964}
7449af73
RD
17965static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17966 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 17967}
7449af73
RD
17968static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
17969 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 17970}
7449af73
RD
17971static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17972 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 17973}
7449af73
RD
17974static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
d14a1e28 17976}
7449af73
RD
17977static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
17978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
17979}
17980static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17981 return (void *)((wxEvent *) ((wxPyEvent *) x));
17982}
17983static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17984 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17985}
17986static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
17987 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
17988}
17989static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17990 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17991}
17992static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17993 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17994}
17995static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17996 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17997}
17998static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17999 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
18000}
18001static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
18002 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
18003}
18004static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
18005 return (void *)((wxEvent *) ((wxActivateEvent *) x));
18006}
18007static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
18008 return (void *)((wxEvent *) ((wxSizeEvent *) x));
18009}
18010static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
18011 return (void *)((wxEvent *) ((wxMoveEvent *) x));
18012}
18013static void *_p_wxDateEventTo_p_wxEvent(void *x) {
18014 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
18015}
18016static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
18017 return (void *)((wxEvent *) ((wxPaintEvent *) x));
18018}
18019static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
18020 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
18021}
18022static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
18023 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
18024}
18025static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
18026 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
18027}
18028static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
18029 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
18030}
18031static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18032 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
18033}
18034static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18035 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18036}
18037static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18038 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18039}
18040static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18041 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18042}
18043static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18044 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18045}
18046static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18047 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18048}
18049static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18050 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18051}
18052static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18053 return (void *)((wxEvent *) ((wxShowEvent *) x));
18054}
18055static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) {
18056 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18057}
18058static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18059 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18060}
18061static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18062 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18063}
18064static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18065 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18066}
18067static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18068 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18069}
18070static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18071 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18072}
18073static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18074 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18075}
18076static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18077 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18078}
18079static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18080 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18081}
18082static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18083 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18084}
18085static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18086 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18087}
18088static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18089 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18090}
18091static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18092 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18093}
18094static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) {
18095 return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
18096}
18097static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
18098 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
18099}
18100static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18102}
18103static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18105}
18106static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18107 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18108}
18109static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18110 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18111}
18112static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18113 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18114}
18115static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18116 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18117}
18118static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18119 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18120}
18121static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18122 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18123}
18124static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18125 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18126}
18127static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18128 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18129}
18130static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18131 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18132}
18133static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18134 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18135}
18136static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18137 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18138}
18139static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18140 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18141}
18142static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18144}
18145static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18146 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18147}
18148static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18150}
18151static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18152 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18153}
18154static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18156}
18157static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18158 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18159}
18160static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18161 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18162}
18163static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18164 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 18165}
7449af73
RD
18166static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18167 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
a2482628 18168}
7449af73
RD
18169static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18170 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 18171}
7449af73
RD
18172static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18173 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 18174}
7449af73
RD
18175static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18176 return (void *)((wxEvtHandler *) ((wxWindow *) x));
d14a1e28 18177}
7449af73
RD
18178static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18179 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 18180}
7449af73
RD
18181static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18182 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 18183}
7449af73
RD
18184static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18185 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 18186}
7449af73
RD
18187static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18188 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18189}
7449af73
RD
18190static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18192}
7449af73
RD
18193static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18194 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 18195}
7449af73
RD
18196static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18197 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
c1cb24a4 18198}
7449af73
RD
18199static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18201}
7449af73
RD
18202static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18204}
7449af73
RD
18205static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18207}
7449af73
RD
18208static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18209 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 18210}
7449af73
RD
18211static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 18213}
7449af73
RD
18214static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18215 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
d14a1e28 18216}
7449af73
RD
18217static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18218 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18219}
7449af73
RD
18220static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18221 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 18222}
7449af73
RD
18223static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18224 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 18225}
7449af73
RD
18226static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18227 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 18228}
7449af73
RD
18229static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18230 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 18231}
7449af73
RD
18232static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18233 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 18234}
7449af73
RD
18235static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18236 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18237}
7449af73
RD
18238static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18239 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18240}
7449af73
RD
18241static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18242 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 18243}
7449af73
RD
18244static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18245 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 18246}
7449af73
RD
18247static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18248 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
c1cb24a4 18249}
7449af73
RD
18250static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18251 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
a2482628 18252}
7449af73
RD
18253static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18254 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18255}
7449af73
RD
18256static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18257 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18258}
7449af73
RD
18259static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18260 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 18261}
7449af73
RD
18262static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18263 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18264}
7449af73
RD
18265static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
18266 return (void *)((wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18267}
7449af73
RD
18268static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18269 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18270}
7449af73
RD
18271static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18272 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18273}
7449af73
RD
18274static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18275 return (void *)((wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18276}
7449af73
RD
18277static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18278 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18279}
7449af73
RD
18280static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18281 return (void *)((wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18282}
7449af73
RD
18283static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18284 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18285}
7449af73
RD
18286static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18287 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 18288}
7449af73
RD
18289static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
d14a1e28 18291}
7449af73
RD
18292static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18294}
7449af73
RD
18295static void *_p_wxEventTo_p_wxObject(void *x) {
18296 return (void *)((wxObject *) ((wxEvent *) x));
d14a1e28 18297}
7449af73
RD
18298static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 18300}
7449af73
RD
18301static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18302 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 18303}
7449af73
RD
18304static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18305 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
c1cb24a4 18306}
7449af73
RD
18307static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18308 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 18309}
7449af73
RD
18310static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18312}
7449af73
RD
18313static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18315}
7449af73
RD
18316static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18317 return (void *)((wxObject *) ((wxHtmlTag *) x));
d14a1e28 18318}
7449af73
RD
18319static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18320 return (void *)((wxObject *) ((wxMenuItem *) x));
c1cb24a4 18321}
7449af73
RD
18322static void *_p_wxImageTo_p_wxObject(void *x) {
18323 return (void *)((wxObject *) ((wxImage *) x));
d14a1e28 18324}
7449af73
RD
18325static void *_p_wxPySizerTo_p_wxObject(void *x) {
18326 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
d14a1e28 18327}
7449af73
RD
18328static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18329 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
2f91e3df 18330}
7449af73
RD
18331static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18332 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
2f91e3df 18333}
7449af73
RD
18334static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18335 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
2f91e3df 18336}
7449af73
RD
18337static void *_p_wxPyAppTo_p_wxObject(void *x) {
18338 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
2f91e3df 18339}
7449af73
RD
18340static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
2f91e3df 18342}
7449af73
RD
18343static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
2f91e3df 18345}
7449af73
RD
18346static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18347 return (void *)((wxObject *) ((wxFindReplaceData *) x));
2f91e3df 18348}
7449af73
RD
18349static void *_p_wxValidatorTo_p_wxObject(void *x) {
18350 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
2f91e3df 18351}
7449af73
RD
18352static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18353 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
2f91e3df 18354}
7449af73
RD
18355static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18356 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
2f91e3df 18357}
7449af73
RD
18358static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18359 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
2f91e3df 18360}
7449af73
RD
18361static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18362 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
2f91e3df 18363}
7449af73
RD
18364static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18365 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
2f91e3df 18366}
7449af73
RD
18367static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18368 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
2f91e3df 18369}
7449af73
RD
18370static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18371 return (void *)((wxObject *) ((wxPrintDialogData *) x));
d14a1e28 18372}
7449af73
RD
18373static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18374 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
d14a1e28 18375}
7449af73
RD
18376static void *_p_wxPrinterTo_p_wxObject(void *x) {
18377 return (void *)((wxObject *) ((wxPrinter *) x));
d14a1e28 18378}
7449af73
RD
18379static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 18381}
7449af73
RD
18382static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18383 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 18384}
7449af73
RD
18385static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18386 return (void *)((wxObject *) ((wxHtmlParser *) x));
d14a1e28 18387}
7449af73
RD
18388static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18389 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
d14a1e28 18390}
7449af73
RD
18391static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18392 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
d14a1e28 18393}
7449af73
RD
18394static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18395 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
d14a1e28 18396}
7449af73
RD
18397static void *_p_wxControlTo_p_wxObject(void *x) {
18398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
d14a1e28 18399}
7449af73
RD
18400static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18402}
7449af73
RD
18403static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18404 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
d14a1e28 18405}
7449af73
RD
18406static void *_p_wxColourDataTo_p_wxObject(void *x) {
18407 return (void *)((wxObject *) ((wxColourData *) x));
d14a1e28 18408}
7449af73
RD
18409static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18410 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
d14a1e28 18411}
7449af73
RD
18412static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18413 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
d14a1e28 18414}
7449af73
RD
18415static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18416 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
d14a1e28 18417}
7449af73
RD
18418static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18419 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
d14a1e28 18420}
7449af73
RD
18421static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18422 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
d14a1e28 18423}
7449af73
RD
18424static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18425 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
d14a1e28 18426}
7449af73
RD
18427static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18428 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
d14a1e28 18429}
7449af73
RD
18430static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18431 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
d14a1e28 18432}
7449af73
RD
18433static void *_p_wxDateEventTo_p_wxObject(void *x) {
18434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
d14a1e28 18435}
7449af73
RD
18436static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18437 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
d14a1e28 18438}
7449af73
RD
18439static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18440 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 18441}
7449af73
RD
18442static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18443 return (void *)((wxObject *) ((wxPyPrintout *) x));
d14a1e28 18444}
7449af73
RD
18445static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18447}
7449af73
RD
18448static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18449 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
d14a1e28 18450}
7449af73
RD
18451static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18452 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
d14a1e28 18453}
7449af73
RD
18454static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18455 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
d14a1e28 18456}
7449af73
RD
18457static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18458 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
d14a1e28 18459}
7449af73
RD
18460static void *_p_wxSashEventTo_p_wxObject(void *x) {
18461 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
d14a1e28 18462}
7449af73
RD
18463static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 18465}
7449af73
RD
18466static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 18468}
7449af73
RD
18469static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18470 return (void *)((wxObject *) ((wxPrintData *) x));
d14a1e28 18471}
7449af73
RD
18472static void *_p_wxFontDataTo_p_wxObject(void *x) {
18473 return (void *)((wxObject *) ((wxFontData *) x));
d14a1e28 18474}
7449af73
RD
18475static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18477}
7449af73
RD
18478static void *_p_wxFrameTo_p_wxObject(void *x) {
18479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18480}
7449af73
RD
18481static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
d14a1e28 18483}
7449af73
RD
18484static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18485 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
d14a1e28 18486}
7449af73
RD
18487static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18489}
7449af73
RD
18490static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18491 return (void *)((wxObject *) ((wxFileSystem *) x));
d14a1e28 18492}
7449af73
RD
18493static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18494 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
d14a1e28 18495}
7449af73
RD
18496static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18497 return (void *)((wxObject *) ((wxPrintPreview *) x));
d14a1e28 18498}
7449af73
RD
18499static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18500 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
d14a1e28 18501}
7449af73
RD
18502static void *_p_wxSizerTo_p_wxObject(void *x) {
18503 return (void *)((wxObject *) ((wxSizer *) x));
d14a1e28 18504}
7449af73
RD
18505static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18506 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
d14a1e28 18507}
7449af73
RD
18508static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18509 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
d14a1e28 18510}
7449af73
RD
18511static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18512 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
d14a1e28 18513}
7449af73
RD
18514static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18515 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
d14a1e28 18516}
7449af73
RD
18517static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18518 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
d14a1e28 18519}
7449af73
RD
18520static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18521 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
d14a1e28 18522}
7449af73
RD
18523static void *_p_wxFSFileTo_p_wxObject(void *x) {
18524 return (void *)((wxObject *) ((wxFSFile *) x));
d14a1e28 18525}
7449af73
RD
18526static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18527 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 18528}
7449af73
RD
18529static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18530 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 18531}
7449af73
RD
18532static void *_p_wxMenuTo_p_wxObject(void *x) {
18533 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
c1cb24a4 18534}
7449af73
RD
18535static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18536 return (void *)((wxObject *) ((wxSizerItem *) x));
d14a1e28 18537}
7449af73
RD
18538static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18539 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
d14a1e28 18540}
7449af73
RD
18541static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18543}
7449af73
RD
18544static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18545 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28 18546}
7449af73
RD
18547static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18548 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28 18549}
7449af73
RD
18550static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 18552}
7449af73
RD
18553static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
53aa7709 18555}
7449af73
RD
18556static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 18558}
7449af73
RD
18559static void *_p_wxDialogTo_p_wxObject(void *x) {
18560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 18561}
7449af73
RD
18562static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
d14a1e28 18564}
7449af73
RD
18565static void *_p_wxPyEventTo_p_wxObject(void *x) {
18566 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
d14a1e28 18567}
7449af73
RD
18568static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18569 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 18570}
7449af73
RD
18571static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18572 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
d14a1e28 18573}
7449af73
RD
18574static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18575 return (void *)((wxObject *) ((wxEvtHandler *) x));
d14a1e28 18576}
7449af73
RD
18577static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18578 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
d14a1e28 18579}
7449af73
RD
18580static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18581 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
d14a1e28 18582}
7449af73
RD
18583static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18584 return (void *)((wxObject *) ((wxImageHandler *) x));
d14a1e28 18585}
7449af73
RD
18586static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18587 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
d14a1e28 18588}
7449af73
RD
18589static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18590 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
d14a1e28 18591}
7449af73
RD
18592static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18593 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
d14a1e28 18594}
7449af73
RD
18595static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18596 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
d14a1e28
RD
18597}
18598static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18599 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
18600}
7449af73
RD
18601static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18602 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
d14a1e28 18603}
7449af73
RD
18604static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18605 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
d14a1e28 18606}
7449af73
RD
18607static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18608 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
d14a1e28 18609}
7449af73
RD
18610static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18611 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
9d7dfdff 18612}
7449af73
RD
18613static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18614 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
d14a1e28 18615}
7449af73
RD
18616static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) {
18617 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
9d7dfdff 18618}
7449af73
RD
18619static void *_p_wxShowEventTo_p_wxObject(void *x) {
18620 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
d14a1e28 18621}
7449af73
RD
18622static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 18624}
7449af73
RD
18625static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18627}
7449af73
RD
18628static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18630}
7449af73
RD
18631static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 18633}
7449af73
RD
18634static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 18636}
7449af73
RD
18637static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 18639}
7449af73
RD
18640static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
51b83b37 18642}
7449af73
RD
18643static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
d14a1e28 18645}
7449af73
RD
18646static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 18648}
7449af73
RD
18649static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
d14a1e28 18651}
7449af73
RD
18652static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 18654}
7449af73
RD
18655static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 18657}
7449af73
RD
18658static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 18660}
7449af73
RD
18661static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 18663}
7449af73
RD
18664static void *_p_wxWindowTo_p_wxObject(void *x) {
18665 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
d14a1e28 18666}
7449af73
RD
18667static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18668 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
d14a1e28
RD
18669}
18670static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18671 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
18672}
7449af73
RD
18673static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 18675}
7449af73
RD
18676static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18678}
7449af73
RD
18679static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 18681}
7449af73
RD
18682static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 18684}
7449af73
RD
18685static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18687}
7449af73
RD
18688static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 18690}
7449af73
RD
18691static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18693}
7449af73
RD
18694static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 18696}
7449af73
RD
18697static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18698 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
41f1cec7 18699}
7449af73
RD
18700static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
d14a1e28 18702}
7449af73
RD
18703static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18704 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
d14a1e28 18705}
7449af73
RD
18706static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18707 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
d14a1e28 18708}
7449af73
RD
18709static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18710 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
d14a1e28 18711}
7449af73
RD
18712static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18713 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
d14a1e28 18714}
7449af73
RD
18715static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18716 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
d14a1e28 18717}
7449af73
RD
18718static void *_p_wxPanelTo_p_wxObject(void *x) {
18719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
d14a1e28 18720}
7449af73
RD
18721static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
18722 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
d14a1e28 18723}
7449af73
RD
18724static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18725 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
d14a1e28 18726}
7449af73
RD
18727static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
18728 return (void *)((wxObject *) ((wxHtmlCell *) x));
d14a1e28 18729}
7449af73
RD
18730static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18731 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
a2482628 18732}
7449af73
RD
18733static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18734 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 18735}
7449af73
RD
18736static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18737 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
d14a1e28 18738}
7449af73
RD
18739static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18740 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
d14a1e28 18741}
7449af73
RD
18742static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
18743 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
d14a1e28 18744}
7449af73
RD
18745static void *_p_wxStatusBarTo_p_wxObject(void *x) {
18746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
d14a1e28 18747}
7449af73
RD
18748static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18749 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
18750}
18751static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18752 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
18753}
18754static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18755 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
18756}
18757static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
18758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18759}
7449af73
RD
18760static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
18761 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
d14a1e28 18762}
7449af73
RD
18763static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
d14a1e28 18765}
7449af73
RD
18766static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
18767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18768}
7449af73
RD
18769static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
18770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18771}
7449af73
RD
18772static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
18773 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 18774}
7449af73
RD
18775static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
18776 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 18777}
7449af73
RD
18778static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
18779 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 18780}
7449af73
RD
18781static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
18782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18783}
7449af73
RD
18784static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
18785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 18786}
7449af73
RD
18787static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
18788 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 18789}
7449af73
RD
18790static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
18791 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18792}
7449af73
RD
18793static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
18794 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 18795}
7449af73
RD
18796static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
18797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18798}
7449af73
RD
18799static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
18800 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 18801}
7449af73
RD
18802static void *_p_wxPanelTo_p_wxWindow(void *x) {
18803 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 18804}
7449af73
RD
18805static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
18806 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 18807}
7449af73
RD
18808static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
18809 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 18810}
7449af73
RD
18811static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
18812 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 18813}
7449af73
RD
18814static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
18815 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 18816}
7449af73
RD
18817static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
18818 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 18819}
7449af73
RD
18820static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
18821 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 18822}
7449af73
RD
18823static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
18824 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 18825}
7449af73
RD
18826static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
18827 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 18828}
7449af73
RD
18829static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
18830 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 18831}
7449af73
RD
18832static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
18833 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 18834}
7449af73
RD
18835static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
18836 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 18837}
7449af73
RD
18838static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
18839 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 18840}
7449af73
RD
18841static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
18842 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18843}
7449af73
RD
18844static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
18845 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18846}
7449af73
RD
18847static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
18848 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 18849}
7449af73
RD
18850static void *_p_wxControlTo_p_wxWindow(void *x) {
18851 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 18852}
7449af73
RD
18853static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
18854 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18855}
7449af73
RD
18856static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
18857 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18858}
7449af73
RD
18859static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
18860 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18861}
7449af73
RD
18862static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
18863 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 18864}
7449af73
RD
18865static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
18866 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 18867}
7449af73
RD
18868static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
18869 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18870}
7449af73
RD
18871static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
18872 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 18873}
7449af73
RD
18874static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
18875 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 18876}
7449af73
RD
18877static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
18878 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 18879}
7449af73
RD
18880static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
18881 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 18882}
7449af73
RD
18883static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
18884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18885}
7449af73
RD
18886static void *_p_wxFrameTo_p_wxWindow(void *x) {
18887 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18888}
7449af73
RD
18889static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
18890 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 18891}
7449af73
RD
18892static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
18893 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 18894}
7449af73
RD
18895static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
18896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 18897}
7449af73
RD
18898static void *_p_wxDialogTo_p_wxWindow(void *x) {
18899 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
a2482628 18900}
7449af73
RD
18901static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
18902 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18903}
7449af73
RD
18904static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
18905 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18906}
7449af73
RD
18907static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
18908 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18909}
7449af73
RD
18910static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
18911 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18912}
7449af73
RD
18913static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
18914 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18915}
7449af73
RD
18916static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
18917 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 18918}
7449af73
RD
18919static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
18920 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18921}
7449af73
RD
18922static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
18923 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
d14a1e28 18924}
7449af73
RD
18925static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
18926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
d14a1e28 18927}
7449af73
RD
18928static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
18929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
d14a1e28 18930}
7449af73
RD
18931static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
18932 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 18933}
7449af73
RD
18934static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
18935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18936}
7449af73
RD
18937static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
18938 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18939}
7449af73
RD
18940static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
18941 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18942}
7449af73
RD
18943static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
18944 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18945}
7449af73
RD
18946static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
18947 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18948}
7449af73
RD
18949static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
18950 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
d14a1e28 18951}
7449af73
RD
18952static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
18953 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 18954}
7449af73
RD
18955static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
18956 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18957}
7449af73
RD
18958static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18959 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
c1cb24a4 18960}
7449af73
RD
18961static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
18962 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18963}
7449af73
RD
18964static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
18965 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
d14a1e28 18966}
7449af73
RD
18967static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
18968 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 18969}
7449af73
RD
18970static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
18971 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18972}
7449af73
RD
18973static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18974 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 18975}
7449af73
RD
18976static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
18977 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18978}
7449af73
RD
18979static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
18980 return (void *)((wxDialog *) ((wxColourDialog *) x));
d14a1e28 18981}
7449af73
RD
18982static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
18983 return (void *)((wxDialog *) ((wxDirDialog *) x));
d14a1e28 18984}
7449af73
RD
18985static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
18986 return (void *)((wxDialog *) ((wxFontDialog *) x));
d14a1e28 18987}
7449af73
RD
18988static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
18989 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 18990}
7449af73
RD
18991static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
18992 return (void *)((wxDialog *) ((wxFileDialog *) x));
d14a1e28 18993}
7449af73
RD
18994static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
18995 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18996}
7449af73
RD
18997static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
18998 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 18999}
7449af73
RD
19000static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
19001 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 19002}
7449af73
RD
19003static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
19004 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
53aa7709 19005}
7449af73
RD
19006static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
19007 return (void *)((wxDialog *) ((wxMessageDialog *) x));
53aa7709 19008}
7449af73
RD
19009static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
19010 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
53aa7709 19011}
7449af73
RD
19012static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
19013 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
53aa7709 19014}
7449af73
RD
19015static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
19016 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
53aa7709 19017}
7449af73
RD
19018static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
19019 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
53aa7709 19020}
7449af73
RD
19021static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
19022 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
53aa7709 19023}
7449af73
RD
19024static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
19025 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
53aa7709 19026}
7449af73
RD
19027static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
19028 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
53aa7709 19029}
7449af73
RD
19030static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
19031 return (void *)((wxPanel *) ((wxPyPanel *) x));
53aa7709 19032}
7449af73
RD
19033static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
19034 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
53aa7709 19035}
7449af73
RD
19036static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
19037 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
53aa7709 19038}
7449af73
RD
19039static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
19040 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
53aa7709 19041}
7449af73
RD
19042static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19043 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 19044}
7449af73
RD
19045static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19046 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
19047}
19048static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19049 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19050}
19051static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19052 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
19053}
19054static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19055 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
19056}
19057static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19058 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19059}
19060static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) {
19061 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x));
19062}
19063static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19064 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
19065}
19066static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19067 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19068}
19069static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19070 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
19071}
19072static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19073 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
19074}
19075static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19076 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
19077}
19078static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19079 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
19080}
19081static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19082 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
19083}
19084static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19085 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
19086}
554f62e9
RD
19087static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19088static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19089static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
19090static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
19091static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19092static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19093static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19094static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19095static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19096static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19097static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19098static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19099static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19100static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19101static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19102static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19103static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19104static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19105static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19106static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19107static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19108static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19109static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19110static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19111static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19112static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19113static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19114static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19115static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19116static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19117static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19118static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19119static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19120static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19121static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19122static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19123static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19124static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19125static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19126static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19127static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19128static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19129static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19130static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19131static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19132static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19133static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19134static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19135static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19136static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19137static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19138static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19139static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19140static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19141static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19142static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19143static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19144static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19145static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19146static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19147static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19148static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19149static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19150static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19151static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19152static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19153static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19154static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19155static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19156static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19157static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19158static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19159static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19160static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19161static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19162static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19163static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19164static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19165static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19166static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19167static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19168static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19169static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19170static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19171static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19172static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19173static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19174static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19175static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19176static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19177static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19178static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19179static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19180static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19181static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19182static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19183static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19184static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19185static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19186static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19187static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19188static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19189static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19190static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19191static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19192static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19193static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19194static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19195static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19196static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19197static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19198static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19199static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19200static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19201static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19202static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19203static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19204static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19205static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19206static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19207static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19208static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19209static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19210static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19211static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19212static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19213static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19214static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19215static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19216static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19217static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19218static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19219static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19220static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
e9d6f3a4 19221static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
554f62e9
RD
19222static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19223static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19224static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19225static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19226static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19227static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19228static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19229static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19230static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19231static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19232static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19233static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
19234static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19235static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19236static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19237static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19238static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19239static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19240static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19241static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19242static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19243static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19244static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
19245static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19246static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19247static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
19248static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19249static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19250static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19251static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19252static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19253static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19254static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19255static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19256static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19257static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19258static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19259static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19260static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19261static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19262static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19263static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19264static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19265static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19266static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19267static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19268static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19269static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19270static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19271static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19272static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19273static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19274static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19275static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19276static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19277static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19278static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19279static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19280static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19281static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19282static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
19283
19284static swig_type_info *swig_type_initial[] = {
19285 &_swigt__p_bool,
19286 &_swigt__p_char,
19287 &_swigt__p_form_ops_t,
19288 &_swigt__p_int,
19289 &_swigt__p_unsigned_char,
19290 &_swigt__p_unsigned_int,
19291 &_swigt__p_unsigned_long,
19292 &_swigt__p_wxANIHandler,
19293 &_swigt__p_wxAcceleratorTable,
19294 &_swigt__p_wxActivateEvent,
19295 &_swigt__p_wxBMPHandler,
19296 &_swigt__p_wxBitmap,
19297 &_swigt__p_wxBoxSizer,
19298 &_swigt__p_wxCURHandler,
19299 &_swigt__p_wxCalculateLayoutEvent,
19300 &_swigt__p_wxChildFocusEvent,
19301 &_swigt__p_wxCloseEvent,
19302 &_swigt__p_wxColour,
19303 &_swigt__p_wxColourData,
19304 &_swigt__p_wxColourDialog,
19305 &_swigt__p_wxCommandEvent,
19306 &_swigt__p_wxConfigBase,
19307 &_swigt__p_wxContextMenuEvent,
19308 &_swigt__p_wxControl,
19309 &_swigt__p_wxControlWithItems,
19310 &_swigt__p_wxCursor,
19311 &_swigt__p_wxDC,
19312 &_swigt__p_wxDateEvent,
19313 &_swigt__p_wxDefaultHtmlRenderingStyle,
19314 &_swigt__p_wxDialog,
19315 &_swigt__p_wxDirDialog,
19316 &_swigt__p_wxDisplayChangedEvent,
19317 &_swigt__p_wxDropFilesEvent,
19318 &_swigt__p_wxDuplexMode,
19319 &_swigt__p_wxEraseEvent,
19320 &_swigt__p_wxEvent,
19321 &_swigt__p_wxEvtHandler,
19322 &_swigt__p_wxFSFile,
19323 &_swigt__p_wxFileDialog,
19324 &_swigt__p_wxFileSystem,
19325 &_swigt__p_wxFindDialogEvent,
19326 &_swigt__p_wxFindReplaceData,
19327 &_swigt__p_wxFindReplaceDialog,
19328 &_swigt__p_wxFlexGridSizer,
19329 &_swigt__p_wxFocusEvent,
19330 &_swigt__p_wxFont,
19331 &_swigt__p_wxFontData,
19332 &_swigt__p_wxFontDialog,
19333 &_swigt__p_wxFrame,
19334 &_swigt__p_wxGBSizerItem,
19335 &_swigt__p_wxGIFHandler,
19336 &_swigt__p_wxGridBagSizer,
19337 &_swigt__p_wxGridSizer,
19338 &_swigt__p_wxHelpControllerBase,
19339 &_swigt__p_wxHelpSearchMode,
19340 &_swigt__p_wxHtmlBookRecArray,
19341 &_swigt__p_wxHtmlBookRecord,
19342 &_swigt__p_wxHtmlCell,
19343 &_swigt__p_wxHtmlColourCell,
19344 &_swigt__p_wxHtmlContainerCell,
19345 &_swigt__p_wxHtmlDCRenderer,
19346 &_swigt__p_wxHtmlEasyPrinting,
19347 &_swigt__p_wxHtmlFilter,
19348 &_swigt__p_wxHtmlFontCell,
19349 &_swigt__p_wxHtmlHelpController,
19350 &_swigt__p_wxHtmlHelpData,
19351 &_swigt__p_wxHtmlHelpDialog,
19352 &_swigt__p_wxHtmlHelpFrame,
19353 &_swigt__p_wxHtmlHelpFrameCfg,
19354 &_swigt__p_wxHtmlHelpWindow,
19355 &_swigt__p_wxHtmlLinkInfo,
19356 &_swigt__p_wxHtmlModalHelp,
19357 &_swigt__p_wxHtmlParser,
19358 &_swigt__p_wxHtmlPrintout,
19359 &_swigt__p_wxHtmlRenderingInfo,
19360 &_swigt__p_wxHtmlRenderingState,
19361 &_swigt__p_wxHtmlRenderingStyle,
19362 &_swigt__p_wxHtmlSearchStatus,
19363 &_swigt__p_wxHtmlSelection,
19364 &_swigt__p_wxHtmlTag,
19365 &_swigt__p_wxHtmlTagHandler,
19366 &_swigt__p_wxHtmlWidgetCell,
19367 &_swigt__p_wxHtmlWinParser,
19368 &_swigt__p_wxHtmlWindow,
19369 &_swigt__p_wxHtmlWindowEvent,
e9d6f3a4 19370 &_swigt__p_wxHtmlWindowInterface,
7449af73
RD
19371 &_swigt__p_wxHtmlWordCell,
19372 &_swigt__p_wxICOHandler,
19373 &_swigt__p_wxIconizeEvent,
19374 &_swigt__p_wxIdleEvent,
19375 &_swigt__p_wxImage,
19376 &_swigt__p_wxImageHandler,
19377 &_swigt__p_wxIndividualLayoutConstraint,
19378 &_swigt__p_wxInitDialogEvent,
19379 &_swigt__p_wxJPEGHandler,
19380 &_swigt__p_wxKeyEvent,
19381 &_swigt__p_wxLayoutAlgorithm,
19382 &_swigt__p_wxLayoutConstraints,
19383 &_swigt__p_wxMDIChildFrame,
19384 &_swigt__p_wxMDIClientWindow,
19385 &_swigt__p_wxMDIParentFrame,
19386 &_swigt__p_wxMaximizeEvent,
19387 &_swigt__p_wxMenu,
19388 &_swigt__p_wxMenuBar,
19389 &_swigt__p_wxMenuEvent,
19390 &_swigt__p_wxMenuItem,
19391 &_swigt__p_wxMessageDialog,
19392 &_swigt__p_wxMiniFrame,
19393 &_swigt__p_wxMouseCaptureChangedEvent,
19394 &_swigt__p_wxMouseEvent,
19395 &_swigt__p_wxMoveEvent,
19396 &_swigt__p_wxMultiChoiceDialog,
19397 &_swigt__p_wxNavigationKeyEvent,
19398 &_swigt__p_wxNcPaintEvent,
19399 &_swigt__p_wxNotifyEvent,
19400 &_swigt__p_wxObject,
19401 &_swigt__p_wxPCXHandler,
19402 &_swigt__p_wxPNGHandler,
19403 &_swigt__p_wxPNMHandler,
19404 &_swigt__p_wxPageSetupDialog,
19405 &_swigt__p_wxPageSetupDialogData,
19406 &_swigt__p_wxPaintEvent,
19407 &_swigt__p_wxPaletteChangedEvent,
19408 &_swigt__p_wxPanel,
19409 &_swigt__p_wxPaperSize,
19410 &_swigt__p_wxPasswordEntryDialog,
19411 &_swigt__p_wxPoint,
19412 &_swigt__p_wxPopupWindow,
19413 &_swigt__p_wxPreviewCanvas,
19414 &_swigt__p_wxPreviewControlBar,
19415 &_swigt__p_wxPreviewFrame,
19416 &_swigt__p_wxPrintData,
19417 &_swigt__p_wxPrintDialog,
19418 &_swigt__p_wxPrintDialogData,
19419 &_swigt__p_wxPrintPreview,
19420 &_swigt__p_wxPrinter,
19421 &_swigt__p_wxProgressDialog,
19422 &_swigt__p_wxPyApp,
19423 &_swigt__p_wxPyCommandEvent,
19424 &_swigt__p_wxPyEvent,
19425 &_swigt__p_wxPyHtmlFilter,
19426 &_swigt__p_wxPyHtmlListBox,
19427 &_swigt__p_wxPyHtmlTagHandler,
19428 &_swigt__p_wxPyHtmlWinTagHandler,
19429 &_swigt__p_wxPyHtmlWindow,
19430 &_swigt__p_wxPyImageHandler,
19431 &_swigt__p_wxPyPanel,
19432 &_swigt__p_wxPyPopupTransientWindow,
19433 &_swigt__p_wxPyPreviewControlBar,
19434 &_swigt__p_wxPyPreviewFrame,
19435 &_swigt__p_wxPyPrintPreview,
19436 &_swigt__p_wxPyPrintout,
19437 &_swigt__p_wxPyScrolledWindow,
19438 &_swigt__p_wxPySizer,
19439 &_swigt__p_wxPyTaskBarIcon,
19440 &_swigt__p_wxPyVListBox,
19441 &_swigt__p_wxPyVScrolledWindow,
19442 &_swigt__p_wxPyValidator,
19443 &_swigt__p_wxPyWindow,
19444 &_swigt__p_wxQueryLayoutInfoEvent,
19445 &_swigt__p_wxQueryNewPaletteEvent,
19446 &_swigt__p_wxSashEvent,
19447 &_swigt__p_wxSashLayoutWindow,
19448 &_swigt__p_wxSashWindow,
19449 &_swigt__p_wxScrollEvent,
19450 &_swigt__p_wxScrollWinEvent,
19451 &_swigt__p_wxScrolledWindow,
19452 &_swigt__p_wxSetCursorEvent,
19453 &_swigt__p_wxShowEvent,
19454 &_swigt__p_wxSingleChoiceDialog,
19455 &_swigt__p_wxSize,
19456 &_swigt__p_wxSizeEvent,
19457 &_swigt__p_wxSizer,
19458 &_swigt__p_wxSizerItem,
19459 &_swigt__p_wxSplashScreen,
19460 &_swigt__p_wxSplashScreenWindow,
19461 &_swigt__p_wxSplitterEvent,
19462 &_swigt__p_wxSplitterWindow,
19463 &_swigt__p_wxStaticBoxSizer,
19464 &_swigt__p_wxStatusBar,
19465 &_swigt__p_wxStdDialogButtonSizer,
19466 &_swigt__p_wxString,
19467 &_swigt__p_wxSysColourChangedEvent,
19468 &_swigt__p_wxTIFFHandler,
19469 &_swigt__p_wxTaskBarIconEvent,
19470 &_swigt__p_wxTextEntryDialog,
19471 &_swigt__p_wxTipWindow,
19472 &_swigt__p_wxTopLevelWindow,
19473 &_swigt__p_wxTreeCtrl,
19474 &_swigt__p_wxUpdateUIEvent,
19475 &_swigt__p_wxValidator,
19476 &_swigt__p_wxVisualAttributes,
19477 &_swigt__p_wxWindow,
19478 &_swigt__p_wxWindowCreateEvent,
19479 &_swigt__p_wxWindowDestroyEvent,
19480 &_swigt__p_wxXPMHandler,
7449af73
RD
19481};
19482
19483static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
19484static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19485static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19486static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19487static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19488static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19489static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
19490static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19491static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19492static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19493static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19494static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
19495static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19496static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19497static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19498static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19499static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
19500static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
19501static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19502static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
19503static 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_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_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_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}};
19504static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19505static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19506static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19507static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19508static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19509static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19510static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19511static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19512static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19513static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19514static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19515static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19516static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19517static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
19518static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
19519static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19520static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19521static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19522static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19523static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19524static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19525static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
19526static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19527static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19528static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19529static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19530static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19531static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19532static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19533static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19534static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19535static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19536static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19537static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19538static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19539static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19540static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
19541static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
19542static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19543static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19544static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19545static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19546static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19547static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
19548static 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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
19549static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19550static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19551static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
19552static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19553static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19554static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19555static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19556static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19557static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19558static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19559static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19560static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19561static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19562static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19563static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19564static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19565static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
19566static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19567static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
19568static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19569static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19570static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19571static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19572static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19573static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
19574static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19575static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19576static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19577static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19578static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19579static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19580static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
19581static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
19582static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19583static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19584static 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}};
19585static 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}};
19586static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19587static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19588static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19589static 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}};
19590static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19591static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19592static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19593static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19594static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19595static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19596static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19597static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19598static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19599static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19600static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19601static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
19602static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19603static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19604static 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}};
19605static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19606static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19607static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19608static 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}};
19609static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19610static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19611static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19612static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19613static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19614static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
19615static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19616static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 19617static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19618static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19619static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
19620static 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}};
19621static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19622static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19623static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19624static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19625static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19626static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19627static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19628static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
19629static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19630static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
19631static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19632static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19633static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19634static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19635static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19636static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19637static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
19638static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19639static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
19640static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19641static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19642static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
19643static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19644static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
19645static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19646static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
19647static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19648static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19649static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19650static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19651static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19652static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19653static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19654static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19655static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19656static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19657static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19658static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19659static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
19660static 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_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
19661static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
19662static 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}};
19663static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19664static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19665static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19666static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19667static 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}};
19668static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19669static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19670static 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}};
19671static 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}};
19672static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
19673static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19674static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
19675static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
19676static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
19677static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
19678static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
7449af73
RD
19679
19680static swig_cast_info *swig_cast_initial[] = {
19681 _swigc__p_bool,
19682 _swigc__p_char,
19683 _swigc__p_form_ops_t,
19684 _swigc__p_int,
19685 _swigc__p_unsigned_char,
19686 _swigc__p_unsigned_int,
19687 _swigc__p_unsigned_long,
19688 _swigc__p_wxANIHandler,
19689 _swigc__p_wxAcceleratorTable,
19690 _swigc__p_wxActivateEvent,
19691 _swigc__p_wxBMPHandler,
19692 _swigc__p_wxBitmap,
19693 _swigc__p_wxBoxSizer,
19694 _swigc__p_wxCURHandler,
19695 _swigc__p_wxCalculateLayoutEvent,
19696 _swigc__p_wxChildFocusEvent,
19697 _swigc__p_wxCloseEvent,
19698 _swigc__p_wxColour,
19699 _swigc__p_wxColourData,
19700 _swigc__p_wxColourDialog,
19701 _swigc__p_wxCommandEvent,
19702 _swigc__p_wxConfigBase,
19703 _swigc__p_wxContextMenuEvent,
19704 _swigc__p_wxControl,
19705 _swigc__p_wxControlWithItems,
19706 _swigc__p_wxCursor,
19707 _swigc__p_wxDC,
19708 _swigc__p_wxDateEvent,
19709 _swigc__p_wxDefaultHtmlRenderingStyle,
19710 _swigc__p_wxDialog,
19711 _swigc__p_wxDirDialog,
19712 _swigc__p_wxDisplayChangedEvent,
19713 _swigc__p_wxDropFilesEvent,
19714 _swigc__p_wxDuplexMode,
19715 _swigc__p_wxEraseEvent,
19716 _swigc__p_wxEvent,
19717 _swigc__p_wxEvtHandler,
19718 _swigc__p_wxFSFile,
19719 _swigc__p_wxFileDialog,
19720 _swigc__p_wxFileSystem,
19721 _swigc__p_wxFindDialogEvent,
19722 _swigc__p_wxFindReplaceData,
19723 _swigc__p_wxFindReplaceDialog,
19724 _swigc__p_wxFlexGridSizer,
19725 _swigc__p_wxFocusEvent,
19726 _swigc__p_wxFont,
19727 _swigc__p_wxFontData,
19728 _swigc__p_wxFontDialog,
19729 _swigc__p_wxFrame,
19730 _swigc__p_wxGBSizerItem,
19731 _swigc__p_wxGIFHandler,
19732 _swigc__p_wxGridBagSizer,
19733 _swigc__p_wxGridSizer,
19734 _swigc__p_wxHelpControllerBase,
19735 _swigc__p_wxHelpSearchMode,
19736 _swigc__p_wxHtmlBookRecArray,
19737 _swigc__p_wxHtmlBookRecord,
19738 _swigc__p_wxHtmlCell,
19739 _swigc__p_wxHtmlColourCell,
19740 _swigc__p_wxHtmlContainerCell,
19741 _swigc__p_wxHtmlDCRenderer,
19742 _swigc__p_wxHtmlEasyPrinting,
19743 _swigc__p_wxHtmlFilter,
19744 _swigc__p_wxHtmlFontCell,
19745 _swigc__p_wxHtmlHelpController,
19746 _swigc__p_wxHtmlHelpData,
19747 _swigc__p_wxHtmlHelpDialog,
19748 _swigc__p_wxHtmlHelpFrame,
19749 _swigc__p_wxHtmlHelpFrameCfg,
19750 _swigc__p_wxHtmlHelpWindow,
19751 _swigc__p_wxHtmlLinkInfo,
19752 _swigc__p_wxHtmlModalHelp,
19753 _swigc__p_wxHtmlParser,
19754 _swigc__p_wxHtmlPrintout,
19755 _swigc__p_wxHtmlRenderingInfo,
19756 _swigc__p_wxHtmlRenderingState,
19757 _swigc__p_wxHtmlRenderingStyle,
19758 _swigc__p_wxHtmlSearchStatus,
19759 _swigc__p_wxHtmlSelection,
19760 _swigc__p_wxHtmlTag,
19761 _swigc__p_wxHtmlTagHandler,
19762 _swigc__p_wxHtmlWidgetCell,
19763 _swigc__p_wxHtmlWinParser,
19764 _swigc__p_wxHtmlWindow,
19765 _swigc__p_wxHtmlWindowEvent,
e9d6f3a4 19766 _swigc__p_wxHtmlWindowInterface,
7449af73
RD
19767 _swigc__p_wxHtmlWordCell,
19768 _swigc__p_wxICOHandler,
19769 _swigc__p_wxIconizeEvent,
19770 _swigc__p_wxIdleEvent,
19771 _swigc__p_wxImage,
19772 _swigc__p_wxImageHandler,
19773 _swigc__p_wxIndividualLayoutConstraint,
19774 _swigc__p_wxInitDialogEvent,
19775 _swigc__p_wxJPEGHandler,
19776 _swigc__p_wxKeyEvent,
19777 _swigc__p_wxLayoutAlgorithm,
19778 _swigc__p_wxLayoutConstraints,
19779 _swigc__p_wxMDIChildFrame,
19780 _swigc__p_wxMDIClientWindow,
19781 _swigc__p_wxMDIParentFrame,
19782 _swigc__p_wxMaximizeEvent,
19783 _swigc__p_wxMenu,
19784 _swigc__p_wxMenuBar,
19785 _swigc__p_wxMenuEvent,
19786 _swigc__p_wxMenuItem,
19787 _swigc__p_wxMessageDialog,
19788 _swigc__p_wxMiniFrame,
19789 _swigc__p_wxMouseCaptureChangedEvent,
19790 _swigc__p_wxMouseEvent,
19791 _swigc__p_wxMoveEvent,
19792 _swigc__p_wxMultiChoiceDialog,
19793 _swigc__p_wxNavigationKeyEvent,
19794 _swigc__p_wxNcPaintEvent,
19795 _swigc__p_wxNotifyEvent,
19796 _swigc__p_wxObject,
19797 _swigc__p_wxPCXHandler,
19798 _swigc__p_wxPNGHandler,
19799 _swigc__p_wxPNMHandler,
19800 _swigc__p_wxPageSetupDialog,
19801 _swigc__p_wxPageSetupDialogData,
19802 _swigc__p_wxPaintEvent,
19803 _swigc__p_wxPaletteChangedEvent,
19804 _swigc__p_wxPanel,
19805 _swigc__p_wxPaperSize,
19806 _swigc__p_wxPasswordEntryDialog,
19807 _swigc__p_wxPoint,
19808 _swigc__p_wxPopupWindow,
19809 _swigc__p_wxPreviewCanvas,
19810 _swigc__p_wxPreviewControlBar,
19811 _swigc__p_wxPreviewFrame,
19812 _swigc__p_wxPrintData,
19813 _swigc__p_wxPrintDialog,
19814 _swigc__p_wxPrintDialogData,
19815 _swigc__p_wxPrintPreview,
19816 _swigc__p_wxPrinter,
19817 _swigc__p_wxProgressDialog,
19818 _swigc__p_wxPyApp,
19819 _swigc__p_wxPyCommandEvent,
19820 _swigc__p_wxPyEvent,
19821 _swigc__p_wxPyHtmlFilter,
19822 _swigc__p_wxPyHtmlListBox,
19823 _swigc__p_wxPyHtmlTagHandler,
19824 _swigc__p_wxPyHtmlWinTagHandler,
19825 _swigc__p_wxPyHtmlWindow,
19826 _swigc__p_wxPyImageHandler,
19827 _swigc__p_wxPyPanel,
19828 _swigc__p_wxPyPopupTransientWindow,
19829 _swigc__p_wxPyPreviewControlBar,
19830 _swigc__p_wxPyPreviewFrame,
19831 _swigc__p_wxPyPrintPreview,
19832 _swigc__p_wxPyPrintout,
19833 _swigc__p_wxPyScrolledWindow,
19834 _swigc__p_wxPySizer,
19835 _swigc__p_wxPyTaskBarIcon,
19836 _swigc__p_wxPyVListBox,
19837 _swigc__p_wxPyVScrolledWindow,
19838 _swigc__p_wxPyValidator,
19839 _swigc__p_wxPyWindow,
19840 _swigc__p_wxQueryLayoutInfoEvent,
19841 _swigc__p_wxQueryNewPaletteEvent,
19842 _swigc__p_wxSashEvent,
19843 _swigc__p_wxSashLayoutWindow,
19844 _swigc__p_wxSashWindow,
19845 _swigc__p_wxScrollEvent,
19846 _swigc__p_wxScrollWinEvent,
19847 _swigc__p_wxScrolledWindow,
19848 _swigc__p_wxSetCursorEvent,
19849 _swigc__p_wxShowEvent,
19850 _swigc__p_wxSingleChoiceDialog,
19851 _swigc__p_wxSize,
19852 _swigc__p_wxSizeEvent,
19853 _swigc__p_wxSizer,
19854 _swigc__p_wxSizerItem,
19855 _swigc__p_wxSplashScreen,
19856 _swigc__p_wxSplashScreenWindow,
19857 _swigc__p_wxSplitterEvent,
19858 _swigc__p_wxSplitterWindow,
19859 _swigc__p_wxStaticBoxSizer,
19860 _swigc__p_wxStatusBar,
19861 _swigc__p_wxStdDialogButtonSizer,
19862 _swigc__p_wxString,
19863 _swigc__p_wxSysColourChangedEvent,
19864 _swigc__p_wxTIFFHandler,
19865 _swigc__p_wxTaskBarIconEvent,
19866 _swigc__p_wxTextEntryDialog,
19867 _swigc__p_wxTipWindow,
19868 _swigc__p_wxTopLevelWindow,
19869 _swigc__p_wxTreeCtrl,
19870 _swigc__p_wxUpdateUIEvent,
19871 _swigc__p_wxValidator,
19872 _swigc__p_wxVisualAttributes,
19873 _swigc__p_wxWindow,
19874 _swigc__p_wxWindowCreateEvent,
19875 _swigc__p_wxWindowDestroyEvent,
19876 _swigc__p_wxXPMHandler,
d14a1e28
RD
19877};
19878
19879
19880/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19881
19882static swig_const_info swig_const_table[] = {
c32bde28 19883{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
19884
19885#ifdef __cplusplus
19886}
19887#endif
554f62e9 19888/* -----------------------------------------------------------------------------
7449af73
RD
19889 * Type initialization:
19890 * This problem is tough by the requirement that no dynamic
19891 * memory is used. Also, since swig_type_info structures store pointers to
19892 * swig_cast_info structures and swig_cast_info structures store pointers back
19893 * to swig_type_info structures, we need some lookup code at initialization.
19894 * The idea is that swig generates all the structures that are needed.
19895 * The runtime then collects these partially filled structures.
19896 * The SWIG_InitializeModule function takes these initial arrays out of
19897 * swig_module, and does all the lookup, filling in the swig_module.types
19898 * array with the correct data and linking the correct swig_cast_info
19899 * structures together.
554f62e9 19900 *
7449af73
RD
19901 * The generated swig_type_info structures are assigned staticly to an initial
19902 * array. We just loop though that array, and handle each type individually.
19903 * First we lookup if this type has been already loaded, and if so, use the
19904 * loaded structure instead of the generated one. Then we have to fill in the
19905 * cast linked list. The cast data is initially stored in something like a
19906 * two-dimensional array. Each row corresponds to a type (there are the same
19907 * number of rows as there are in the swig_type_initial array). Each entry in
19908 * a column is one of the swig_cast_info structures for that type.
19909 * The cast_initial array is actually an array of arrays, because each row has
19910 * a variable number of columns. So to actually build the cast linked list,
19911 * we find the array of casts associated with the type, and loop through it
19912 * adding the casts to the list. The one last trick we need to do is making
19913 * sure the type pointer in the swig_cast_info struct is correct.
554f62e9 19914 *
7449af73
RD
19915 * First off, we lookup the cast->type name to see if it is already loaded.
19916 * There are three cases to handle:
19917 * 1) If the cast->type has already been loaded AND the type we are adding
19918 * casting info to has not been loaded (it is in this module), THEN we
19919 * replace the cast->type pointer with the type pointer that has already
19920 * been loaded.
19921 * 2) If BOTH types (the one we are adding casting info to, and the
19922 * cast->type) are loaded, THEN the cast info has already been loaded by
19923 * the previous module so we just ignore it.
19924 * 3) Finally, if cast->type has not already been loaded, then we add that
19925 * swig_cast_info to the linked list (because the cast->type) pointer will
19926 * be correct.
554f62e9 19927 * ----------------------------------------------------------------------------- */
7449af73
RD
19928
19929#ifdef __cplusplus
19930extern "C" {
19931#if 0
19932} /* c-mode */
19933#endif
19934#endif
19935
19936#if 0
19937#define SWIGRUNTIME_DEBUG
19938#endif
19939
19940SWIGRUNTIME void
19941SWIG_InitializeModule(void *clientdata) {
554f62e9
RD
19942 size_t i;
19943 swig_module_info *module_head;
19944 static int init_run = 0;
19945
19946 clientdata = clientdata;
19947
19948 if (init_run) return;
19949 init_run = 1;
19950
19951 /* Initialize the swig_module */
19952 swig_module.type_initial = swig_type_initial;
19953 swig_module.cast_initial = swig_cast_initial;
19954
19955 /* Try and load any already created modules */
19956 module_head = SWIG_GetModule(clientdata);
19957 if (module_head) {
19958 swig_module.next = module_head->next;
19959 module_head->next = &swig_module;
19960 } else {
19961 /* This is the first module loaded */
19962 swig_module.next = &swig_module;
19963 SWIG_SetModule(clientdata, &swig_module);
19964 }
19965
19966 /* Now work on filling in swig_module.types */
7449af73 19967#ifdef SWIGRUNTIME_DEBUG
554f62e9 19968 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
7449af73 19969#endif
554f62e9
RD
19970 for (i = 0; i < swig_module.size; ++i) {
19971 swig_type_info *type = 0;
19972 swig_type_info *ret;
19973 swig_cast_info *cast;
19974
7449af73 19975#ifdef SWIGRUNTIME_DEBUG
554f62e9 19976 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
7449af73 19977#endif
554f62e9
RD
19978
19979 /* if there is another module already loaded */
19980 if (swig_module.next != &swig_module) {
19981 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
19982 }
19983 if (type) {
19984 /* Overwrite clientdata field */
7449af73 19985#ifdef SWIGRUNTIME_DEBUG
554f62e9 19986 printf("SWIG_InitializeModule: found type %s\n", type->name);
7449af73 19987#endif
554f62e9
RD
19988 if (swig_module.type_initial[i]->clientdata) {
19989 type->clientdata = swig_module.type_initial[i]->clientdata;
7449af73 19990#ifdef SWIGRUNTIME_DEBUG
554f62e9 19991 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
7449af73 19992#endif
554f62e9
RD
19993 }
19994 } else {
19995 type = swig_module.type_initial[i];
19996 }
19997
19998 /* Insert casting types */
19999 cast = swig_module.cast_initial[i];
20000 while (cast->type) {
20001 /* Don't need to add information already in the list */
20002 ret = 0;
7449af73 20003#ifdef SWIGRUNTIME_DEBUG
554f62e9 20004 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
7449af73 20005#endif
554f62e9
RD
20006 if (swig_module.next != &swig_module) {
20007 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
7449af73 20008#ifdef SWIGRUNTIME_DEBUG
554f62e9 20009 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
7449af73 20010#endif
554f62e9
RD
20011 }
20012 if (ret) {
20013 if (type == swig_module.type_initial[i]) {
7449af73 20014#ifdef SWIGRUNTIME_DEBUG
554f62e9 20015 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
7449af73 20016#endif
554f62e9
RD
20017 cast->type = ret;
20018 ret = 0;
20019 } else {
20020 /* Check for casting already in the list */
20021 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
7449af73 20022#ifdef SWIGRUNTIME_DEBUG
554f62e9 20023 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
7449af73 20024#endif
554f62e9
RD
20025 if (!ocast) ret = 0;
20026 }
20027 }
20028
20029 if (!ret) {
7449af73 20030#ifdef SWIGRUNTIME_DEBUG
554f62e9 20031 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
7449af73 20032#endif
554f62e9
RD
20033 if (type->cast) {
20034 type->cast->prev = cast;
20035 cast->next = type->cast;
7449af73 20036 }
554f62e9
RD
20037 type->cast = cast;
20038 }
20039 cast++;
7449af73 20040 }
554f62e9
RD
20041 /* Set entry in modules->types array equal to the type */
20042 swig_module.types[i] = type;
20043 }
20044 swig_module.types[i] = 0;
20045
7449af73 20046#ifdef SWIGRUNTIME_DEBUG
554f62e9
RD
20047 printf("**** SWIG_InitializeModule: Cast List ******\n");
20048 for (i = 0; i < swig_module.size; ++i) {
20049 int j = 0;
20050 swig_cast_info *cast = swig_module.cast_initial[i];
20051 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20052 while (cast->type) {
20053 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20054 cast++;
20055 ++j;
20056 }
20057 printf("---- Total casts: %d\n",j);
20058 }
20059 printf("**** SWIG_InitializeModule: Cast List ******\n");
7449af73
RD
20060#endif
20061}
20062
20063/* This function will propagate the clientdata field of type to
20064* any new swig_type_info structures that have been added into the list
20065* of equivalent types. It is like calling
20066* SWIG_TypeClientData(type, clientdata) a second time.
20067*/
20068SWIGRUNTIME void
20069SWIG_PropagateClientData(void) {
554f62e9
RD
20070 size_t i;
20071 swig_cast_info *equiv;
20072 static int init_run = 0;
20073
20074 if (init_run) return;
20075 init_run = 1;
20076
20077 for (i = 0; i < swig_module.size; i++) {
20078 if (swig_module.types[i]->clientdata) {
20079 equiv = swig_module.types[i]->cast;
20080 while (equiv) {
20081 if (!equiv->converter) {
20082 if (equiv->type && !equiv->type->clientdata)
20083 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
7449af73 20084 }
554f62e9
RD
20085 equiv = equiv->next;
20086 }
7449af73 20087 }
554f62e9 20088 }
7449af73
RD
20089}
20090
20091#ifdef __cplusplus
20092#if 0
20093{
554f62e9 20094 /* c-mode */
7449af73
RD
20095#endif
20096}
20097#endif
20098
d14a1e28 20099
093d3ff1
RD
20100
20101#ifdef __cplusplus
20102extern "C" {
20103#endif
554f62e9
RD
20104
20105 /* Python-specific SWIG API */
093d3ff1
RD
20106#define SWIG_newvarlink() SWIG_Python_newvarlink()
20107#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20108#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
554f62e9
RD
20109
20110 /* -----------------------------------------------------------------------------
20111 * global variable support code.
20112 * ----------------------------------------------------------------------------- */
20113
20114 typedef struct swig_globalvar {
20115 char *name; /* Name of global variable */
20116 PyObject *(*get_attr)(void); /* Return the current value */
20117 int (*set_attr)(PyObject *); /* Set the value */
20118 struct swig_globalvar *next;
20119 } swig_globalvar;
20120
20121 typedef struct swig_varlinkobject {
20122 PyObject_HEAD
20123 swig_globalvar *vars;
20124 } swig_varlinkobject;
20125
20126 SWIGINTERN PyObject *
20127 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
20128 return PyString_FromString("<Swig global variables>");
20129 }
20130
20131 SWIGINTERN PyObject *
20132 swig_varlink_str(swig_varlinkobject *v) {
20133 PyObject *str = PyString_FromString("(");
20134 swig_globalvar *var;
20135 for (var = v->vars; var; var=var->next) {
20136 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
20137 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
20138 }
20139 PyString_ConcatAndDel(&str,PyString_FromString(")"));
20140 return str;
20141 }
20142
20143 SWIGINTERN int
20144 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
20145 PyObject *str = swig_varlink_str(v);
20146 fprintf(fp,"Swig global variables ");
20147 fprintf(fp,"%s\n", PyString_AsString(str));
20148 Py_DECREF(str);
20149 return 0;
20150 }
20151
20152 SWIGINTERN void
20153 swig_varlink_dealloc(swig_varlinkobject *v) {
20154 swig_globalvar *var = v->vars;
20155 while (var) {
20156 swig_globalvar *n = var->next;
20157 free(var->name);
20158 free(var);
20159 var = n;
093d3ff1 20160 }
554f62e9
RD
20161 }
20162
20163 SWIGINTERN PyObject *
20164 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20165 PyObject *res = NULL;
20166 swig_globalvar *var = v->vars;
20167 while (var) {
20168 if (strcmp(var->name,n) == 0) {
20169 res = (*var->get_attr)();
20170 break;
20171 }
20172 var = var->next;
093d3ff1 20173 }
554f62e9
RD
20174 if (res == NULL && !PyErr_Occurred()) {
20175 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 20176 }
554f62e9
RD
20177 return res;
20178 }
20179
20180 SWIGINTERN int
20181 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20182 int res = 1;
20183 swig_globalvar *var = v->vars;
20184 while (var) {
20185 if (strcmp(var->name,n) == 0) {
20186 res = (*var->set_attr)(p);
20187 break;
20188 }
20189 var = var->next;
093d3ff1 20190 }
554f62e9
RD
20191 if (res == 1 && !PyErr_Occurred()) {
20192 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20193 }
20194 return res;
20195 }
20196
20197 SWIGINTERN PyTypeObject*
20198 swig_varlink_type(void) {
20199 static char varlink__doc__[] = "Swig var link object";
20200 static PyTypeObject varlink_type;
20201 static int type_init = 0;
20202 if (!type_init) {
20203 const PyTypeObject tmp
20204 = {
20205 PyObject_HEAD_INIT(NULL)
20206 0, /* Number of items in variable part (ob_size) */
20207 (char *)"swigvarlink", /* Type name (tp_name) */
20208 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20209 0, /* Itemsize (tp_itemsize) */
20210 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
20211 (printfunc) swig_varlink_print, /* Print (tp_print) */
20212 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20213 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20214 0, /* tp_compare */
20215 (reprfunc) swig_varlink_repr, /* tp_repr */
20216 0, /* tp_as_number */
20217 0, /* tp_as_sequence */
20218 0, /* tp_as_mapping */
20219 0, /* tp_hash */
20220 0, /* tp_call */
20221 (reprfunc)swig_varlink_str, /* tp_str */
20222 0, /* tp_getattro */
20223 0, /* tp_setattro */
20224 0, /* tp_as_buffer */
20225 0, /* tp_flags */
20226 varlink__doc__, /* tp_doc */
20227 0, /* tp_traverse */
20228 0, /* tp_clear */
20229 0, /* tp_richcompare */
20230 0, /* tp_weaklistoffset */
093d3ff1 20231#if PY_VERSION_HEX >= 0x02020000
554f62e9 20232 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
20233#endif
20234#if PY_VERSION_HEX >= 0x02030000
554f62e9 20235 0, /* tp_del */
093d3ff1
RD
20236#endif
20237#ifdef COUNT_ALLOCS
554f62e9 20238 0,0,0,0 /* tp_alloc -> tp_next */
7449af73 20239#endif
554f62e9
RD
20240 };
20241 varlink_type = tmp;
20242 varlink_type.ob_type = &PyType_Type;
20243 type_init = 1;
7449af73 20244 }
554f62e9
RD
20245 return &varlink_type;
20246 }
20247
20248 /* Create a variable linking object for use later */
20249 SWIGINTERN PyObject *
20250 SWIG_Python_newvarlink(void) {
20251 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20252 if (result) {
20253 result->vars = 0;
20254 }
20255 return ((PyObject*) result);
20256 }
20257
20258 SWIGINTERN void
20259 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
20260 swig_varlinkobject *v = (swig_varlinkobject *) p;
20261 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20262 if (gv) {
20263 size_t size = strlen(name)+1;
20264 gv->name = (char *)malloc(size);
20265 if (gv->name) {
20266 strncpy(gv->name,name,size);
20267 gv->get_attr = get_attr;
20268 gv->set_attr = set_attr;
20269 gv->next = v->vars;
20270 }
093d3ff1 20271 }
554f62e9
RD
20272 v->vars = gv;
20273 }
20274
20275 SWIGINTERN PyObject *
20276 SWIG_globals() {
20277 static PyObject *_SWIG_globals = 0;
20278 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
20279 return _SWIG_globals;
20280 }
20281
20282 /* -----------------------------------------------------------------------------
20283 * constants/methods manipulation
20284 * ----------------------------------------------------------------------------- */
20285
20286 /* Install Constants */
20287 SWIGINTERN void
20288 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20289 PyObject *obj = 0;
20290 size_t i;
20291 for (i = 0; constants[i].type; ++i) {
20292 switch(constants[i].type) {
20293 case SWIG_PY_POINTER:
20294 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20295 break;
20296 case SWIG_PY_BINARY:
20297 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20298 break;
20299 default:
20300 obj = 0;
20301 break;
20302 }
20303 if (obj) {
20304 PyDict_SetItemString(d, constants[i].name, obj);
20305 Py_DECREF(obj);
20306 }
093d3ff1 20307 }
554f62e9
RD
20308 }
20309
20310 /* -----------------------------------------------------------------------------*/
20311 /* Fix SwigMethods to carry the callback ptrs when needed */
20312 /* -----------------------------------------------------------------------------*/
20313
20314 SWIGINTERN void
20315 SWIG_Python_FixMethods(PyMethodDef *methods,
093d3ff1
RD
20316 swig_const_info *const_table,
20317 swig_type_info **types,
20318 swig_type_info **types_initial) {
554f62e9
RD
20319 size_t i;
20320 for (i = 0; methods[i].ml_name; ++i) {
20321 char *c = methods[i].ml_doc;
20322 if (c && (c = strstr(c, "swig_ptr: "))) {
20323 int j;
20324 swig_const_info *ci = 0;
20325 char *name = c + 10;
20326 for (j = 0; const_table[j].type; ++j) {
20327 if (strncmp(const_table[j].name, name,
20328 strlen(const_table[j].name)) == 0) {
20329 ci = &(const_table[j]);
20330 break;
20331 }
20332 }
20333 if (ci) {
20334 size_t shift = (ci->ptype) - types;
20335 swig_type_info *ty = types_initial[shift];
20336 size_t ldoc = (c - methods[i].ml_doc);
20337 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20338 char *ndoc = (char*)malloc(ldoc + lptr + 10);
20339 if (ndoc) {
20340 char *buff = ndoc;
20341 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20342 if (ptr) {
20343 strncpy(buff, methods[i].ml_doc, ldoc);
20344 buff += ldoc;
20345 strncpy(buff, "swig_ptr: ", 10);
20346 buff += 10;
20347 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20348 methods[i].ml_doc = ndoc;
093d3ff1 20349 }
554f62e9 20350 }
093d3ff1 20351 }
554f62e9 20352 }
093d3ff1 20353 }
554f62e9
RD
20354 }
20355
093d3ff1
RD
20356#ifdef __cplusplus
20357}
20358#endif
20359
20360/* -----------------------------------------------------------------------------*
20361 * Partial Init method
20362 * -----------------------------------------------------------------------------*/
20363
d14a1e28
RD
20364#ifdef __cplusplus
20365extern "C"
20366#endif
7449af73 20367SWIGEXPORT void SWIG_init(void) {
554f62e9
RD
20368 PyObject *m, *d;
20369
20370 /* Fix SwigMethods to carry the callback ptrs when needed */
20371 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
20372
20373 m = Py_InitModule((char *) SWIG_name, SwigMethods);
20374 d = PyModule_GetDict(m);
20375
20376 SWIG_InitializeModule(0);
20377 SWIG_InstallConstants(d,swig_const_table);
20378
20379
20380 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
20381 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
20382 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
20383 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
20384 SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
20385 SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
20386 SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
20387 SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
20388 SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
20389 SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
20390 SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
20391 SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
20392 SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
20393 SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
20394 SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
20395 SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
20396 SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
20397 SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
20398 SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
20399 SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
20400 SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
20401 SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
20402 SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
20403 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1)));
20404 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2)));
20405 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3)));
20406 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4)));
20407 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5)));
20408 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6)));
20409 SWIG_Python_SetConstant(d, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7)));
20410 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
20411 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
20412 SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
20413 SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
20414 SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
20415 SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
20416 SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
20417 SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
20418 SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
20419 SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
20420 SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
20421 SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
20422 SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
20423 SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
20424 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
20425 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
e9d6f3a4
RD
20426 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
20427 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
20428 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
20429 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
20430 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
20431 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
554f62e9
RD
20432 SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
20433 SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
20434 SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
20435 SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
20436 SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
20437 SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
20438 SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
20439 SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
20440 SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
20441 SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
20442 SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
20443 SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
20444 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
20445 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
20446 SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
20447 SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
20448 SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
20449 SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
20450 SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
20451 SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
20452 SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
20453 SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
20454 SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
20455 SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
20456 SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
20457 SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
20458 SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
20459 SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
20460 SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
20461 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
20462 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
20463 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
20464 SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
20465 SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
20466 SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
20467 SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
20468 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
20469 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
20470 SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
20471 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
20472 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
20473 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
20474 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
20475 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
20476 SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
20477
20478 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20479 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20480 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20481 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
20482
d14a1e28
RD
20483}
20484