]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/html_wrap.cpp
fixed wxString iterators linked list corruption
[wxWidgets.git] / wxPython / src / gtk / html_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 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
0085ce49 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
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
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
32fe5131
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
0085ce49
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__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
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
0085ce49
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
32fe5131
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
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
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
0085ce49
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
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d14a1e28 130
0085ce49 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d14a1e28 133 *
0085ce49
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 */
32fe5131 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
32fe5131
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
32fe5131 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*/
32fe5131 159
093d3ff1 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
32fe5131 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
0085ce49
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
32fe5131
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
32fe5131 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
32fe5131
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 */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
32fe5131
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;
0085ce49 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>|...
32fe5131 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 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
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*/
32fe5131
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 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
32fe5131 401 return equiv;
093d3ff1
RD
402}
403
32fe5131
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*/
32fe5131 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
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 *
32fe5131 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. */
0085ce49 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
32fe5131
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;
32fe5131
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 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
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 }
32fe5131
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 }
32fe5131
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) {
32fe5131
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) {
32fe5131 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;
32fe5131 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 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
0085ce49
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
0085ce49
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
0085ce49
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/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
093d3ff1
RD
802 * ----------------------------------------------------------------------------- */
803
0085ce49
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
0085ce49
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
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
0085ce49
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 {
0085ce49
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
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
972
973
0085ce49
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 *
0085ce49
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 *
0085ce49 984 * ----------------------------------------------------------------------------- */
093d3ff1 985
d14a1e28 986/* Common SWIG API */
d14a1e28 987
d1a49b78
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
0085ce49
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d14a1e28 1000
0085ce49
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 1004
0085ce49
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d14a1e28 1008
0085ce49
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d14a1e28 1012
0085ce49
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
093d3ff1 1017
0085ce49 1018/* Runtime API */
093d3ff1 1019
0085ce49
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
0085ce49
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
093d3ff1 1030
0085ce49 1031/* Runtime API implementation */
093d3ff1 1032
0085ce49 1033/* Error manipulation */
093d3ff1 1034
0085ce49
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1
RD
1041}
1042
0085ce49
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
d14a1e28 1048}
093d3ff1 1049
0085ce49 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
0085ce49 1052/* Set a constant value */
093d3ff1 1053
0085ce49
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
093d3ff1
RD
1058}
1059
0085ce49 1060/* Append a value to the result obj */
093d3ff1 1061
0085ce49
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
093d3ff1 1088 } else {
0085ce49
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
093d3ff1 1100 }
0085ce49
RD
1101 return result;
1102#endif
093d3ff1
RD
1103}
1104
0085ce49 1105/* Unpack the argument tuple */
093d3ff1 1106
0085ce49
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
0085ce49 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
0085ce49
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
0085ce49
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
0085ce49
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
093d3ff1
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
0085ce49 1674 0, /* tp_del */
d14a1e28 1675#endif
093d3ff1 1676#ifdef COUNT_ALLOCS
0085ce49 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
0085ce49 1679 };
32fe5131 1680 pyswigobject_type = tmp;
0085ce49 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
093d3ff1 1685}
c32bde28 1686
093d3ff1 1687SWIGRUNTIME PyObject *
0085ce49 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1689{
0085ce49
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
0085ce49 1697 return (PyObject *)sobj;
093d3ff1 1698}
d14a1e28 1699
093d3ff1
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d14a1e28 1703
093d3ff1
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
0085ce49 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
d14a1e28 1710
093d3ff1 1711SWIGRUNTIME int
0085ce49 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
0085ce49 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
0085ce49 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
0085ce49 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1733 }
1734}
c32bde28 1735
093d3ff1
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
0085ce49 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
0085ce49 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
0085ce49
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1754}
1755
0085ce49 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1757
1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
0085ce49
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
0085ce49 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
0085ce49 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
0085ce49 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
0085ce49 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
093d3ff1
RD
1848}
1849
1850SWIGRUNTIME PyObject *
0085ce49 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
0085ce49
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
0085ce49
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
093d3ff1 1865 }
0085ce49 1866 return (PyObject *) sobj;
093d3ff1
RD
1867}
1868
0085ce49 1869SWIGRUNTIME swig_type_info *
093d3ff1
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
0085ce49
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1
RD
1880}
1881
093d3ff1 1882/* -----------------------------------------------------------------------------
0085ce49 1883 * pointers/data manipulation
093d3ff1
RD
1884 * ----------------------------------------------------------------------------- */
1885
0085ce49
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
093d3ff1 1891
0085ce49
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
093d3ff1 1898
0085ce49 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1900
0085ce49
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
0085ce49
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
0085ce49
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
0085ce49
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
093d3ff1
RD
1947 }
1948}
1949
0085ce49
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
0085ce49 1962 return 0;
093d3ff1
RD
1963}
1964
0085ce49
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
0085ce49
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
0085ce49
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
0085ce49
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
093d3ff1
RD
2042 }
2043}
2044
0085ce49
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
0085ce49
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
0085ce49
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
d1a49b78 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
0085ce49
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1
RD
2069 }
2070}
2071
0085ce49 2072/* Convert a packed value value */
093d3ff1 2073
093d3ff1 2074SWIGRUNTIME int
0085ce49
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
0085ce49
RD
2085 return SWIG_OK;
2086}
093d3ff1 2087
0085ce49
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
093d3ff1 2091
0085ce49
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
093d3ff1 2096
0085ce49
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
0085ce49
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
0085ce49
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
0085ce49
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
0085ce49
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
0085ce49
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
093d3ff1
RD
2158}
2159
0085ce49
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
0085ce49
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
093d3ff1 2180
0085ce49
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
0085ce49 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
0085ce49 2194 return SWIG_Py_Void();
093d3ff1 2195 }
0085ce49
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
0085ce49 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
0085ce49
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
093d3ff1 2213 }
093d3ff1 2214 }
0085ce49 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
0085ce49
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
093d3ff1 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
0085ce49 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
0085ce49 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
0085ce49 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
0085ce49 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
0085ce49 2281 return SWIG_OK;
093d3ff1 2282}
32fe5131 2283#endif
093d3ff1 2284
0085ce49
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
0085ce49 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
0085ce49
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
994141e6 2314
0085ce49
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
0085ce49
RD
2321
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
15afbcd0 2465
32fe5131
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
704eda0c
RD
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxColourData swig_types[20]
2487#define SWIGTYPE_p_wxColourDialog swig_types[21]
2488#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489#define SWIGTYPE_p_wxConfigBase swig_types[23]
2490#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491#define SWIGTYPE_p_wxControl swig_types[25]
2492#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493#define SWIGTYPE_p_wxCursor swig_types[27]
2494#define SWIGTYPE_p_wxDC swig_types[28]
2495#define SWIGTYPE_p_wxDateEvent swig_types[29]
2496#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2497#define SWIGTYPE_p_wxDialog swig_types[31]
2498#define SWIGTYPE_p_wxDirDialog swig_types[32]
2499#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2500#define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501#define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502#define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503#define SWIGTYPE_p_wxEvent swig_types[37]
4976f996
RD
2504#define SWIGTYPE_p_wxEventBlocker swig_types[38]
2505#define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506#define SWIGTYPE_p_wxFSFile swig_types[40]
2507#define SWIGTYPE_p_wxFileDialog swig_types[41]
2508#define SWIGTYPE_p_wxFileSystem swig_types[42]
2509#define SWIGTYPE_p_wxFindDialogEvent swig_types[43]
2510#define SWIGTYPE_p_wxFindReplaceData swig_types[44]
2511#define SWIGTYPE_p_wxFindReplaceDialog swig_types[45]
2512#define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513#define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514#define SWIGTYPE_p_wxFont swig_types[48]
2515#define SWIGTYPE_p_wxFontData swig_types[49]
2516#define SWIGTYPE_p_wxFontDialog swig_types[50]
2517#define SWIGTYPE_p_wxFrame swig_types[51]
2518#define SWIGTYPE_p_wxGBSizerItem swig_types[52]
2519#define SWIGTYPE_p_wxGIFHandler swig_types[53]
2520#define SWIGTYPE_p_wxGridBagSizer swig_types[54]
2521#define SWIGTYPE_p_wxGridSizer swig_types[55]
2522#define SWIGTYPE_p_wxHelpControllerBase swig_types[56]
2523#define SWIGTYPE_p_wxHelpSearchMode swig_types[57]
2524#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[58]
2525#define SWIGTYPE_p_wxHtmlBookRecord swig_types[59]
2526#define SWIGTYPE_p_wxHtmlCell swig_types[60]
2527#define SWIGTYPE_p_wxHtmlCellEvent swig_types[61]
2528#define SWIGTYPE_p_wxHtmlColourCell swig_types[62]
2529#define SWIGTYPE_p_wxHtmlContainerCell swig_types[63]
2530#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[64]
2531#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[65]
2532#define SWIGTYPE_p_wxHtmlFilter swig_types[66]
2533#define SWIGTYPE_p_wxHtmlFontCell swig_types[67]
2534#define SWIGTYPE_p_wxHtmlHelpController swig_types[68]
2535#define SWIGTYPE_p_wxHtmlHelpData swig_types[69]
2536#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[70]
2537#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[71]
2538#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[72]
2539#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[73]
2540#define SWIGTYPE_p_wxHtmlLinkEvent swig_types[74]
2541#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[75]
2542#define SWIGTYPE_p_wxHtmlModalHelp swig_types[76]
2543#define SWIGTYPE_p_wxHtmlParser swig_types[77]
2544#define SWIGTYPE_p_wxHtmlPrintout swig_types[78]
2545#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[79]
2546#define SWIGTYPE_p_wxHtmlRenderingState swig_types[80]
2547#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[81]
2548#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[82]
2549#define SWIGTYPE_p_wxHtmlSelection swig_types[83]
2550#define SWIGTYPE_p_wxHtmlTag swig_types[84]
2551#define SWIGTYPE_p_wxHtmlTagHandler swig_types[85]
2552#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[86]
2553#define SWIGTYPE_p_wxHtmlWinParser swig_types[87]
2554#define SWIGTYPE_p_wxHtmlWindowInterface swig_types[88]
2555#define SWIGTYPE_p_wxHtmlWordCell swig_types[89]
2556#define SWIGTYPE_p_wxICOHandler swig_types[90]
2557#define SWIGTYPE_p_wxIconizeEvent swig_types[91]
2558#define SWIGTYPE_p_wxIdleEvent swig_types[92]
2559#define SWIGTYPE_p_wxImage swig_types[93]
2560#define SWIGTYPE_p_wxImageHandler swig_types[94]
2561#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[95]
2562#define SWIGTYPE_p_wxInitDialogEvent swig_types[96]
2563#define SWIGTYPE_p_wxJPEGHandler swig_types[97]
2564#define SWIGTYPE_p_wxKeyEvent swig_types[98]
2565#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[99]
2566#define SWIGTYPE_p_wxLayoutConstraints swig_types[100]
2567#define SWIGTYPE_p_wxMDIChildFrame swig_types[101]
2568#define SWIGTYPE_p_wxMDIClientWindow swig_types[102]
2569#define SWIGTYPE_p_wxMDIParentFrame swig_types[103]
2570#define SWIGTYPE_p_wxMaximizeEvent swig_types[104]
2571#define SWIGTYPE_p_wxMenu swig_types[105]
2572#define SWIGTYPE_p_wxMenuBar swig_types[106]
2573#define SWIGTYPE_p_wxMenuEvent swig_types[107]
2574#define SWIGTYPE_p_wxMenuItem swig_types[108]
2575#define SWIGTYPE_p_wxMessageDialog swig_types[109]
2576#define SWIGTYPE_p_wxMiniFrame swig_types[110]
2577#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[111]
2578#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[112]
2579#define SWIGTYPE_p_wxMouseEvent swig_types[113]
2580#define SWIGTYPE_p_wxMoveEvent swig_types[114]
2581#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[115]
2582#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[116]
2583#define SWIGTYPE_p_wxNcPaintEvent swig_types[117]
2584#define SWIGTYPE_p_wxNotifyEvent swig_types[118]
2585#define SWIGTYPE_p_wxNumberEntryDialog swig_types[119]
2586#define SWIGTYPE_p_wxObject swig_types[120]
2587#define SWIGTYPE_p_wxPCXHandler swig_types[121]
2588#define SWIGTYPE_p_wxPNGHandler swig_types[122]
2589#define SWIGTYPE_p_wxPNMHandler swig_types[123]
2590#define SWIGTYPE_p_wxPageSetupDialog swig_types[124]
2591#define SWIGTYPE_p_wxPageSetupDialogData swig_types[125]
2592#define SWIGTYPE_p_wxPaintEvent swig_types[126]
2593#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[127]
2594#define SWIGTYPE_p_wxPanel swig_types[128]
2595#define SWIGTYPE_p_wxPaperSize swig_types[129]
2596#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[130]
2597#define SWIGTYPE_p_wxPoint swig_types[131]
2598#define SWIGTYPE_p_wxPopupWindow swig_types[132]
2599#define SWIGTYPE_p_wxPreviewCanvas swig_types[133]
2600#define SWIGTYPE_p_wxPreviewControlBar swig_types[134]
2601#define SWIGTYPE_p_wxPreviewFrame swig_types[135]
2602#define SWIGTYPE_p_wxPrintData swig_types[136]
2603#define SWIGTYPE_p_wxPrintDialog swig_types[137]
2604#define SWIGTYPE_p_wxPrintDialogData swig_types[138]
2605#define SWIGTYPE_p_wxPrintPreview swig_types[139]
2606#define SWIGTYPE_p_wxPrinter swig_types[140]
2607#define SWIGTYPE_p_wxProgressDialog swig_types[141]
2608#define SWIGTYPE_p_wxPyApp swig_types[142]
2609#define SWIGTYPE_p_wxPyCommandEvent swig_types[143]
2610#define SWIGTYPE_p_wxPyEvent swig_types[144]
2611#define SWIGTYPE_p_wxPyHtmlFilter swig_types[145]
2612#define SWIGTYPE_p_wxPyHtmlListBox swig_types[146]
2613#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[147]
2614#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[148]
2615#define SWIGTYPE_p_wxPyHtmlWindow swig_types[149]
2616#define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617#define SWIGTYPE_p_wxPyPanel swig_types[151]
2618#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[152]
2619#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[153]
2620#define SWIGTYPE_p_wxPyPreviewFrame swig_types[154]
2621#define SWIGTYPE_p_wxPyPrintPreview swig_types[155]
2622#define SWIGTYPE_p_wxPyPrintout swig_types[156]
2623#define SWIGTYPE_p_wxPyScrolledWindow swig_types[157]
2624#define SWIGTYPE_p_wxPySizer swig_types[158]
2625#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[159]
2626#define SWIGTYPE_p_wxPyVListBox swig_types[160]
2627#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[161]
2628#define SWIGTYPE_p_wxPyValidator swig_types[162]
2629#define SWIGTYPE_p_wxPyWindow swig_types[163]
2630#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[164]
2631#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[165]
2632#define SWIGTYPE_p_wxSashEvent swig_types[166]
2633#define SWIGTYPE_p_wxSashLayoutWindow swig_types[167]
2634#define SWIGTYPE_p_wxSashWindow swig_types[168]
2635#define SWIGTYPE_p_wxScrollEvent swig_types[169]
2636#define SWIGTYPE_p_wxScrollWinEvent swig_types[170]
2637#define SWIGTYPE_p_wxScrolledWindow swig_types[171]
2638#define SWIGTYPE_p_wxSetCursorEvent swig_types[172]
2639#define SWIGTYPE_p_wxShowEvent swig_types[173]
2640#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[174]
2641#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[175]
2642#define SWIGTYPE_p_wxSize swig_types[176]
2643#define SWIGTYPE_p_wxSizeEvent swig_types[177]
2644#define SWIGTYPE_p_wxSizer swig_types[178]
2645#define SWIGTYPE_p_wxSizerItem swig_types[179]
2646#define SWIGTYPE_p_wxSplashScreen swig_types[180]
2647#define SWIGTYPE_p_wxSplashScreenWindow swig_types[181]
2648#define SWIGTYPE_p_wxSplitterEvent swig_types[182]
2649#define SWIGTYPE_p_wxSplitterWindow swig_types[183]
2650#define SWIGTYPE_p_wxStaticBoxSizer swig_types[184]
2651#define SWIGTYPE_p_wxStatusBar swig_types[185]
2652#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[186]
2653#define SWIGTYPE_p_wxString swig_types[187]
2654#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[188]
2655#define SWIGTYPE_p_wxTGAHandler swig_types[189]
2656#define SWIGTYPE_p_wxTIFFHandler swig_types[190]
2657#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[191]
2658#define SWIGTYPE_p_wxTextEntryDialog swig_types[192]
2659#define SWIGTYPE_p_wxTipWindow swig_types[193]
2660#define SWIGTYPE_p_wxTopLevelWindow swig_types[194]
2661#define SWIGTYPE_p_wxUpdateUIEvent swig_types[195]
2662#define SWIGTYPE_p_wxValidator swig_types[196]
2663#define SWIGTYPE_p_wxVisualAttributes swig_types[197]
2664#define SWIGTYPE_p_wxWindow swig_types[198]
2665#define SWIGTYPE_p_wxWindowCreateEvent swig_types[199]
2666#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[200]
2667#define SWIGTYPE_p_wxXPMHandler swig_types[201]
2668static swig_type_info *swig_types[203];
2669static swig_module_info swig_module = {swig_types, 202, 0, 0, 0, 0};
32fe5131
RD
2670#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2671#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
994141e6 2672
093d3ff1 2673/* -------- TYPES TABLE (END) -------- */
994141e6 2674
0085ce49
RD
2675#if (PY_VERSION_HEX <= 0x02000000)
2676# if !defined(SWIG_PYTHON_CLASSIC)
2677# error "This python version requires to use swig with the '-classic' option"
2678# endif
2679#endif
2680#if (PY_VERSION_HEX <= 0x02020000)
2681# error "This python version requires to use swig with the '-nomodern' option"
2682#endif
2683#if (PY_VERSION_HEX <= 0x02020000)
2684# error "This python version requires to use swig with the '-nomodernargs' option"
2685#endif
2686#ifndef METH_O
2687# error "This python version requires to use swig with the '-nofastunpack' option"
2688#endif
994141e6 2689
093d3ff1
RD
2690/*-----------------------------------------------
2691 @(target):= _html.so
2692 ------------------------------------------------*/
2693#define SWIG_init init_html
2694
2695#define SWIG_name "_html"
994141e6 2696
0085ce49
RD
2697#define SWIGVERSION 0x010329
2698
2699
2700#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2701#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2702
2703
2704#include <stdexcept>
2705
2706
2707namespace swig {
2708 class PyObject_ptr {
2709 protected:
2710 PyObject *_obj;
2711
2712 public:
2713 PyObject_ptr() :_obj(0)
2714 {
2715 }
2716
2717 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2718 {
2719 Py_XINCREF(_obj);
2720 }
2721
2722 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2723 {
2724 if (initial_ref) Py_XINCREF(_obj);
2725 }
2726
2727 PyObject_ptr & operator=(const PyObject_ptr& item)
2728 {
2729 Py_XINCREF(item._obj);
2730 Py_XDECREF(_obj);
2731 _obj = item._obj;
2732 return *this;
2733 }
2734
2735 ~PyObject_ptr()
2736 {
2737 Py_XDECREF(_obj);
2738 }
2739
2740 operator PyObject *() const
2741 {
2742 return _obj;
2743 }
2744
2745 PyObject *operator->() const
2746 {
2747 return _obj;
2748 }
2749 };
2750}
2751
2752
2753namespace swig {
2754 struct PyObject_var : PyObject_ptr {
2755 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2756
2757 PyObject_var & operator = (PyObject* obj)
2758 {
2759 Py_XDECREF(_obj);
2760 _obj = obj;
2761 return *this;
2762 }
2763 };
2764}
2765
2766
d14a1e28
RD
2767#include "wx/wxPython/wxPython.h"
2768#include "wx/wxPython/pyclasses.h"
2769#include "wx/wxPython/pyistream.h"
2770#include "wx/wxPython/printfw.h"
2771
2772#include <wx/html/htmlwin.h>
2773#include <wx/html/htmprint.h>
2774#include <wx/html/helpctrl.h>
091f5bed
RD
2775#include <wx/html/helpwnd.h>
2776#include <wx/html/helpfrm.h>
2777#include <wx/html/helpdlg.h>
d14a1e28
RD
2778
2779
b2dc1044
RD
2780 static const wxString wxPyEmptyString(wxEmptyString);
2781 static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2782 static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2783 static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing"));
994141e6 2784
0085ce49 2785 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2786
2787
0085ce49
RD
2788SWIGINTERNINLINE PyObject *
2789SWIG_From_int (int value)
2790{
2791 return SWIG_From_long (value);
2792}
15afbcd0
RD
2793
2794
0085ce49
RD
2795#include <limits.h>
2796#ifndef LLONG_MIN
2797# define LLONG_MIN LONG_LONG_MIN
2798#endif
2799#ifndef LLONG_MAX
2800# define LLONG_MAX LONG_LONG_MAX
2801#endif
2802#ifndef ULLONG_MAX
2803# define ULLONG_MAX ULONG_LONG_MAX
2804#endif
15afbcd0
RD
2805
2806
093d3ff1 2807SWIGINTERN int
0085ce49 2808SWIG_AsVal_long (PyObject* obj, long* val)
15afbcd0 2809{
c32bde28
RD
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyInt_AsLong(obj);
0085ce49 2812 return SWIG_OK;
c32bde28 2813 }
0085ce49 2814 return SWIG_TypeError;
15afbcd0
RD
2815}
2816
2817
093d3ff1 2818SWIGINTERN int
0085ce49
RD
2819SWIG_AsVal_int (PyObject * obj, int *val)
2820{
c32bde28 2821 long v;
0085ce49
RD
2822 int res = SWIG_AsVal_long (obj, &v);
2823 if (SWIG_IsOK(res)) {
2824 if ((v < INT_MIN || v > INT_MAX)) {
2825 return SWIG_OverflowError;
c32bde28 2826 } else {
0085ce49 2827 if (val) *val = static_cast< int >(v);
c32bde28 2828 }
0085ce49
RD
2829 }
2830 return res;
994141e6
RD
2831}
2832
0085ce49 2833SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
2834 int* temp = NULL;
2835 if (sizes) temp = int_LIST_helper(sizes);
2836 self->SetFonts(normal_face, fixed_face, temp);
2837 if (temp)
2838 delete [] temp;
2839 }
2840
2841class wxPyHtmlTagHandler : public wxHtmlTagHandler {
32fe5131 2842 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler)
d14a1e28
RD
2843public:
2844 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2845
2846 wxHtmlParser* GetParser() { return m_Parser; }
2847 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
2848
2849 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2850 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2851
2852 PYPRIVATE;
2853};
2854
2855IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
2856
2857IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
2858IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
2859
2860
2861class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
32fe5131 2862 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler)
d14a1e28
RD
2863public:
2864 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2865
2866 wxHtmlWinParser* GetParser() { return m_WParser; }
2867 void ParseInner(const wxHtmlTag& tag)
2868 { wxHtmlWinTagHandler::ParseInner(tag); }
2869
2870 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
2871 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
2872
2873 PYPRIVATE;
2874};
2875
2876IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
2877
2878IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
2879IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
2880
2881
2882
2883class wxPyHtmlTagsModule : public wxHtmlTagsModule {
2884public:
2885 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
2886 m_tagHandlerClass = thc;
2887 Py_INCREF(m_tagHandlerClass);
2888 RegisterModule(this);
2889 wxHtmlWinParser::AddModule(this);
2890 }
2891
2892 void OnExit() {
5a446332 2893 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2894 Py_DECREF(m_tagHandlerClass);
2895 m_tagHandlerClass = NULL;
2896 for (size_t x=0; x < m_objArray.GetCount(); x++) {
2897 PyObject* obj = (PyObject*)m_objArray.Item(x);
2898 Py_DECREF(obj);
2899 }
4f89f6a3 2900 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2901 };
2902
2903 void FillHandlersTable(wxHtmlWinParser *parser) {
2904 // Wave our magic wand... (if it works it's a miracle! ;-)
2905
2906 // First, make a new instance of the tag handler
5a446332 2907 wxPyBlock_t blocked = wxPyBeginBlockThreads();
fd3f2efe
RD
2908 PyObject* arg = PyTuple_New(0);
2909 PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg);
d14a1e28 2910 Py_DECREF(arg);
091f5bed 2911
d14a1e28
RD
2912 // now figure out where it's C++ object is...
2913 wxPyHtmlWinTagHandler* thPtr;
fd3f2efe 2914 if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) {
4f89f6a3 2915 wxPyEndBlockThreads(blocked);
d14a1e28 2916 return;
fd3f2efe 2917 }
4f89f6a3 2918 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2919
2920 // add it,
2921 parser->AddTagHandler(thPtr);
2922
2923 // and track it.
2924 m_objArray.Add(obj);
2925 }
2926
2927private:
2928 PyObject* m_tagHandlerClass;
2929 wxArrayPtrVoid m_objArray;
2930
2931};
2932
2933
2934 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
2935 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2936 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2937 new wxPyHtmlTagsModule(tagHandlerClass);
2938 }
2939
2940
32fe5131 2941SWIGINTERNINLINE PyObject*
0085ce49 2942 SWIG_From_bool (bool value)
093d3ff1 2943{
0085ce49 2944 return PyBool_FromLong(value ? 1 : 0);
093d3ff1
RD
2945}
2946
2947
093d3ff1 2948SWIGINTERN int
0085ce49 2949SWIG_AsVal_bool (PyObject *obj, bool *val)
15afbcd0 2950{
c32bde28
RD
2951 if (obj == Py_True) {
2952 if (val) *val = true;
0085ce49
RD
2953 return SWIG_OK;
2954 } else if (obj == Py_False) {
c32bde28 2955 if (val) *val = false;
0085ce49 2956 return SWIG_OK;
093d3ff1 2957 } else {
0085ce49
RD
2958 long v = 0;
2959 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2960 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2961 return res;
15afbcd0 2962 }
c32bde28
RD
2963}
2964
c32bde28 2965
093d3ff1 2966SWIGINTERN int
0085ce49 2967SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
c32bde28
RD
2968{
2969 long v = 0;
2970 if (SWIG_AsVal_long(obj, &v) && v < 0) {
0085ce49 2971 return SWIG_TypeError;
c32bde28
RD
2972 }
2973 else if (val)
2974 *val = (unsigned long)v;
0085ce49 2975 return SWIG_OK;
15afbcd0
RD
2976}
2977
2978
093d3ff1 2979SWIGINTERN int
0085ce49
RD
2980SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2981{
c32bde28 2982 unsigned long v;
0085ce49
RD
2983 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2984 if (SWIG_IsOK(res)) {
2985 if ((v > UINT_MAX)) {
2986 return SWIG_OverflowError;
2987 } else {
2988 if (val) *val = static_cast< unsigned int >(v);
c32bde28 2989 }
0085ce49
RD
2990 }
2991 return res;
c32bde28 2992}
994141e6
RD
2993
2994
0085ce49
RD
2995SWIGINTERNINLINE PyObject*
2996SWIG_From_unsigned_SS_long (unsigned long value)
994141e6 2997{
0085ce49
RD
2998 return (value > LONG_MAX) ?
2999 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
c32bde28
RD
3000}
3001
0085ce49
RD
3002
3003SWIGINTERNINLINE PyObject *
3004SWIG_From_unsigned_SS_int (unsigned int value)
3005{
3006 return SWIG_From_unsigned_SS_long (value);
15afbcd0
RD
3007}
3008
d14a1e28
RD
3009 // here's the C++ version
3010class wxPyHtmlFilter : public wxHtmlFilter {
32fe5131 3011 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter)
d14a1e28
RD
3012public:
3013 wxPyHtmlFilter() : wxHtmlFilter() {}
3014
e811c8ce 3015 // returns True if this filter is able to open&read given file
d14a1e28 3016 virtual bool CanRead(const wxFSFile& file) const {
ae8162c8 3017 bool rval = false;
d14a1e28 3018 bool found;
5a446332 3019 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3020 if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
412d302d 3021 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
3022 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3023 Py_DECREF(obj);
3024 }
4f89f6a3 3025 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3026 return rval;
3027 }
3028
3029
3030 // Reads given file and returns HTML document.
3031 // Returns empty string if opening failed
3032 virtual wxString ReadFile(const wxFSFile& file) const {
3033 wxString rval;
3034 bool found;
5a446332 3035 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3036 if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) {
412d302d 3037 PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const
d14a1e28
RD
3038 PyObject* ro;
3039 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj));
3040 Py_DECREF(obj);
3041 if (ro) {
3042 rval = Py2wxString(ro);
3043 Py_DECREF(ro);
3044 }
3045 }
4f89f6a3 3046 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3047 return rval;
3048 }
3049
3050 PYPRIVATE;
3051};
3052
3053IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter);
3054
3055
3056class wxPyHtmlWindow : public wxHtmlWindow {
32fe5131 3057 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow)
d14a1e28
RD
3058public:
3059 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
3060 const wxPoint& pos = wxDefaultPosition,
3061 const wxSize& size = wxDefaultSize,
3062 long style = wxHW_DEFAULT_STYLE,
3063 const wxString& name = wxPyHtmlWindowNameStr)
3064 : wxHtmlWindow(parent, id, pos, size, style, name) {};
3065 wxPyHtmlWindow() : wxHtmlWindow() {};
3066
3067 bool ScrollToAnchor(const wxString& anchor) {
3068 return wxHtmlWindow::ScrollToAnchor(anchor);
3069 }
3070
3071 bool HasAnchor(const wxString& anchor) {
3072 const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor);
3073 return c!=NULL;
3074 }
3075
3076 void OnLinkClicked(const wxHtmlLinkInfo& link);
d14a1e28
RD
3077
3078 wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
3079 const wxString& url,
3080 wxString *redirect) const;
3081
3082 DEC_PYCALLBACK__STRING(OnSetTitle);
3083 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
e9d6f3a4
RD
3084 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked);
3085
d14a1e28
RD
3086 PYPRIVATE;
3087};
3088
3089IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
3090IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
3091IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
e9d6f3a4 3092IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
d14a1e28
RD
3093
3094
3095void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
3096 bool found;
5a446332 3097 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3098 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3099 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3100 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
3101 Py_DECREF(obj);
3102 }
4f89f6a3 3103 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3104 if (! found)
3105 wxHtmlWindow::OnLinkClicked(link);
3106}
d14a1e28
RD
3107
3108
3109wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type,
3110 const wxString& url,
3111 wxString *redirect) const {
3112 bool found;
3113 wxHtmlOpeningStatus rval;
5a446332 3114 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3115 if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) {
3116 PyObject* ro;
3117 PyObject* s = wx2PyString(url);
3118 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s));
3119 Py_DECREF(s);
3120 if (PyString_Check(ro)
3121#if PYTHON_API_VERSION >= 1009
3122 || PyUnicode_Check(ro)
3123#endif
3124 ) {
3125 *redirect = Py2wxString(ro);
3126 rval = wxHTML_REDIRECT;
3127 }
3128 else {
3129 PyObject* num = PyNumber_Int(ro);
3130 rval = (wxHtmlOpeningStatus)PyInt_AsLong(num);
3131 Py_DECREF(num);
3132 }
3133 Py_DECREF(ro);
3134 }
4f89f6a3 3135 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3136 if (! found)
3137 rval = wxHtmlWindow::OnOpeningURL(type, url, redirect);
3138 return rval;
3139}
3140
3141
3142
0085ce49 3143SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3144 int* temp = NULL;
3145 if (sizes) temp = int_LIST_helper(sizes);
3146 self->SetFonts(normal_face, fixed_face, temp);
3147 if (temp)
3148 delete [] temp;
3149 }
0085ce49 3150SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3151 int* temp = NULL;
3152 if (sizes) temp = int_LIST_helper(sizes);
3153 self->SetFonts(normal_face, fixed_face, temp);
3154 if (temp)
3155 delete [] temp;
3156 }
0085ce49 3157SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3158 int* temp = NULL;
3159 if (sizes) temp = int_LIST_helper(sizes);
3160 self->SetFonts(normal_face, fixed_face, temp);
3161 if (temp)
3162 delete [] temp;
3163 }
994141e6 3164
15afbcd0 3165#include <float.h>
15afbcd0
RD
3166
3167
093d3ff1 3168SWIGINTERN int
0085ce49 3169SWIG_AsVal_double (PyObject *obj, double* val)
994141e6 3170{
c32bde28
RD
3171 if (PyNumber_Check(obj)) {
3172 if (val) *val = PyFloat_AsDouble(obj);
0085ce49 3173 return SWIG_OK;
69223c70 3174 }
0085ce49 3175 return SWIG_TypeError;
c32bde28
RD
3176}
3177
3178
093d3ff1 3179SWIGINTERN int
0085ce49 3180SWIG_AsVal_float (PyObject * obj, float *val)
c32bde28 3181{
c32bde28 3182 double v;
0085ce49
RD
3183 int res = SWIG_AsVal_double (obj, &v);
3184 if (SWIG_IsOK(res)) {
3185 if ((v < -FLT_MAX || v > FLT_MAX)) {
3186 return SWIG_OverflowError;
c32bde28 3187 } else {
0085ce49 3188 if (val) *val = static_cast< float >(v);
c32bde28 3189 }
0085ce49
RD
3190 }
3191 return res;
994141e6
RD
3192}
3193
0085ce49 3194SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){
d14a1e28
RD
3195 int* temp = NULL;
3196 if (sizes) temp = int_LIST_helper(sizes);
3197 self->SetFonts(normal_face, fixed_face, temp);
3198 if (temp)
3199 delete [] temp;
3200 }
10044bf1
RD
3201
3202 typedef wxTreeCtrl wxPyTreeCtrl;
3203
d14a1e28
RD
3204#ifdef __cplusplus
3205extern "C" {
3206#endif
0085ce49
RD
3207SWIGINTERN int HtmlWindowNameStr_set(PyObject *) {
3208 SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only.");
3209 return 1;
b2dc1044
RD
3210}
3211
3212
0085ce49
RD
3213SWIGINTERN PyObject *HtmlWindowNameStr_get(void) {
3214 PyObject *pyobj = 0;
3215
3216 {
b2dc1044 3217#if wxUSE_UNICODE
0085ce49 3218 pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
b2dc1044 3219#else
0085ce49 3220 pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len());
b2dc1044 3221#endif
0085ce49
RD
3222 }
3223 return pyobj;
b2dc1044
RD
3224}
3225
3226
0085ce49
RD
3227SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) {
3228 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only.");
3229 return 1;
b2dc1044
RD
3230}
3231
3232
0085ce49
RD
3233SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) {
3234 PyObject *pyobj = 0;
3235
3236 {
b2dc1044 3237#if wxUSE_UNICODE
0085ce49 3238 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
b2dc1044 3239#else
0085ce49 3240 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len());
b2dc1044 3241#endif
0085ce49
RD
3242 }
3243 return pyobj;
b2dc1044
RD
3244}
3245
3246
0085ce49
RD
3247SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) {
3248 SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only.");
3249 return 1;
b2dc1044
RD
3250}
3251
3252
0085ce49
RD
3253SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) {
3254 PyObject *pyobj = 0;
3255
3256 {
b2dc1044 3257#if wxUSE_UNICODE
0085ce49 3258 pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
b2dc1044 3259#else
0085ce49 3260 pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len());
b2dc1044 3261#endif
0085ce49
RD
3262 }
3263 return pyobj;
3264}
3265
3266
3267SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3268 PyObject *resultobj = 0;
3269 wxString *arg1 = 0 ;
3270 wxString const &arg2_defvalue = wxPyEmptyString ;
3271 wxString *arg2 = (wxString *) &arg2_defvalue ;
3272 wxHtmlLinkInfo *result = 0 ;
3273 bool temp1 = false ;
3274 bool temp2 = false ;
3275 PyObject * obj0 = 0 ;
3276 PyObject * obj1 = 0 ;
3277 char * kwnames[] = {
3278 (char *) "href",(char *) "target", NULL
3279 };
3280
3281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail;
3282 {
3283 arg1 = wxString_in_helper(obj0);
3284 if (arg1 == NULL) SWIG_fail;
3285 temp1 = true;
3286 }
3287 if (obj1) {
d14a1e28 3288 {
0085ce49
RD
3289 arg2 = wxString_in_helper(obj1);
3290 if (arg2 == NULL) SWIG_fail;
3291 temp2 = true;
d14a1e28 3292 }
0085ce49
RD
3293 }
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2);
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 );
3301 {
3302 if (temp1)
3303 delete arg1;
3304 }
3305 {
3306 if (temp2)
3307 delete arg2;
3308 }
3309 return resultobj;
3310fail:
3311 {
3312 if (temp1)
3313 delete arg1;
3314 }
3315 {
3316 if (temp2)
3317 delete arg2;
3318 }
3319 return NULL;
d14a1e28
RD
3320}
3321
3322
0085ce49
RD
3323SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3324 PyObject *resultobj = 0;
3325 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3326 wxString result;
3327 void *argp1 = 0 ;
3328 int res1 = 0 ;
3329 PyObject *swig_obj[1] ;
3330
3331 if (!args) SWIG_fail;
3332 swig_obj[0] = args;
3333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3334 if (!SWIG_IsOK(res1)) {
3335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3336 }
3337 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 result = (arg1)->GetHref();
3341 wxPyEndAllowThreads(__tstate);
3342 if (PyErr_Occurred()) SWIG_fail;
3343 }
3344 {
d14a1e28 3345#if wxUSE_UNICODE
0085ce49 3346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3347#else
0085ce49 3348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3349#endif
0085ce49
RD
3350 }
3351 return resultobj;
3352fail:
3353 return NULL;
d14a1e28
RD
3354}
3355
3356
0085ce49
RD
3357SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3358 PyObject *resultobj = 0;
3359 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3360 wxString result;
3361 void *argp1 = 0 ;
3362 int res1 = 0 ;
3363 PyObject *swig_obj[1] ;
3364
3365 if (!args) SWIG_fail;
3366 swig_obj[0] = args;
3367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3368 if (!SWIG_IsOK(res1)) {
3369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3370 }
3371 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (arg1)->GetTarget();
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 {
d14a1e28 3379#if wxUSE_UNICODE
0085ce49 3380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3381#else
0085ce49 3382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3383#endif
0085ce49
RD
3384 }
3385 return resultobj;
3386fail:
3387 return NULL;
d14a1e28
RD
3388}
3389
3390
0085ce49
RD
3391SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3392 PyObject *resultobj = 0;
3393 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3394 wxMouseEvent *result = 0 ;
3395 void *argp1 = 0 ;
3396 int res1 = 0 ;
3397 PyObject *swig_obj[1] ;
3398
3399 if (!args) SWIG_fail;
3400 swig_obj[0] = args;
3401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3402 if (!SWIG_IsOK(res1)) {
3403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3404 }
3405 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 result = (wxMouseEvent *)(arg1)->GetEvent();
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
3412 {
3ecece7e 3413 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
3414 }
3415 return resultobj;
3416fail:
3417 return NULL;
d14a1e28
RD
3418}
3419
3420
0085ce49
RD
3421SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3422 PyObject *resultobj = 0;
3423 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3424 wxHtmlCell *result = 0 ;
3425 void *argp1 = 0 ;
3426 int res1 = 0 ;
3427 PyObject *swig_obj[1] ;
3428
3429 if (!args) SWIG_fail;
3430 swig_obj[0] = args;
3431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3432 if (!SWIG_IsOK(res1)) {
3433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3434 }
3435 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 result = (wxHtmlCell *)(arg1)->GetHtmlCell();
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3443 return resultobj;
3444fail:
3445 return NULL;
3446}
3447
3448
3449SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj = 0;
3451 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3452 wxMouseEvent *arg2 = (wxMouseEvent *) 0 ;
3453 void *argp1 = 0 ;
3454 int res1 = 0 ;
3455 void *argp2 = 0 ;
3456 int res2 = 0 ;
3457 PyObject * obj0 = 0 ;
3458 PyObject * obj1 = 0 ;
3459 char * kwnames[] = {
3460 (char *) "self",(char *) "e", NULL
3461 };
3462
3463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail;
3464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3465 if (!SWIG_IsOK(res1)) {
3466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3467 }
3468 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3469 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 );
3470 if (!SWIG_IsOK(res2)) {
3471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3472 }
3473 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
3474 {
3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
3476 (arg1)->SetEvent((wxMouseEvent const *)arg2);
3477 wxPyEndAllowThreads(__tstate);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 resultobj = SWIG_Py_Void();
3481 return resultobj;
3482fail:
3483 return NULL;
3484}
3485
3486
3487SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3488 PyObject *resultobj = 0;
3489 wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ;
3490 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
3491 void *argp1 = 0 ;
3492 int res1 = 0 ;
3493 void *argp2 = 0 ;
3494 int res2 = 0 ;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 char * kwnames[] = {
3498 (char *) "self",(char *) "e", NULL
3499 };
3500
3501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail;
3502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
3503 if (!SWIG_IsOK(res1)) {
3504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3505 }
3506 arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1);
3507 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
3508 if (!SWIG_IsOK(res2)) {
3509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3510 }
3511 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 (arg1)->SetHtmlCell((wxHtmlCell const *)arg2);
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 resultobj = SWIG_Py_Void();
3519 return resultobj;
3520fail:
3521 return NULL;
d14a1e28
RD
3522}
3523
3524
0085ce49
RD
3525SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3526 PyObject *obj;
3527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3528 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj));
3529 return SWIG_Py_Void();
d14a1e28
RD
3530}
3531
0085ce49
RD
3532SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3533 return SWIG_Python_InitShadowInstance(args);
3534}
d14a1e28 3535
0085ce49
RD
3536SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3537 PyObject *resultobj = 0;
3538 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3539 wxString result;
3540 void *argp1 = 0 ;
3541 int res1 = 0 ;
3542 PyObject *swig_obj[1] ;
3543
3544 if (!args) SWIG_fail;
3545 swig_obj[0] = args;
3546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3547 if (!SWIG_IsOK(res1)) {
3548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3549 }
3550 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3551 {
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (arg1)->GetName();
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 {
3558#if wxUSE_UNICODE
3559 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3560#else
3561 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3562#endif
3563 }
3564 return resultobj;
3565fail:
3566 return NULL;
3567}
3568
3569
3570SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj = 0;
3572 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3573 wxString *arg2 = 0 ;
3574 bool result;
3575 void *argp1 = 0 ;
3576 int res1 = 0 ;
3577 bool temp2 = false ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 char * kwnames[] = {
3581 (char *) "self",(char *) "par", NULL
3582 };
3583
3584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail;
3585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3586 if (!SWIG_IsOK(res1)) {
3587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3588 }
3589 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3590 {
3591 arg2 = wxString_in_helper(obj1);
3592 if (arg2 == NULL) SWIG_fail;
3593 temp2 = true;
3594 }
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 result = (bool)(arg1)->HasParam((wxString const &)*arg2);
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 {
3602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3603 }
3604 {
3605 if (temp2)
3606 delete arg2;
3607 }
3608 return resultobj;
3609fail:
3610 {
3611 if (temp2)
3612 delete arg2;
3613 }
3614 return NULL;
3615}
3616
3617
3618SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3619 PyObject *resultobj = 0;
3620 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3621 wxString *arg2 = 0 ;
3622 int arg3 = (int) false ;
3623 wxString result;
3624 void *argp1 = 0 ;
3625 int res1 = 0 ;
3626 bool temp2 = false ;
3627 int val3 ;
3628 int ecode3 = 0 ;
3629 PyObject * obj0 = 0 ;
3630 PyObject * obj1 = 0 ;
3631 PyObject * obj2 = 0 ;
3632 char * kwnames[] = {
3633 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3634 };
3635
3636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3638 if (!SWIG_IsOK(res1)) {
3639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3640 }
3641 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3642 {
3643 arg2 = wxString_in_helper(obj1);
3644 if (arg2 == NULL) SWIG_fail;
3645 temp2 = true;
3646 }
3647 if (obj2) {
3648 ecode3 = SWIG_AsVal_int(obj2, &val3);
3649 if (!SWIG_IsOK(ecode3)) {
3650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3651 }
3652 arg3 = static_cast< int >(val3);
3653 }
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (arg1)->GetParam((wxString const &)*arg2,arg3);
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 {
3661#if wxUSE_UNICODE
3662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3663#else
3664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3665#endif
3666 }
3667 {
3668 if (temp2)
3669 delete arg2;
3670 }
3671 return resultobj;
3672fail:
3673 {
3674 if (temp2)
3675 delete arg2;
3676 }
3677 return NULL;
d14a1e28
RD
3678}
3679
3680
0085ce49
RD
3681SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3682 PyObject *resultobj = 0;
3683 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3684 wxString result;
3685 void *argp1 = 0 ;
3686 int res1 = 0 ;
3687 PyObject *swig_obj[1] ;
3688
3689 if (!args) SWIG_fail;
3690 swig_obj[0] = args;
3691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3692 if (!SWIG_IsOK(res1)) {
3693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3694 }
3695 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 result = (arg1)->GetAllParams();
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 {
d14a1e28 3703#if wxUSE_UNICODE
0085ce49 3704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 3705#else
0085ce49 3706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 3707#endif
0085ce49
RD
3708 }
3709 return resultobj;
3710fail:
3711 return NULL;
d14a1e28
RD
3712}
3713
3714
0085ce49
RD
3715SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3716 PyObject *resultobj = 0;
3717 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3718 bool result;
3719 void *argp1 = 0 ;
3720 int res1 = 0 ;
3721 PyObject *swig_obj[1] ;
3722
3723 if (!args) SWIG_fail;
3724 swig_obj[0] = args;
3725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3726 if (!SWIG_IsOK(res1)) {
3727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3728 }
3729 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 result = (bool)(arg1)->HasEnding();
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 {
3737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3738 }
3739 return resultobj;
3740fail:
3741 return NULL;
d14a1e28
RD
3742}
3743
3744
0085ce49
RD
3745SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3746 PyObject *resultobj = 0;
3747 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3748 int result;
3749 void *argp1 = 0 ;
3750 int res1 = 0 ;
3751 PyObject *swig_obj[1] ;
3752
3753 if (!args) SWIG_fail;
3754 swig_obj[0] = args;
3755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3756 if (!SWIG_IsOK(res1)) {
3757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3758 }
3759 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 result = (int)(arg1)->GetBeginPos();
3763 wxPyEndAllowThreads(__tstate);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 }
3766 resultobj = SWIG_From_int(static_cast< int >(result));
3767 return resultobj;
3768fail:
3769 return NULL;
d14a1e28
RD
3770}
3771
3772
0085ce49
RD
3773SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3774 PyObject *resultobj = 0;
3775 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3776 int result;
3777 void *argp1 = 0 ;
3778 int res1 = 0 ;
3779 PyObject *swig_obj[1] ;
3780
3781 if (!args) SWIG_fail;
3782 swig_obj[0] = args;
3783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3786 }
3787 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (int)(arg1)->GetEndPos1();
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 resultobj = SWIG_From_int(static_cast< int >(result));
3795 return resultobj;
3796fail:
3797 return NULL;
d14a1e28
RD
3798}
3799
3800
0085ce49
RD
3801SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3802 PyObject *resultobj = 0;
3803 wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
3804 int result;
3805 void *argp1 = 0 ;
3806 int res1 = 0 ;
3807 PyObject *swig_obj[1] ;
3808
3809 if (!args) SWIG_fail;
3810 swig_obj[0] = args;
3811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 );
3812 if (!SWIG_IsOK(res1)) {
3813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3814 }
3815 arg1 = reinterpret_cast< wxHtmlTag * >(argp1);
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (int)(arg1)->GetEndPos2();
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 resultobj = SWIG_From_int(static_cast< int >(result));
3823 return resultobj;
3824fail:
3825 return NULL;
3826}
3827
3828
3829SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3830 PyObject *obj;
3831 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3832 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj));
3833 return SWIG_Py_Void();
3834}
3835
3836SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj = 0;
3838 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3839 wxFileSystem *arg2 = (wxFileSystem *) 0 ;
3840 void *argp1 = 0 ;
3841 int res1 = 0 ;
3842 void *argp2 = 0 ;
3843 int res2 = 0 ;
3844 PyObject * obj0 = 0 ;
3845 PyObject * obj1 = 0 ;
3846 char * kwnames[] = {
3847 (char *) "self",(char *) "fs", NULL
3848 };
3849
3850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail;
3851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3852 if (!SWIG_IsOK(res1)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3854 }
3855 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3856 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 );
3857 if (!SWIG_IsOK(res2)) {
3858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3859 }
3860 arg2 = reinterpret_cast< wxFileSystem * >(argp2);
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 (arg1)->SetFS(arg2);
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 resultobj = SWIG_Py_Void();
3868 return resultobj;
3869fail:
3870 return NULL;
d14a1e28
RD
3871}
3872
3873
0085ce49
RD
3874SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3875 PyObject *resultobj = 0;
3876 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3877 wxFileSystem *result = 0 ;
3878 void *argp1 = 0 ;
3879 int res1 = 0 ;
3880 PyObject *swig_obj[1] ;
3881
3882 if (!args) SWIG_fail;
3883 swig_obj[0] = args;
3884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3885 if (!SWIG_IsOK(res1)) {
3886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3887 }
3888 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 result = (wxFileSystem *)(arg1)->GetFS();
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 {
3ecece7e 3896 resultobj = wxPyMake_wxObject(result, 0);
0085ce49
RD
3897 }
3898 return resultobj;
3899fail:
3900 return NULL;
3901}
3902
3903
3904SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3905 PyObject *resultobj = 0;
3906 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3907 wxString *arg2 = 0 ;
3908 wxObject *result = 0 ;
3909 void *argp1 = 0 ;
3910 int res1 = 0 ;
3911 bool temp2 = false ;
3912 PyObject * obj0 = 0 ;
3913 PyObject * obj1 = 0 ;
3914 char * kwnames[] = {
3915 (char *) "self",(char *) "source", NULL
3916 };
3917
3918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail;
3919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3920 if (!SWIG_IsOK(res1)) {
3921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3922 }
3923 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3924 {
3925 arg2 = wxString_in_helper(obj1);
3926 if (arg2 == NULL) SWIG_fail;
3927 temp2 = true;
3928 }
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 result = (wxObject *)(arg1)->Parse((wxString const &)*arg2);
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 {
3936 resultobj = wxPyMake_wxObject(result, (bool)0);
3937 }
3938 {
3939 if (temp2)
3940 delete arg2;
3941 }
3942 return resultobj;
3943fail:
3944 {
3945 if (temp2)
3946 delete arg2;
3947 }
3948 return NULL;
d14a1e28
RD
3949}
3950
3951
0085ce49
RD
3952SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3953 PyObject *resultobj = 0;
3954 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
3955 wxString *arg2 = 0 ;
3956 void *argp1 = 0 ;
3957 int res1 = 0 ;
3958 bool temp2 = false ;
3959 PyObject * obj0 = 0 ;
3960 PyObject * obj1 = 0 ;
3961 char * kwnames[] = {
3962 (char *) "self",(char *) "source", NULL
3963 };
3964
3965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail;
3966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
3967 if (!SWIG_IsOK(res1)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3969 }
3970 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
3971 {
3972 arg2 = wxString_in_helper(obj1);
3973 if (arg2 == NULL) SWIG_fail;
3974 temp2 = true;
3975 }
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->InitParser((wxString const &)*arg2);
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 resultobj = SWIG_Py_Void();
3983 {
3984 if (temp2)
3985 delete arg2;
3986 }
3987 return resultobj;
3988fail:
3989 {
3990 if (temp2)
3991 delete arg2;
3992 }
3993 return NULL;
d14a1e28
RD
3994}
3995
3996
0085ce49
RD
3997SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3998 PyObject *resultobj = 0;
3999 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4000 void *argp1 = 0 ;
4001 int res1 = 0 ;
4002 PyObject *swig_obj[1] ;
4003
4004 if (!args) SWIG_fail;
4005 swig_obj[0] = args;
4006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4007 if (!SWIG_IsOK(res1)) {
4008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4009 }
4010 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 (arg1)->DoneParser();
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_Py_Void();
4018 return resultobj;
4019fail:
4020 return NULL;
4021}
4022
4023
4024SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj = 0;
4026 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4027 int arg2 ;
4028 int arg3 ;
4029 void *argp1 = 0 ;
4030 int res1 = 0 ;
4031 int val2 ;
4032 int ecode2 = 0 ;
4033 int val3 ;
4034 int ecode3 = 0 ;
4035 PyObject * obj0 = 0 ;
4036 PyObject * obj1 = 0 ;
4037 PyObject * obj2 = 0 ;
4038 char * kwnames[] = {
4039 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4040 };
4041
4042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4044 if (!SWIG_IsOK(res1)) {
4045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4046 }
4047 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4048 ecode2 = SWIG_AsVal_int(obj1, &val2);
4049 if (!SWIG_IsOK(ecode2)) {
4050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4051 }
4052 arg2 = static_cast< int >(val2);
4053 ecode3 = SWIG_AsVal_int(obj2, &val3);
4054 if (!SWIG_IsOK(ecode3)) {
4055 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4056 }
4057 arg3 = static_cast< int >(val3);
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->DoParsing(arg2,arg3);
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 resultobj = SWIG_Py_Void();
4065 return resultobj;
4066fail:
4067 return NULL;
d14a1e28
RD
4068}
4069
4070
0085ce49
RD
4071SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4072 PyObject *resultobj = 0;
4073 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4074 void *argp1 = 0 ;
4075 int res1 = 0 ;
4076 PyObject *swig_obj[1] ;
4077
4078 if (!args) SWIG_fail;
4079 swig_obj[0] = args;
4080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4081 if (!SWIG_IsOK(res1)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4083 }
4084 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 (arg1)->StopParsing();
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 resultobj = SWIG_Py_Void();
4092 return resultobj;
4093fail:
4094 return NULL;
4095}
4096
4097
4098SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4099 PyObject *resultobj = 0;
4100 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4101 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4102 void *argp1 = 0 ;
4103 int res1 = 0 ;
4104 void *argp2 = 0 ;
4105 int res2 = 0 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char * kwnames[] = {
4109 (char *) "self",(char *) "handler", NULL
4110 };
4111
4112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail;
4113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4114 if (!SWIG_IsOK(res1)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4116 }
4117 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4119 if (!SWIG_IsOK(res2)) {
4120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4121 }
4122 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 (arg1)->AddTagHandler(arg2);
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = SWIG_Py_Void();
4130 return resultobj;
4131fail:
4132 return NULL;
d14a1e28
RD
4133}
4134
4135
0085ce49
RD
4136SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4137 PyObject *resultobj = 0;
4138 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4139 wxString *result = 0 ;
4140 void *argp1 = 0 ;
4141 int res1 = 0 ;
4142 PyObject *swig_obj[1] ;
4143
4144 if (!args) SWIG_fail;
4145 swig_obj[0] = args;
4146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4147 if (!SWIG_IsOK(res1)) {
4148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4149 }
4150 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 result = (wxString *)(arg1)->GetSource();
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 {
4158#if wxUSE_UNICODE
4159 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4160#else
4161 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4162#endif
4163 }
4164 return resultobj;
4165fail:
4166 return NULL;
4167}
4168
4169
4170SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj = 0;
4172 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4173 wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ;
4174 wxString arg3 ;
4175 void *argp1 = 0 ;
4176 int res1 = 0 ;
4177 void *argp2 = 0 ;
4178 int res2 = 0 ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 PyObject * obj2 = 0 ;
4182 char * kwnames[] = {
4183 (char *) "self",(char *) "handler",(char *) "tags", NULL
4184 };
4185
4186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4188 if (!SWIG_IsOK(res1)) {
4189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4190 }
4191 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 );
4193 if (!SWIG_IsOK(res2)) {
4194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4195 }
4196 arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2);
4197 {
4198 wxString* sptr = wxString_in_helper(obj2);
4199 if (sptr == NULL) SWIG_fail;
4200 arg3 = *sptr;
4201 delete sptr;
4202 }
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 (arg1)->PushTagHandler(arg2,arg3);
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 resultobj = SWIG_Py_Void();
4210 return resultobj;
4211fail:
4212 return NULL;
d14a1e28
RD
4213}
4214
4215
0085ce49
RD
4216SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4217 PyObject *resultobj = 0;
4218 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4219 void *argp1 = 0 ;
4220 int res1 = 0 ;
4221 PyObject *swig_obj[1] ;
4222
4223 if (!args) SWIG_fail;
4224 swig_obj[0] = args;
4225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4226 if (!SWIG_IsOK(res1)) {
4227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4228 }
4229 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4230 {
4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
4232 (arg1)->PopTagHandler();
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 resultobj = SWIG_Py_Void();
4237 return resultobj;
4238fail:
4239 return NULL;
d14a1e28
RD
4240}
4241
4242
e9d6f3a4
RD
4243SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4244 PyObject *resultobj = 0;
4245 wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
4246 wxHtmlTag *arg2 = 0 ;
4247 wxString result;
4248 void *argp1 = 0 ;
4249 int res1 = 0 ;
4250 void *argp2 = 0 ;
4251 int res2 = 0 ;
4252 PyObject * obj0 = 0 ;
4253 PyObject * obj1 = 0 ;
4254 char * kwnames[] = {
4255 (char *) "self",(char *) "tag", NULL
4256 };
4257
4258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail;
4259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
4260 if (!SWIG_IsOK(res1)) {
4261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4262 }
4263 arg1 = reinterpret_cast< wxHtmlParser * >(argp1);
4264 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
4265 if (!SWIG_IsOK(res2)) {
4266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4267 }
4268 if (!argp2) {
4269 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4270 }
4271 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
4272 {
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2);
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 {
4279#if wxUSE_UNICODE
4280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4281#else
4282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4283#endif
4284 }
4285 return resultobj;
4286fail:
4287 return NULL;
4288}
4289
4290
0085ce49
RD
4291SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4292 PyObject *obj;
4293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4294 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj));
4295 return SWIG_Py_Void();
d14a1e28
RD
4296}
4297
0085ce49
RD
4298SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj = 0;
4300 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ;
4301 wxHtmlWinParser *result = 0 ;
4302 void *argp1 = 0 ;
4303 int res1 = 0 ;
4304 PyObject * obj0 = 0 ;
4305 char * kwnames[] = {
4306 (char *) "wnd", NULL
4307 };
4308
4309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail;
4310 if (obj0) {
4311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
4312 if (!SWIG_IsOK(res1)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
d14a1e28 4314 }
0085ce49
RD
4315 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
4316 }
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4319 result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1);
4320 wxPyEndAllowThreads(__tstate);
4321 if (PyErr_Occurred()) SWIG_fail;
4322 }
4323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 );
4324 return resultobj;
4325fail:
4326 return NULL;
4327}
4328
4329
4330SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4331 PyObject *resultobj = 0;
4332 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4333 wxDC *arg2 = (wxDC *) 0 ;
4334 void *argp1 = 0 ;
4335 int res1 = 0 ;
4336 void *argp2 = 0 ;
4337 int res2 = 0 ;
4338 PyObject * obj0 = 0 ;
4339 PyObject * obj1 = 0 ;
4340 char * kwnames[] = {
4341 (char *) "self",(char *) "dc", NULL
4342 };
4343
4344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
4345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4346 if (!SWIG_IsOK(res1)) {
4347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4348 }
4349 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
4351 if (!SWIG_IsOK(res2)) {
4352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4353 }
4354 arg2 = reinterpret_cast< wxDC * >(argp2);
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 (arg1)->SetDC(arg2);
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
4361 resultobj = SWIG_Py_Void();
4362 return resultobj;
4363fail:
4364 return NULL;
d14a1e28
RD
4365}
4366
4367
0085ce49
RD
4368SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4369 PyObject *resultobj = 0;
4370 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4371 wxDC *result = 0 ;
4372 void *argp1 = 0 ;
4373 int res1 = 0 ;
4374 PyObject *swig_obj[1] ;
4375
4376 if (!args) SWIG_fail;
4377 swig_obj[0] = args;
4378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4379 if (!SWIG_IsOK(res1)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4381 }
4382 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 result = (wxDC *)(arg1)->GetDC();
4386 wxPyEndAllowThreads(__tstate);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 }
4389 {
4390 resultobj = wxPyMake_wxObject(result, (bool)0);
4391 }
4392 return resultobj;
4393fail:
4394 return NULL;
d14a1e28
RD
4395}
4396
4397
0085ce49
RD
4398SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4399 PyObject *resultobj = 0;
4400 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4401 int result;
4402 void *argp1 = 0 ;
4403 int res1 = 0 ;
4404 PyObject *swig_obj[1] ;
4405
4406 if (!args) SWIG_fail;
4407 swig_obj[0] = args;
4408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4409 if (!SWIG_IsOK(res1)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4411 }
4412 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (int)(arg1)->GetCharHeight();
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 resultobj = SWIG_From_int(static_cast< int >(result));
4420 return resultobj;
4421fail:
4422 return NULL;
d14a1e28
RD
4423}
4424
4425
0085ce49
RD
4426SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4427 PyObject *resultobj = 0;
4428 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4429 int result;
4430 void *argp1 = 0 ;
4431 int res1 = 0 ;
4432 PyObject *swig_obj[1] ;
4433
4434 if (!args) SWIG_fail;
4435 swig_obj[0] = args;
4436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4437 if (!SWIG_IsOK(res1)) {
4438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4439 }
4440 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 result = (int)(arg1)->GetCharWidth();
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 resultobj = SWIG_From_int(static_cast< int >(result));
4448 return resultobj;
4449fail:
4450 return NULL;
d14a1e28
RD
4451}
4452
4453
e9d6f3a4
RD
4454SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4455 PyObject *resultobj = 0;
4456 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4457 wxHtmlWindowInterface *result = 0 ;
4458 void *argp1 = 0 ;
4459 int res1 = 0 ;
4460 PyObject *swig_obj[1] ;
4461
4462 if (!args) SWIG_fail;
4463 swig_obj[0] = args;
4464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4465 if (!SWIG_IsOK(res1)) {
4466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4467 }
4468 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface();
4472 wxPyEndAllowThreads(__tstate);
4473 if (PyErr_Occurred()) SWIG_fail;
4474 }
4475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
4476 return resultobj;
4477fail:
4478 return NULL;
4479}
4480
4481
0085ce49
RD
4482SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4483 PyObject *resultobj = 0;
4484 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4485 wxString arg2 ;
4486 wxString arg3 ;
4487 PyObject *arg4 = (PyObject *) NULL ;
4488 void *argp1 = 0 ;
4489 int res1 = 0 ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 PyObject * obj3 = 0 ;
4494 char * kwnames[] = {
4495 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4496 };
4497
4498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4500 if (!SWIG_IsOK(res1)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4502 }
4503 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4504 {
4505 wxString* sptr = wxString_in_helper(obj1);
4506 if (sptr == NULL) SWIG_fail;
4507 arg2 = *sptr;
4508 delete sptr;
4509 }
4510 {
4511 wxString* sptr = wxString_in_helper(obj2);
4512 if (sptr == NULL) SWIG_fail;
4513 arg3 = *sptr;
4514 delete sptr;
4515 }
4516 if (obj3) {
4517 arg4 = obj3;
4518 }
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4);
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 resultobj = SWIG_Py_Void();
4526 return resultobj;
4527fail:
4528 return NULL;
4529}
4530
4531
4532SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4533 PyObject *resultobj = 0;
4534 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4535 int arg2 = (int) -1 ;
4536 wxString const &arg3_defvalue = wxPyEmptyString ;
4537 wxString *arg3 = (wxString *) &arg3_defvalue ;
4538 wxString const &arg4_defvalue = wxPyEmptyString ;
4539 wxString *arg4 = (wxString *) &arg4_defvalue ;
4540 void *argp1 = 0 ;
4541 int res1 = 0 ;
4542 int val2 ;
4543 int ecode2 = 0 ;
4544 bool temp3 = false ;
4545 bool temp4 = false ;
4546 PyObject * obj0 = 0 ;
4547 PyObject * obj1 = 0 ;
4548 PyObject * obj2 = 0 ;
4549 PyObject * obj3 = 0 ;
4550 char * kwnames[] = {
4551 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4552 };
4553
4554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
4555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4556 if (!SWIG_IsOK(res1)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4558 }
4559 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4560 if (obj1) {
4561 ecode2 = SWIG_AsVal_int(obj1, &val2);
4562 if (!SWIG_IsOK(ecode2)) {
4563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4564 }
4565 arg2 = static_cast< int >(val2);
4566 }
4567 if (obj2) {
d14a1e28 4568 {
0085ce49
RD
4569 arg3 = wxString_in_helper(obj2);
4570 if (arg3 == NULL) SWIG_fail;
4571 temp3 = true;
d14a1e28 4572 }
0085ce49
RD
4573 }
4574 if (obj3) {
d14a1e28 4575 {
0085ce49
RD
4576 arg4 = wxString_in_helper(obj3);
4577 if (arg4 == NULL) SWIG_fail;
4578 temp4 = true;
d14a1e28 4579 }
0085ce49
RD
4580 }
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 resultobj = SWIG_Py_Void();
4588 {
4589 if (temp3)
4590 delete arg3;
4591 }
4592 {
4593 if (temp4)
4594 delete arg4;
4595 }
4596 return resultobj;
4597fail:
4598 {
4599 if (temp3)
4600 delete arg3;
4601 }
4602 {
4603 if (temp4)
4604 delete arg4;
4605 }
4606 return NULL;
d14a1e28
RD
4607}
4608
4609
0085ce49
RD
4610SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4611 PyObject *resultobj = 0;
4612 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4613 wxHtmlContainerCell *result = 0 ;
4614 void *argp1 = 0 ;
4615 int res1 = 0 ;
4616 PyObject *swig_obj[1] ;
4617
4618 if (!args) SWIG_fail;
4619 swig_obj[0] = args;
4620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4621 if (!SWIG_IsOK(res1)) {
4622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4623 }
4624 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = (wxHtmlContainerCell *)(arg1)->GetContainer();
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4632 return resultobj;
4633fail:
4634 return NULL;
d14a1e28
RD
4635}
4636
4637
0085ce49
RD
4638SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4639 PyObject *resultobj = 0;
4640 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4641 wxHtmlContainerCell *result = 0 ;
4642 void *argp1 = 0 ;
4643 int res1 = 0 ;
4644 PyObject *swig_obj[1] ;
4645
4646 if (!args) SWIG_fail;
4647 swig_obj[0] = args;
4648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4649 if (!SWIG_IsOK(res1)) {
4650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4651 }
4652 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (wxHtmlContainerCell *)(arg1)->OpenContainer();
4656 wxPyEndAllowThreads(__tstate);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4660 return resultobj;
4661fail:
4662 return NULL;
4663}
4664
4665
4666SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj = 0;
4668 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4669 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
4670 wxHtmlContainerCell *result = 0 ;
4671 void *argp1 = 0 ;
4672 int res1 = 0 ;
4673 void *argp2 = 0 ;
4674 int res2 = 0 ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 char * kwnames[] = {
4678 (char *) "self",(char *) "c", NULL
4679 };
4680
4681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail;
4682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4683 if (!SWIG_IsOK(res1)) {
4684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4685 }
4686 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4688 if (!SWIG_IsOK(res2)) {
4689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4690 }
4691 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2);
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4699 return resultobj;
4700fail:
4701 return NULL;
d14a1e28
RD
4702}
4703
4704
0085ce49
RD
4705SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4706 PyObject *resultobj = 0;
4707 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4708 wxHtmlContainerCell *result = 0 ;
4709 void *argp1 = 0 ;
4710 int res1 = 0 ;
4711 PyObject *swig_obj[1] ;
4712
4713 if (!args) SWIG_fail;
4714 swig_obj[0] = args;
4715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4716 if (!SWIG_IsOK(res1)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4718 }
4719 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4720 {
4721 PyThreadState* __tstate = wxPyBeginAllowThreads();
4722 result = (wxHtmlContainerCell *)(arg1)->CloseContainer();
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
4727 return resultobj;
4728fail:
4729 return NULL;
d14a1e28
RD
4730}
4731
4732
0085ce49
RD
4733SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4734 PyObject *resultobj = 0;
4735 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4736 int result;
4737 void *argp1 = 0 ;
4738 int res1 = 0 ;
4739 PyObject *swig_obj[1] ;
4740
4741 if (!args) SWIG_fail;
4742 swig_obj[0] = args;
4743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4744 if (!SWIG_IsOK(res1)) {
4745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4746 }
4747 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 result = (int)(arg1)->GetFontSize();
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 resultobj = SWIG_From_int(static_cast< int >(result));
4755 return resultobj;
4756fail:
4757 return NULL;
4758}
4759
4760
4761SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj = 0;
4763 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4764 int arg2 ;
4765 void *argp1 = 0 ;
4766 int res1 = 0 ;
4767 int val2 ;
4768 int ecode2 = 0 ;
4769 PyObject * obj0 = 0 ;
4770 PyObject * obj1 = 0 ;
4771 char * kwnames[] = {
4772 (char *) "self",(char *) "s", NULL
4773 };
4774
4775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
4776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4777 if (!SWIG_IsOK(res1)) {
4778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4779 }
4780 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4781 ecode2 = SWIG_AsVal_int(obj1, &val2);
4782 if (!SWIG_IsOK(ecode2)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4784 }
4785 arg2 = static_cast< int >(val2);
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->SetFontSize(arg2);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_Py_Void();
4793 return resultobj;
4794fail:
4795 return NULL;
d14a1e28
RD
4796}
4797
4798
0085ce49
RD
4799SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4800 PyObject *resultobj = 0;
4801 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4802 int result;
4803 void *argp1 = 0 ;
4804 int res1 = 0 ;
4805 PyObject *swig_obj[1] ;
4806
4807 if (!args) SWIG_fail;
4808 swig_obj[0] = args;
4809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4810 if (!SWIG_IsOK(res1)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4812 }
4813 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (int)(arg1)->GetFontBold();
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_From_int(static_cast< int >(result));
4821 return resultobj;
4822fail:
4823 return NULL;
4824}
4825
4826
4827SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj = 0;
4829 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4830 int arg2 ;
4831 void *argp1 = 0 ;
4832 int res1 = 0 ;
4833 int val2 ;
4834 int ecode2 = 0 ;
4835 PyObject * obj0 = 0 ;
4836 PyObject * obj1 = 0 ;
4837 char * kwnames[] = {
4838 (char *) "self",(char *) "x", NULL
4839 };
4840
4841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail;
4842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4843 if (!SWIG_IsOK(res1)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4845 }
4846 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4847 ecode2 = SWIG_AsVal_int(obj1, &val2);
4848 if (!SWIG_IsOK(ecode2)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4850 }
4851 arg2 = static_cast< int >(val2);
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 (arg1)->SetFontBold(arg2);
4855 wxPyEndAllowThreads(__tstate);
4856 if (PyErr_Occurred()) SWIG_fail;
4857 }
4858 resultobj = SWIG_Py_Void();
4859 return resultobj;
4860fail:
4861 return NULL;
d14a1e28
RD
4862}
4863
4864
0085ce49
RD
4865SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4866 PyObject *resultobj = 0;
4867 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4868 int result;
4869 void *argp1 = 0 ;
4870 int res1 = 0 ;
4871 PyObject *swig_obj[1] ;
4872
4873 if (!args) SWIG_fail;
4874 swig_obj[0] = args;
4875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4876 if (!SWIG_IsOK(res1)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4878 }
4879 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 result = (int)(arg1)->GetFontItalic();
4883 wxPyEndAllowThreads(__tstate);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 }
4886 resultobj = SWIG_From_int(static_cast< int >(result));
4887 return resultobj;
4888fail:
4889 return NULL;
4890}
4891
4892
4893SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4894 PyObject *resultobj = 0;
4895 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4896 int arg2 ;
4897 void *argp1 = 0 ;
4898 int res1 = 0 ;
4899 int val2 ;
4900 int ecode2 = 0 ;
4901 PyObject * obj0 = 0 ;
4902 PyObject * obj1 = 0 ;
4903 char * kwnames[] = {
4904 (char *) "self",(char *) "x", NULL
4905 };
4906
4907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4911 }
4912 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4913 ecode2 = SWIG_AsVal_int(obj1, &val2);
4914 if (!SWIG_IsOK(ecode2)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4916 }
4917 arg2 = static_cast< int >(val2);
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 (arg1)->SetFontItalic(arg2);
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 resultobj = SWIG_Py_Void();
4925 return resultobj;
4926fail:
4927 return NULL;
d14a1e28
RD
4928}
4929
4930
0085ce49
RD
4931SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4932 PyObject *resultobj = 0;
4933 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4934 int result;
4935 void *argp1 = 0 ;
4936 int res1 = 0 ;
4937 PyObject *swig_obj[1] ;
4938
4939 if (!args) SWIG_fail;
4940 swig_obj[0] = args;
4941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4942 if (!SWIG_IsOK(res1)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4944 }
4945 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 result = (int)(arg1)->GetFontUnderlined();
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 resultobj = SWIG_From_int(static_cast< int >(result));
4953 return resultobj;
4954fail:
4955 return NULL;
4956}
4957
4958
4959SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj = 0;
4961 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
4962 int arg2 ;
4963 void *argp1 = 0 ;
4964 int res1 = 0 ;
4965 int val2 ;
4966 int ecode2 = 0 ;
4967 PyObject * obj0 = 0 ;
4968 PyObject * obj1 = 0 ;
4969 char * kwnames[] = {
4970 (char *) "self",(char *) "x", NULL
4971 };
4972
4973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
4975 if (!SWIG_IsOK(res1)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4977 }
4978 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
4979 ecode2 = SWIG_AsVal_int(obj1, &val2);
4980 if (!SWIG_IsOK(ecode2)) {
4981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
4982 }
4983 arg2 = static_cast< int >(val2);
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 (arg1)->SetFontUnderlined(arg2);
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 resultobj = SWIG_Py_Void();
4991 return resultobj;
4992fail:
4993 return NULL;
d14a1e28
RD
4994}
4995
4996
0085ce49
RD
4997SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4998 PyObject *resultobj = 0;
4999 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5000 int result;
5001 void *argp1 = 0 ;
5002 int res1 = 0 ;
5003 PyObject *swig_obj[1] ;
5004
5005 if (!args) SWIG_fail;
5006 swig_obj[0] = args;
5007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5008 if (!SWIG_IsOK(res1)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5010 }
5011 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 result = (int)(arg1)->GetFontFixed();
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 resultobj = SWIG_From_int(static_cast< int >(result));
5019 return resultobj;
5020fail:
5021 return NULL;
5022}
5023
5024
5025SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj = 0;
5027 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5028 int arg2 ;
5029 void *argp1 = 0 ;
5030 int res1 = 0 ;
5031 int val2 ;
5032 int ecode2 = 0 ;
5033 PyObject * obj0 = 0 ;
5034 PyObject * obj1 = 0 ;
5035 char * kwnames[] = {
5036 (char *) "self",(char *) "x", NULL
5037 };
5038
5039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail;
5040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5041 if (!SWIG_IsOK(res1)) {
5042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5043 }
5044 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5045 ecode2 = SWIG_AsVal_int(obj1, &val2);
5046 if (!SWIG_IsOK(ecode2)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5048 }
5049 arg2 = static_cast< int >(val2);
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->SetFontFixed(arg2);
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_Py_Void();
5057 return resultobj;
5058fail:
5059 return NULL;
30ee79f7
RD
5060}
5061
5062
0085ce49
RD
5063SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5064 PyObject *resultobj = 0;
5065 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5066 int result;
5067 void *argp1 = 0 ;
5068 int res1 = 0 ;
5069 PyObject *swig_obj[1] ;
5070
5071 if (!args) SWIG_fail;
5072 swig_obj[0] = args;
5073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5074 if (!SWIG_IsOK(res1)) {
5075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5076 }
5077 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 result = (int)(arg1)->GetAlign();
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 resultobj = SWIG_From_int(static_cast< int >(result));
5085 return resultobj;
5086fail:
5087 return NULL;
5088}
5089
5090
5091SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5092 PyObject *resultobj = 0;
5093 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5094 int arg2 ;
5095 void *argp1 = 0 ;
5096 int res1 = 0 ;
5097 int val2 ;
5098 int ecode2 = 0 ;
5099 PyObject * obj0 = 0 ;
5100 PyObject * obj1 = 0 ;
5101 char * kwnames[] = {
5102 (char *) "self",(char *) "a", NULL
5103 };
5104
5105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
5106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5107 if (!SWIG_IsOK(res1)) {
5108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5109 }
5110 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5111 ecode2 = SWIG_AsVal_int(obj1, &val2);
5112 if (!SWIG_IsOK(ecode2)) {
5113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5114 }
5115 arg2 = static_cast< int >(val2);
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 (arg1)->SetAlign(arg2);
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 resultobj = SWIG_Py_Void();
5123 return resultobj;
5124fail:
5125 return NULL;
d14a1e28
RD
5126}
5127
5128
0085ce49
RD
5129SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5130 PyObject *resultobj = 0;
5131 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5132 wxColour result;
5133 void *argp1 = 0 ;
5134 int res1 = 0 ;
5135 PyObject *swig_obj[1] ;
5136
5137 if (!args) SWIG_fail;
5138 swig_obj[0] = args;
5139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5140 if (!SWIG_IsOK(res1)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5142 }
5143 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (arg1)->GetLinkColor();
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5151 return resultobj;
5152fail:
5153 return NULL;
5154}
5155
5156
5157SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj = 0;
5159 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5160 wxColour *arg2 = 0 ;
5161 void *argp1 = 0 ;
5162 int res1 = 0 ;
5163 wxColour temp2 ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char * kwnames[] = {
5167 (char *) "self",(char *) "clr", NULL
5168 };
5169
5170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail;
5171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5172 if (!SWIG_IsOK(res1)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5174 }
5175 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5176 {
5177 arg2 = &temp2;
5178 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5179 }
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 (arg1)->SetLinkColor((wxColour const &)*arg2);
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_Py_Void();
5187 return resultobj;
5188fail:
5189 return NULL;
d14a1e28
RD
5190}
5191
5192
0085ce49
RD
5193SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5194 PyObject *resultobj = 0;
5195 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5196 wxColour result;
5197 void *argp1 = 0 ;
5198 int res1 = 0 ;
5199 PyObject *swig_obj[1] ;
5200
5201 if (!args) SWIG_fail;
5202 swig_obj[0] = args;
5203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5204 if (!SWIG_IsOK(res1)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5206 }
5207 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = (arg1)->GetActualColor();
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
5215 return resultobj;
5216fail:
5217 return NULL;
5218}
5219
5220
5221SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj = 0;
5223 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5224 wxColour *arg2 = 0 ;
5225 void *argp1 = 0 ;
5226 int res1 = 0 ;
5227 wxColour temp2 ;
5228 PyObject * obj0 = 0 ;
5229 PyObject * obj1 = 0 ;
5230 char * kwnames[] = {
5231 (char *) "self",(char *) "clr", NULL
5232 };
5233
5234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail;
5235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5236 if (!SWIG_IsOK(res1)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5238 }
5239 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5240 {
5241 arg2 = &temp2;
5242 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5243 }
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 (arg1)->SetActualColor((wxColour const &)*arg2);
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = SWIG_Py_Void();
5251 return resultobj;
5252fail:
5253 return NULL;
5254}
5255
5256
5257SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj = 0;
5259 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5260 wxString *arg2 = 0 ;
5261 void *argp1 = 0 ;
5262 int res1 = 0 ;
5263 bool temp2 = false ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 char * kwnames[] = {
5267 (char *) "self",(char *) "link", NULL
5268 };
5269
5270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
5271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5272 if (!SWIG_IsOK(res1)) {
5273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5274 }
5275 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5276 {
5277 arg2 = wxString_in_helper(obj1);
5278 if (arg2 == NULL) SWIG_fail;
5279 temp2 = true;
5280 }
5281 {
5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
5283 (arg1)->SetLink((wxString const &)*arg2);
5284 wxPyEndAllowThreads(__tstate);
5285 if (PyErr_Occurred()) SWIG_fail;
5286 }
5287 resultobj = SWIG_Py_Void();
5288 {
5289 if (temp2)
5290 delete arg2;
5291 }
5292 return resultobj;
5293fail:
5294 {
5295 if (temp2)
5296 delete arg2;
5297 }
5298 return NULL;
d14a1e28
RD
5299}
5300
5301
0085ce49
RD
5302SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5303 PyObject *resultobj = 0;
5304 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5305 wxFont *result = 0 ;
5306 void *argp1 = 0 ;
5307 int res1 = 0 ;
5308 PyObject *swig_obj[1] ;
5309
5310 if (!args) SWIG_fail;
5311 swig_obj[0] = args;
5312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5313 if (!SWIG_IsOK(res1)) {
5314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5315 }
5316 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 result = (wxFont *)(arg1)->CreateCurrentFont();
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 );
5324 return resultobj;
5325fail:
5326 return NULL;
d14a1e28
RD
5327}
5328
5329
0085ce49
RD
5330SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5331 PyObject *resultobj = 0;
5332 wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
5333 SwigValueWrapper<wxHtmlLinkInfo > result;
5334 void *argp1 = 0 ;
5335 int res1 = 0 ;
5336 PyObject *swig_obj[1] ;
5337
5338 if (!args) SWIG_fail;
5339 swig_obj[0] = args;
5340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5341 if (!SWIG_IsOK(res1)) {
5342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5343 }
5344 arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1);
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (arg1)->GetLink();
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 );
5352 return resultobj;
5353fail:
5354 return NULL;
d14a1e28
RD
5355}
5356
5357
0085ce49
RD
5358SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5359 PyObject *obj;
5360 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5361 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj));
5362 return SWIG_Py_Void();
d14a1e28
RD
5363}
5364
0085ce49
RD
5365SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5366 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
5367}
5368
0085ce49
RD
5369SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5370 PyObject *resultobj = 0;
5371 wxPyHtmlTagHandler *result = 0 ;
5372
5373 if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail;
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler();
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 );
5381 return resultobj;
5382fail:
5383 return NULL;
5384}
5385
5386
5387SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5388 PyObject *resultobj = 0;
5389 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5390 PyObject *arg2 = (PyObject *) 0 ;
5391 PyObject *arg3 = (PyObject *) 0 ;
5392 void *argp1 = 0 ;
5393 int res1 = 0 ;
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj1 = 0 ;
5396 PyObject * obj2 = 0 ;
5397 char * kwnames[] = {
5398 (char *) "self",(char *) "self",(char *) "_class", NULL
5399 };
5400
5401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5403 if (!SWIG_IsOK(res1)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5405 }
5406 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5407 arg2 = obj1;
5408 arg3 = obj2;
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 (arg1)->_setCallbackInfo(arg2,arg3);
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 resultobj = SWIG_Py_Void();
5416 return resultobj;
5417fail:
5418 return NULL;
5419}
5420
5421
5422SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj = 0;
5424 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5425 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5426 void *argp1 = 0 ;
5427 int res1 = 0 ;
5428 void *argp2 = 0 ;
5429 int res2 = 0 ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char * kwnames[] = {
5433 (char *) "self",(char *) "parser", NULL
5434 };
5435
5436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5438 if (!SWIG_IsOK(res1)) {
5439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5440 }
5441 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5442 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5443 if (!SWIG_IsOK(res2)) {
5444 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5445 }
5446 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->SetParser(arg2);
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = SWIG_Py_Void();
5454 return resultobj;
5455fail:
5456 return NULL;
d14a1e28
RD
5457}
5458
5459
0085ce49
RD
5460SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5461 PyObject *resultobj = 0;
5462 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5463 wxHtmlParser *result = 0 ;
5464 void *argp1 = 0 ;
5465 int res1 = 0 ;
5466 PyObject *swig_obj[1] ;
5467
5468 if (!args) SWIG_fail;
5469 swig_obj[0] = args;
5470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5471 if (!SWIG_IsOK(res1)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5473 }
5474 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (wxHtmlParser *)(arg1)->GetParser();
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5482 return resultobj;
5483fail:
5484 return NULL;
5485}
5486
5487
5488SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj = 0;
5490 wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ;
5491 wxHtmlTag *arg2 = 0 ;
5492 void *argp1 = 0 ;
5493 int res1 = 0 ;
5494 void *argp2 = 0 ;
5495 int res2 = 0 ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 char * kwnames[] = {
5499 (char *) "self",(char *) "tag", NULL
5500 };
5501
5502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 );
5504 if (!SWIG_IsOK(res1)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5506 }
5507 arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1);
5508 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5509 if (!SWIG_IsOK(res2)) {
5510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5511 }
5512 if (!argp2) {
5513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5514 }
5515 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 resultobj = SWIG_Py_Void();
5523 return resultobj;
5524fail:
5525 return NULL;
d14a1e28
RD
5526}
5527
5528
0085ce49
RD
5529SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5530 PyObject *obj;
5531 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5532 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj));
5533 return SWIG_Py_Void();
d14a1e28
RD
5534}
5535
0085ce49
RD
5536SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5537 return SWIG_Python_InitShadowInstance(args);
5538}
d14a1e28 5539
0085ce49
RD
5540SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5541 PyObject *resultobj = 0;
5542 wxPyHtmlWinTagHandler *result = 0 ;
5543
5544 if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail;
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler();
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 );
5552 return resultobj;
5553fail:
5554 return NULL;
5555}
5556
5557
5558SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj = 0;
5560 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5561 PyObject *arg2 = (PyObject *) 0 ;
5562 PyObject *arg3 = (PyObject *) 0 ;
5563 void *argp1 = 0 ;
5564 int res1 = 0 ;
5565 PyObject * obj0 = 0 ;
5566 PyObject * obj1 = 0 ;
5567 PyObject * obj2 = 0 ;
5568 char * kwnames[] = {
5569 (char *) "self",(char *) "self",(char *) "_class", NULL
5570 };
5571
5572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5574 if (!SWIG_IsOK(res1)) {
5575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5576 }
5577 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5578 arg2 = obj1;
5579 arg3 = obj2;
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 (arg1)->_setCallbackInfo(arg2,arg3);
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 resultobj = SWIG_Py_Void();
5587 return resultobj;
5588fail:
5589 return NULL;
5590}
5591
5592
5593SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj = 0;
5595 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5596 wxHtmlParser *arg2 = (wxHtmlParser *) 0 ;
5597 void *argp1 = 0 ;
5598 int res1 = 0 ;
5599 void *argp2 = 0 ;
5600 int res2 = 0 ;
5601 PyObject * obj0 = 0 ;
5602 PyObject * obj1 = 0 ;
5603 char * kwnames[] = {
5604 (char *) "self",(char *) "parser", NULL
5605 };
5606
5607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail;
5608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5609 if (!SWIG_IsOK(res1)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5611 }
5612 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5613 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 );
5614 if (!SWIG_IsOK(res2)) {
5615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5616 }
5617 arg2 = reinterpret_cast< wxHtmlParser * >(argp2);
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 (arg1)->SetParser(arg2);
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 resultobj = SWIG_Py_Void();
5625 return resultobj;
5626fail:
5627 return NULL;
d14a1e28
RD
5628}
5629
5630
0085ce49
RD
5631SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5632 PyObject *resultobj = 0;
5633 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5634 wxHtmlWinParser *result = 0 ;
5635 void *argp1 = 0 ;
5636 int res1 = 0 ;
5637 PyObject *swig_obj[1] ;
5638
5639 if (!args) SWIG_fail;
5640 swig_obj[0] = args;
5641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5642 if (!SWIG_IsOK(res1)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5644 }
5645 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (wxHtmlWinParser *)(arg1)->GetParser();
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
5653 return resultobj;
5654fail:
5655 return NULL;
5656}
5657
5658
5659SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj = 0;
5661 wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ;
5662 wxHtmlTag *arg2 = 0 ;
5663 void *argp1 = 0 ;
5664 int res1 = 0 ;
5665 void *argp2 = 0 ;
5666 int res2 = 0 ;
5667 PyObject * obj0 = 0 ;
5668 PyObject * obj1 = 0 ;
5669 char * kwnames[] = {
5670 (char *) "self",(char *) "tag", NULL
5671 };
5672
5673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail;
5674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 );
5675 if (!SWIG_IsOK(res1)) {
5676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5677 }
5678 arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1);
5679 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
5680 if (!SWIG_IsOK(res2)) {
5681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5682 }
5683 if (!argp2) {
5684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5685 }
5686 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
5687 {
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 (arg1)->ParseInner((wxHtmlTag const &)*arg2);
5690 wxPyEndAllowThreads(__tstate);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 }
5693 resultobj = SWIG_Py_Void();
5694 return resultobj;
5695fail:
5696 return NULL;
d14a1e28
RD
5697}
5698
5699
0085ce49
RD
5700SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5701 PyObject *obj;
5702 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5703 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj));
5704 return SWIG_Py_Void();
d14a1e28
RD
5705}
5706
0085ce49
RD
5707SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5708 return SWIG_Python_InitShadowInstance(args);
5709}
d14a1e28 5710
0085ce49
RD
5711SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj = 0;
5713 PyObject *arg1 = (PyObject *) 0 ;
5714 PyObject * obj0 = 0 ;
5715 char * kwnames[] = {
5716 (char *) "tagHandlerClass", NULL
5717 };
5718
5719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail;
5720 arg1 = obj0;
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 wxHtmlWinParser_AddTagHandler(arg1);
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 resultobj = SWIG_Py_Void();
5728 return resultobj;
5729fail:
5730 return NULL;
d14a1e28
RD
5731}
5732
5733
0085ce49
RD
5734SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5735 PyObject *resultobj = 0;
5736 wxHtmlSelection *result = 0 ;
5737
5738 if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 result = (wxHtmlSelection *)new wxHtmlSelection();
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 );
5746 return resultobj;
5747fail:
5748 return NULL;
d14a1e28
RD
5749}
5750
5751
0085ce49
RD
5752SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5753 PyObject *resultobj = 0;
5754 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5755 void *argp1 = 0 ;
5756 int res1 = 0 ;
5757 PyObject *swig_obj[1] ;
5758
5759 if (!args) SWIG_fail;
5760 swig_obj[0] = args;
5761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 );
5762 if (!SWIG_IsOK(res1)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5764 }
5765 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 delete arg1;
d14a1e28 5769
0085ce49
RD
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 resultobj = SWIG_Py_Void();
5774 return resultobj;
5775fail:
5776 return NULL;
5777}
5778
5779
5780SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj = 0;
5782 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5783 wxPoint *arg2 = 0 ;
5784 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5785 wxPoint *arg4 = 0 ;
5786 wxHtmlCell *arg5 = (wxHtmlCell *) 0 ;
5787 void *argp1 = 0 ;
5788 int res1 = 0 ;
5789 wxPoint temp2 ;
5790 void *argp3 = 0 ;
5791 int res3 = 0 ;
5792 wxPoint temp4 ;
5793 void *argp5 = 0 ;
5794 int res5 = 0 ;
5795 PyObject * obj0 = 0 ;
5796 PyObject * obj1 = 0 ;
5797 PyObject * obj2 = 0 ;
5798 PyObject * obj3 = 0 ;
5799 PyObject * obj4 = 0 ;
5800 char * kwnames[] = {
5801 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5802 };
5803
5804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5806 if (!SWIG_IsOK(res1)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5808 }
5809 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5810 {
5811 arg2 = &temp2;
5812 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5813 }
5814 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5815 if (!SWIG_IsOK(res3)) {
5816 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5817 }
5818 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5819 {
5820 arg4 = &temp4;
5821 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5822 }
5823 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5824 if (!SWIG_IsOK(res5)) {
5825 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5826 }
5827 arg5 = reinterpret_cast< wxHtmlCell * >(argp5);
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5);
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 resultobj = SWIG_Py_Void();
5835 return resultobj;
5836fail:
5837 return NULL;
5838}
5839
5840
5841SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj = 0;
5843 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5844 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
5845 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
5846 void *argp1 = 0 ;
5847 int res1 = 0 ;
5848 void *argp2 = 0 ;
5849 int res2 = 0 ;
5850 void *argp3 = 0 ;
5851 int res3 = 0 ;
5852 PyObject * obj0 = 0 ;
5853 PyObject * obj1 = 0 ;
5854 PyObject * obj2 = 0 ;
5855 char * kwnames[] = {
5856 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5857 };
5858
5859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5861 if (!SWIG_IsOK(res1)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5863 }
5864 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5865 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5866 if (!SWIG_IsOK(res2)) {
5867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5868 }
5869 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
5870 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
5871 if (!SWIG_IsOK(res3)) {
5872 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5873 }
5874 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3);
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 resultobj = SWIG_Py_Void();
5882 return resultobj;
5883fail:
5884 return NULL;
d14a1e28
RD
5885}
5886
5887
0085ce49
RD
5888SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5889 PyObject *resultobj = 0;
5890 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5891 wxHtmlCell *result = 0 ;
5892 void *argp1 = 0 ;
5893 int res1 = 0 ;
5894 PyObject *swig_obj[1] ;
5895
5896 if (!args) SWIG_fail;
5897 swig_obj[0] = args;
5898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5899 if (!SWIG_IsOK(res1)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5901 }
5902 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell();
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 {
5910 resultobj = wxPyMake_wxObject(result, 0);
5911 }
5912 return resultobj;
5913fail:
5914 return NULL;
d14a1e28
RD
5915}
5916
5917
0085ce49
RD
5918SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5919 PyObject *resultobj = 0;
5920 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5921 wxHtmlCell *result = 0 ;
5922 void *argp1 = 0 ;
5923 int res1 = 0 ;
5924 PyObject *swig_obj[1] ;
5925
5926 if (!args) SWIG_fail;
5927 swig_obj[0] = args;
5928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5929 if (!SWIG_IsOK(res1)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5931 }
5932 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell();
5936 wxPyEndAllowThreads(__tstate);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
5939 {
5940 resultobj = wxPyMake_wxObject(result, 0);
5941 }
5942 return resultobj;
5943fail:
5944 return NULL;
d14a1e28
RD
5945}
5946
5947
0085ce49
RD
5948SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5949 PyObject *resultobj = 0;
5950 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5951 wxPoint *result = 0 ;
5952 void *argp1 = 0 ;
5953 int res1 = 0 ;
5954 PyObject *swig_obj[1] ;
5955
5956 if (!args) SWIG_fail;
5957 swig_obj[0] = args;
5958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5959 if (!SWIG_IsOK(res1)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5961 }
5962 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 5965 {
0085ce49
RD
5966 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos();
5967 result = (wxPoint *) &_result_ref;
d14a1e28 5968 }
0085ce49
RD
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
5973 return resultobj;
5974fail:
5975 return NULL;
d14a1e28
RD
5976}
5977
5978
0085ce49
RD
5979SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5980 PyObject *resultobj = 0;
5981 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
5982 wxPoint *result = 0 ;
5983 void *argp1 = 0 ;
5984 int res1 = 0 ;
5985 PyObject *swig_obj[1] ;
5986
5987 if (!args) SWIG_fail;
5988 swig_obj[0] = args;
5989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
5990 if (!SWIG_IsOK(res1)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5992 }
5993 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 5996 {
0085ce49
RD
5997 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos();
5998 result = (wxPoint *) &_result_ref;
d14a1e28 5999 }
0085ce49
RD
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6004 return resultobj;
6005fail:
6006 return NULL;
d14a1e28
RD
6007}
6008
6009
0085ce49
RD
6010SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6011 PyObject *resultobj = 0;
6012 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6013 wxPoint *result = 0 ;
6014 void *argp1 = 0 ;
6015 int res1 = 0 ;
6016 PyObject *swig_obj[1] ;
6017
6018 if (!args) SWIG_fail;
6019 swig_obj[0] = args;
6020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6021 if (!SWIG_IsOK(res1)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6023 }
6024 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6027 {
0085ce49
RD
6028 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos();
6029 result = (wxPoint *) &_result_ref;
d14a1e28 6030 }
0085ce49
RD
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6035 return resultobj;
6036fail:
6037 return NULL;
d14a1e28
RD
6038}
6039
6040
0085ce49
RD
6041SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6042 PyObject *resultobj = 0;
6043 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6044 wxPoint *result = 0 ;
6045 void *argp1 = 0 ;
6046 int res1 = 0 ;
6047 PyObject *swig_obj[1] ;
6048
6049 if (!args) SWIG_fail;
6050 swig_obj[0] = args;
6051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6052 if (!SWIG_IsOK(res1)) {
6053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6054 }
6055 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6058 {
0085ce49
RD
6059 wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos();
6060 result = (wxPoint *) &_result_ref;
d14a1e28 6061 }
0085ce49
RD
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6066 return resultobj;
6067fail:
6068 return NULL;
6069}
6070
6071
6072SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj = 0;
6074 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6075 wxPoint *arg2 = 0 ;
6076 void *argp1 = 0 ;
6077 int res1 = 0 ;
6078 wxPoint temp2 ;
6079 PyObject * obj0 = 0 ;
6080 PyObject * obj1 = 0 ;
6081 char * kwnames[] = {
6082 (char *) "self",(char *) "pos", NULL
6083 };
6084
6085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6087 if (!SWIG_IsOK(res1)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6089 }
6090 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6091 {
6092 arg2 = &temp2;
6093 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6094 }
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 (arg1)->SetFromPrivPos((wxPoint const &)*arg2);
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 resultobj = SWIG_Py_Void();
6102 return resultobj;
6103fail:
6104 return NULL;
6105}
6106
6107
6108SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj = 0;
6110 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6111 wxPoint *arg2 = 0 ;
6112 void *argp1 = 0 ;
6113 int res1 = 0 ;
6114 wxPoint temp2 ;
6115 PyObject * obj0 = 0 ;
6116 PyObject * obj1 = 0 ;
6117 char * kwnames[] = {
6118 (char *) "self",(char *) "pos", NULL
6119 };
6120
6121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail;
6122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6123 if (!SWIG_IsOK(res1)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6125 }
6126 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6127 {
6128 arg2 = &temp2;
6129 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6130 }
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 (arg1)->SetToPrivPos((wxPoint const &)*arg2);
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = SWIG_Py_Void();
6138 return resultobj;
6139fail:
6140 return NULL;
d14a1e28
RD
6141}
6142
6143
0085ce49
RD
6144SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6145 PyObject *resultobj = 0;
6146 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6147 void *argp1 = 0 ;
6148 int res1 = 0 ;
6149 PyObject *swig_obj[1] ;
6150
6151 if (!args) SWIG_fail;
6152 swig_obj[0] = args;
6153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6154 if (!SWIG_IsOK(res1)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6156 }
6157 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 (arg1)->ClearPrivPos();
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 resultobj = SWIG_Py_Void();
6165 return resultobj;
6166fail:
6167 return NULL;
d14a1e28
RD
6168}
6169
6170
0085ce49
RD
6171SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6172 PyObject *resultobj = 0;
6173 wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ;
6174 bool result;
6175 void *argp1 = 0 ;
6176 int res1 = 0 ;
6177 PyObject *swig_obj[1] ;
6178
6179 if (!args) SWIG_fail;
6180 swig_obj[0] = args;
6181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6182 if (!SWIG_IsOK(res1)) {
6183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6184 }
6185 arg1 = reinterpret_cast< wxHtmlSelection * >(argp1);
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty();
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 resultobj = SWIG_From_bool(static_cast< bool >(result));
6193 return resultobj;
6194fail:
6195 return NULL;
d14a1e28
RD
6196}
6197
6198
0085ce49
RD
6199SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6200 PyObject *obj;
6201 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6202 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj));
6203 return SWIG_Py_Void();
d14a1e28
RD
6204}
6205
0085ce49
RD
6206SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6207 return SWIG_Python_InitShadowInstance(args);
6208}
d14a1e28 6209
0085ce49
RD
6210SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6211 PyObject *resultobj = 0;
6212 wxHtmlRenderingState *result = 0 ;
6213
6214 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail;
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (wxHtmlRenderingState *)new wxHtmlRenderingState();
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 );
6222 return resultobj;
6223fail:
6224 return NULL;
d14a1e28
RD
6225}
6226
6227
0085ce49
RD
6228SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6229 PyObject *resultobj = 0;
6230 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6231 void *argp1 = 0 ;
6232 int res1 = 0 ;
6233 PyObject *swig_obj[1] ;
6234
6235 if (!args) SWIG_fail;
6236 swig_obj[0] = args;
6237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 );
6238 if (!SWIG_IsOK(res1)) {
6239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6240 }
6241 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 delete arg1;
d14a1e28 6245
0085ce49
RD
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 resultobj = SWIG_Py_Void();
6250 return resultobj;
6251fail:
6252 return NULL;
6253}
6254
6255
6256SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj = 0;
6258 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6259 wxHtmlSelectionState arg2 ;
6260 void *argp1 = 0 ;
6261 int res1 = 0 ;
6262 int val2 ;
6263 int ecode2 = 0 ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 char * kwnames[] = {
6267 (char *) "self",(char *) "s", NULL
6268 };
6269
6270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail;
6271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6272 if (!SWIG_IsOK(res1)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6274 }
6275 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6276 ecode2 = SWIG_AsVal_int(obj1, &val2);
6277 if (!SWIG_IsOK(ecode2)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6279 }
6280 arg2 = static_cast< wxHtmlSelectionState >(val2);
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 (arg1)->SetSelectionState(arg2);
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = SWIG_Py_Void();
6288 return resultobj;
6289fail:
6290 return NULL;
d14a1e28
RD
6291}
6292
6293
0085ce49
RD
6294SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6295 PyObject *resultobj = 0;
6296 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6297 wxHtmlSelectionState result;
6298 void *argp1 = 0 ;
6299 int res1 = 0 ;
6300 PyObject *swig_obj[1] ;
6301
6302 if (!args) SWIG_fail;
6303 swig_obj[0] = args;
6304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6305 if (!SWIG_IsOK(res1)) {
6306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6307 }
6308 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState();
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 resultobj = SWIG_From_int(static_cast< int >(result));
6316 return resultobj;
6317fail:
6318 return NULL;
6319}
6320
6321
6322SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj = 0;
6324 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6325 wxColour *arg2 = 0 ;
6326 void *argp1 = 0 ;
6327 int res1 = 0 ;
6328 wxColour temp2 ;
6329 PyObject * obj0 = 0 ;
6330 PyObject * obj1 = 0 ;
6331 char * kwnames[] = {
6332 (char *) "self",(char *) "c", NULL
6333 };
6334
6335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6337 if (!SWIG_IsOK(res1)) {
6338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6339 }
6340 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6341 {
6342 arg2 = &temp2;
6343 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6344 }
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->SetFgColour((wxColour const &)*arg2);
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 resultobj = SWIG_Py_Void();
6352 return resultobj;
6353fail:
6354 return NULL;
d14a1e28
RD
6355}
6356
6357
0085ce49
RD
6358SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6359 PyObject *resultobj = 0;
6360 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6361 wxColour *result = 0 ;
6362 void *argp1 = 0 ;
6363 int res1 = 0 ;
6364 PyObject *swig_obj[1] ;
6365
6366 if (!args) SWIG_fail;
6367 swig_obj[0] = args;
6368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6369 if (!SWIG_IsOK(res1)) {
6370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6371 }
6372 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6375 {
0085ce49
RD
6376 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour();
6377 result = (wxColour *) &_result_ref;
d14a1e28 6378 }
0085ce49
RD
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6383 return resultobj;
6384fail:
6385 return NULL;
6386}
6387
6388
6389SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj = 0;
6391 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6392 wxColour *arg2 = 0 ;
6393 void *argp1 = 0 ;
6394 int res1 = 0 ;
6395 wxColour temp2 ;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 char * kwnames[] = {
6399 (char *) "self",(char *) "c", NULL
6400 };
6401
6402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6404 if (!SWIG_IsOK(res1)) {
6405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6406 }
6407 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6408 {
6409 arg2 = &temp2;
6410 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6411 }
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 (arg1)->SetBgColour((wxColour const &)*arg2);
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 resultobj = SWIG_Py_Void();
6419 return resultobj;
6420fail:
6421 return NULL;
d14a1e28
RD
6422}
6423
6424
0085ce49
RD
6425SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6426 PyObject *resultobj = 0;
6427 wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ;
6428 wxColour *result = 0 ;
6429 void *argp1 = 0 ;
6430 int res1 = 0 ;
6431 PyObject *swig_obj[1] ;
6432
6433 if (!args) SWIG_fail;
6434 swig_obj[0] = args;
6435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6436 if (!SWIG_IsOK(res1)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6438 }
6439 arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1);
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 6442 {
0085ce49
RD
6443 wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour();
6444 result = (wxColour *) &_result_ref;
d14a1e28 6445 }
0085ce49
RD
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
6450 return resultobj;
6451fail:
6452 return NULL;
d14a1e28
RD
6453}
6454
6455
0085ce49
RD
6456SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6457 PyObject *obj;
6458 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6459 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj));
6460 return SWIG_Py_Void();
d14a1e28
RD
6461}
6462
0085ce49
RD
6463SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6464 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
6465}
6466
0085ce49
RD
6467SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6468 PyObject *resultobj = 0;
6469 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6470 wxColour *arg2 = 0 ;
6471 wxColour result;
6472 void *argp1 = 0 ;
6473 int res1 = 0 ;
6474 wxColour temp2 ;
6475 PyObject * obj0 = 0 ;
6476 PyObject * obj1 = 0 ;
6477 char * kwnames[] = {
6478 (char *) "self",(char *) "clr", NULL
6479 };
6480
6481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
6482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6483 if (!SWIG_IsOK(res1)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6485 }
6486 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6487 {
6488 arg2 = &temp2;
6489 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2);
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6498 return resultobj;
6499fail:
6500 return NULL;
6501}
6502
6503
6504SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj = 0;
6506 wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ;
6507 wxColour *arg2 = 0 ;
6508 wxColour result;
6509 void *argp1 = 0 ;
6510 int res1 = 0 ;
6511 wxColour temp2 ;
6512 PyObject * obj0 = 0 ;
6513 PyObject * obj1 = 0 ;
6514 char * kwnames[] = {
6515 (char *) "self",(char *) "clr", NULL
6516 };
6517
6518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail;
6519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6520 if (!SWIG_IsOK(res1)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6522 }
6523 arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1);
6524 {
6525 arg2 = &temp2;
6526 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6527 }
6528 {
6529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6530 result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2);
6531 wxPyEndAllowThreads(__tstate);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
6535 return resultobj;
6536fail:
6537 return NULL;
d14a1e28
RD
6538}
6539
6540
0085ce49
RD
6541SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6542 PyObject *obj;
6543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6544 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj));
6545 return SWIG_Py_Void();
d14a1e28
RD
6546}
6547
0085ce49
RD
6548SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6549 PyObject *obj;
6550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6551 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj));
6552 return SWIG_Py_Void();
d14a1e28
RD
6553}
6554
0085ce49
RD
6555SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6556 PyObject *resultobj = 0;
6557 wxHtmlRenderingInfo *result = 0 ;
6558
6559 if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail;
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo();
6563 wxPyEndAllowThreads(__tstate);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 );
6567 return resultobj;
6568fail:
6569 return NULL;
d14a1e28
RD
6570}
6571
6572
0085ce49
RD
6573SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6574 PyObject *resultobj = 0;
6575 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6576 void *argp1 = 0 ;
6577 int res1 = 0 ;
6578 PyObject *swig_obj[1] ;
6579
6580 if (!args) SWIG_fail;
6581 swig_obj[0] = args;
6582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 );
6583 if (!SWIG_IsOK(res1)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6585 }
6586 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 delete arg1;
d14a1e28 6590
0085ce49
RD
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 resultobj = SWIG_Py_Void();
6595 return resultobj;
6596fail:
6597 return NULL;
6598}
6599
6600
6601SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj = 0;
6603 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6604 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
6605 void *argp1 = 0 ;
6606 int res1 = 0 ;
6607 void *argp2 = 0 ;
6608 int res2 = 0 ;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 char * kwnames[] = {
6612 (char *) "self",(char *) "s", NULL
6613 };
6614
6615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6617 if (!SWIG_IsOK(res1)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6619 }
6620 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6622 if (!SWIG_IsOK(res2)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6624 }
6625 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 (arg1)->SetSelection(arg2);
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 resultobj = SWIG_Py_Void();
6633 return resultobj;
6634fail:
6635 return NULL;
d14a1e28
RD
6636}
6637
6638
0085ce49
RD
6639SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6640 PyObject *resultobj = 0;
6641 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6642 wxHtmlSelection *result = 0 ;
6643 void *argp1 = 0 ;
6644 int res1 = 0 ;
6645 PyObject *swig_obj[1] ;
6646
6647 if (!args) SWIG_fail;
6648 swig_obj[0] = args;
6649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6650 if (!SWIG_IsOK(res1)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6652 }
6653 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection();
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
6661 return resultobj;
6662fail:
6663 return NULL;
6664}
6665
6666
6667SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj = 0;
6669 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6670 wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ;
6671 void *argp1 = 0 ;
6672 int res1 = 0 ;
6673 void *argp2 = 0 ;
6674 int res2 = 0 ;
6675 PyObject * obj0 = 0 ;
6676 PyObject * obj1 = 0 ;
6677 char * kwnames[] = {
6678 (char *) "self",(char *) "style", NULL
6679 };
6680
6681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
6682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6683 if (!SWIG_IsOK(res1)) {
6684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6685 }
6686 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6688 if (!SWIG_IsOK(res2)) {
6689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6690 }
6691 arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2);
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 (arg1)->SetStyle(arg2);
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 resultobj = SWIG_Py_Void();
6699 return resultobj;
6700fail:
6701 return NULL;
d14a1e28
RD
6702}
6703
6704
0085ce49
RD
6705SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6706 PyObject *resultobj = 0;
6707 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6708 wxHtmlRenderingStyle *result = 0 ;
6709 void *argp1 = 0 ;
6710 int res1 = 0 ;
6711 PyObject *swig_obj[1] ;
6712
6713 if (!args) SWIG_fail;
6714 swig_obj[0] = args;
6715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6716 if (!SWIG_IsOK(res1)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6718 }
6719 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1fcee84 6722 {
0085ce49
RD
6723 wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle();
6724 result = (wxHtmlRenderingStyle *) &_result_ref;
b1fcee84 6725 }
0085ce49
RD
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 );
6730 return resultobj;
6731fail:
6732 return NULL;
d14a1e28
RD
6733}
6734
6735
0085ce49
RD
6736SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6737 PyObject *resultobj = 0;
6738 wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ;
6739 wxHtmlRenderingState *result = 0 ;
6740 void *argp1 = 0 ;
6741 int res1 = 0 ;
6742 PyObject *swig_obj[1] ;
6743
6744 if (!args) SWIG_fail;
6745 swig_obj[0] = args;
6746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 );
6747 if (!SWIG_IsOK(res1)) {
6748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6749 }
6750 arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1);
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1fcee84 6753 {
0085ce49
RD
6754 wxHtmlRenderingState &_result_ref = (arg1)->GetState();
6755 result = (wxHtmlRenderingState *) &_result_ref;
b1fcee84 6756 }
0085ce49
RD
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 );
6761 return resultobj;
6762fail:
6763 return NULL;
d14a1e28
RD
6764}
6765
6766
0085ce49
RD
6767SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6768 PyObject *obj;
6769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj));
6771 return SWIG_Py_Void();
d14a1e28
RD
6772}
6773
0085ce49
RD
6774SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6775 return SWIG_Python_InitShadowInstance(args);
6776}
d14a1e28 6777
0085ce49
RD
6778SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6779 PyObject *resultobj = 0;
6780 wxHtmlCell *result = 0 ;
6781
6782 if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail;
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (wxHtmlCell *)new wxHtmlCell();
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 );
6790 return resultobj;
6791fail:
6792 return NULL;
d14a1e28
RD
6793}
6794
6795
0085ce49
RD
6796SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6797 PyObject *resultobj = 0;
6798 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6799 void *argp1 = 0 ;
6800 int res1 = 0 ;
6801 PyObject *swig_obj[1] ;
6802
6803 if (!args) SWIG_fail;
6804 swig_obj[0] = args;
6805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
6806 if (!SWIG_IsOK(res1)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6808 }
6809 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 delete arg1;
d14a1e28 6813
0085ce49
RD
6814 wxPyEndAllowThreads(__tstate);
6815 if (PyErr_Occurred()) SWIG_fail;
6816 }
6817 resultobj = SWIG_Py_Void();
6818 return resultobj;
6819fail:
6820 return NULL;
d14a1e28
RD
6821}
6822
6823
0085ce49
RD
6824SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6825 PyObject *resultobj = 0;
6826 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6827 int result;
6828 void *argp1 = 0 ;
6829 int res1 = 0 ;
6830 PyObject *swig_obj[1] ;
6831
6832 if (!args) SWIG_fail;
6833 swig_obj[0] = args;
6834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6835 if (!SWIG_IsOK(res1)) {
6836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6837 }
6838 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 result = (int)(arg1)->GetPosX();
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 resultobj = SWIG_From_int(static_cast< int >(result));
6846 return resultobj;
6847fail:
6848 return NULL;
d14a1e28
RD
6849}
6850
6851
0085ce49
RD
6852SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6853 PyObject *resultobj = 0;
6854 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6855 int result;
6856 void *argp1 = 0 ;
6857 int res1 = 0 ;
6858 PyObject *swig_obj[1] ;
6859
6860 if (!args) SWIG_fail;
6861 swig_obj[0] = args;
6862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6863 if (!SWIG_IsOK(res1)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6865 }
6866 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (int)(arg1)->GetPosY();
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_From_int(static_cast< int >(result));
6874 return resultobj;
6875fail:
6876 return NULL;
d14a1e28
RD
6877}
6878
6879
0085ce49
RD
6880SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6881 PyObject *resultobj = 0;
6882 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6883 int result;
6884 void *argp1 = 0 ;
6885 int res1 = 0 ;
6886 PyObject *swig_obj[1] ;
6887
6888 if (!args) SWIG_fail;
6889 swig_obj[0] = args;
6890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6891 if (!SWIG_IsOK(res1)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6893 }
6894 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (int)(arg1)->GetWidth();
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_From_int(static_cast< int >(result));
6902 return resultobj;
6903fail:
6904 return NULL;
d14a1e28
RD
6905}
6906
6907
0085ce49
RD
6908SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6909 PyObject *resultobj = 0;
6910 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6911 int result;
6912 void *argp1 = 0 ;
6913 int res1 = 0 ;
6914 PyObject *swig_obj[1] ;
6915
6916 if (!args) SWIG_fail;
6917 swig_obj[0] = args;
6918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6919 if (!SWIG_IsOK(res1)) {
6920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6921 }
6922 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (int)(arg1)->GetHeight();
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = SWIG_From_int(static_cast< int >(result));
6930 return resultobj;
6931fail:
6932 return NULL;
d14a1e28
RD
6933}
6934
6935
0085ce49
RD
6936SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6937 PyObject *resultobj = 0;
6938 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6939 int result;
6940 void *argp1 = 0 ;
6941 int res1 = 0 ;
6942 PyObject *swig_obj[1] ;
6943
6944 if (!args) SWIG_fail;
6945 swig_obj[0] = args;
6946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6947 if (!SWIG_IsOK(res1)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6949 }
6950 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 result = (int)(arg1)->GetDescent();
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_From_int(static_cast< int >(result));
6958 return resultobj;
6959fail:
6960 return NULL;
d14a1e28
RD
6961}
6962
6963
0085ce49
RD
6964SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6965 PyObject *resultobj = 0;
6966 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6967 int result;
6968 void *argp1 = 0 ;
6969 int res1 = 0 ;
6970 PyObject *swig_obj[1] ;
6971
6972 if (!args) SWIG_fail;
6973 swig_obj[0] = args;
6974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
6975 if (!SWIG_IsOK(res1)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6977 }
6978 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth();
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 resultobj = SWIG_From_int(static_cast< int >(result));
6986 return resultobj;
6987fail:
6988 return NULL;
d14a1e28
RD
6989}
6990
6991
0085ce49
RD
6992SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6993 PyObject *resultobj = 0;
6994 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
6995 wxString *result = 0 ;
6996 void *argp1 = 0 ;
6997 int res1 = 0 ;
6998 PyObject *swig_obj[1] ;
6999
7000 if (!args) SWIG_fail;
7001 swig_obj[0] = args;
7002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7003 if (!SWIG_IsOK(res1)) {
7004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7005 }
7006 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 7009 {
0085ce49
RD
7010 wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId();
7011 result = (wxString *) &_result_ref;
d14a1e28 7012 }
0085ce49
RD
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 {
7017#if wxUSE_UNICODE
7018 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
7019#else
7020 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
7021#endif
7022 }
7023 return resultobj;
7024fail:
7025 return NULL;
7026}
7027
7028
7029SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj = 0;
7031 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7032 wxString *arg2 = 0 ;
7033 void *argp1 = 0 ;
7034 int res1 = 0 ;
7035 bool temp2 = false ;
7036 PyObject * obj0 = 0 ;
7037 PyObject * obj1 = 0 ;
7038 char * kwnames[] = {
7039 (char *) "self",(char *) "id", NULL
7040 };
7041
7042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
7043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7044 if (!SWIG_IsOK(res1)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7046 }
7047 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7048 {
7049 arg2 = wxString_in_helper(obj1);
7050 if (arg2 == NULL) SWIG_fail;
7051 temp2 = true;
7052 }
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 (arg1)->SetId((wxString const &)*arg2);
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 resultobj = SWIG_Py_Void();
7060 {
7061 if (temp2)
7062 delete arg2;
7063 }
7064 return resultobj;
7065fail:
7066 {
7067 if (temp2)
7068 delete arg2;
7069 }
7070 return NULL;
7071}
7072
7073
7074SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj = 0;
7076 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7077 int arg2 = (int) 0 ;
7078 int arg3 = (int) 0 ;
7079 wxHtmlLinkInfo *result = 0 ;
7080 void *argp1 = 0 ;
7081 int res1 = 0 ;
7082 int val2 ;
7083 int ecode2 = 0 ;
7084 int val3 ;
7085 int ecode3 = 0 ;
7086 PyObject * obj0 = 0 ;
7087 PyObject * obj1 = 0 ;
7088 PyObject * obj2 = 0 ;
7089 char * kwnames[] = {
7090 (char *) "self",(char *) "x",(char *) "y", NULL
7091 };
7092
7093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7095 if (!SWIG_IsOK(res1)) {
7096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7097 }
7098 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7099 if (obj1) {
7100 ecode2 = SWIG_AsVal_int(obj1, &val2);
7101 if (!SWIG_IsOK(ecode2)) {
7102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7103 }
7104 arg2 = static_cast< int >(val2);
7105 }
7106 if (obj2) {
7107 ecode3 = SWIG_AsVal_int(obj2, &val3);
7108 if (!SWIG_IsOK(ecode3)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7110 }
7111 arg3 = static_cast< int >(val3);
7112 }
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3);
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
7120 return resultobj;
7121fail:
7122 return NULL;
d14a1e28
RD
7123}
7124
7125
0085ce49
RD
7126SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7127 PyObject *resultobj = 0;
7128 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7129 wxHtmlCell *result = 0 ;
7130 void *argp1 = 0 ;
7131 int res1 = 0 ;
7132 PyObject *swig_obj[1] ;
7133
7134 if (!args) SWIG_fail;
7135 swig_obj[0] = args;
7136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7137 if (!SWIG_IsOK(res1)) {
7138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7139 }
7140 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 result = (wxHtmlCell *)(arg1)->GetNext();
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 {
7148 resultobj = wxPyMake_wxObject(result, 0);
7149 }
7150 return resultobj;
7151fail:
7152 return NULL;
d14a1e28
RD
7153}
7154
7155
0085ce49
RD
7156SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7157 PyObject *resultobj = 0;
7158 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7159 wxHtmlContainerCell *result = 0 ;
7160 void *argp1 = 0 ;
7161 int res1 = 0 ;
7162 PyObject *swig_obj[1] ;
7163
7164 if (!args) SWIG_fail;
7165 swig_obj[0] = args;
7166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7167 if (!SWIG_IsOK(res1)) {
7168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7169 }
7170 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 result = (wxHtmlContainerCell *)(arg1)->GetParent();
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7178 return resultobj;
7179fail:
7180 return NULL;
d14a1e28
RD
7181}
7182
7183
0085ce49
RD
7184SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7185 PyObject *resultobj = 0;
7186 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7187 wxHtmlCell *result = 0 ;
7188 void *argp1 = 0 ;
7189 int res1 = 0 ;
7190 PyObject *swig_obj[1] ;
7191
7192 if (!args) SWIG_fail;
7193 swig_obj[0] = args;
7194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7195 if (!SWIG_IsOK(res1)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7197 }
7198 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild();
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 {
7206 resultobj = wxPyMake_wxObject(result, 0);
7207 }
7208 return resultobj;
7209fail:
7210 return NULL;
d14a1e28
RD
7211}
7212
7213
e9d6f3a4
RD
7214SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj = 0;
7216 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7217 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7218 wxCursor result;
7219 void *argp1 = 0 ;
7220 int res1 = 0 ;
7221 void *argp2 = 0 ;
7222 int res2 = 0 ;
7223 PyObject * obj0 = 0 ;
7224 PyObject * obj1 = 0 ;
7225 char * kwnames[] = {
7226 (char *) "self",(char *) "window", NULL
7227 };
7228
7229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail;
7230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7231 if (!SWIG_IsOK(res1)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7233 }
7234 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7236 if (!SWIG_IsOK(res2)) {
7237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7238 }
7239 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2);
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
7247 return resultobj;
7248fail:
7249 return NULL;
7250}
7251
7252
0085ce49
RD
7253SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7254 PyObject *resultobj = 0;
7255 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7256 bool result;
7257 void *argp1 = 0 ;
7258 int res1 = 0 ;
7259 PyObject *swig_obj[1] ;
7260
7261 if (!args) SWIG_fail;
7262 swig_obj[0] = args;
7263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7264 if (!SWIG_IsOK(res1)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7266 }
7267 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7270 result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell();
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 {
7275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7276 }
7277 return resultobj;
7278fail:
7279 return NULL;
7280}
7281
7282
7283SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj = 0;
7285 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7286 wxHtmlLinkInfo *arg2 = 0 ;
7287 void *argp1 = 0 ;
7288 int res1 = 0 ;
7289 void *argp2 = 0 ;
7290 int res2 = 0 ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 char * kwnames[] = {
7294 (char *) "self",(char *) "link", NULL
7295 };
7296
7297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
7298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7299 if (!SWIG_IsOK(res1)) {
7300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7301 }
7302 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7303 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
7304 if (!SWIG_IsOK(res2)) {
7305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7306 }
7307 if (!argp2) {
7308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7309 }
7310 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2);
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 resultobj = SWIG_Py_Void();
7318 return resultobj;
7319fail:
7320 return NULL;
7321}
7322
7323
7324SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj = 0;
7326 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7327 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
7328 int res1 = 0 ;
7329 int res2 = 0 ;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char * kwnames[] = {
7333 (char *) "self",(char *) "cell", NULL
7334 };
7335
7336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail;
7337 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7338 if (!SWIG_IsOK(res1)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7340 }
7341 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
7342 if (!SWIG_IsOK(res2)) {
7343 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 (arg1)->SetNext(arg2);
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = SWIG_Py_Void();
7352 return resultobj;
7353fail:
7354 return NULL;
7355}
7356
7357
7358SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj = 0;
7360 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7361 wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ;
7362 void *argp1 = 0 ;
7363 int res1 = 0 ;
7364 void *argp2 = 0 ;
7365 int res2 = 0 ;
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
7368 char * kwnames[] = {
7369 (char *) "self",(char *) "p", NULL
7370 };
7371
7372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7374 if (!SWIG_IsOK(res1)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7376 }
7377 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
7379 if (!SWIG_IsOK(res2)) {
7380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7381 }
7382 arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2);
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 (arg1)->SetParent(arg2);
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = SWIG_Py_Void();
7390 return resultobj;
7391fail:
7392 return NULL;
7393}
7394
7395
7396SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj = 0;
7398 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7399 int arg2 ;
7400 int arg3 ;
7401 void *argp1 = 0 ;
7402 int res1 = 0 ;
7403 int val2 ;
7404 int ecode2 = 0 ;
7405 int val3 ;
7406 int ecode3 = 0 ;
7407 PyObject * obj0 = 0 ;
7408 PyObject * obj1 = 0 ;
7409 PyObject * obj2 = 0 ;
7410 char * kwnames[] = {
7411 (char *) "self",(char *) "x",(char *) "y", NULL
7412 };
7413
7414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7416 if (!SWIG_IsOK(res1)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7418 }
7419 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7420 ecode2 = SWIG_AsVal_int(obj1, &val2);
7421 if (!SWIG_IsOK(ecode2)) {
7422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7423 }
7424 arg2 = static_cast< int >(val2);
7425 ecode3 = SWIG_AsVal_int(obj2, &val3);
7426 if (!SWIG_IsOK(ecode3)) {
7427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7428 }
7429 arg3 = static_cast< int >(val3);
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 (arg1)->SetPos(arg2,arg3);
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_Py_Void();
7437 return resultobj;
7438fail:
7439 return NULL;
7440}
7441
7442
7443SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7446 int arg2 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 int val2 ;
7450 int ecode2 = 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char * kwnames[] = {
7454 (char *) "self",(char *) "w", NULL
7455 };
7456
7457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail;
7458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7459 if (!SWIG_IsOK(res1)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7461 }
7462 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7463 ecode2 = SWIG_AsVal_int(obj1, &val2);
7464 if (!SWIG_IsOK(ecode2)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7466 }
7467 arg2 = static_cast< int >(val2);
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->Layout(arg2);
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 resultobj = SWIG_Py_Void();
7475 return resultobj;
7476fail:
7477 return NULL;
7478}
7479
7480
7481SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7482 PyObject *resultobj = 0;
7483 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7484 wxDC *arg2 = 0 ;
7485 int arg3 ;
7486 int arg4 ;
7487 int arg5 ;
7488 int arg6 ;
7489 wxHtmlRenderingInfo *arg7 = 0 ;
7490 void *argp1 = 0 ;
7491 int res1 = 0 ;
7492 void *argp2 = 0 ;
7493 int res2 = 0 ;
7494 int val3 ;
7495 int ecode3 = 0 ;
7496 int val4 ;
7497 int ecode4 = 0 ;
7498 int val5 ;
7499 int ecode5 = 0 ;
7500 int val6 ;
7501 int ecode6 = 0 ;
7502 void *argp7 = 0 ;
7503 int res7 = 0 ;
7504 PyObject * obj0 = 0 ;
7505 PyObject * obj1 = 0 ;
7506 PyObject * obj2 = 0 ;
7507 PyObject * obj3 = 0 ;
7508 PyObject * obj4 = 0 ;
7509 PyObject * obj5 = 0 ;
7510 PyObject * obj6 = 0 ;
7511 char * kwnames[] = {
7512 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7513 };
7514
7515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7517 if (!SWIG_IsOK(res1)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7519 }
7520 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7521 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7522 if (!SWIG_IsOK(res2)) {
7523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7524 }
7525 if (!argp2) {
7526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7527 }
7528 arg2 = reinterpret_cast< wxDC * >(argp2);
7529 ecode3 = SWIG_AsVal_int(obj2, &val3);
7530 if (!SWIG_IsOK(ecode3)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7532 }
7533 arg3 = static_cast< int >(val3);
7534 ecode4 = SWIG_AsVal_int(obj3, &val4);
7535 if (!SWIG_IsOK(ecode4)) {
7536 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7537 }
7538 arg4 = static_cast< int >(val4);
7539 ecode5 = SWIG_AsVal_int(obj4, &val5);
7540 if (!SWIG_IsOK(ecode5)) {
7541 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7542 }
7543 arg5 = static_cast< int >(val5);
7544 ecode6 = SWIG_AsVal_int(obj5, &val6);
7545 if (!SWIG_IsOK(ecode6)) {
7546 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7547 }
7548 arg6 = static_cast< int >(val6);
7549 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7550 if (!SWIG_IsOK(res7)) {
7551 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7552 }
7553 if (!argp7) {
7554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7555 }
7556 arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7);
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7);
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 resultobj = SWIG_Py_Void();
7564 return resultobj;
7565fail:
7566 return NULL;
7567}
7568
7569
7570SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj = 0;
7572 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7573 wxDC *arg2 = 0 ;
7574 int arg3 ;
7575 int arg4 ;
7576 wxHtmlRenderingInfo *arg5 = 0 ;
7577 void *argp1 = 0 ;
7578 int res1 = 0 ;
7579 void *argp2 = 0 ;
7580 int res2 = 0 ;
7581 int val3 ;
7582 int ecode3 = 0 ;
7583 int val4 ;
7584 int ecode4 = 0 ;
7585 void *argp5 = 0 ;
7586 int res5 = 0 ;
7587 PyObject * obj0 = 0 ;
7588 PyObject * obj1 = 0 ;
7589 PyObject * obj2 = 0 ;
7590 PyObject * obj3 = 0 ;
7591 PyObject * obj4 = 0 ;
7592 char * kwnames[] = {
7593 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7594 };
7595
7596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7598 if (!SWIG_IsOK(res1)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7600 }
7601 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7602 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
7603 if (!SWIG_IsOK(res2)) {
7604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7605 }
7606 if (!argp2) {
7607 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7608 }
7609 arg2 = reinterpret_cast< wxDC * >(argp2);
7610 ecode3 = SWIG_AsVal_int(obj2, &val3);
7611 if (!SWIG_IsOK(ecode3)) {
7612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7613 }
7614 arg3 = static_cast< int >(val3);
7615 ecode4 = SWIG_AsVal_int(obj3, &val4);
7616 if (!SWIG_IsOK(ecode4)) {
7617 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7618 }
7619 arg4 = static_cast< int >(val4);
7620 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 );
7621 if (!SWIG_IsOK(res5)) {
7622 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7623 }
7624 if (!argp5) {
7625 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7626 }
7627 arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5);
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5);
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_Py_Void();
7635 return resultobj;
7636fail:
7637 return NULL;
7638}
7639
7640
7641SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = 0;
7643 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7644 int arg2 ;
7645 void *arg3 = (void *) 0 ;
7646 wxHtmlCell *result = 0 ;
7647 void *argp1 = 0 ;
7648 int res1 = 0 ;
7649 int val2 ;
7650 int ecode2 = 0 ;
7651 int res3 ;
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 PyObject * obj2 = 0 ;
7655 char * kwnames[] = {
7656 (char *) "self",(char *) "condition",(char *) "param", NULL
7657 };
7658
7659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7661 if (!SWIG_IsOK(res1)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7663 }
7664 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7665 ecode2 = SWIG_AsVal_int(obj1, &val2);
7666 if (!SWIG_IsOK(ecode2)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7668 }
7669 arg2 = static_cast< int >(val2);
7670 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
7671 if (!SWIG_IsOK(res3)) {
7672 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7673 }
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3);
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 resultobj = wxPyMake_wxObject(result, 0);
7682 }
7683 return resultobj;
7684fail:
7685 return NULL;
7686}
7687
7688
e9d6f3a4
RD
7689SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7690 PyObject *resultobj = 0;
7691 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7692 wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ;
7693 wxPoint *arg3 = 0 ;
7694 wxMouseEvent *arg4 = 0 ;
7695 bool result;
7696 void *argp1 = 0 ;
7697 int res1 = 0 ;
7698 void *argp2 = 0 ;
7699 int res2 = 0 ;
7700 wxPoint temp3 ;
7701 void *argp4 = 0 ;
7702 int res4 = 0 ;
7703 PyObject * obj0 = 0 ;
7704 PyObject * obj1 = 0 ;
7705 PyObject * obj2 = 0 ;
7706 PyObject * obj3 = 0 ;
7707 char * kwnames[] = {
7708 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7709 };
7710
7711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7713 if (!SWIG_IsOK(res1)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7715 }
7716 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
7718 if (!SWIG_IsOK(res2)) {
7719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7720 }
7721 arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2);
7722 {
7723 arg3 = &temp3;
7724 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7725 }
7726 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0);
7727 if (!SWIG_IsOK(res4)) {
7728 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7729 }
7730 if (!argp4) {
7731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7732 }
7733 arg4 = reinterpret_cast< wxMouseEvent * >(argp4);
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4);
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 {
7741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7742 }
7743 return resultobj;
7744fail:
7745 return NULL;
7746}
7747
7748
0085ce49
RD
7749SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj = 0;
7751 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7752 bool arg2 ;
7753 void *argp1 = 0 ;
7754 int res1 = 0 ;
7755 bool val2 ;
7756 int ecode2 = 0 ;
7757 PyObject * obj0 = 0 ;
7758 PyObject * obj1 = 0 ;
7759 char * kwnames[] = {
7760 (char *) "self",(char *) "can", NULL
7761 };
7762
7763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail;
7764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7765 if (!SWIG_IsOK(res1)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7767 }
7768 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7769 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7770 if (!SWIG_IsOK(ecode2)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7772 }
7773 arg2 = static_cast< bool >(val2);
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 (arg1)->SetCanLiveOnPagebreak(arg2);
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 resultobj = SWIG_Py_Void();
7781 return resultobj;
7782fail:
7783 return NULL;
d14a1e28
RD
7784}
7785
7786
0085ce49
RD
7787SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7788 PyObject *resultobj = 0;
7789 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7790 bool result;
7791 void *argp1 = 0 ;
7792 int res1 = 0 ;
7793 PyObject *swig_obj[1] ;
7794
7795 if (!args) SWIG_fail;
7796 swig_obj[0] = args;
7797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7798 if (!SWIG_IsOK(res1)) {
7799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7800 }
7801 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed();
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 {
7809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7810 }
7811 return resultobj;
7812fail:
7813 return NULL;
d14a1e28
RD
7814}
7815
7816
0085ce49
RD
7817SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7818 PyObject *resultobj = 0;
7819 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7820 bool result;
7821 void *argp1 = 0 ;
7822 int res1 = 0 ;
7823 PyObject *swig_obj[1] ;
7824
7825 if (!args) SWIG_fail;
7826 swig_obj[0] = args;
7827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7828 if (!SWIG_IsOK(res1)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7830 }
7831 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell();
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 {
7839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7840 }
7841 return resultobj;
7842fail:
7843 return NULL;
7844}
7845
7846
7847SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj = 0;
7849 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7850 int arg2 ;
7851 int arg3 ;
7852 unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ;
7853 wxHtmlCell *result = 0 ;
7854 void *argp1 = 0 ;
7855 int res1 = 0 ;
7856 int val2 ;
7857 int ecode2 = 0 ;
7858 int val3 ;
7859 int ecode3 = 0 ;
7860 unsigned int val4 ;
7861 int ecode4 = 0 ;
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 PyObject * obj2 = 0 ;
7865 PyObject * obj3 = 0 ;
7866 char * kwnames[] = {
7867 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7868 };
7869
7870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7872 if (!SWIG_IsOK(res1)) {
7873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7874 }
7875 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7876 ecode2 = SWIG_AsVal_int(obj1, &val2);
7877 if (!SWIG_IsOK(ecode2)) {
7878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7879 }
7880 arg2 = static_cast< int >(val2);
7881 ecode3 = SWIG_AsVal_int(obj2, &val3);
7882 if (!SWIG_IsOK(ecode3)) {
7883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7884 }
7885 arg3 = static_cast< int >(val3);
7886 if (obj3) {
7887 ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4);
7888 if (!SWIG_IsOK(ecode4)) {
7889 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7890 }
7891 arg4 = static_cast< unsigned int >(val4);
7892 }
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4);
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 {
7900 resultobj = wxPyMake_wxObject(result, 0);
7901 }
7902 return resultobj;
7903fail:
7904 return NULL;
d14a1e28
RD
7905}
7906
7907
e9d6f3a4 7908SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7909 PyObject *resultobj = 0;
7910 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
e9d6f3a4 7911 wxHtmlCell *arg2 = (wxHtmlCell *) NULL ;
0085ce49
RD
7912 wxPoint result;
7913 void *argp1 = 0 ;
7914 int res1 = 0 ;
e9d6f3a4
RD
7915 void *argp2 = 0 ;
7916 int res2 = 0 ;
7917 PyObject * obj0 = 0 ;
7918 PyObject * obj1 = 0 ;
7919 char * kwnames[] = {
7920 (char *) "self",(char *) "rootCell", NULL
7921 };
7922
7923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail;
7924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7925 if (!SWIG_IsOK(res1)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7927 }
7928 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7929 if (obj1) {
7930 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7931 if (!SWIG_IsOK(res2)) {
7932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7933 }
7934 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
7935 }
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2);
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
7943 return resultobj;
7944fail:
7945 return NULL;
7946}
7947
7948
7949SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7950 PyObject *resultobj = 0;
7951 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7952 wxHtmlCell *result = 0 ;
7953 void *argp1 = 0 ;
7954 int res1 = 0 ;
0085ce49
RD
7955 PyObject *swig_obj[1] ;
7956
7957 if (!args) SWIG_fail;
7958 swig_obj[0] = args;
7959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7960 if (!SWIG_IsOK(res1)) {
e9d6f3a4 7961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
0085ce49
RD
7962 }
7963 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 7966 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell();
0085ce49
RD
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
e9d6f3a4
RD
7970 {
7971 resultobj = wxPyMake_wxObject(result, 0);
7972 }
0085ce49
RD
7973 return resultobj;
7974fail:
7975 return NULL;
d14a1e28
RD
7976}
7977
7978
0085ce49
RD
7979SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7980 PyObject *resultobj = 0;
7981 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
7982 wxHtmlCell *result = 0 ;
7983 void *argp1 = 0 ;
7984 int res1 = 0 ;
7985 PyObject *swig_obj[1] ;
7986
7987 if (!args) SWIG_fail;
7988 swig_obj[0] = args;
7989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
7990 if (!SWIG_IsOK(res1)) {
7991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7992 }
7993 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal();
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 {
8001 resultobj = wxPyMake_wxObject(result, 0);
8002 }
8003 return resultobj;
8004fail:
8005 return NULL;
d14a1e28
RD
8006}
8007
8008
0085ce49
RD
8009SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8010 PyObject *resultobj = 0;
8011 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8012 wxHtmlCell *result = 0 ;
8013 void *argp1 = 0 ;
8014 int res1 = 0 ;
8015 PyObject *swig_obj[1] ;
8016
8017 if (!args) SWIG_fail;
8018 swig_obj[0] = args;
8019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8020 if (!SWIG_IsOK(res1)) {
8021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8022 }
8023 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal();
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 {
8031 resultobj = wxPyMake_wxObject(result, 0);
8032 }
8033 return resultobj;
8034fail:
8035 return NULL;
d14a1e28
RD
8036}
8037
8038
0085ce49
RD
8039SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8040 PyObject *resultobj = 0;
8041 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8042 unsigned int result;
8043 void *argp1 = 0 ;
8044 int res1 = 0 ;
8045 PyObject *swig_obj[1] ;
8046
8047 if (!args) SWIG_fail;
8048 swig_obj[0] = args;
8049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8050 if (!SWIG_IsOK(res1)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8052 }
8053 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth();
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
8061 return resultobj;
8062fail:
8063 return NULL;
8064}
8065
8066
8067SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj = 0;
8069 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8070 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8071 bool result;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 void *argp2 = 0 ;
8075 int res2 = 0 ;
8076 PyObject * obj0 = 0 ;
8077 PyObject * obj1 = 0 ;
8078 char * kwnames[] = {
8079 (char *) "self",(char *) "cell", NULL
8080 };
8081
8082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail;
8083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8084 if (!SWIG_IsOK(res1)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8086 }
8087 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8088 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8089 if (!SWIG_IsOK(res2)) {
8090 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8091 }
8092 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2);
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 {
8100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8101 }
8102 return resultobj;
8103fail:
8104 return NULL;
8105}
8106
8107
8108SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj = 0;
8110 wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
8111 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8112 wxString result;
8113 void *argp1 = 0 ;
8114 int res1 = 0 ;
8115 void *argp2 = 0 ;
8116 int res2 = 0 ;
8117 PyObject * obj0 = 0 ;
8118 PyObject * obj1 = 0 ;
8119 char * kwnames[] = {
8120 (char *) "self",(char *) "sel", NULL
8121 };
8122
8123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
8125 if (!SWIG_IsOK(res1)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8127 }
8128 arg1 = reinterpret_cast< wxHtmlCell * >(argp1);
8129 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8130 if (!SWIG_IsOK(res2)) {
8131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8132 }
8133 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2);
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141#if wxUSE_UNICODE
8142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8143#else
8144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8145#endif
8146 }
8147 return resultobj;
8148fail:
8149 return NULL;
d14a1e28
RD
8150}
8151
8152
0085ce49
RD
8153SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8154 PyObject *obj;
8155 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8156 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj));
8157 return SWIG_Py_Void();
d14a1e28
RD
8158}
8159
0085ce49
RD
8160SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8161 return SWIG_Python_InitShadowInstance(args);
8162}
d14a1e28 8163
0085ce49
RD
8164SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj = 0;
8166 wxString *arg1 = 0 ;
8167 wxDC *arg2 = 0 ;
8168 wxHtmlWordCell *result = 0 ;
8169 bool temp1 = false ;
8170 void *argp2 = 0 ;
8171 int res2 = 0 ;
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 char * kwnames[] = {
8175 (char *) "word",(char *) "dc", NULL
8176 };
8177
8178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail;
8179 {
8180 arg1 = wxString_in_helper(obj0);
8181 if (arg1 == NULL) SWIG_fail;
8182 temp1 = true;
8183 }
8184 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8185 if (!SWIG_IsOK(res2)) {
8186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8187 }
8188 if (!argp2) {
8189 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8190 }
8191 arg2 = reinterpret_cast< wxDC * >(argp2);
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2);
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 );
8199 {
8200 if (temp1)
8201 delete arg1;
8202 }
8203 return resultobj;
8204fail:
8205 {
8206 if (temp1)
8207 delete arg1;
8208 }
8209 return NULL;
8210}
8211
8212
8213SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj = 0;
8215 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8216 wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ;
8217 wxString result;
8218 void *argp1 = 0 ;
8219 int res1 = 0 ;
8220 void *argp2 = 0 ;
8221 int res2 = 0 ;
8222 PyObject * obj0 = 0 ;
8223 PyObject * obj1 = 0 ;
8224 char * kwnames[] = {
8225 (char *) "self",(char *) "sel", NULL
8226 };
8227
8228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail;
8229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8230 if (!SWIG_IsOK(res1)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8232 }
8233 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8234 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 );
8235 if (!SWIG_IsOK(res2)) {
8236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8237 }
8238 arg2 = reinterpret_cast< wxHtmlSelection * >(argp2);
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2);
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 {
8246#if wxUSE_UNICODE
8247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8248#else
8249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8250#endif
8251 }
8252 return resultobj;
8253fail:
8254 return NULL;
d14a1e28
RD
8255}
8256
8257
0085ce49
RD
8258SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8259 PyObject *resultobj = 0;
8260 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8261 bool result;
8262 void *argp1 = 0 ;
8263 int res1 = 0 ;
8264 PyObject *swig_obj[1] ;
8265
8266 if (!args) SWIG_fail;
8267 swig_obj[0] = args;
8268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8269 if (!SWIG_IsOK(res1)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8271 }
8272 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed();
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 {
8280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8281 }
8282 return resultobj;
8283fail:
8284 return NULL;
8285}
8286
8287
8288SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8289 PyObject *resultobj = 0;
8290 wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ;
8291 wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ;
8292 void *argp1 = 0 ;
8293 int res1 = 0 ;
8294 void *argp2 = 0 ;
8295 int res2 = 0 ;
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8298 char * kwnames[] = {
8299 (char *) "self",(char *) "cell", NULL
8300 };
8301
8302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail;
8303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8304 if (!SWIG_IsOK(res1)) {
8305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8306 }
8307 arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1);
8308 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 );
8309 if (!SWIG_IsOK(res2)) {
8310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8311 }
8312 arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2);
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 (arg1)->SetPreviousWord(arg2);
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 resultobj = SWIG_Py_Void();
8320 return resultobj;
8321fail:
8322 return NULL;
d14a1e28
RD
8323}
8324
8325
0085ce49
RD
8326SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8327 PyObject *obj;
8328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8329 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj));
8330 return SWIG_Py_Void();
d14a1e28
RD
8331}
8332
0085ce49
RD
8333SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 return SWIG_Python_InitShadowInstance(args);
8335}
d14a1e28 8336
0085ce49
RD
8337SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj = 0;
8339 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8340 wxHtmlContainerCell *result = 0 ;
8341 void *argp1 = 0 ;
8342 int res1 = 0 ;
8343 PyObject * obj0 = 0 ;
8344 char * kwnames[] = {
8345 (char *) "parent", NULL
8346 };
8347
8348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail;
8349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8350 if (!SWIG_IsOK(res1)) {
8351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8352 }
8353 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8354 {
8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
8356 result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1);
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 );
8361 return resultobj;
8362fail:
8363 return NULL;
8364}
8365
8366
8367SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj = 0;
8369 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8370 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
8371 void *argp1 = 0 ;
8372 int res1 = 0 ;
8373 int res2 = 0 ;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376 char * kwnames[] = {
8377 (char *) "self",(char *) "cell", NULL
8378 };
8379
8380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail;
8381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8382 if (!SWIG_IsOK(res1)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8384 }
8385 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8386 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 );
8387 if (!SWIG_IsOK(res2)) {
8388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8389 }
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->InsertCell(arg2);
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = SWIG_Py_Void();
8397 return resultobj;
8398fail:
8399 return NULL;
8400}
8401
8402
8403SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj = 0;
8405 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8406 int arg2 ;
8407 void *argp1 = 0 ;
8408 int res1 = 0 ;
8409 int val2 ;
8410 int ecode2 = 0 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char * kwnames[] = {
8414 (char *) "self",(char *) "al", NULL
8415 };
8416
8417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail;
8418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8419 if (!SWIG_IsOK(res1)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8421 }
8422 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8423 ecode2 = SWIG_AsVal_int(obj1, &val2);
8424 if (!SWIG_IsOK(ecode2)) {
8425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8426 }
8427 arg2 = static_cast< int >(val2);
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 (arg1)->SetAlignHor(arg2);
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 resultobj = SWIG_Py_Void();
8435 return resultobj;
8436fail:
8437 return NULL;
d14a1e28 8438}
0085ce49
RD
8439
8440
8441SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8442 PyObject *resultobj = 0;
8443 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8444 int result;
8445 void *argp1 = 0 ;
8446 int res1 = 0 ;
8447 PyObject *swig_obj[1] ;
8448
8449 if (!args) SWIG_fail;
8450 swig_obj[0] = args;
8451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8452 if (!SWIG_IsOK(res1)) {
8453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8454 }
8455 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (int)(arg1)->GetAlignHor();
8459 wxPyEndAllowThreads(__tstate);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 }
8462 resultobj = SWIG_From_int(static_cast< int >(result));
8463 return resultobj;
8464fail:
8465 return NULL;
8466}
8467
8468
8469SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8470 PyObject *resultobj = 0;
8471 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8472 int arg2 ;
8473 void *argp1 = 0 ;
8474 int res1 = 0 ;
8475 int val2 ;
8476 int ecode2 = 0 ;
8477 PyObject * obj0 = 0 ;
8478 PyObject * obj1 = 0 ;
8479 char * kwnames[] = {
8480 (char *) "self",(char *) "al", NULL
8481 };
8482
8483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail;
8484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8485 if (!SWIG_IsOK(res1)) {
8486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8487 }
8488 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8489 ecode2 = SWIG_AsVal_int(obj1, &val2);
8490 if (!SWIG_IsOK(ecode2)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8492 }
8493 arg2 = static_cast< int >(val2);
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 (arg1)->SetAlignVer(arg2);
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 resultobj = SWIG_Py_Void();
8501 return resultobj;
8502fail:
8503 return NULL;
d14a1e28
RD
8504}
8505
8506
0085ce49
RD
8507SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8508 PyObject *resultobj = 0;
8509 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8510 int result;
8511 void *argp1 = 0 ;
8512 int res1 = 0 ;
8513 PyObject *swig_obj[1] ;
8514
8515 if (!args) SWIG_fail;
8516 swig_obj[0] = args;
8517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8518 if (!SWIG_IsOK(res1)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8520 }
8521 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (int)(arg1)->GetAlignVer();
8525 wxPyEndAllowThreads(__tstate);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 resultobj = SWIG_From_int(static_cast< int >(result));
8529 return resultobj;
8530fail:
8531 return NULL;
8532}
8533
8534
8535SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8536 PyObject *resultobj = 0;
8537 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8538 int arg2 ;
8539 int arg3 ;
8540 int arg4 = (int) wxHTML_UNITS_PIXELS ;
8541 void *argp1 = 0 ;
8542 int res1 = 0 ;
8543 int val2 ;
8544 int ecode2 = 0 ;
8545 int val3 ;
8546 int ecode3 = 0 ;
8547 int val4 ;
8548 int ecode4 = 0 ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj2 = 0 ;
8552 PyObject * obj3 = 0 ;
8553 char * kwnames[] = {
8554 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8555 };
8556
8557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8559 if (!SWIG_IsOK(res1)) {
8560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8561 }
8562 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8563 ecode2 = SWIG_AsVal_int(obj1, &val2);
8564 if (!SWIG_IsOK(ecode2)) {
8565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8566 }
8567 arg2 = static_cast< int >(val2);
8568 ecode3 = SWIG_AsVal_int(obj2, &val3);
8569 if (!SWIG_IsOK(ecode3)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8571 }
8572 arg3 = static_cast< int >(val3);
8573 if (obj3) {
8574 ecode4 = SWIG_AsVal_int(obj3, &val4);
8575 if (!SWIG_IsOK(ecode4)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8577 }
8578 arg4 = static_cast< int >(val4);
8579 }
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 (arg1)->SetIndent(arg2,arg3,arg4);
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 resultobj = SWIG_Py_Void();
8587 return resultobj;
8588fail:
8589 return NULL;
8590}
8591
8592
8593SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj = 0;
8595 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8596 int arg2 ;
8597 int result;
8598 void *argp1 = 0 ;
8599 int res1 = 0 ;
8600 int val2 ;
8601 int ecode2 = 0 ;
8602 PyObject * obj0 = 0 ;
8603 PyObject * obj1 = 0 ;
8604 char * kwnames[] = {
8605 (char *) "self",(char *) "ind", NULL
8606 };
8607
8608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
8609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8610 if (!SWIG_IsOK(res1)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8612 }
8613 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8614 ecode2 = SWIG_AsVal_int(obj1, &val2);
8615 if (!SWIG_IsOK(ecode2)) {
8616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8617 }
8618 arg2 = static_cast< int >(val2);
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 result = (int)(arg1)->GetIndent(arg2);
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_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj = 0;
8634 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8635 int arg2 ;
8636 int result;
8637 void *argp1 = 0 ;
8638 int res1 = 0 ;
8639 int val2 ;
8640 int ecode2 = 0 ;
8641 PyObject * obj0 = 0 ;
8642 PyObject * obj1 = 0 ;
8643 char * kwnames[] = {
8644 (char *) "self",(char *) "ind", NULL
8645 };
8646
8647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail;
8648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8649 if (!SWIG_IsOK(res1)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8651 }
8652 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8653 ecode2 = SWIG_AsVal_int(obj1, &val2);
8654 if (!SWIG_IsOK(ecode2)) {
8655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8656 }
8657 arg2 = static_cast< int >(val2);
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (int)(arg1)->GetIndentUnits(arg2);
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = SWIG_From_int(static_cast< int >(result));
8665 return resultobj;
8666fail:
8667 return NULL;
8668}
8669
8670
8671SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj = 0;
8673 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8674 wxHtmlTag *arg2 = 0 ;
8675 void *argp1 = 0 ;
8676 int res1 = 0 ;
8677 void *argp2 = 0 ;
8678 int res2 = 0 ;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 char * kwnames[] = {
8682 (char *) "self",(char *) "tag", NULL
8683 };
8684
8685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
8686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8687 if (!SWIG_IsOK(res1)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8689 }
8690 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8691 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8692 if (!SWIG_IsOK(res2)) {
8693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8694 }
8695 if (!argp2) {
8696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8697 }
8698 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8699 {
8700 PyThreadState* __tstate = wxPyBeginAllowThreads();
8701 (arg1)->SetAlign((wxHtmlTag const &)*arg2);
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 resultobj = SWIG_Py_Void();
8706 return resultobj;
8707fail:
8708 return NULL;
8709}
8710
8711
8712SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj = 0;
8714 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8715 int arg2 ;
8716 int arg3 ;
8717 void *argp1 = 0 ;
8718 int res1 = 0 ;
8719 int val2 ;
8720 int ecode2 = 0 ;
8721 int val3 ;
8722 int ecode3 = 0 ;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj1 = 0 ;
8725 PyObject * obj2 = 0 ;
8726 char * kwnames[] = {
8727 (char *) "self",(char *) "w",(char *) "units", NULL
8728 };
8729
8730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8732 if (!SWIG_IsOK(res1)) {
8733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8734 }
8735 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8736 ecode2 = SWIG_AsVal_int(obj1, &val2);
8737 if (!SWIG_IsOK(ecode2)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8739 }
8740 arg2 = static_cast< int >(val2);
8741 ecode3 = SWIG_AsVal_int(obj2, &val3);
8742 if (!SWIG_IsOK(ecode3)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8744 }
8745 arg3 = static_cast< int >(val3);
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->SetWidthFloat(arg2,arg3);
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 resultobj = SWIG_Py_Void();
8753 return resultobj;
8754fail:
8755 return NULL;
8756}
8757
8758
8759SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj = 0;
8761 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8762 wxHtmlTag *arg2 = 0 ;
8763 void *argp1 = 0 ;
8764 int res1 = 0 ;
8765 void *argp2 = 0 ;
8766 int res2 = 0 ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char * kwnames[] = {
8770 (char *) "self",(char *) "tag", NULL
8771 };
8772
8773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail;
8774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8775 if (!SWIG_IsOK(res1)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8777 }
8778 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8779 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0);
8780 if (!SWIG_IsOK(res2)) {
8781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8782 }
8783 if (!argp2) {
8784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8785 }
8786 arg2 = reinterpret_cast< wxHtmlTag * >(argp2);
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2);
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 resultobj = SWIG_Py_Void();
8794 return resultobj;
8795fail:
8796 return NULL;
8797}
8798
8799
8800SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj = 0;
8802 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8803 int arg2 ;
8804 int arg3 = (int) wxHTML_ALIGN_TOP ;
8805 void *argp1 = 0 ;
8806 int res1 = 0 ;
8807 int val2 ;
8808 int ecode2 = 0 ;
8809 int val3 ;
8810 int ecode3 = 0 ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 PyObject * obj2 = 0 ;
8814 char * kwnames[] = {
8815 (char *) "self",(char *) "h",(char *) "align", NULL
8816 };
8817
8818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8820 if (!SWIG_IsOK(res1)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8822 }
8823 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8824 ecode2 = SWIG_AsVal_int(obj1, &val2);
8825 if (!SWIG_IsOK(ecode2)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8827 }
8828 arg2 = static_cast< int >(val2);
8829 if (obj2) {
8830 ecode3 = SWIG_AsVal_int(obj2, &val3);
8831 if (!SWIG_IsOK(ecode3)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8833 }
8834 arg3 = static_cast< int >(val3);
8835 }
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 (arg1)->SetMinHeight(arg2,arg3);
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = SWIG_Py_Void();
8843 return resultobj;
8844fail:
8845 return NULL;
8846}
8847
8848
8849SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj = 0;
8851 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8852 wxColour *arg2 = 0 ;
8853 void *argp1 = 0 ;
8854 int res1 = 0 ;
8855 wxColour temp2 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 char * kwnames[] = {
8859 (char *) "self",(char *) "clr", NULL
8860 };
8861
8862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8864 if (!SWIG_IsOK(res1)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8866 }
8867 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8868 {
8869 arg2 = &temp2;
8870 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8871 }
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 resultobj = SWIG_Py_Void();
8879 return resultobj;
8880fail:
8881 return NULL;
d14a1e28
RD
8882}
8883
8884
0085ce49
RD
8885SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8886 PyObject *resultobj = 0;
8887 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8888 wxColour result;
8889 void *argp1 = 0 ;
8890 int res1 = 0 ;
8891 PyObject *swig_obj[1] ;
8892
8893 if (!args) SWIG_fail;
8894 swig_obj[0] = args;
8895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8896 if (!SWIG_IsOK(res1)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8898 }
8899 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (arg1)->GetBackgroundColour();
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8907 return resultobj;
8908fail:
8909 return NULL;
8910}
8911
8912
8913SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj = 0;
8915 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8916 wxColour *arg2 = 0 ;
8917 wxColour *arg3 = 0 ;
8918 void *argp1 = 0 ;
8919 int res1 = 0 ;
8920 wxColour temp2 ;
8921 wxColour temp3 ;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 PyObject * obj2 = 0 ;
8925 char * kwnames[] = {
8926 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8927 };
8928
8929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8931 if (!SWIG_IsOK(res1)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8933 }
8934 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8935 {
8936 arg2 = &temp2;
8937 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8938 }
8939 {
8940 arg3 = &temp3;
8941 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8942 }
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3);
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 resultobj = SWIG_Py_Void();
8950 return resultobj;
8951fail:
8952 return NULL;
d14a1e28
RD
8953}
8954
8955
0085ce49
RD
8956SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8957 PyObject *resultobj = 0;
8958 wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ;
8959 wxHtmlCell *result = 0 ;
8960 void *argp1 = 0 ;
8961 int res1 = 0 ;
8962 PyObject *swig_obj[1] ;
8963
8964 if (!args) SWIG_fail;
8965 swig_obj[0] = args;
8966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
8967 if (!SWIG_IsOK(res1)) {
8968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8969 }
8970 arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1);
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 result = (wxHtmlCell *)(arg1)->GetFirstChild();
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 {
8978 resultobj = wxPyMake_wxObject(result, 0);
8979 }
8980 return resultobj;
8981fail:
8982 return NULL;
d14a1e28
RD
8983}
8984
8985
0085ce49
RD
8986SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8987 PyObject *obj;
8988 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8989 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj));
8990 return SWIG_Py_Void();
d14a1e28
RD
8991}
8992
0085ce49
RD
8993SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8994 return SWIG_Python_InitShadowInstance(args);
8995}
d14a1e28 8996
0085ce49
RD
8997SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj = 0;
8999 wxColour *arg1 = 0 ;
9000 int arg2 = (int) wxHTML_CLR_FOREGROUND ;
9001 wxHtmlColourCell *result = 0 ;
9002 wxColour temp1 ;
9003 int val2 ;
9004 int ecode2 = 0 ;
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 char * kwnames[] = {
9008 (char *) "clr",(char *) "flags", NULL
9009 };
9010
9011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail;
9012 {
9013 arg1 = &temp1;
9014 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
9015 }
9016 if (obj1) {
9017 ecode2 = SWIG_AsVal_int(obj1, &val2);
9018 if (!SWIG_IsOK(ecode2)) {
9019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9020 }
9021 arg2 = static_cast< int >(val2);
9022 }
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2);
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 );
9030 return resultobj;
9031fail:
9032 return NULL;
d14a1e28
RD
9033}
9034
9035
0085ce49
RD
9036SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9037 PyObject *obj;
9038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9039 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj));
9040 return SWIG_Py_Void();
4f89f6a3
RD
9041}
9042
0085ce49
RD
9043SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9044 return SWIG_Python_InitShadowInstance(args);
9045}
4f89f6a3 9046
0085ce49
RD
9047SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj = 0;
9049 wxFont *arg1 = (wxFont *) 0 ;
9050 wxHtmlFontCell *result = 0 ;
9051 void *argp1 = 0 ;
9052 int res1 = 0 ;
9053 PyObject * obj0 = 0 ;
9054 char * kwnames[] = {
9055 (char *) "font", NULL
9056 };
9057
9058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail;
9059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 );
9060 if (!SWIG_IsOK(res1)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9062 }
9063 arg1 = reinterpret_cast< wxFont * >(argp1);
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1);
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 );
9071 return resultobj;
9072fail:
9073 return NULL;
39f61e25
RD
9074}
9075
9076
0085ce49
RD
9077SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9078 PyObject *obj;
9079 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9080 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj));
9081 return SWIG_Py_Void();
39f61e25
RD
9082}
9083
0085ce49
RD
9084SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9085 return SWIG_Python_InitShadowInstance(args);
9086}
39f61e25 9087
0085ce49
RD
9088SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj = 0;
9090 wxWindow *arg1 = (wxWindow *) 0 ;
9091 int arg2 = (int) 0 ;
9092 wxHtmlWidgetCell *result = 0 ;
9093 void *argp1 = 0 ;
9094 int res1 = 0 ;
9095 int val2 ;
9096 int ecode2 = 0 ;
9097 PyObject * obj0 = 0 ;
9098 PyObject * obj1 = 0 ;
9099 char * kwnames[] = {
9100 (char *) "wnd",(char *) "w", NULL
9101 };
9102
9103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail;
9104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9105 if (!SWIG_IsOK(res1)) {
9106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9107 }
9108 arg1 = reinterpret_cast< wxWindow * >(argp1);
9109 if (obj1) {
9110 ecode2 = SWIG_AsVal_int(obj1, &val2);
9111 if (!SWIG_IsOK(ecode2)) {
9112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9113 }
9114 arg2 = static_cast< int >(val2);
9115 }
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2);
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 );
9123 return resultobj;
9124fail:
9125 return NULL;
d14a1e28
RD
9126}
9127
9128
0085ce49
RD
9129SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9130 PyObject *obj;
9131 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9132 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj));
9133 return SWIG_Py_Void();
d14a1e28
RD
9134}
9135
0085ce49
RD
9136SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9137 return SWIG_Python_InitShadowInstance(args);
9138}
d14a1e28 9139
0085ce49
RD
9140SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9141 PyObject *resultobj = 0;
9142 wxPyHtmlFilter *result = 0 ;
9143
9144 if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail;
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 result = (wxPyHtmlFilter *)new wxPyHtmlFilter();
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 );
9152 return resultobj;
9153fail:
9154 return NULL;
9155}
9156
9157
9158SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj = 0;
9160 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
9161 PyObject *arg2 = (PyObject *) 0 ;
9162 PyObject *arg3 = (PyObject *) 0 ;
9163 void *argp1 = 0 ;
9164 int res1 = 0 ;
9165 PyObject * obj0 = 0 ;
9166 PyObject * obj1 = 0 ;
9167 PyObject * obj2 = 0 ;
9168 char * kwnames[] = {
9169 (char *) "self",(char *) "self",(char *) "_class", NULL
9170 };
9171
9172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
9174 if (!SWIG_IsOK(res1)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9176 }
9177 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
9178 arg2 = obj1;
9179 arg3 = obj2;
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 (arg1)->_setCallbackInfo(arg2,arg3);
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) SWIG_fail;
9185 }
9186 resultobj = SWIG_Py_Void();
9187 return resultobj;
9188fail:
9189 return NULL;
9190}
9191
9192
9193SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9194 PyObject *obj;
9195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9196 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj));
9197 return SWIG_Py_Void();
9198}
9199
9200SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9201 return SWIG_Python_InitShadowInstance(args);
9202}
9203
e9d6f3a4
RD
9204SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9205 PyObject *resultobj = 0;
9206 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9207 void *argp1 = 0 ;
9208 int res1 = 0 ;
9209 PyObject *swig_obj[1] ;
9210
9211 if (!args) SWIG_fail;
9212 swig_obj[0] = args;
9213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 );
9214 if (!SWIG_IsOK(res1)) {
9215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9216 }
9217 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 delete arg1;
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_Py_Void();
9226 return resultobj;
9227fail:
9228 return NULL;
9229}
9230
9231
9232SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj = 0;
9234 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9235 wxString *arg2 = 0 ;
9236 void *argp1 = 0 ;
9237 int res1 = 0 ;
9238 bool temp2 = false ;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 char * kwnames[] = {
9242 (char *) "self",(char *) "title", NULL
9243 };
9244
9245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail;
9246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9247 if (!SWIG_IsOK(res1)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9249 }
9250 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9251 {
9252 arg2 = wxString_in_helper(obj1);
9253 if (arg2 == NULL) SWIG_fail;
9254 temp2 = true;
9255 }
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 (arg1)->SetHTMLWindowTitle((wxString const &)*arg2);
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = SWIG_Py_Void();
9263 {
9264 if (temp2)
9265 delete arg2;
9266 }
9267 return resultobj;
9268fail:
9269 {
9270 if (temp2)
9271 delete arg2;
9272 }
9273 return NULL;
9274}
9275
9276
9277SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj = 0;
9279 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9280 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
9281 wxPoint *arg3 = 0 ;
9282 wxPoint result;
9283 void *argp1 = 0 ;
9284 int res1 = 0 ;
9285 void *argp2 = 0 ;
9286 int res2 = 0 ;
9287 wxPoint temp3 ;
9288 PyObject * obj0 = 0 ;
9289 PyObject * obj1 = 0 ;
9290 PyObject * obj2 = 0 ;
9291 char * kwnames[] = {
9292 (char *) "self",(char *) "cell",(char *) "pos", NULL
9293 };
9294
9295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9297 if (!SWIG_IsOK(res1)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9299 }
9300 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
9302 if (!SWIG_IsOK(res2)) {
9303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9304 }
9305 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
9306 {
9307 arg3 = &temp3;
9308 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9309 }
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3);
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
9316 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
9317 return resultobj;
9318fail:
9319 return NULL;
9320}
9321
9322
9323SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9324 PyObject *resultobj = 0;
9325 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9326 wxWindow *result = 0 ;
9327 void *argp1 = 0 ;
9328 int res1 = 0 ;
9329 PyObject *swig_obj[1] ;
9330
9331 if (!args) SWIG_fail;
9332 swig_obj[0] = args;
9333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9334 if (!SWIG_IsOK(res1)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9336 }
9337 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9338 {
9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
9340 result = (wxWindow *)(arg1)->GetHTMLWindow();
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 {
9345 resultobj = wxPyMake_wxObject(result, 0);
9346 }
9347 return resultobj;
9348fail:
9349 return NULL;
9350}
9351
9352
9353SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9354 PyObject *resultobj = 0;
9355 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9356 wxColour result;
9357 void *argp1 = 0 ;
9358 int res1 = 0 ;
9359 PyObject *swig_obj[1] ;
9360
9361 if (!args) SWIG_fail;
9362 swig_obj[0] = args;
9363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9364 if (!SWIG_IsOK(res1)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9366 }
9367 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour();
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9375 return resultobj;
9376fail:
9377 return NULL;
9378}
9379
9380
9381SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj = 0;
9383 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9384 wxColour *arg2 = 0 ;
9385 void *argp1 = 0 ;
9386 int res1 = 0 ;
9387 wxColour temp2 ;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 char * kwnames[] = {
9391 (char *) "self",(char *) "clr", NULL
9392 };
9393
9394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
9395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9396 if (!SWIG_IsOK(res1)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9398 }
9399 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9400 {
9401 arg2 = &temp2;
9402 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9403 }
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2);
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 resultobj = SWIG_Py_Void();
9411 return resultobj;
9412fail:
9413 return NULL;
9414}
9415
9416
9417SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj = 0;
9419 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9420 wxBitmap *arg2 = 0 ;
9421 void *argp1 = 0 ;
9422 int res1 = 0 ;
9423 void *argp2 = 0 ;
9424 int res2 = 0 ;
9425 PyObject * obj0 = 0 ;
9426 PyObject * obj1 = 0 ;
9427 char * kwnames[] = {
9428 (char *) "self",(char *) "bmpBg", NULL
9429 };
9430
9431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
9432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9433 if (!SWIG_IsOK(res1)) {
9434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9435 }
9436 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9437 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
9438 if (!SWIG_IsOK(res2)) {
9439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9440 }
9441 if (!argp2) {
9442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9443 }
9444 arg2 = reinterpret_cast< wxBitmap * >(argp2);
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2);
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 resultobj = SWIG_Py_Void();
9452 return resultobj;
9453fail:
9454 return NULL;
9455}
9456
9457
9458SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9459 PyObject *resultobj = 0;
9460 wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ;
9461 wxString *arg2 = 0 ;
9462 void *argp1 = 0 ;
9463 int res1 = 0 ;
9464 bool temp2 = false ;
9465 PyObject * obj0 = 0 ;
9466 PyObject * obj1 = 0 ;
9467 char * kwnames[] = {
9468 (char *) "self",(char *) "text", NULL
9469 };
9470
9471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 );
9473 if (!SWIG_IsOK(res1)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9475 }
9476 arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1);
9477 {
9478 arg2 = wxString_in_helper(obj1);
9479 if (arg2 == NULL) SWIG_fail;
9480 temp2 = true;
9481 }
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 (arg1)->SetHTMLStatusText((wxString const &)*arg2);
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 resultobj = SWIG_Py_Void();
9489 {
9490 if (temp2)
9491 delete arg2;
9492 }
9493 return resultobj;
9494fail:
9495 {
9496 if (temp2)
9497 delete arg2;
9498 }
9499 return NULL;
9500}
9501
9502
9503SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9504 PyObject *obj;
9505 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9506 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj));
9507 return SWIG_Py_Void();
9508}
9509
0085ce49
RD
9510SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj = 0;
9512 wxWindow *arg1 = (wxWindow *) 0 ;
9513 int arg2 = (int) -1 ;
9514 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9515 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9516 wxSize const &arg4_defvalue = wxDefaultSize ;
9517 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9518 int arg5 = (int) wxHW_DEFAULT_STYLE ;
9519 wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ;
9520 wxString *arg6 = (wxString *) &arg6_defvalue ;
9521 wxPyHtmlWindow *result = 0 ;
9522 void *argp1 = 0 ;
9523 int res1 = 0 ;
9524 int val2 ;
9525 int ecode2 = 0 ;
9526 wxPoint temp3 ;
9527 wxSize temp4 ;
9528 int val5 ;
9529 int ecode5 = 0 ;
9530 bool temp6 = false ;
9531 PyObject * obj0 = 0 ;
9532 PyObject * obj1 = 0 ;
9533 PyObject * obj2 = 0 ;
9534 PyObject * obj3 = 0 ;
9535 PyObject * obj4 = 0 ;
9536 PyObject * obj5 = 0 ;
9537 char * kwnames[] = {
9538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9539 };
9540
9541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9543 if (!SWIG_IsOK(res1)) {
9544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9545 }
9546 arg1 = reinterpret_cast< wxWindow * >(argp1);
9547 if (obj1) {
9548 ecode2 = SWIG_AsVal_int(obj1, &val2);
9549 if (!SWIG_IsOK(ecode2)) {
9550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9551 }
9552 arg2 = static_cast< int >(val2);
9553 }
9554 if (obj2) {
d14a1e28 9555 {
0085ce49
RD
9556 arg3 = &temp3;
9557 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 9558 }
0085ce49
RD
9559 }
9560 if (obj3) {
d14a1e28 9561 {
0085ce49
RD
9562 arg4 = &temp4;
9563 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9564 }
0085ce49
RD
9565 }
9566 if (obj4) {
9567 ecode5 = SWIG_AsVal_int(obj4, &val5);
9568 if (!SWIG_IsOK(ecode5)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9570 }
9571 arg5 = static_cast< int >(val5);
9572 }
9573 if (obj5) {
b1fcee84 9574 {
0085ce49
RD
9575 arg6 = wxString_in_helper(obj5);
9576 if (arg6 == NULL) SWIG_fail;
9577 temp6 = true;
b1fcee84 9578 }
0085ce49
RD
9579 }
9580 {
9581 if (!wxPyCheckForApp()) SWIG_fail;
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 );
9588 {
9589 if (temp6)
9590 delete arg6;
9591 }
9592 return resultobj;
9593fail:
9594 {
9595 if (temp6)
9596 delete arg6;
9597 }
9598 return NULL;
d14a1e28
RD
9599}
9600
9601
0085ce49
RD
9602SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9603 PyObject *resultobj = 0;
9604 wxPyHtmlWindow *result = 0 ;
9605
9606 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail;
9607 {
9608 if (!wxPyCheckForApp()) SWIG_fail;
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (wxPyHtmlWindow *)new wxPyHtmlWindow();
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 );
9615 return resultobj;
9616fail:
9617 return NULL;
9618}
9619
9620
9621SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj = 0;
9623 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9624 wxWindow *arg2 = (wxWindow *) 0 ;
9625 int arg3 = (int) -1 ;
9626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9628 wxSize const &arg5_defvalue = wxDefaultSize ;
9629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9630 int arg6 = (int) wxHW_SCROLLBAR_AUTO ;
9631 wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ;
9632 wxString *arg7 = (wxString *) &arg7_defvalue ;
9633 bool result;
9634 void *argp1 = 0 ;
9635 int res1 = 0 ;
9636 void *argp2 = 0 ;
9637 int res2 = 0 ;
9638 int val3 ;
9639 int ecode3 = 0 ;
9640 wxPoint temp4 ;
9641 wxSize temp5 ;
9642 int val6 ;
9643 int ecode6 = 0 ;
9644 bool temp7 = false ;
9645 PyObject * obj0 = 0 ;
9646 PyObject * obj1 = 0 ;
9647 PyObject * obj2 = 0 ;
9648 PyObject * obj3 = 0 ;
9649 PyObject * obj4 = 0 ;
9650 PyObject * obj5 = 0 ;
9651 PyObject * obj6 = 0 ;
9652 char * kwnames[] = {
9653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9654 };
9655
9656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9658 if (!SWIG_IsOK(res1)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9660 }
9661 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9662 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9663 if (!SWIG_IsOK(res2)) {
9664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9665 }
9666 arg2 = reinterpret_cast< wxWindow * >(argp2);
9667 if (obj2) {
9668 ecode3 = SWIG_AsVal_int(obj2, &val3);
9669 if (!SWIG_IsOK(ecode3)) {
9670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9671 }
9672 arg3 = static_cast< int >(val3);
9673 }
9674 if (obj3) {
d14a1e28 9675 {
0085ce49
RD
9676 arg4 = &temp4;
9677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9678 }
0085ce49
RD
9679 }
9680 if (obj4) {
d14a1e28 9681 {
0085ce49
RD
9682 arg5 = &temp5;
9683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9684 }
0085ce49
RD
9685 }
9686 if (obj5) {
9687 ecode6 = SWIG_AsVal_int(obj5, &val6);
9688 if (!SWIG_IsOK(ecode6)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9690 }
9691 arg6 = static_cast< int >(val6);
9692 }
9693 if (obj6) {
4f89f6a3 9694 {
0085ce49
RD
9695 arg7 = wxString_in_helper(obj6);
9696 if (arg7 == NULL) SWIG_fail;
9697 temp7 = true;
4f89f6a3 9698 }
0085ce49
RD
9699 }
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 {
9707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9708 }
9709 {
9710 if (temp7)
9711 delete arg7;
9712 }
9713 return resultobj;
9714fail:
9715 {
9716 if (temp7)
9717 delete arg7;
9718 }
9719 return NULL;
9720}
9721
9722
9723SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj = 0;
9725 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9726 PyObject *arg2 = (PyObject *) 0 ;
9727 PyObject *arg3 = (PyObject *) 0 ;
9728 void *argp1 = 0 ;
9729 int res1 = 0 ;
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
9732 PyObject * obj2 = 0 ;
9733 char * kwnames[] = {
9734 (char *) "self",(char *) "self",(char *) "_class", NULL
9735 };
9736
9737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9739 if (!SWIG_IsOK(res1)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9741 }
9742 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9743 arg2 = obj1;
9744 arg3 = obj2;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 (arg1)->_setCallbackInfo(arg2,arg3);
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 resultobj = SWIG_Py_Void();
9752 return resultobj;
9753fail:
9754 return NULL;
9755}
9756
9757
9758SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj = 0;
9760 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9761 wxString *arg2 = 0 ;
9762 bool result;
9763 void *argp1 = 0 ;
9764 int res1 = 0 ;
9765 bool temp2 = false ;
9766 PyObject * obj0 = 0 ;
9767 PyObject * obj1 = 0 ;
9768 char * kwnames[] = {
9769 (char *) "self",(char *) "source", NULL
9770 };
9771
9772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail;
9773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9774 if (!SWIG_IsOK(res1)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9776 }
9777 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9778 {
9779 arg2 = wxString_in_helper(obj1);
9780 if (arg2 == NULL) SWIG_fail;
9781 temp2 = true;
9782 }
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (bool)(arg1)->SetPage((wxString const &)*arg2);
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 {
9790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9791 }
9792 {
9793 if (temp2)
9794 delete arg2;
9795 }
9796 return resultobj;
9797fail:
9798 {
9799 if (temp2)
9800 delete arg2;
9801 }
9802 return NULL;
9803}
9804
9805
9806SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj = 0;
9808 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9809 wxString *arg2 = 0 ;
9810 bool result;
9811 void *argp1 = 0 ;
9812 int res1 = 0 ;
9813 bool temp2 = false ;
9814 PyObject * obj0 = 0 ;
9815 PyObject * obj1 = 0 ;
9816 char * kwnames[] = {
9817 (char *) "self",(char *) "location", NULL
9818 };
9819
9820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail;
9821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9822 if (!SWIG_IsOK(res1)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9824 }
9825 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9826 {
9827 arg2 = wxString_in_helper(obj1);
9828 if (arg2 == NULL) SWIG_fail;
9829 temp2 = true;
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (bool)(arg1)->LoadPage((wxString const &)*arg2);
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 {
9838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9839 }
9840 {
9841 if (temp2)
9842 delete arg2;
9843 }
9844 return resultobj;
9845fail:
9846 {
9847 if (temp2)
9848 delete arg2;
9849 }
9850 return NULL;
9851}
9852
9853
9854SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj = 0;
9856 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9857 wxString *arg2 = 0 ;
9858 bool result;
9859 void *argp1 = 0 ;
9860 int res1 = 0 ;
9861 bool temp2 = false ;
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 char * kwnames[] = {
9865 (char *) "self",(char *) "filename", NULL
9866 };
9867
9868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
9869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9870 if (!SWIG_IsOK(res1)) {
9871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9872 }
9873 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9874 {
9875 arg2 = wxString_in_helper(obj1);
9876 if (arg2 == NULL) SWIG_fail;
9877 temp2 = true;
9878 }
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 {
9886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9887 }
9888 {
9889 if (temp2)
9890 delete arg2;
9891 }
9892 return resultobj;
9893fail:
9894 {
9895 if (temp2)
9896 delete arg2;
9897 }
9898 return NULL;
9899}
9900
9901
9902SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj = 0;
9904 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9905 wxString *arg2 = 0 ;
9906 bool result;
9907 void *argp1 = 0 ;
9908 int res1 = 0 ;
9909 bool temp2 = false ;
9910 PyObject * obj0 = 0 ;
9911 PyObject * obj1 = 0 ;
9912 char * kwnames[] = {
9913 (char *) "self",(char *) "source", NULL
9914 };
9915
9916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail;
9917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9918 if (!SWIG_IsOK(res1)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9920 }
9921 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9922 {
9923 arg2 = wxString_in_helper(obj1);
9924 if (arg2 == NULL) SWIG_fail;
9925 temp2 = true;
9926 }
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 result = (bool)(arg1)->AppendToPage((wxString const &)*arg2);
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 {
9934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9935 }
9936 {
9937 if (temp2)
9938 delete arg2;
9939 }
9940 return resultobj;
9941fail:
9942 {
9943 if (temp2)
9944 delete arg2;
9945 }
9946 return NULL;
d14a1e28
RD
9947}
9948
9949
0085ce49
RD
9950SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9951 PyObject *resultobj = 0;
9952 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9953 wxString result;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 PyObject *swig_obj[1] ;
9957
9958 if (!args) SWIG_fail;
9959 swig_obj[0] = args;
9960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9963 }
9964 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (arg1)->GetOpenedPage();
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 {
9972#if wxUSE_UNICODE
9973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9974#else
9975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9976#endif
9977 }
9978 return resultobj;
9979fail:
9980 return NULL;
d14a1e28
RD
9981}
9982
9983
0085ce49
RD
9984SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9985 PyObject *resultobj = 0;
9986 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
9987 wxString result;
9988 void *argp1 = 0 ;
9989 int res1 = 0 ;
9990 PyObject *swig_obj[1] ;
9991
9992 if (!args) SWIG_fail;
9993 swig_obj[0] = args;
9994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
9995 if (!SWIG_IsOK(res1)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9997 }
9998 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (arg1)->GetOpenedAnchor();
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 {
10006#if wxUSE_UNICODE
10007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10008#else
10009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10010#endif
10011 }
10012 return resultobj;
10013fail:
10014 return NULL;
d14a1e28
RD
10015}
10016
10017
0085ce49
RD
10018SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10019 PyObject *resultobj = 0;
10020 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10021 wxString result;
10022 void *argp1 = 0 ;
10023 int res1 = 0 ;
10024 PyObject *swig_obj[1] ;
10025
10026 if (!args) SWIG_fail;
10027 swig_obj[0] = args;
10028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10029 if (!SWIG_IsOK(res1)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10031 }
10032 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 result = (arg1)->GetOpenedPageTitle();
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 {
10040#if wxUSE_UNICODE
10041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10042#else
10043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10044#endif
10045 }
10046 return resultobj;
10047fail:
10048 return NULL;
10049}
10050
10051
10052SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj = 0;
10054 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10055 wxFrame *arg2 = (wxFrame *) 0 ;
10056 wxString *arg3 = 0 ;
10057 void *argp1 = 0 ;
10058 int res1 = 0 ;
10059 void *argp2 = 0 ;
10060 int res2 = 0 ;
10061 bool temp3 = false ;
10062 PyObject * obj0 = 0 ;
10063 PyObject * obj1 = 0 ;
10064 PyObject * obj2 = 0 ;
10065 char * kwnames[] = {
10066 (char *) "self",(char *) "frame",(char *) "format", NULL
10067 };
10068
10069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10071 if (!SWIG_IsOK(res1)) {
10072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10073 }
10074 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10075 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
10076 if (!SWIG_IsOK(res2)) {
10077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10078 }
10079 arg2 = reinterpret_cast< wxFrame * >(argp2);
10080 {
10081 arg3 = wxString_in_helper(obj2);
10082 if (arg3 == NULL) SWIG_fail;
10083 temp3 = true;
10084 }
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3);
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_Py_Void();
10092 {
10093 if (temp3)
10094 delete arg3;
10095 }
10096 return resultobj;
10097fail:
10098 {
10099 if (temp3)
10100 delete arg3;
10101 }
10102 return NULL;
d14a1e28
RD
10103}
10104
10105
0085ce49
RD
10106SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10107 PyObject *resultobj = 0;
10108 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10109 wxFrame *result = 0 ;
10110 void *argp1 = 0 ;
10111 int res1 = 0 ;
10112 PyObject *swig_obj[1] ;
10113
10114 if (!args) SWIG_fail;
10115 swig_obj[0] = args;
10116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10117 if (!SWIG_IsOK(res1)) {
10118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10119 }
10120 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 result = (wxFrame *)(arg1)->GetRelatedFrame();
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 {
10128 resultobj = wxPyMake_wxObject(result, 0);
10129 }
10130 return resultobj;
10131fail:
10132 return NULL;
10133}
10134
10135
10136SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj = 0;
10138 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10139 int arg2 ;
10140 void *argp1 = 0 ;
10141 int res1 = 0 ;
10142 int val2 ;
10143 int ecode2 = 0 ;
10144 PyObject * obj0 = 0 ;
10145 PyObject * obj1 = 0 ;
10146 char * kwnames[] = {
10147 (char *) "self",(char *) "bar", NULL
10148 };
10149
10150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
10151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10152 if (!SWIG_IsOK(res1)) {
10153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10154 }
10155 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10156 ecode2 = SWIG_AsVal_int(obj1, &val2);
10157 if (!SWIG_IsOK(ecode2)) {
10158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10159 }
10160 arg2 = static_cast< int >(val2);
10161 {
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 (arg1)->SetRelatedStatusBar(arg2);
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 resultobj = SWIG_Py_Void();
10168 return resultobj;
10169fail:
10170 return NULL;
10171}
10172
10173
10174SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj = 0;
10176 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10177 wxString arg2 ;
10178 wxString arg3 ;
10179 PyObject *arg4 = (PyObject *) NULL ;
10180 void *argp1 = 0 ;
10181 int res1 = 0 ;
10182 PyObject * obj0 = 0 ;
10183 PyObject * obj1 = 0 ;
10184 PyObject * obj2 = 0 ;
10185 PyObject * obj3 = 0 ;
10186 char * kwnames[] = {
10187 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10188 };
10189
10190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10192 if (!SWIG_IsOK(res1)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10194 }
10195 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10196 {
10197 wxString* sptr = wxString_in_helper(obj1);
10198 if (sptr == NULL) SWIG_fail;
10199 arg2 = *sptr;
10200 delete sptr;
10201 }
10202 {
10203 wxString* sptr = wxString_in_helper(obj2);
10204 if (sptr == NULL) SWIG_fail;
10205 arg3 = *sptr;
10206 delete sptr;
10207 }
10208 if (obj3) {
10209 arg4 = obj3;
10210 }
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4);
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = SWIG_Py_Void();
10218 return resultobj;
10219fail:
10220 return NULL;
10221}
10222
10223
10224SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj = 0;
10226 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10227 int arg2 = (int) -1 ;
10228 wxString const &arg3_defvalue = wxPyEmptyString ;
10229 wxString *arg3 = (wxString *) &arg3_defvalue ;
10230 wxString const &arg4_defvalue = wxPyEmptyString ;
10231 wxString *arg4 = (wxString *) &arg4_defvalue ;
10232 void *argp1 = 0 ;
10233 int res1 = 0 ;
10234 int val2 ;
10235 int ecode2 = 0 ;
10236 bool temp3 = false ;
10237 bool temp4 = false ;
10238 PyObject * obj0 = 0 ;
10239 PyObject * obj1 = 0 ;
10240 PyObject * obj2 = 0 ;
10241 PyObject * obj3 = 0 ;
10242 char * kwnames[] = {
10243 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10244 };
10245
10246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10248 if (!SWIG_IsOK(res1)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10250 }
10251 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10252 if (obj1) {
10253 ecode2 = SWIG_AsVal_int(obj1, &val2);
10254 if (!SWIG_IsOK(ecode2)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10256 }
10257 arg2 = static_cast< int >(val2);
10258 }
10259 if (obj2) {
093d3ff1 10260 {
0085ce49
RD
10261 arg3 = wxString_in_helper(obj2);
10262 if (arg3 == NULL) SWIG_fail;
10263 temp3 = true;
093d3ff1 10264 }
0085ce49
RD
10265 }
10266 if (obj3) {
d14a1e28 10267 {
0085ce49
RD
10268 arg4 = wxString_in_helper(obj3);
10269 if (arg4 == NULL) SWIG_fail;
10270 temp4 = true;
093d3ff1 10271 }
0085ce49
RD
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 resultobj = SWIG_Py_Void();
10280 {
10281 if (temp3)
10282 delete arg3;
10283 }
10284 {
10285 if (temp4)
10286 delete arg4;
10287 }
10288 return resultobj;
10289fail:
10290 {
10291 if (temp3)
10292 delete arg3;
10293 }
10294 {
10295 if (temp4)
10296 delete arg4;
10297 }
10298 return NULL;
10299}
10300
10301
10302SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj = 0;
10304 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10305 int arg2 ;
10306 void *argp1 = 0 ;
10307 int res1 = 0 ;
10308 int val2 ;
10309 int ecode2 = 0 ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char * kwnames[] = {
10313 (char *) "self",(char *) "b", NULL
10314 };
10315
10316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail;
10317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10318 if (!SWIG_IsOK(res1)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10320 }
10321 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10322 ecode2 = SWIG_AsVal_int(obj1, &val2);
10323 if (!SWIG_IsOK(ecode2)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10325 }
10326 arg2 = static_cast< int >(val2);
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 (arg1)->SetBorders(arg2);
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 resultobj = SWIG_Py_Void();
10334 return resultobj;
10335fail:
10336 return NULL;
10337}
10338
10339
10340SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj = 0;
10342 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10343 wxBitmap *arg2 = 0 ;
10344 void *argp1 = 0 ;
10345 int res1 = 0 ;
10346 void *argp2 = 0 ;
10347 int res2 = 0 ;
10348 PyObject * obj0 = 0 ;
10349 PyObject * obj1 = 0 ;
10350 char * kwnames[] = {
10351 (char *) "self",(char *) "bmpBg", NULL
10352 };
10353
10354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail;
10355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10356 if (!SWIG_IsOK(res1)) {
10357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10358 }
10359 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10360 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10361 if (!SWIG_IsOK(res2)) {
10362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10363 }
10364 if (!argp2) {
10365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10366 }
10367 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 (arg1)->SetBackgroundImage((wxBitmap const &)*arg2);
10371 wxPyEndAllowThreads(__tstate);
10372 if (PyErr_Occurred()) SWIG_fail;
10373 }
10374 resultobj = SWIG_Py_Void();
10375 return resultobj;
10376fail:
10377 return NULL;
10378}
10379
10380
10381SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10382 PyObject *resultobj = 0;
10383 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10384 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10385 wxString arg3 = (wxString) wxPyEmptyString ;
10386 void *argp1 = 0 ;
10387 int res1 = 0 ;
10388 void *argp2 = 0 ;
10389 int res2 = 0 ;
10390 PyObject * obj0 = 0 ;
10391 PyObject * obj1 = 0 ;
10392 PyObject * obj2 = 0 ;
10393 char * kwnames[] = {
10394 (char *) "self",(char *) "cfg",(char *) "path", NULL
10395 };
10396
10397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10399 if (!SWIG_IsOK(res1)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10401 }
10402 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10403 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10404 if (!SWIG_IsOK(res2)) {
10405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10406 }
10407 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10408 if (obj2) {
093d3ff1 10409 {
0085ce49
RD
10410 wxString* sptr = wxString_in_helper(obj2);
10411 if (sptr == NULL) SWIG_fail;
10412 arg3 = *sptr;
10413 delete sptr;
d14a1e28 10414 }
0085ce49
RD
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 (arg1)->ReadCustomization(arg2,arg3);
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 resultobj = SWIG_Py_Void();
10423 return resultobj;
10424fail:
10425 return NULL;
10426}
10427
10428
10429SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10430 PyObject *resultobj = 0;
10431 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10432 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
10433 wxString arg3 = (wxString) wxPyEmptyString ;
10434 void *argp1 = 0 ;
10435 int res1 = 0 ;
10436 void *argp2 = 0 ;
10437 int res2 = 0 ;
10438 PyObject * obj0 = 0 ;
10439 PyObject * obj1 = 0 ;
10440 PyObject * obj2 = 0 ;
10441 char * kwnames[] = {
10442 (char *) "self",(char *) "cfg",(char *) "path", NULL
10443 };
10444
10445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10447 if (!SWIG_IsOK(res1)) {
10448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10449 }
10450 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10451 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
10452 if (!SWIG_IsOK(res2)) {
10453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10454 }
10455 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
10456 if (obj2) {
d14a1e28 10457 {
0085ce49
RD
10458 wxString* sptr = wxString_in_helper(obj2);
10459 if (sptr == NULL) SWIG_fail;
10460 arg3 = *sptr;
10461 delete sptr;
d14a1e28 10462 }
0085ce49
RD
10463 }
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 (arg1)->WriteCustomization(arg2,arg3);
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 resultobj = SWIG_Py_Void();
10471 return resultobj;
10472fail:
10473 return NULL;
d14a1e28
RD
10474}
10475
10476
0085ce49
RD
10477SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10478 PyObject *resultobj = 0;
10479 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10480 bool result;
10481 void *argp1 = 0 ;
10482 int res1 = 0 ;
10483 PyObject *swig_obj[1] ;
10484
10485 if (!args) SWIG_fail;
10486 swig_obj[0] = args;
10487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10488 if (!SWIG_IsOK(res1)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10490 }
10491 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = (bool)(arg1)->HistoryBack();
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 {
10499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10500 }
10501 return resultobj;
10502fail:
10503 return NULL;
d14a1e28
RD
10504}
10505
10506
0085ce49
RD
10507SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10508 PyObject *resultobj = 0;
10509 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10510 bool result;
10511 void *argp1 = 0 ;
10512 int res1 = 0 ;
10513 PyObject *swig_obj[1] ;
10514
10515 if (!args) SWIG_fail;
10516 swig_obj[0] = args;
10517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10518 if (!SWIG_IsOK(res1)) {
10519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10520 }
10521 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (bool)(arg1)->HistoryForward();
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 {
10529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10530 }
10531 return resultobj;
10532fail:
10533 return NULL;
d14a1e28
RD
10534}
10535
10536
0085ce49
RD
10537SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10538 PyObject *resultobj = 0;
10539 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10540 bool result;
10541 void *argp1 = 0 ;
10542 int res1 = 0 ;
10543 PyObject *swig_obj[1] ;
10544
10545 if (!args) SWIG_fail;
10546 swig_obj[0] = args;
10547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10548 if (!SWIG_IsOK(res1)) {
10549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10550 }
10551 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = (bool)(arg1)->HistoryCanBack();
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 {
10559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10560 }
10561 return resultobj;
10562fail:
10563 return NULL;
d14a1e28
RD
10564}
10565
10566
0085ce49
RD
10567SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10568 PyObject *resultobj = 0;
10569 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10570 bool result;
10571 void *argp1 = 0 ;
10572 int res1 = 0 ;
10573 PyObject *swig_obj[1] ;
10574
10575 if (!args) SWIG_fail;
10576 swig_obj[0] = args;
10577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10578 if (!SWIG_IsOK(res1)) {
10579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10580 }
10581 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (bool)(arg1)->HistoryCanForward();
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 {
10589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10590 }
10591 return resultobj;
10592fail:
10593 return NULL;
d14a1e28
RD
10594}
10595
10596
0085ce49
RD
10597SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10598 PyObject *resultobj = 0;
10599 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10600 void *argp1 = 0 ;
10601 int res1 = 0 ;
10602 PyObject *swig_obj[1] ;
10603
10604 if (!args) SWIG_fail;
10605 swig_obj[0] = args;
10606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10607 if (!SWIG_IsOK(res1)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10609 }
10610 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 (arg1)->HistoryClear();
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 resultobj = SWIG_Py_Void();
10618 return resultobj;
10619fail:
10620 return NULL;
d14a1e28
RD
10621}
10622
10623
0085ce49
RD
10624SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10625 PyObject *resultobj = 0;
10626 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10627 wxHtmlContainerCell *result = 0 ;
10628 void *argp1 = 0 ;
10629 int res1 = 0 ;
10630 PyObject *swig_obj[1] ;
10631
10632 if (!args) SWIG_fail;
10633 swig_obj[0] = args;
10634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10635 if (!SWIG_IsOK(res1)) {
10636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10637 }
10638 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation();
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 );
10646 return resultobj;
10647fail:
10648 return NULL;
d14a1e28
RD
10649}
10650
10651
0085ce49
RD
10652SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10653 PyObject *resultobj = 0;
10654 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10655 wxHtmlWinParser *result = 0 ;
10656 void *argp1 = 0 ;
10657 int res1 = 0 ;
10658 PyObject *swig_obj[1] ;
10659
10660 if (!args) SWIG_fail;
10661 swig_obj[0] = args;
10662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10663 if (!SWIG_IsOK(res1)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10665 }
10666 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (wxHtmlWinParser *)(arg1)->GetParser();
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 );
10674 return resultobj;
10675fail:
10676 return NULL;
10677}
10678
10679
10680SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj = 0;
10682 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10683 wxString *arg2 = 0 ;
10684 bool result;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 bool temp2 = false ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char * kwnames[] = {
10691 (char *) "self",(char *) "anchor", NULL
10692 };
10693
10694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10696 if (!SWIG_IsOK(res1)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10698 }
10699 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10700 {
10701 arg2 = wxString_in_helper(obj1);
10702 if (arg2 == NULL) SWIG_fail;
10703 temp2 = true;
10704 }
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2);
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 {
10712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10713 }
10714 {
10715 if (temp2)
10716 delete arg2;
10717 }
10718 return resultobj;
10719fail:
10720 {
10721 if (temp2)
10722 delete arg2;
10723 }
10724 return NULL;
10725}
10726
10727
10728SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj = 0;
10730 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10731 wxString *arg2 = 0 ;
10732 bool result;
10733 void *argp1 = 0 ;
10734 int res1 = 0 ;
10735 bool temp2 = false ;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 char * kwnames[] = {
10739 (char *) "self",(char *) "anchor", NULL
10740 };
10741
10742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail;
10743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10746 }
10747 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10748 {
10749 arg2 = wxString_in_helper(obj1);
10750 if (arg2 == NULL) SWIG_fail;
10751 temp2 = true;
10752 }
10753 {
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 result = (bool)(arg1)->HasAnchor((wxString const &)*arg2);
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
10759 {
10760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10761 }
10762 {
10763 if (temp2)
10764 delete arg2;
10765 }
10766 return resultobj;
10767fail:
10768 {
10769 if (temp2)
10770 delete arg2;
10771 }
10772 return NULL;
d14a1e28
RD
10773}
10774
10775
0085ce49
RD
10776SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj = 0;
10778 wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ;
10779 void *argp1 = 0 ;
10780 int res1 = 0 ;
10781 PyObject * obj0 = 0 ;
10782 char * kwnames[] = {
10783 (char *) "filter", NULL
10784 };
10785
10786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail;
10787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 );
10788 if (!SWIG_IsOK(res1)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10790 }
10791 arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1);
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 wxPyHtmlWindow::AddFilter(arg1);
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 resultobj = SWIG_Py_Void();
10799 return resultobj;
10800fail:
10801 return NULL;
10802}
10803
10804
10805SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj = 0;
10807 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10808 wxPoint *arg2 = 0 ;
10809 void *argp1 = 0 ;
10810 int res1 = 0 ;
10811 wxPoint temp2 ;
10812 PyObject * obj0 = 0 ;
10813 PyObject * obj1 = 0 ;
10814 char * kwnames[] = {
10815 (char *) "self",(char *) "pos", NULL
10816 };
10817
10818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail;
10819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10820 if (!SWIG_IsOK(res1)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10822 }
10823 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10824 {
10825 arg2 = &temp2;
10826 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10827 }
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 (arg1)->SelectWord((wxPoint const &)*arg2);
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 resultobj = SWIG_Py_Void();
10835 return resultobj;
10836fail:
10837 return NULL;
10838}
10839
10840
10841SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj = 0;
10843 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10844 wxPoint *arg2 = 0 ;
10845 void *argp1 = 0 ;
10846 int res1 = 0 ;
10847 wxPoint temp2 ;
10848 PyObject * obj0 = 0 ;
10849 PyObject * obj1 = 0 ;
10850 char * kwnames[] = {
10851 (char *) "self",(char *) "pos", NULL
10852 };
10853
10854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail;
10855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10856 if (!SWIG_IsOK(res1)) {
10857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10858 }
10859 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10860 {
10861 arg2 = &temp2;
10862 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10863 }
10864 {
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 (arg1)->SelectLine((wxPoint const &)*arg2);
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 resultobj = SWIG_Py_Void();
10871 return resultobj;
10872fail:
10873 return NULL;
d14a1e28
RD
10874}
10875
10876
0085ce49
RD
10877SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10878 PyObject *resultobj = 0;
10879 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10880 void *argp1 = 0 ;
10881 int res1 = 0 ;
10882 PyObject *swig_obj[1] ;
10883
10884 if (!args) SWIG_fail;
10885 swig_obj[0] = args;
10886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10887 if (!SWIG_IsOK(res1)) {
10888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10889 }
10890 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 (arg1)->SelectAll();
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 resultobj = SWIG_Py_Void();
10898 return resultobj;
10899fail:
10900 return NULL;
d14a1e28
RD
10901}
10902
10903
0085ce49
RD
10904SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10905 PyObject *resultobj = 0;
10906 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10907 wxString result;
10908 void *argp1 = 0 ;
10909 int res1 = 0 ;
10910 PyObject *swig_obj[1] ;
10911
10912 if (!args) SWIG_fail;
10913 swig_obj[0] = args;
10914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10915 if (!SWIG_IsOK(res1)) {
10916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10917 }
10918 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (arg1)->SelectionToText();
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 {
10926#if wxUSE_UNICODE
10927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10928#else
10929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10930#endif
10931 }
10932 return resultobj;
10933fail:
10934 return NULL;
d14a1e28
RD
10935}
10936
10937
0085ce49
RD
10938SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10939 PyObject *resultobj = 0;
10940 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10941 wxString result;
10942 void *argp1 = 0 ;
10943 int res1 = 0 ;
10944 PyObject *swig_obj[1] ;
10945
10946 if (!args) SWIG_fail;
10947 swig_obj[0] = args;
10948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10949 if (!SWIG_IsOK(res1)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10951 }
10952 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 result = (arg1)->ToText();
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 {
d14a1e28 10960#if wxUSE_UNICODE
0085ce49 10961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 10962#else
0085ce49 10963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 10964#endif
0085ce49
RD
10965 }
10966 return resultobj;
10967fail:
10968 return NULL;
10969}
10970
10971
10972SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj = 0;
10974 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
10975 wxHtmlLinkInfo *arg2 = 0 ;
10976 void *argp1 = 0 ;
10977 int res1 = 0 ;
10978 void *argp2 = 0 ;
10979 int res2 = 0 ;
10980 PyObject * obj0 = 0 ;
10981 PyObject * obj1 = 0 ;
10982 char * kwnames[] = {
10983 (char *) "self",(char *) "link", NULL
10984 };
10985
10986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
10987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
10988 if (!SWIG_IsOK(res1)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10990 }
10991 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
10992 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
10993 if (!SWIG_IsOK(res2)) {
10994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
10995 }
10996 if (!argp2) {
10997 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
10998 }
10999 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2);
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 resultobj = SWIG_Py_Void();
11007 return resultobj;
11008fail:
11009 return NULL;
11010}
11011
11012
11013SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj = 0;
11015 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11016 wxString *arg2 = 0 ;
11017 void *argp1 = 0 ;
11018 int res1 = 0 ;
11019 bool temp2 = false ;
11020 PyObject * obj0 = 0 ;
11021 PyObject * obj1 = 0 ;
11022 char * kwnames[] = {
11023 (char *) "self",(char *) "title", NULL
11024 };
11025
11026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
11027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11028 if (!SWIG_IsOK(res1)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11030 }
11031 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11032 {
11033 arg2 = wxString_in_helper(obj1);
11034 if (arg2 == NULL) SWIG_fail;
11035 temp2 = true;
11036 }
11037 {
11038 PyThreadState* __tstate = wxPyBeginAllowThreads();
11039 (arg1)->OnSetTitle((wxString const &)*arg2);
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 resultobj = SWIG_Py_Void();
11044 {
11045 if (temp2)
11046 delete arg2;
11047 }
11048 return resultobj;
11049fail:
11050 {
11051 if (temp2)
11052 delete arg2;
11053 }
11054 return NULL;
11055}
11056
11057
11058SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj = 0;
11060 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11061 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11062 int arg3 ;
11063 int arg4 ;
11064 void *argp1 = 0 ;
11065 int res1 = 0 ;
11066 void *argp2 = 0 ;
11067 int res2 = 0 ;
11068 int val3 ;
11069 int ecode3 = 0 ;
11070 int val4 ;
11071 int ecode4 = 0 ;
11072 PyObject * obj0 = 0 ;
11073 PyObject * obj1 = 0 ;
11074 PyObject * obj2 = 0 ;
11075 PyObject * obj3 = 0 ;
11076 char * kwnames[] = {
11077 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11078 };
11079
11080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11082 if (!SWIG_IsOK(res1)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11084 }
11085 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11086 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11087 if (!SWIG_IsOK(res2)) {
11088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11089 }
11090 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11091 ecode3 = SWIG_AsVal_int(obj2, &val3);
11092 if (!SWIG_IsOK(ecode3)) {
11093 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11094 }
11095 arg3 = static_cast< int >(val3);
11096 ecode4 = SWIG_AsVal_int(obj3, &val4);
11097 if (!SWIG_IsOK(ecode4)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11099 }
11100 arg4 = static_cast< int >(val4);
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 (arg1)->OnCellMouseHover(arg2,arg3,arg4);
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 resultobj = SWIG_Py_Void();
11108 return resultobj;
11109fail:
11110 return NULL;
11111}
11112
11113
11114SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj = 0;
11116 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11117 wxHtmlCell *arg2 = (wxHtmlCell *) 0 ;
11118 int arg3 ;
11119 int arg4 ;
11120 wxMouseEvent *arg5 = 0 ;
e9d6f3a4 11121 bool result;
0085ce49
RD
11122 void *argp1 = 0 ;
11123 int res1 = 0 ;
11124 void *argp2 = 0 ;
11125 int res2 = 0 ;
11126 int val3 ;
11127 int ecode3 = 0 ;
11128 int val4 ;
11129 int ecode4 = 0 ;
11130 void *argp5 = 0 ;
11131 int res5 = 0 ;
11132 PyObject * obj0 = 0 ;
11133 PyObject * obj1 = 0 ;
11134 PyObject * obj2 = 0 ;
11135 PyObject * obj3 = 0 ;
11136 PyObject * obj4 = 0 ;
11137 char * kwnames[] = {
11138 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11139 };
11140
11141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11143 if (!SWIG_IsOK(res1)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11145 }
11146 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11147 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
11148 if (!SWIG_IsOK(res2)) {
11149 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11150 }
11151 arg2 = reinterpret_cast< wxHtmlCell * >(argp2);
11152 ecode3 = SWIG_AsVal_int(obj2, &val3);
11153 if (!SWIG_IsOK(ecode3)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11155 }
11156 arg3 = static_cast< int >(val3);
11157 ecode4 = SWIG_AsVal_int(obj3, &val4);
11158 if (!SWIG_IsOK(ecode4)) {
11159 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11160 }
11161 arg4 = static_cast< int >(val4);
11162 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
11163 if (!SWIG_IsOK(res5)) {
11164 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11165 }
11166 if (!argp5) {
11167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11168 }
11169 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 11172 result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5);
0085ce49
RD
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
e9d6f3a4
RD
11176 {
11177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11178 }
11179 return resultobj;
11180fail:
11181 return NULL;
11182}
11183
11184
11185SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj = 0;
11187 wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
11188 wxHtmlURLType arg2 ;
11189 wxString *arg3 = 0 ;
11190 wxString *arg4 = (wxString *) 0 ;
11191 wxHtmlOpeningStatus result;
11192 void *argp1 = 0 ;
11193 int res1 = 0 ;
11194 int val2 ;
11195 int ecode2 = 0 ;
11196 bool temp3 = false ;
11197 bool temp4 = false ;
11198 PyObject * obj0 = 0 ;
11199 PyObject * obj1 = 0 ;
11200 PyObject * obj2 = 0 ;
11201 PyObject * obj3 = 0 ;
11202 char * kwnames[] = {
11203 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11204 };
11205
11206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 );
11208 if (!SWIG_IsOK(res1)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11210 }
11211 arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1);
11212 ecode2 = SWIG_AsVal_int(obj1, &val2);
11213 if (!SWIG_IsOK(ecode2)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11215 }
11216 arg2 = static_cast< wxHtmlURLType >(val2);
11217 {
11218 arg3 = wxString_in_helper(obj2);
11219 if (arg3 == NULL) SWIG_fail;
11220 temp3 = true;
11221 }
11222 {
11223 arg4 = wxString_in_helper(obj3);
11224 if (arg4 == NULL) SWIG_fail;
11225 temp4 = true;
11226 }
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4);
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 resultobj = SWIG_From_int(static_cast< int >(result));
11234 {
11235 if (temp3)
11236 delete arg3;
11237 }
11238 {
11239 if (temp4)
11240 delete arg4;
11241 }
0085ce49
RD
11242 return resultobj;
11243fail:
e9d6f3a4
RD
11244 {
11245 if (temp3)
11246 delete arg3;
11247 }
11248 {
11249 if (temp4)
11250 delete arg4;
11251 }
0085ce49
RD
11252 return NULL;
11253}
11254
11255
11256SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11257 PyObject *resultobj = 0;
11258 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11259 SwigValueWrapper<wxVisualAttributes > result;
11260 int val1 ;
11261 int ecode1 = 0 ;
11262 PyObject * obj0 = 0 ;
11263 char * kwnames[] = {
11264 (char *) "variant", NULL
11265 };
11266
11267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
11268 if (obj0) {
11269 ecode1 = SWIG_AsVal_int(obj0, &val1);
11270 if (!SWIG_IsOK(ecode1)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11272 }
11273 arg1 = static_cast< wxWindowVariant >(val1);
11274 }
11275 {
11276 if (!wxPyCheckForApp()) SWIG_fail;
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1);
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
11283 return resultobj;
11284fail:
11285 return NULL;
d14a1e28
RD
11286}
11287
11288
e9d6f3a4
RD
11289SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj = 0;
11291 wxPyHtmlWindow::HTMLCursor arg1 ;
11292 wxCursor result;
11293 int val1 ;
11294 int ecode1 = 0 ;
11295 PyObject * obj0 = 0 ;
11296 char * kwnames[] = {
11297 (char *) "type", NULL
11298 };
11299
11300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail;
11301 ecode1 = SWIG_AsVal_int(obj0, &val1);
11302 if (!SWIG_IsOK(ecode1)) {
11303 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11304 }
11305 arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1);
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1);
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 );
11313 return resultobj;
11314fail:
11315 return NULL;
11316}
11317
11318
0085ce49
RD
11319SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11320 PyObject *obj;
11321 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11322 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj));
11323 return SWIG_Py_Void();
b1fcee84
RD
11324}
11325
0085ce49
RD
11326SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11327 return SWIG_Python_InitShadowInstance(args);
b1fcee84
RD
11328}
11329
0085ce49
RD
11330SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11331 PyObject *resultobj = 0;
11332 wxHtmlDCRenderer *result = 0 ;
11333
11334 if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail;
11335 {
11336 if (!wxPyCheckForApp()) SWIG_fail;
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer();
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 );
11343 return resultobj;
11344fail:
11345 return NULL;
b1fcee84
RD
11346}
11347
11348
0085ce49
RD
11349SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11350 PyObject *resultobj = 0;
11351 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11352 void *argp1 = 0 ;
11353 int res1 = 0 ;
11354 PyObject *swig_obj[1] ;
11355
11356 if (!args) SWIG_fail;
11357 swig_obj[0] = args;
11358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 );
11359 if (!SWIG_IsOK(res1)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11361 }
11362 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 delete arg1;
d14a1e28 11366
0085ce49
RD
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 resultobj = SWIG_Py_Void();
11371 return resultobj;
11372fail:
11373 return NULL;
11374}
11375
11376
11377SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj = 0;
11379 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11380 wxDC *arg2 = (wxDC *) 0 ;
11381 int arg3 ;
11382 void *argp1 = 0 ;
11383 int res1 = 0 ;
11384 void *argp2 = 0 ;
11385 int res2 = 0 ;
11386 int val3 ;
11387 int ecode3 = 0 ;
11388 PyObject * obj0 = 0 ;
11389 PyObject * obj1 = 0 ;
11390 PyObject * obj2 = 0 ;
11391 char * kwnames[] = {
11392 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11393 };
11394
11395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11397 if (!SWIG_IsOK(res1)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11399 }
11400 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11401 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11402 if (!SWIG_IsOK(res2)) {
11403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11404 }
11405 arg2 = reinterpret_cast< wxDC * >(argp2);
11406 ecode3 = SWIG_AsVal_int(obj2, &val3);
11407 if (!SWIG_IsOK(ecode3)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11409 }
11410 arg3 = static_cast< int >(val3);
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 (arg1)->SetDC(arg2,arg3);
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 resultobj = SWIG_Py_Void();
11418 return resultobj;
11419fail:
11420 return NULL;
11421}
11422
11423
11424SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj = 0;
11426 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11427 int arg2 ;
11428 int arg3 ;
11429 void *argp1 = 0 ;
11430 int res1 = 0 ;
11431 int val2 ;
11432 int ecode2 = 0 ;
11433 int val3 ;
11434 int ecode3 = 0 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 PyObject * obj2 = 0 ;
11438 char * kwnames[] = {
11439 (char *) "self",(char *) "width",(char *) "height", NULL
11440 };
11441
11442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11444 if (!SWIG_IsOK(res1)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11446 }
11447 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11448 ecode2 = SWIG_AsVal_int(obj1, &val2);
11449 if (!SWIG_IsOK(ecode2)) {
11450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11451 }
11452 arg2 = static_cast< int >(val2);
11453 ecode3 = SWIG_AsVal_int(obj2, &val3);
11454 if (!SWIG_IsOK(ecode3)) {
11455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11456 }
11457 arg3 = static_cast< int >(val3);
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 (arg1)->SetSize(arg2,arg3);
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 resultobj = SWIG_Py_Void();
11465 return resultobj;
11466fail:
11467 return NULL;
11468}
11469
11470
11471SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj = 0;
11473 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11474 wxString *arg2 = 0 ;
11475 wxString const &arg3_defvalue = wxPyEmptyString ;
11476 wxString *arg3 = (wxString *) &arg3_defvalue ;
11477 bool arg4 = (bool) true ;
11478 void *argp1 = 0 ;
11479 int res1 = 0 ;
11480 bool temp2 = false ;
11481 bool temp3 = false ;
11482 bool val4 ;
11483 int ecode4 = 0 ;
11484 PyObject * obj0 = 0 ;
11485 PyObject * obj1 = 0 ;
11486 PyObject * obj2 = 0 ;
11487 PyObject * obj3 = 0 ;
11488 char * kwnames[] = {
11489 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11490 };
11491
11492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11496 }
11497 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11498 {
11499 arg2 = wxString_in_helper(obj1);
11500 if (arg2 == NULL) SWIG_fail;
11501 temp2 = true;
11502 }
11503 if (obj2) {
d14a1e28 11504 {
0085ce49
RD
11505 arg3 = wxString_in_helper(obj2);
11506 if (arg3 == NULL) SWIG_fail;
11507 temp3 = true;
d14a1e28 11508 }
0085ce49
RD
11509 }
11510 if (obj3) {
11511 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11512 if (!SWIG_IsOK(ecode4)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11514 }
11515 arg4 = static_cast< bool >(val4);
11516 }
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 resultobj = SWIG_Py_Void();
11524 {
11525 if (temp2)
11526 delete arg2;
11527 }
11528 {
11529 if (temp3)
11530 delete arg3;
11531 }
11532 return resultobj;
11533fail:
11534 {
11535 if (temp2)
11536 delete arg2;
11537 }
11538 {
11539 if (temp3)
11540 delete arg3;
11541 }
11542 return NULL;
11543}
11544
11545
11546SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj = 0;
11548 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11549 wxString arg2 ;
11550 wxString arg3 ;
11551 PyObject *arg4 = (PyObject *) NULL ;
11552 void *argp1 = 0 ;
11553 int res1 = 0 ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 PyObject * obj2 = 0 ;
11557 PyObject * obj3 = 0 ;
11558 char * kwnames[] = {
11559 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11560 };
11561
11562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11564 if (!SWIG_IsOK(res1)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11566 }
11567 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11568 {
11569 wxString* sptr = wxString_in_helper(obj1);
11570 if (sptr == NULL) SWIG_fail;
11571 arg2 = *sptr;
11572 delete sptr;
11573 }
11574 {
11575 wxString* sptr = wxString_in_helper(obj2);
11576 if (sptr == NULL) SWIG_fail;
11577 arg3 = *sptr;
11578 delete sptr;
11579 }
11580 if (obj3) {
11581 arg4 = obj3;
11582 }
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4);
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 resultobj = SWIG_Py_Void();
11590 return resultobj;
11591fail:
11592 return NULL;
11593}
11594
11595
11596SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj = 0;
11598 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11599 int arg2 = (int) -1 ;
11600 wxString const &arg3_defvalue = wxPyEmptyString ;
11601 wxString *arg3 = (wxString *) &arg3_defvalue ;
11602 wxString const &arg4_defvalue = wxPyEmptyString ;
11603 wxString *arg4 = (wxString *) &arg4_defvalue ;
11604 void *argp1 = 0 ;
11605 int res1 = 0 ;
11606 int val2 ;
11607 int ecode2 = 0 ;
11608 bool temp3 = false ;
11609 bool temp4 = false ;
11610 PyObject * obj0 = 0 ;
11611 PyObject * obj1 = 0 ;
11612 PyObject * obj2 = 0 ;
11613 PyObject * obj3 = 0 ;
11614 char * kwnames[] = {
11615 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11616 };
11617
11618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11620 if (!SWIG_IsOK(res1)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11622 }
11623 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11624 if (obj1) {
11625 ecode2 = SWIG_AsVal_int(obj1, &val2);
11626 if (!SWIG_IsOK(ecode2)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11628 }
11629 arg2 = static_cast< int >(val2);
11630 }
11631 if (obj2) {
d14a1e28 11632 {
0085ce49
RD
11633 arg3 = wxString_in_helper(obj2);
11634 if (arg3 == NULL) SWIG_fail;
11635 temp3 = true;
d14a1e28 11636 }
0085ce49
RD
11637 }
11638 if (obj3) {
093d3ff1 11639 {
0085ce49
RD
11640 arg4 = wxString_in_helper(obj3);
11641 if (arg4 == NULL) SWIG_fail;
11642 temp4 = true;
093d3ff1 11643 }
0085ce49
RD
11644 }
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 resultobj = SWIG_Py_Void();
11652 {
11653 if (temp3)
11654 delete arg3;
11655 }
11656 {
11657 if (temp4)
11658 delete arg4;
11659 }
11660 return resultobj;
11661fail:
11662 {
11663 if (temp3)
11664 delete arg3;
11665 }
11666 {
11667 if (temp4)
11668 delete arg4;
11669 }
11670 return NULL;
11671}
11672
11673
11674SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj = 0;
11676 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11677 int arg2 ;
11678 int arg3 ;
704eda0c
RD
11679 wxArrayInt *arg4 = 0 ;
11680 int arg5 = (int) 0 ;
11681 int arg6 = (int) FALSE ;
11682 int arg7 = (int) INT_MAX ;
0085ce49
RD
11683 int result;
11684 void *argp1 = 0 ;
11685 int res1 = 0 ;
11686 int val2 ;
11687 int ecode2 = 0 ;
11688 int val3 ;
11689 int ecode3 = 0 ;
704eda0c 11690 bool temp4 = false ;
0085ce49
RD
11691 int val5 ;
11692 int ecode5 = 0 ;
11693 int val6 ;
11694 int ecode6 = 0 ;
704eda0c
RD
11695 int val7 ;
11696 int ecode7 = 0 ;
0085ce49
RD
11697 PyObject * obj0 = 0 ;
11698 PyObject * obj1 = 0 ;
11699 PyObject * obj2 = 0 ;
11700 PyObject * obj3 = 0 ;
11701 PyObject * obj4 = 0 ;
11702 PyObject * obj5 = 0 ;
11703 PyObject * obj6 = 0 ;
0085ce49 11704 char * kwnames[] = {
704eda0c 11705 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
0085ce49
RD
11706 };
11707
704eda0c 11708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
0085ce49
RD
11709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11710 if (!SWIG_IsOK(res1)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11712 }
11713 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11714 ecode2 = SWIG_AsVal_int(obj1, &val2);
11715 if (!SWIG_IsOK(ecode2)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11717 }
11718 arg2 = static_cast< int >(val2);
11719 ecode3 = SWIG_AsVal_int(obj2, &val3);
11720 if (!SWIG_IsOK(ecode3)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11722 }
11723 arg3 = static_cast< int >(val3);
704eda0c
RD
11724 {
11725 if (! PySequence_Check(obj3)) {
11726 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11727 SWIG_fail;
11728 }
11729 arg4 = new wxArrayInt;
11730 temp4 = true;
11731 int i, len=PySequence_Length(obj3);
11732 for (i=0; i<len; i++) {
11733 PyObject* item = PySequence_GetItem(obj3, i);
11734 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
11735 if (!number) {
11736 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11737 SWIG_fail;
11738 }
704eda0c
RD
11739 arg4->Add(PyInt_AS_LONG(number));
11740 Py_DECREF(item);
11741 Py_DECREF(number);
11742 }
0085ce49
RD
11743 }
11744 if (obj4) {
11745 ecode5 = SWIG_AsVal_int(obj4, &val5);
11746 if (!SWIG_IsOK(ecode5)) {
11747 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11748 }
11749 arg5 = static_cast< int >(val5);
11750 }
11751 if (obj5) {
11752 ecode6 = SWIG_AsVal_int(obj5, &val6);
11753 if (!SWIG_IsOK(ecode6)) {
11754 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11755 }
11756 arg6 = static_cast< int >(val6);
11757 }
11758 if (obj6) {
704eda0c
RD
11759 ecode7 = SWIG_AsVal_int(obj6, &val7);
11760 if (!SWIG_IsOK(ecode7)) {
11761 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
0085ce49 11762 }
704eda0c 11763 arg7 = static_cast< int >(val7);
0085ce49
RD
11764 }
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 11767 result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7);
0085ce49
RD
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 resultobj = SWIG_From_int(static_cast< int >(result));
704eda0c
RD
11772 {
11773 if (temp4) delete arg4;
11774 }
0085ce49
RD
11775 return resultobj;
11776fail:
704eda0c
RD
11777 {
11778 if (temp4) delete arg4;
11779 }
0085ce49 11780 return NULL;
d14a1e28
RD
11781}
11782
11783
0085ce49
RD
11784SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11785 PyObject *resultobj = 0;
11786 wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
11787 int result;
11788 void *argp1 = 0 ;
11789 int res1 = 0 ;
11790 PyObject *swig_obj[1] ;
11791
11792 if (!args) SWIG_fail;
11793 swig_obj[0] = args;
11794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 );
11795 if (!SWIG_IsOK(res1)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11797 }
11798 arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1);
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 result = (int)(arg1)->GetTotalHeight();
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 resultobj = SWIG_From_int(static_cast< int >(result));
11806 return resultobj;
11807fail:
11808 return NULL;
d14a1e28
RD
11809}
11810
11811
0085ce49
RD
11812SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11813 PyObject *obj;
11814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11815 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj));
11816 return SWIG_Py_Void();
d14a1e28
RD
11817}
11818
0085ce49
RD
11819SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11820 return SWIG_Python_InitShadowInstance(args);
11821}
d14a1e28 11822
0085ce49
RD
11823SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj = 0;
11825 wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
11826 wxString *arg1 = (wxString *) &arg1_defvalue ;
11827 wxHtmlPrintout *result = 0 ;
11828 bool temp1 = false ;
11829 PyObject * obj0 = 0 ;
11830 char * kwnames[] = {
11831 (char *) "title", NULL
11832 };
11833
11834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail;
11835 if (obj0) {
d14a1e28 11836 {
0085ce49
RD
11837 arg1 = wxString_in_helper(obj0);
11838 if (arg1 == NULL) SWIG_fail;
11839 temp1 = true;
d14a1e28 11840 }
0085ce49
RD
11841 }
11842 {
11843 if (!wxPyCheckForApp()) SWIG_fail;
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1);
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 );
11850 {
11851 if (temp1)
11852 delete arg1;
11853 }
11854 return resultobj;
11855fail:
11856 {
11857 if (temp1)
11858 delete arg1;
11859 }
11860 return NULL;
11861}
11862
11863
11864SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj = 0;
11866 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11867 wxString *arg2 = 0 ;
11868 wxString const &arg3_defvalue = wxPyEmptyString ;
11869 wxString *arg3 = (wxString *) &arg3_defvalue ;
11870 bool arg4 = (bool) true ;
11871 void *argp1 = 0 ;
11872 int res1 = 0 ;
11873 bool temp2 = false ;
11874 bool temp3 = false ;
11875 bool val4 ;
11876 int ecode4 = 0 ;
11877 PyObject * obj0 = 0 ;
11878 PyObject * obj1 = 0 ;
11879 PyObject * obj2 = 0 ;
11880 PyObject * obj3 = 0 ;
11881 char * kwnames[] = {
11882 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11883 };
11884
11885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11887 if (!SWIG_IsOK(res1)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11889 }
11890 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11891 {
11892 arg2 = wxString_in_helper(obj1);
11893 if (arg2 == NULL) SWIG_fail;
11894 temp2 = true;
11895 }
11896 if (obj2) {
093d3ff1 11897 {
0085ce49
RD
11898 arg3 = wxString_in_helper(obj2);
11899 if (arg3 == NULL) SWIG_fail;
11900 temp3 = true;
093d3ff1 11901 }
0085ce49
RD
11902 }
11903 if (obj3) {
11904 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11905 if (!SWIG_IsOK(ecode4)) {
11906 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11907 }
11908 arg4 = static_cast< bool >(val4);
11909 }
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4);
11913 wxPyEndAllowThreads(__tstate);
11914 if (PyErr_Occurred()) SWIG_fail;
11915 }
11916 resultobj = SWIG_Py_Void();
11917 {
11918 if (temp2)
11919 delete arg2;
11920 }
11921 {
11922 if (temp3)
11923 delete arg3;
11924 }
11925 return resultobj;
11926fail:
11927 {
11928 if (temp2)
11929 delete arg2;
11930 }
11931 {
11932 if (temp3)
11933 delete arg3;
11934 }
11935 return NULL;
d14a1e28
RD
11936}
11937
11938
0085ce49
RD
11939SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = 0;
11941 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11942 wxString *arg2 = 0 ;
11943 void *argp1 = 0 ;
11944 int res1 = 0 ;
11945 bool temp2 = false ;
11946 PyObject * obj0 = 0 ;
11947 PyObject * obj1 = 0 ;
11948 char * kwnames[] = {
11949 (char *) "self",(char *) "htmlfile", NULL
11950 };
11951
11952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail;
11953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
11954 if (!SWIG_IsOK(res1)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11956 }
11957 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
11958 {
11959 arg2 = wxString_in_helper(obj1);
11960 if (arg2 == NULL) SWIG_fail;
11961 temp2 = true;
11962 }
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 (arg1)->SetHtmlFile((wxString const &)*arg2);
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
11969 resultobj = SWIG_Py_Void();
11970 {
11971 if (temp2)
11972 delete arg2;
11973 }
11974 return resultobj;
11975fail:
11976 {
11977 if (temp2)
11978 delete arg2;
11979 }
11980 return NULL;
11981}
11982
11983
11984SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj = 0;
11986 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
11987 wxString *arg2 = 0 ;
11988 int arg3 = (int) wxPAGE_ALL ;
11989 void *argp1 = 0 ;
11990 int res1 = 0 ;
11991 bool temp2 = false ;
11992 int val3 ;
11993 int ecode3 = 0 ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 PyObject * obj2 = 0 ;
11997 char * kwnames[] = {
11998 (char *) "self",(char *) "header",(char *) "pg", NULL
11999 };
12000
12001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12005 }
12006 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12007 {
12008 arg2 = wxString_in_helper(obj1);
12009 if (arg2 == NULL) SWIG_fail;
12010 temp2 = true;
12011 }
12012 if (obj2) {
12013 ecode3 = SWIG_AsVal_int(obj2, &val3);
12014 if (!SWIG_IsOK(ecode3)) {
12015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12016 }
12017 arg3 = static_cast< int >(val3);
12018 }
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_Py_Void();
12026 {
12027 if (temp2)
12028 delete arg2;
12029 }
12030 return resultobj;
12031fail:
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 return NULL;
12037}
12038
12039
12040SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj = 0;
12042 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12043 wxString *arg2 = 0 ;
12044 int arg3 = (int) wxPAGE_ALL ;
12045 void *argp1 = 0 ;
12046 int res1 = 0 ;
12047 bool temp2 = false ;
12048 int val3 ;
12049 int ecode3 = 0 ;
12050 PyObject * obj0 = 0 ;
12051 PyObject * obj1 = 0 ;
12052 PyObject * obj2 = 0 ;
12053 char * kwnames[] = {
12054 (char *) "self",(char *) "footer",(char *) "pg", NULL
12055 };
12056
12057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12059 if (!SWIG_IsOK(res1)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12061 }
12062 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12063 {
12064 arg2 = wxString_in_helper(obj1);
12065 if (arg2 == NULL) SWIG_fail;
12066 temp2 = true;
12067 }
12068 if (obj2) {
12069 ecode3 = SWIG_AsVal_int(obj2, &val3);
12070 if (!SWIG_IsOK(ecode3)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12072 }
12073 arg3 = static_cast< int >(val3);
12074 }
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 resultobj = SWIG_Py_Void();
12082 {
12083 if (temp2)
12084 delete arg2;
12085 }
12086 return resultobj;
12087fail:
12088 {
12089 if (temp2)
12090 delete arg2;
12091 }
12092 return NULL;
12093}
12094
12095
12096SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12097 PyObject *resultobj = 0;
12098 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12099 wxString arg2 ;
12100 wxString arg3 ;
12101 PyObject *arg4 = (PyObject *) NULL ;
12102 void *argp1 = 0 ;
12103 int res1 = 0 ;
12104 PyObject * obj0 = 0 ;
12105 PyObject * obj1 = 0 ;
12106 PyObject * obj2 = 0 ;
12107 PyObject * obj3 = 0 ;
12108 char * kwnames[] = {
12109 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12110 };
12111
12112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12114 if (!SWIG_IsOK(res1)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12116 }
12117 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12118 {
12119 wxString* sptr = wxString_in_helper(obj1);
12120 if (sptr == NULL) SWIG_fail;
12121 arg2 = *sptr;
12122 delete sptr;
12123 }
12124 {
12125 wxString* sptr = wxString_in_helper(obj2);
12126 if (sptr == NULL) SWIG_fail;
12127 arg3 = *sptr;
12128 delete sptr;
12129 }
12130 if (obj3) {
12131 arg4 = obj3;
12132 }
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4);
12136 wxPyEndAllowThreads(__tstate);
12137 if (PyErr_Occurred()) SWIG_fail;
12138 }
12139 resultobj = SWIG_Py_Void();
12140 return resultobj;
12141fail:
12142 return NULL;
12143}
12144
12145
12146SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj = 0;
12148 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12149 int arg2 = (int) -1 ;
12150 wxString const &arg3_defvalue = wxPyEmptyString ;
12151 wxString *arg3 = (wxString *) &arg3_defvalue ;
12152 wxString const &arg4_defvalue = wxPyEmptyString ;
12153 wxString *arg4 = (wxString *) &arg4_defvalue ;
12154 void *argp1 = 0 ;
12155 int res1 = 0 ;
12156 int val2 ;
12157 int ecode2 = 0 ;
12158 bool temp3 = false ;
12159 bool temp4 = false ;
12160 PyObject * obj0 = 0 ;
12161 PyObject * obj1 = 0 ;
12162 PyObject * obj2 = 0 ;
12163 PyObject * obj3 = 0 ;
12164 char * kwnames[] = {
12165 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12166 };
12167
12168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12170 if (!SWIG_IsOK(res1)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12172 }
12173 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12174 if (obj1) {
12175 ecode2 = SWIG_AsVal_int(obj1, &val2);
12176 if (!SWIG_IsOK(ecode2)) {
12177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12178 }
12179 arg2 = static_cast< int >(val2);
12180 }
12181 if (obj2) {
12182 {
12183 arg3 = wxString_in_helper(obj2);
12184 if (arg3 == NULL) SWIG_fail;
12185 temp3 = true;
994141e6 12186 }
0085ce49
RD
12187 }
12188 if (obj3) {
d14a1e28 12189 {
0085ce49
RD
12190 arg4 = wxString_in_helper(obj3);
12191 if (arg4 == NULL) SWIG_fail;
12192 temp4 = true;
d14a1e28 12193 }
0085ce49
RD
12194 }
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 resultobj = SWIG_Py_Void();
12202 {
12203 if (temp3)
12204 delete arg3;
12205 }
12206 {
12207 if (temp4)
12208 delete arg4;
12209 }
12210 return resultobj;
12211fail:
12212 {
12213 if (temp3)
12214 delete arg3;
12215 }
12216 {
12217 if (temp4)
12218 delete arg4;
12219 }
12220 return NULL;
12221}
12222
12223
12224SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj = 0;
12226 wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
12227 float arg2 = (float) 25.2 ;
12228 float arg3 = (float) 25.2 ;
12229 float arg4 = (float) 25.2 ;
12230 float arg5 = (float) 25.2 ;
12231 float arg6 = (float) 5 ;
12232 void *argp1 = 0 ;
12233 int res1 = 0 ;
12234 float val2 ;
12235 int ecode2 = 0 ;
12236 float val3 ;
12237 int ecode3 = 0 ;
12238 float val4 ;
12239 int ecode4 = 0 ;
12240 float val5 ;
12241 int ecode5 = 0 ;
12242 float val6 ;
12243 int ecode6 = 0 ;
12244 PyObject * obj0 = 0 ;
12245 PyObject * obj1 = 0 ;
12246 PyObject * obj2 = 0 ;
12247 PyObject * obj3 = 0 ;
12248 PyObject * obj4 = 0 ;
12249 PyObject * obj5 = 0 ;
12250 char * kwnames[] = {
12251 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12252 };
12253
12254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 );
12256 if (!SWIG_IsOK(res1)) {
12257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12258 }
12259 arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1);
12260 if (obj1) {
12261 ecode2 = SWIG_AsVal_float(obj1, &val2);
12262 if (!SWIG_IsOK(ecode2)) {
12263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12264 }
12265 arg2 = static_cast< float >(val2);
12266 }
12267 if (obj2) {
12268 ecode3 = SWIG_AsVal_float(obj2, &val3);
12269 if (!SWIG_IsOK(ecode3)) {
12270 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12271 }
12272 arg3 = static_cast< float >(val3);
12273 }
12274 if (obj3) {
12275 ecode4 = SWIG_AsVal_float(obj3, &val4);
12276 if (!SWIG_IsOK(ecode4)) {
12277 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12278 }
12279 arg4 = static_cast< float >(val4);
12280 }
12281 if (obj4) {
12282 ecode5 = SWIG_AsVal_float(obj4, &val5);
12283 if (!SWIG_IsOK(ecode5)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12285 }
12286 arg5 = static_cast< float >(val5);
12287 }
12288 if (obj5) {
12289 ecode6 = SWIG_AsVal_float(obj5, &val6);
12290 if (!SWIG_IsOK(ecode6)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12292 }
12293 arg6 = static_cast< float >(val6);
12294 }
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6);
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 resultobj = SWIG_Py_Void();
12302 return resultobj;
12303fail:
12304 return NULL;
d14a1e28
RD
12305}
12306
12307
0085ce49
RD
12308SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj = 0;
12310 wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ;
12311 void *argp1 = 0 ;
12312 int res1 = 0 ;
12313 PyObject * obj0 = 0 ;
12314 char * kwnames[] = {
12315 (char *) "filter", NULL
12316 };
12317
12318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail;
12319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 );
12320 if (!SWIG_IsOK(res1)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12322 }
12323 arg1 = reinterpret_cast< wxHtmlFilter * >(argp1);
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 wxHtmlPrintout::AddFilter(arg1);
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = SWIG_Py_Void();
12331 return resultobj;
12332fail:
12333 return NULL;
d14a1e28
RD
12334}
12335
12336
0085ce49
RD
12337SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12338 PyObject *resultobj = 0;
12339
12340 if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail;
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 wxHtmlPrintout::CleanUpStatics();
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 resultobj = SWIG_Py_Void();
12348 return resultobj;
12349fail:
12350 return NULL;
d14a1e28
RD
12351}
12352
12353
0085ce49
RD
12354SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12355 PyObject *obj;
12356 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12357 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj));
12358 return SWIG_Py_Void();
d14a1e28
RD
12359}
12360
0085ce49
RD
12361SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12362 return SWIG_Python_InitShadowInstance(args);
12363}
d14a1e28 12364
0085ce49
RD
12365SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj = 0;
12367 wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ;
12368 wxString *arg1 = (wxString *) &arg1_defvalue ;
12369 wxWindow *arg2 = (wxWindow *) NULL ;
12370 wxHtmlEasyPrinting *result = 0 ;
12371 bool temp1 = false ;
12372 void *argp2 = 0 ;
12373 int res2 = 0 ;
12374 PyObject * obj0 = 0 ;
12375 PyObject * obj1 = 0 ;
12376 char * kwnames[] = {
12377 (char *) "name",(char *) "parentWindow", NULL
12378 };
12379
12380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail;
12381 if (obj0) {
093d3ff1 12382 {
0085ce49
RD
12383 arg1 = wxString_in_helper(obj0);
12384 if (arg1 == NULL) SWIG_fail;
12385 temp1 = true;
093d3ff1 12386 }
0085ce49
RD
12387 }
12388 if (obj1) {
12389 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12390 if (!SWIG_IsOK(res2)) {
12391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 12392 }
0085ce49
RD
12393 arg2 = reinterpret_cast< wxWindow * >(argp2);
12394 }
12395 {
12396 if (!wxPyCheckForApp()) SWIG_fail;
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2);
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 );
12403 {
12404 if (temp1)
12405 delete arg1;
12406 }
12407 return resultobj;
12408fail:
12409 {
12410 if (temp1)
12411 delete arg1;
12412 }
12413 return NULL;
d14a1e28
RD
12414}
12415
12416
0085ce49
RD
12417SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12418 PyObject *resultobj = 0;
12419 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12420 void *argp1 = 0 ;
12421 int res1 = 0 ;
12422 PyObject *swig_obj[1] ;
12423
12424 if (!args) SWIG_fail;
12425 swig_obj[0] = args;
12426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 );
12427 if (!SWIG_IsOK(res1)) {
12428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12429 }
12430 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 delete arg1;
d14a1e28 12434
0085ce49
RD
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 resultobj = SWIG_Py_Void();
12439 return resultobj;
12440fail:
12441 return NULL;
12442}
12443
12444
12445SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12446 PyObject *resultobj = 0;
12447 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12448 wxString *arg2 = 0 ;
12449 void *argp1 = 0 ;
12450 int res1 = 0 ;
12451 bool temp2 = false ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 char * kwnames[] = {
12455 (char *) "self",(char *) "htmlfile", NULL
12456 };
12457
12458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail;
12459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12460 if (!SWIG_IsOK(res1)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12462 }
12463 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12464 {
12465 arg2 = wxString_in_helper(obj1);
12466 if (arg2 == NULL) SWIG_fail;
12467 temp2 = true;
12468 }
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 (arg1)->PreviewFile((wxString const &)*arg2);
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = SWIG_Py_Void();
12476 {
12477 if (temp2)
12478 delete arg2;
12479 }
12480 return resultobj;
12481fail:
12482 {
12483 if (temp2)
12484 delete arg2;
12485 }
12486 return NULL;
12487}
12488
12489
12490SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj = 0;
12492 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12493 wxString *arg2 = 0 ;
12494 wxString const &arg3_defvalue = wxPyEmptyString ;
12495 wxString *arg3 = (wxString *) &arg3_defvalue ;
12496 void *argp1 = 0 ;
12497 int res1 = 0 ;
12498 bool temp2 = false ;
12499 bool temp3 = false ;
12500 PyObject * obj0 = 0 ;
12501 PyObject * obj1 = 0 ;
12502 PyObject * obj2 = 0 ;
12503 char * kwnames[] = {
12504 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12505 };
12506
12507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12509 if (!SWIG_IsOK(res1)) {
12510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12511 }
12512 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12513 {
12514 arg2 = wxString_in_helper(obj1);
12515 if (arg2 == NULL) SWIG_fail;
12516 temp2 = true;
12517 }
12518 if (obj2) {
d14a1e28 12519 {
0085ce49
RD
12520 arg3 = wxString_in_helper(obj2);
12521 if (arg3 == NULL) SWIG_fail;
12522 temp3 = true;
d14a1e28 12523 }
0085ce49
RD
12524 }
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3);
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 resultobj = SWIG_Py_Void();
12532 {
12533 if (temp2)
12534 delete arg2;
12535 }
12536 {
12537 if (temp3)
12538 delete arg3;
12539 }
12540 return resultobj;
12541fail:
12542 {
12543 if (temp2)
12544 delete arg2;
12545 }
12546 {
12547 if (temp3)
12548 delete arg3;
12549 }
12550 return NULL;
d14a1e28
RD
12551}
12552
12553
0085ce49
RD
12554SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj = 0;
12556 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12557 wxString *arg2 = 0 ;
12558 void *argp1 = 0 ;
12559 int res1 = 0 ;
12560 bool temp2 = false ;
12561 PyObject * obj0 = 0 ;
12562 PyObject * obj1 = 0 ;
12563 char * kwnames[] = {
12564 (char *) "self",(char *) "htmlfile", NULL
12565 };
12566
12567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail;
12568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12569 if (!SWIG_IsOK(res1)) {
12570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12571 }
12572 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12573 {
12574 arg2 = wxString_in_helper(obj1);
12575 if (arg2 == NULL) SWIG_fail;
12576 temp2 = true;
12577 }
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 (arg1)->PrintFile((wxString const &)*arg2);
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 resultobj = SWIG_Py_Void();
12585 {
12586 if (temp2)
12587 delete arg2;
12588 }
12589 return resultobj;
12590fail:
12591 {
12592 if (temp2)
12593 delete arg2;
12594 }
12595 return NULL;
12596}
12597
12598
12599SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12600 PyObject *resultobj = 0;
12601 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12602 wxString *arg2 = 0 ;
12603 wxString const &arg3_defvalue = wxPyEmptyString ;
12604 wxString *arg3 = (wxString *) &arg3_defvalue ;
12605 void *argp1 = 0 ;
12606 int res1 = 0 ;
12607 bool temp2 = false ;
12608 bool temp3 = false ;
12609 PyObject * obj0 = 0 ;
12610 PyObject * obj1 = 0 ;
12611 PyObject * obj2 = 0 ;
12612 char * kwnames[] = {
12613 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12614 };
12615
12616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12620 }
12621 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12622 {
12623 arg2 = wxString_in_helper(obj1);
12624 if (arg2 == NULL) SWIG_fail;
12625 temp2 = true;
12626 }
12627 if (obj2) {
d14a1e28 12628 {
0085ce49
RD
12629 arg3 = wxString_in_helper(obj2);
12630 if (arg3 == NULL) SWIG_fail;
12631 temp3 = true;
d14a1e28 12632 }
0085ce49
RD
12633 }
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3);
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = SWIG_Py_Void();
12641 {
12642 if (temp2)
12643 delete arg2;
12644 }
12645 {
12646 if (temp3)
12647 delete arg3;
12648 }
12649 return resultobj;
12650fail:
12651 {
12652 if (temp2)
12653 delete arg2;
12654 }
12655 {
12656 if (temp3)
12657 delete arg3;
12658 }
12659 return NULL;
d14a1e28
RD
12660}
12661
12662
0085ce49
RD
12663SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12664 PyObject *resultobj = 0;
12665 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12666 void *argp1 = 0 ;
12667 int res1 = 0 ;
12668 PyObject *swig_obj[1] ;
12669
12670 if (!args) SWIG_fail;
12671 swig_obj[0] = args;
12672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12673 if (!SWIG_IsOK(res1)) {
12674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12675 }
12676 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 (arg1)->PageSetup();
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 resultobj = SWIG_Py_Void();
12684 return resultobj;
12685fail:
12686 return NULL;
12687}
12688
12689
12690SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj = 0;
12692 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12693 wxString *arg2 = 0 ;
12694 int arg3 = (int) wxPAGE_ALL ;
12695 void *argp1 = 0 ;
12696 int res1 = 0 ;
12697 bool temp2 = false ;
12698 int val3 ;
12699 int ecode3 = 0 ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 PyObject * obj2 = 0 ;
12703 char * kwnames[] = {
12704 (char *) "self",(char *) "header",(char *) "pg", NULL
12705 };
12706
12707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12709 if (!SWIG_IsOK(res1)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12711 }
12712 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12713 {
12714 arg2 = wxString_in_helper(obj1);
12715 if (arg2 == NULL) SWIG_fail;
12716 temp2 = true;
12717 }
12718 if (obj2) {
12719 ecode3 = SWIG_AsVal_int(obj2, &val3);
12720 if (!SWIG_IsOK(ecode3)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12722 }
12723 arg3 = static_cast< int >(val3);
12724 }
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 (arg1)->SetHeader((wxString const &)*arg2,arg3);
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = SWIG_Py_Void();
12732 {
12733 if (temp2)
12734 delete arg2;
12735 }
12736 return resultobj;
12737fail:
12738 {
12739 if (temp2)
12740 delete arg2;
12741 }
12742 return NULL;
12743}
12744
12745
12746SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12747 PyObject *resultobj = 0;
12748 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12749 wxString *arg2 = 0 ;
12750 int arg3 = (int) wxPAGE_ALL ;
12751 void *argp1 = 0 ;
12752 int res1 = 0 ;
12753 bool temp2 = false ;
12754 int val3 ;
12755 int ecode3 = 0 ;
12756 PyObject * obj0 = 0 ;
12757 PyObject * obj1 = 0 ;
12758 PyObject * obj2 = 0 ;
12759 char * kwnames[] = {
12760 (char *) "self",(char *) "footer",(char *) "pg", NULL
12761 };
12762
12763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12765 if (!SWIG_IsOK(res1)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12767 }
12768 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12769 {
12770 arg2 = wxString_in_helper(obj1);
12771 if (arg2 == NULL) SWIG_fail;
12772 temp2 = true;
12773 }
12774 if (obj2) {
12775 ecode3 = SWIG_AsVal_int(obj2, &val3);
12776 if (!SWIG_IsOK(ecode3)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12778 }
12779 arg3 = static_cast< int >(val3);
12780 }
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 (arg1)->SetFooter((wxString const &)*arg2,arg3);
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 resultobj = SWIG_Py_Void();
12788 {
12789 if (temp2)
12790 delete arg2;
12791 }
12792 return resultobj;
12793fail:
12794 {
12795 if (temp2)
12796 delete arg2;
12797 }
12798 return NULL;
12799}
12800
12801
12802SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj = 0;
12804 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12805 wxString arg2 ;
12806 wxString arg3 ;
12807 PyObject *arg4 = (PyObject *) NULL ;
12808 void *argp1 = 0 ;
12809 int res1 = 0 ;
12810 PyObject * obj0 = 0 ;
12811 PyObject * obj1 = 0 ;
12812 PyObject * obj2 = 0 ;
12813 PyObject * obj3 = 0 ;
12814 char * kwnames[] = {
12815 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12816 };
12817
12818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12820 if (!SWIG_IsOK(res1)) {
12821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12822 }
12823 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12824 {
12825 wxString* sptr = wxString_in_helper(obj1);
12826 if (sptr == NULL) SWIG_fail;
12827 arg2 = *sptr;
12828 delete sptr;
12829 }
12830 {
12831 wxString* sptr = wxString_in_helper(obj2);
12832 if (sptr == NULL) SWIG_fail;
12833 arg3 = *sptr;
12834 delete sptr;
12835 }
12836 if (obj3) {
12837 arg4 = obj3;
12838 }
12839 {
12840 PyThreadState* __tstate = wxPyBeginAllowThreads();
12841 wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4);
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 resultobj = SWIG_Py_Void();
12846 return resultobj;
12847fail:
12848 return NULL;
12849}
12850
12851
12852SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj = 0;
12854 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12855 int arg2 = (int) -1 ;
12856 wxString const &arg3_defvalue = wxPyEmptyString ;
12857 wxString *arg3 = (wxString *) &arg3_defvalue ;
12858 wxString const &arg4_defvalue = wxPyEmptyString ;
12859 wxString *arg4 = (wxString *) &arg4_defvalue ;
12860 void *argp1 = 0 ;
12861 int res1 = 0 ;
12862 int val2 ;
12863 int ecode2 = 0 ;
12864 bool temp3 = false ;
12865 bool temp4 = false ;
12866 PyObject * obj0 = 0 ;
12867 PyObject * obj1 = 0 ;
12868 PyObject * obj2 = 0 ;
12869 PyObject * obj3 = 0 ;
12870 char * kwnames[] = {
12871 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12872 };
12873
12874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12876 if (!SWIG_IsOK(res1)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12878 }
12879 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12880 if (obj1) {
12881 ecode2 = SWIG_AsVal_int(obj1, &val2);
12882 if (!SWIG_IsOK(ecode2)) {
12883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12884 }
12885 arg2 = static_cast< int >(val2);
12886 }
12887 if (obj2) {
d14a1e28 12888 {
0085ce49
RD
12889 arg3 = wxString_in_helper(obj2);
12890 if (arg3 == NULL) SWIG_fail;
12891 temp3 = true;
d14a1e28 12892 }
0085ce49
RD
12893 }
12894 if (obj3) {
d14a1e28 12895 {
0085ce49
RD
12896 arg4 = wxString_in_helper(obj3);
12897 if (arg4 == NULL) SWIG_fail;
12898 temp4 = true;
d14a1e28 12899 }
0085ce49
RD
12900 }
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 resultobj = SWIG_Py_Void();
12908 {
12909 if (temp3)
12910 delete arg3;
12911 }
12912 {
12913 if (temp4)
12914 delete arg4;
12915 }
12916 return resultobj;
12917fail:
12918 {
12919 if (temp3)
12920 delete arg3;
12921 }
12922 {
12923 if (temp4)
12924 delete arg4;
12925 }
12926 return NULL;
d14a1e28
RD
12927}
12928
12929
0085ce49
RD
12930SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12931 PyObject *resultobj = 0;
12932 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12933 wxPrintData *result = 0 ;
12934 void *argp1 = 0 ;
12935 int res1 = 0 ;
12936 PyObject *swig_obj[1] ;
12937
12938 if (!args) SWIG_fail;
12939 swig_obj[0] = args;
12940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12941 if (!SWIG_IsOK(res1)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12943 }
12944 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (wxPrintData *)(arg1)->GetPrintData();
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
12952 return resultobj;
12953fail:
12954 return NULL;
d14a1e28
RD
12955}
12956
12957
0085ce49
RD
12958SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12959 PyObject *resultobj = 0;
12960 wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
12961 wxPageSetupDialogData *result = 0 ;
12962 void *argp1 = 0 ;
12963 int res1 = 0 ;
12964 PyObject *swig_obj[1] ;
12965
12966 if (!args) SWIG_fail;
12967 swig_obj[0] = args;
12968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 );
12969 if (!SWIG_IsOK(res1)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12971 }
12972 arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1);
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData();
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
12980 return resultobj;
12981fail:
12982 return NULL;
12983}
12984
12985
12986SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12987 PyObject *obj;
12988 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12989 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj));
12990 return SWIG_Py_Void();
12991}
12992
12993SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12994 return SWIG_Python_InitShadowInstance(args);
12995}
12996
12997SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj = 0;
12999 wxString *arg1 = 0 ;
13000 wxString *arg2 = 0 ;
13001 wxString *arg3 = 0 ;
13002 wxString *arg4 = 0 ;
13003 wxHtmlBookRecord *result = 0 ;
13004 bool temp1 = false ;
13005 bool temp2 = false ;
13006 bool temp3 = false ;
13007 bool temp4 = false ;
13008 PyObject * obj0 = 0 ;
13009 PyObject * obj1 = 0 ;
13010 PyObject * obj2 = 0 ;
13011 PyObject * obj3 = 0 ;
13012 char * kwnames[] = {
13013 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13014 };
13015
13016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13017 {
13018 arg1 = wxString_in_helper(obj0);
13019 if (arg1 == NULL) SWIG_fail;
13020 temp1 = true;
13021 }
13022 {
13023 arg2 = wxString_in_helper(obj1);
13024 if (arg2 == NULL) SWIG_fail;
13025 temp2 = true;
13026 }
13027 {
13028 arg3 = wxString_in_helper(obj2);
13029 if (arg3 == NULL) SWIG_fail;
13030 temp3 = true;
13031 }
13032 {
13033 arg4 = wxString_in_helper(obj3);
13034 if (arg4 == NULL) SWIG_fail;
13035 temp4 = true;
13036 }
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 );
13044 {
13045 if (temp1)
13046 delete arg1;
13047 }
13048 {
13049 if (temp2)
13050 delete arg2;
13051 }
13052 {
13053 if (temp3)
13054 delete arg3;
13055 }
13056 {
13057 if (temp4)
13058 delete arg4;
13059 }
13060 return resultobj;
13061fail:
13062 {
13063 if (temp1)
13064 delete arg1;
13065 }
13066 {
13067 if (temp2)
13068 delete arg2;
13069 }
13070 {
13071 if (temp3)
13072 delete arg3;
13073 }
13074 {
13075 if (temp4)
13076 delete arg4;
13077 }
13078 return NULL;
d14a1e28
RD
13079}
13080
13081
0085ce49
RD
13082SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13083 PyObject *resultobj = 0;
13084 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13085 wxString result;
13086 void *argp1 = 0 ;
13087 int res1 = 0 ;
13088 PyObject *swig_obj[1] ;
13089
13090 if (!args) SWIG_fail;
13091 swig_obj[0] = args;
13092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13093 if (!SWIG_IsOK(res1)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13095 }
13096 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (arg1)->GetBookFile();
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 {
13104#if wxUSE_UNICODE
13105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13106#else
13107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13108#endif
13109 }
13110 return resultobj;
13111fail:
13112 return NULL;
d14a1e28
RD
13113}
13114
13115
0085ce49
RD
13116SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13117 PyObject *resultobj = 0;
13118 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13119 wxString result;
13120 void *argp1 = 0 ;
13121 int res1 = 0 ;
13122 PyObject *swig_obj[1] ;
13123
13124 if (!args) SWIG_fail;
13125 swig_obj[0] = args;
13126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13127 if (!SWIG_IsOK(res1)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13129 }
13130 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (arg1)->GetTitle();
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 {
13138#if wxUSE_UNICODE
13139 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13140#else
13141 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13142#endif
13143 }
13144 return resultobj;
13145fail:
13146 return NULL;
d14a1e28
RD
13147}
13148
13149
0085ce49
RD
13150SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13151 PyObject *resultobj = 0;
13152 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13153 wxString result;
13154 void *argp1 = 0 ;
13155 int res1 = 0 ;
13156 PyObject *swig_obj[1] ;
13157
13158 if (!args) SWIG_fail;
13159 swig_obj[0] = args;
13160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13161 if (!SWIG_IsOK(res1)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13163 }
13164 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (arg1)->GetStart();
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 {
13172#if wxUSE_UNICODE
13173 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13174#else
13175 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13176#endif
13177 }
13178 return resultobj;
13179fail:
13180 return NULL;
d14a1e28
RD
13181}
13182
13183
0085ce49
RD
13184SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13185 PyObject *resultobj = 0;
13186 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13187 wxString result;
13188 void *argp1 = 0 ;
13189 int res1 = 0 ;
13190 PyObject *swig_obj[1] ;
13191
13192 if (!args) SWIG_fail;
13193 swig_obj[0] = args;
13194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13195 if (!SWIG_IsOK(res1)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13197 }
13198 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (arg1)->GetBasePath();
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 {
13206#if wxUSE_UNICODE
13207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13208#else
13209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13210#endif
13211 }
13212 return resultobj;
13213fail:
13214 return NULL;
13215}
13216
13217
13218SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj = 0;
13220 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13221 int arg2 ;
13222 int arg3 ;
13223 void *argp1 = 0 ;
13224 int res1 = 0 ;
13225 int val2 ;
13226 int ecode2 = 0 ;
13227 int val3 ;
13228 int ecode3 = 0 ;
13229 PyObject * obj0 = 0 ;
13230 PyObject * obj1 = 0 ;
13231 PyObject * obj2 = 0 ;
13232 char * kwnames[] = {
13233 (char *) "self",(char *) "start",(char *) "end", NULL
13234 };
13235
13236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13238 if (!SWIG_IsOK(res1)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13240 }
13241 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13242 ecode2 = SWIG_AsVal_int(obj1, &val2);
13243 if (!SWIG_IsOK(ecode2)) {
13244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13245 }
13246 arg2 = static_cast< int >(val2);
13247 ecode3 = SWIG_AsVal_int(obj2, &val3);
13248 if (!SWIG_IsOK(ecode3)) {
13249 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13250 }
13251 arg3 = static_cast< int >(val3);
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 (arg1)->SetContentsRange(arg2,arg3);
13255 wxPyEndAllowThreads(__tstate);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 }
13258 resultobj = SWIG_Py_Void();
13259 return resultobj;
13260fail:
13261 return NULL;
d14a1e28
RD
13262}
13263
13264
0085ce49
RD
13265SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13266 PyObject *resultobj = 0;
13267 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13268 int result;
13269 void *argp1 = 0 ;
13270 int res1 = 0 ;
13271 PyObject *swig_obj[1] ;
13272
13273 if (!args) SWIG_fail;
13274 swig_obj[0] = args;
13275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13276 if (!SWIG_IsOK(res1)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13278 }
13279 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (int)(arg1)->GetContentsStart();
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 resultobj = SWIG_From_int(static_cast< int >(result));
13287 return resultobj;
13288fail:
13289 return NULL;
d14a1e28 13290}
0085ce49
RD
13291
13292
13293SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13294 PyObject *resultobj = 0;
13295 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13296 int result;
13297 void *argp1 = 0 ;
13298 int res1 = 0 ;
13299 PyObject *swig_obj[1] ;
13300
13301 if (!args) SWIG_fail;
13302 swig_obj[0] = args;
13303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13304 if (!SWIG_IsOK(res1)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13306 }
13307 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 result = (int)(arg1)->GetContentsEnd();
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 resultobj = SWIG_From_int(static_cast< int >(result));
13315 return resultobj;
13316fail:
13317 return NULL;
13318}
13319
13320
13321SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj = 0;
13323 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13324 wxString *arg2 = 0 ;
13325 void *argp1 = 0 ;
13326 int res1 = 0 ;
13327 bool temp2 = false ;
13328 PyObject * obj0 = 0 ;
13329 PyObject * obj1 = 0 ;
13330 char * kwnames[] = {
13331 (char *) "self",(char *) "title", NULL
13332 };
13333
13334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
13335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13336 if (!SWIG_IsOK(res1)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13338 }
13339 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13340 {
13341 arg2 = wxString_in_helper(obj1);
13342 if (arg2 == NULL) SWIG_fail;
13343 temp2 = true;
13344 }
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetTitle((wxString const &)*arg2);
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 resultobj = SWIG_Py_Void();
13352 {
13353 if (temp2)
13354 delete arg2;
13355 }
13356 return resultobj;
13357fail:
13358 {
13359 if (temp2)
13360 delete arg2;
13361 }
13362 return NULL;
d14a1e28
RD
13363}
13364
13365
0085ce49
RD
13366SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13367 PyObject *resultobj = 0;
13368 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13369 wxString *arg2 = 0 ;
13370 void *argp1 = 0 ;
13371 int res1 = 0 ;
13372 bool temp2 = false ;
13373 PyObject * obj0 = 0 ;
13374 PyObject * obj1 = 0 ;
13375 char * kwnames[] = {
13376 (char *) "self",(char *) "path", NULL
13377 };
13378
13379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail;
13380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13381 if (!SWIG_IsOK(res1)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13383 }
13384 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13385 {
13386 arg2 = wxString_in_helper(obj1);
13387 if (arg2 == NULL) SWIG_fail;
13388 temp2 = true;
13389 }
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 (arg1)->SetBasePath((wxString const &)*arg2);
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 resultobj = SWIG_Py_Void();
13397 {
13398 if (temp2)
13399 delete arg2;
13400 }
13401 return resultobj;
13402fail:
13403 {
13404 if (temp2)
13405 delete arg2;
13406 }
13407 return NULL;
d14a1e28
RD
13408}
13409
13410
0085ce49
RD
13411SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(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 *) "start", NULL
13422 };
13423
13424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",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_SetStart" "', 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)->SetStart((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;
13453}
13454
13455
13456SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj = 0;
13458 wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
13459 wxString *arg2 = 0 ;
13460 wxString result;
13461 void *argp1 = 0 ;
13462 int res1 = 0 ;
13463 bool temp2 = false ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 char * kwnames[] = {
13467 (char *) "self",(char *) "page", NULL
13468 };
13469
13470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail;
13471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 );
13472 if (!SWIG_IsOK(res1)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13474 }
13475 arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1);
13476 {
13477 arg2 = wxString_in_helper(obj1);
13478 if (arg2 == NULL) SWIG_fail;
13479 temp2 = true;
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2);
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 {
13488#if wxUSE_UNICODE
13489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13490#else
13491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13492#endif
13493 }
13494 {
13495 if (temp2)
13496 delete arg2;
13497 }
13498 return resultobj;
13499fail:
13500 {
13501 if (temp2)
13502 delete arg2;
13503 }
13504 return NULL;
d14a1e28
RD
13505}
13506
13507
0085ce49
RD
13508SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13509 PyObject *obj;
13510 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13511 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj));
13512 return SWIG_Py_Void();
d14a1e28
RD
13513}
13514
0085ce49
RD
13515SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13516 return SWIG_Python_InitShadowInstance(args);
13517}
d14a1e28 13518
0085ce49
RD
13519SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13520 PyObject *resultobj = 0;
13521 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13522 bool result;
13523 void *argp1 = 0 ;
13524 int res1 = 0 ;
13525 PyObject *swig_obj[1] ;
13526
13527 if (!args) SWIG_fail;
13528 swig_obj[0] = args;
13529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13530 if (!SWIG_IsOK(res1)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13532 }
13533 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 result = (bool)(arg1)->Search();
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 {
13541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13542 }
13543 return resultobj;
13544fail:
13545 return NULL;
d14a1e28
RD
13546}
13547
13548
0085ce49
RD
13549SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13550 PyObject *resultobj = 0;
13551 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13552 bool result;
13553 void *argp1 = 0 ;
13554 int res1 = 0 ;
13555 PyObject *swig_obj[1] ;
13556
13557 if (!args) SWIG_fail;
13558 swig_obj[0] = args;
13559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13560 if (!SWIG_IsOK(res1)) {
13561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13562 }
13563 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 result = (bool)(arg1)->IsActive();
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 {
13571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13572 }
13573 return resultobj;
13574fail:
13575 return NULL;
d14a1e28
RD
13576}
13577
13578
0085ce49
RD
13579SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13580 PyObject *resultobj = 0;
13581 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13582 int result;
13583 void *argp1 = 0 ;
13584 int res1 = 0 ;
13585 PyObject *swig_obj[1] ;
13586
13587 if (!args) SWIG_fail;
13588 swig_obj[0] = args;
13589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13590 if (!SWIG_IsOK(res1)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13592 }
13593 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (int)(arg1)->GetCurIndex();
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 resultobj = SWIG_From_int(static_cast< int >(result));
13601 return resultobj;
13602fail:
13603 return NULL;
d14a1e28
RD
13604}
13605
13606
0085ce49
RD
13607SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13608 PyObject *resultobj = 0;
13609 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13610 int result;
13611 void *argp1 = 0 ;
13612 int res1 = 0 ;
13613 PyObject *swig_obj[1] ;
13614
13615 if (!args) SWIG_fail;
13616 swig_obj[0] = args;
13617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13618 if (!SWIG_IsOK(res1)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13620 }
13621 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 result = (int)(arg1)->GetMaxIndex();
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 resultobj = SWIG_From_int(static_cast< int >(result));
13629 return resultobj;
13630fail:
13631 return NULL;
d14a1e28
RD
13632}
13633
13634
0085ce49
RD
13635SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13636 PyObject *resultobj = 0;
13637 wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ;
13638 wxString *result = 0 ;
13639 void *argp1 = 0 ;
13640 int res1 = 0 ;
13641 PyObject *swig_obj[1] ;
13642
13643 if (!args) SWIG_fail;
13644 swig_obj[0] = args;
13645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 );
13646 if (!SWIG_IsOK(res1)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13648 }
13649 arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1);
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 13652 {
0085ce49
RD
13653 wxString const &_result_ref = (arg1)->GetName();
13654 result = (wxString *) &_result_ref;
d14a1e28 13655 }
0085ce49
RD
13656 wxPyEndAllowThreads(__tstate);
13657 if (PyErr_Occurred()) SWIG_fail;
13658 }
13659 {
13660#if wxUSE_UNICODE
13661 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13662#else
13663 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13664#endif
13665 }
13666 return resultobj;
13667fail:
13668 return NULL;
d14a1e28
RD
13669}
13670
13671
0085ce49
RD
13672SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13673 PyObject *obj;
13674 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13675 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj));
13676 return SWIG_Py_Void();
13677}
13678
13679SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13680 PyObject *resultobj = 0;
13681 wxHtmlHelpData *result = 0 ;
13682
13683 if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail;
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 result = (wxHtmlHelpData *)new wxHtmlHelpData();
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 );
13691 return resultobj;
13692fail:
13693 return NULL;
d14a1e28
RD
13694}
13695
13696
0085ce49
RD
13697SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13698 PyObject *resultobj = 0;
13699 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13700 void *argp1 = 0 ;
13701 int res1 = 0 ;
13702 PyObject *swig_obj[1] ;
13703
13704 if (!args) SWIG_fail;
13705 swig_obj[0] = args;
13706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 );
13707 if (!SWIG_IsOK(res1)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13709 }
13710 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 delete arg1;
d14a1e28 13714
0085ce49
RD
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 resultobj = SWIG_Py_Void();
13719 return resultobj;
13720fail:
13721 return NULL;
13722}
13723
13724
13725SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj = 0;
13727 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13728 wxString *arg2 = 0 ;
13729 void *argp1 = 0 ;
13730 int res1 = 0 ;
13731 bool temp2 = false ;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 char * kwnames[] = {
13735 (char *) "self",(char *) "path", NULL
13736 };
13737
13738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
13739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13740 if (!SWIG_IsOK(res1)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13742 }
13743 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13744 {
13745 arg2 = wxString_in_helper(obj1);
13746 if (arg2 == NULL) SWIG_fail;
13747 temp2 = true;
13748 }
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 (arg1)->SetTempDir((wxString const &)*arg2);
13752 wxPyEndAllowThreads(__tstate);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 }
13755 resultobj = SWIG_Py_Void();
13756 {
13757 if (temp2)
13758 delete arg2;
13759 }
13760 return resultobj;
13761fail:
13762 {
13763 if (temp2)
13764 delete arg2;
13765 }
13766 return NULL;
13767}
13768
13769
13770SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13771 PyObject *resultobj = 0;
13772 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13773 wxString *arg2 = 0 ;
13774 bool result;
13775 void *argp1 = 0 ;
13776 int res1 = 0 ;
13777 bool temp2 = false ;
13778 PyObject * obj0 = 0 ;
13779 PyObject * obj1 = 0 ;
13780 char * kwnames[] = {
13781 (char *) "self",(char *) "book", NULL
13782 };
13783
13784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail;
13785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13786 if (!SWIG_IsOK(res1)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13788 }
13789 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13790 {
13791 arg2 = wxString_in_helper(obj1);
13792 if (arg2 == NULL) SWIG_fail;
13793 temp2 = true;
13794 }
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 result = (bool)(arg1)->AddBook((wxString const &)*arg2);
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 {
13802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13803 }
13804 {
13805 if (temp2)
13806 delete arg2;
13807 }
13808 return resultobj;
13809fail:
13810 {
13811 if (temp2)
13812 delete arg2;
13813 }
13814 return NULL;
13815}
13816
13817
13818SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj = 0;
13820 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13821 wxString *arg2 = 0 ;
13822 wxString result;
13823 void *argp1 = 0 ;
13824 int res1 = 0 ;
13825 bool temp2 = false ;
13826 PyObject * obj0 = 0 ;
13827 PyObject * obj1 = 0 ;
13828 char * kwnames[] = {
13829 (char *) "self",(char *) "page", NULL
13830 };
13831
13832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail;
13833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13834 if (!SWIG_IsOK(res1)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13836 }
13837 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13838 {
13839 arg2 = wxString_in_helper(obj1);
13840 if (arg2 == NULL) SWIG_fail;
13841 temp2 = true;
13842 }
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (arg1)->FindPageByName((wxString const &)*arg2);
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 {
d14a1e28 13850#if wxUSE_UNICODE
0085ce49 13851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 13852#else
0085ce49 13853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 13854#endif
0085ce49
RD
13855 }
13856 {
13857 if (temp2)
13858 delete arg2;
13859 }
13860 return resultobj;
13861fail:
13862 {
13863 if (temp2)
13864 delete arg2;
13865 }
13866 return NULL;
13867}
13868
13869
13870SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj = 0;
13872 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13873 int arg2 ;
13874 wxString result;
13875 void *argp1 = 0 ;
13876 int res1 = 0 ;
13877 int val2 ;
13878 int ecode2 = 0 ;
13879 PyObject * obj0 = 0 ;
13880 PyObject * obj1 = 0 ;
13881 char * kwnames[] = {
13882 (char *) "self",(char *) "id", NULL
13883 };
13884
13885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail;
13886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13887 if (!SWIG_IsOK(res1)) {
13888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13889 }
13890 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13891 ecode2 = SWIG_AsVal_int(obj1, &val2);
13892 if (!SWIG_IsOK(ecode2)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13894 }
13895 arg2 = static_cast< int >(val2);
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (arg1)->FindPageById(arg2);
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 {
d14a1e28 13903#if wxUSE_UNICODE
0085ce49 13904 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 13905#else
0085ce49 13906 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 13907#endif
0085ce49
RD
13908 }
13909 return resultobj;
13910fail:
13911 return NULL;
d14a1e28
RD
13912}
13913
13914
0085ce49
RD
13915SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13916 PyObject *resultobj = 0;
13917 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
13918 wxHtmlBookRecArray *result = 0 ;
13919 void *argp1 = 0 ;
13920 int res1 = 0 ;
13921 PyObject *swig_obj[1] ;
13922
13923 if (!args) SWIG_fail;
13924 swig_obj[0] = args;
13925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
13926 if (!SWIG_IsOK(res1)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13928 }
13929 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 13932 {
0085ce49
RD
13933 wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray();
13934 result = (wxHtmlBookRecArray *) &_result_ref;
d14a1e28 13935 }
0085ce49
RD
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 );
13940 return resultobj;
13941fail:
13942 return NULL;
13943}
13944
13945
13946SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13947 PyObject *obj;
13948 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13949 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj));
13950 return SWIG_Py_Void();
13951}
13952
13953SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13954 return SWIG_Python_InitShadowInstance(args);
13955}
13956
13957SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj = 0;
13959 wxWindow *arg1 = (wxWindow *) 0 ;
13960 int arg2 ;
13961 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13962 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13963 wxSize const &arg4_defvalue = wxDefaultSize ;
13964 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13965 int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
13966 int arg6 = (int) wxHF_DEFAULT_STYLE ;
13967 wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ;
13968 wxHtmlHelpWindow *result = 0 ;
13969 void *argp1 = 0 ;
13970 int res1 = 0 ;
13971 int val2 ;
13972 int ecode2 = 0 ;
13973 wxPoint temp3 ;
13974 wxSize temp4 ;
13975 int val5 ;
13976 int ecode5 = 0 ;
13977 int val6 ;
13978 int ecode6 = 0 ;
13979 void *argp7 = 0 ;
13980 int res7 = 0 ;
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 PyObject * obj2 = 0 ;
13984 PyObject * obj3 = 0 ;
13985 PyObject * obj4 = 0 ;
13986 PyObject * obj5 = 0 ;
13987 PyObject * obj6 = 0 ;
13988 char * kwnames[] = {
13989 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
13990 };
13991
13992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13994 if (!SWIG_IsOK(res1)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13996 }
13997 arg1 = reinterpret_cast< wxWindow * >(argp1);
13998 ecode2 = SWIG_AsVal_int(obj1, &val2);
13999 if (!SWIG_IsOK(ecode2)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14001 }
14002 arg2 = static_cast< int >(val2);
14003 if (obj2) {
d14a1e28 14004 {
0085ce49
RD
14005 arg3 = &temp3;
14006 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14007 }
0085ce49
RD
14008 }
14009 if (obj3) {
d14a1e28 14010 {
0085ce49
RD
14011 arg4 = &temp4;
14012 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14013 }
0085ce49
RD
14014 }
14015 if (obj4) {
14016 ecode5 = SWIG_AsVal_int(obj4, &val5);
14017 if (!SWIG_IsOK(ecode5)) {
14018 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14019 }
14020 arg5 = static_cast< int >(val5);
14021 }
14022 if (obj5) {
14023 ecode6 = SWIG_AsVal_int(obj5, &val6);
14024 if (!SWIG_IsOK(ecode6)) {
14025 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14026 }
14027 arg6 = static_cast< int >(val6);
14028 }
14029 if (obj6) {
14030 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14031 if (!SWIG_IsOK(res7)) {
14032 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14033 }
14034 arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7);
14035 }
14036 {
14037 if (!wxPyCheckForApp()) SWIG_fail;
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7);
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 );
14044 return resultobj;
14045fail:
14046 return NULL;
14047}
14048
14049
14050SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14051 PyObject *resultobj = 0;
14052 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
14053 wxHtmlHelpWindow *result = 0 ;
14054 void *argp1 = 0 ;
14055 int res1 = 0 ;
14056 PyObject * obj0 = 0 ;
14057 char * kwnames[] = {
14058 (char *) "data", NULL
14059 };
14060
14061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail;
14062 if (obj0) {
14063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14064 if (!SWIG_IsOK(res1)) {
14065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 14066 }
0085ce49
RD
14067 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
14068 }
14069 {
14070 if (!wxPyCheckForApp()) SWIG_fail;
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1);
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 );
14077 return resultobj;
14078fail:
14079 return NULL;
14080}
14081
14082
14083SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj = 0;
14085 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14086 wxWindow *arg2 = (wxWindow *) 0 ;
14087 int arg3 ;
14088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14090 wxSize const &arg5_defvalue = wxDefaultSize ;
14091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14092 int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ;
14093 int arg7 = (int) wxHF_DEFAULT_STYLE ;
14094 bool result;
14095 void *argp1 = 0 ;
14096 int res1 = 0 ;
14097 void *argp2 = 0 ;
14098 int res2 = 0 ;
14099 int val3 ;
14100 int ecode3 = 0 ;
14101 wxPoint temp4 ;
14102 wxSize temp5 ;
14103 int val6 ;
14104 int ecode6 = 0 ;
14105 int val7 ;
14106 int ecode7 = 0 ;
14107 PyObject * obj0 = 0 ;
14108 PyObject * obj1 = 0 ;
14109 PyObject * obj2 = 0 ;
14110 PyObject * obj3 = 0 ;
14111 PyObject * obj4 = 0 ;
14112 PyObject * obj5 = 0 ;
14113 PyObject * obj6 = 0 ;
14114 char * kwnames[] = {
14115 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14116 };
14117
14118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14120 if (!SWIG_IsOK(res1)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14122 }
14123 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14124 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14125 if (!SWIG_IsOK(res2)) {
14126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14127 }
14128 arg2 = reinterpret_cast< wxWindow * >(argp2);
14129 ecode3 = SWIG_AsVal_int(obj2, &val3);
14130 if (!SWIG_IsOK(ecode3)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14132 }
14133 arg3 = static_cast< int >(val3);
14134 if (obj3) {
d14a1e28 14135 {
0085ce49
RD
14136 arg4 = &temp4;
14137 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14138 }
0085ce49
RD
14139 }
14140 if (obj4) {
d14a1e28 14141 {
0085ce49
RD
14142 arg5 = &temp5;
14143 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14144 }
0085ce49
RD
14145 }
14146 if (obj5) {
14147 ecode6 = SWIG_AsVal_int(obj5, &val6);
14148 if (!SWIG_IsOK(ecode6)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14150 }
14151 arg6 = static_cast< int >(val6);
14152 }
14153 if (obj6) {
14154 ecode7 = SWIG_AsVal_int(obj6, &val7);
14155 if (!SWIG_IsOK(ecode7)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14157 }
14158 arg7 = static_cast< int >(val7);
14159 }
14160 {
14161 PyThreadState* __tstate = wxPyBeginAllowThreads();
14162 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7);
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 {
14167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14168 }
14169 return resultobj;
14170fail:
14171 return NULL;
d14a1e28
RD
14172}
14173
14174
0085ce49
RD
14175SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14176 PyObject *resultobj = 0;
14177 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14178 wxHtmlHelpData *result = 0 ;
14179 void *argp1 = 0 ;
14180 int res1 = 0 ;
14181 PyObject *swig_obj[1] ;
14182
14183 if (!args) SWIG_fail;
14184 swig_obj[0] = args;
14185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14186 if (!SWIG_IsOK(res1)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14188 }
14189 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (wxHtmlHelpData *)(arg1)->GetData();
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
14197 return resultobj;
14198fail:
14199 return NULL;
d14a1e28
RD
14200}
14201
14202
0085ce49
RD
14203SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14204 PyObject *resultobj = 0;
14205 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14206 wxHtmlHelpController *result = 0 ;
14207 void *argp1 = 0 ;
14208 int res1 = 0 ;
14209 PyObject *swig_obj[1] ;
14210
14211 if (!args) SWIG_fail;
14212 swig_obj[0] = args;
14213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14214 if (!SWIG_IsOK(res1)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14216 }
14217 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController();
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
14225 return resultobj;
14226fail:
14227 return NULL;
14228}
14229
14230
14231SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14232 PyObject *resultobj = 0;
14233 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14234 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
14235 void *argp1 = 0 ;
14236 int res1 = 0 ;
14237 int res2 = 0 ;
14238 PyObject * obj0 = 0 ;
14239 PyObject * obj1 = 0 ;
14240 char * kwnames[] = {
14241 (char *) "self",(char *) "controller", NULL
14242 };
14243
14244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
14245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14246 if (!SWIG_IsOK(res1)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14248 }
14249 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14250 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
14251 if (!SWIG_IsOK(res2)) {
14252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14253 }
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 (arg1)->SetController(arg2);
14257 wxPyEndAllowThreads(__tstate);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 resultobj = SWIG_Py_Void();
14261 return resultobj;
14262fail:
14263 return NULL;
14264}
14265
14266
14267SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14268 PyObject *resultobj = 0;
14269 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14270 wxString *arg2 = 0 ;
14271 bool result;
14272 void *argp1 = 0 ;
14273 int res1 = 0 ;
14274 bool temp2 = false ;
14275 PyObject * obj0 = 0 ;
14276 PyObject * obj1 = 0 ;
14277 char * kwnames[] = {
14278 (char *) "self",(char *) "x", NULL
14279 };
14280
14281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail;
14282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14283 if (!SWIG_IsOK(res1)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14285 }
14286 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14287 {
14288 arg2 = wxString_in_helper(obj1);
14289 if (arg2 == NULL) SWIG_fail;
14290 temp2 = true;
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (bool)(arg1)->Display((wxString const &)*arg2);
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 {
14299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14300 }
14301 {
14302 if (temp2)
14303 delete arg2;
14304 }
14305 return resultobj;
14306fail:
14307 {
14308 if (temp2)
14309 delete arg2;
14310 }
14311 return NULL;
14312}
14313
14314
14315SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj = 0;
14317 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14318 int arg2 ;
14319 bool result;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 int val2 ;
14323 int ecode2 = 0 ;
14324 PyObject * obj0 = 0 ;
14325 PyObject * obj1 = 0 ;
14326 char * kwnames[] = {
14327 (char *) "self",(char *) "id", NULL
14328 };
14329
14330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
14331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14332 if (!SWIG_IsOK(res1)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14334 }
14335 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14336 ecode2 = SWIG_AsVal_int(obj1, &val2);
14337 if (!SWIG_IsOK(ecode2)) {
14338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14339 }
14340 arg2 = static_cast< int >(val2);
14341 {
14342 PyThreadState* __tstate = wxPyBeginAllowThreads();
14343 result = (bool)(arg1)->Display(arg2);
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 {
14348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14349 }
14350 return resultobj;
14351fail:
14352 return NULL;
d14a1e28
RD
14353}
14354
14355
0085ce49
RD
14356SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14357 PyObject *resultobj = 0;
14358 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14359 bool result;
14360 void *argp1 = 0 ;
14361 int res1 = 0 ;
14362 PyObject *swig_obj[1] ;
14363
14364 if (!args) SWIG_fail;
14365 swig_obj[0] = args;
14366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14367 if (!SWIG_IsOK(res1)) {
14368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14369 }
14370 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 result = (bool)(arg1)->DisplayContents();
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 {
14378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14379 }
14380 return resultobj;
14381fail:
14382 return NULL;
d14a1e28
RD
14383}
14384
14385
0085ce49
RD
14386SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14387 PyObject *resultobj = 0;
14388 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14389 bool result;
14390 void *argp1 = 0 ;
14391 int res1 = 0 ;
14392 PyObject *swig_obj[1] ;
14393
14394 if (!args) SWIG_fail;
14395 swig_obj[0] = args;
14396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14397 if (!SWIG_IsOK(res1)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14399 }
14400 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (bool)(arg1)->DisplayIndex();
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 {
14408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14409 }
14410 return resultobj;
14411fail:
14412 return NULL;
14413}
14414
14415
14416SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj = 0;
14418 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14419 wxString *arg2 = 0 ;
14420 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
14421 bool result;
14422 void *argp1 = 0 ;
14423 int res1 = 0 ;
14424 bool temp2 = false ;
14425 void *argp3 ;
14426 int res3 = 0 ;
14427 PyObject * obj0 = 0 ;
14428 PyObject * obj1 = 0 ;
14429 PyObject * obj2 = 0 ;
14430 char * kwnames[] = {
14431 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14432 };
14433
14434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14436 if (!SWIG_IsOK(res1)) {
14437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14438 }
14439 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14440 {
14441 arg2 = wxString_in_helper(obj1);
14442 if (arg2 == NULL) SWIG_fail;
14443 temp2 = true;
14444 }
14445 if (obj2) {
14446 {
14447 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
14448 if (!SWIG_IsOK(res3)) {
14449 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14450 }
14451 if (!argp3) {
14452 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14453 } else {
14454 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
14455 arg3 = *temp;
14456 if (SWIG_IsNewObj(res3)) delete temp;
14457 }
ae8162c8 14458 }
0085ce49
RD
14459 }
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 {
14467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14468 }
14469 {
14470 if (temp2)
14471 delete arg2;
14472 }
14473 return resultobj;
14474fail:
14475 {
14476 if (temp2)
14477 delete arg2;
14478 }
14479 return NULL;
14480}
14481
14482
14483SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj = 0;
14485 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14486 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14487 wxString const &arg3_defvalue = wxEmptyString ;
14488 wxString *arg3 = (wxString *) &arg3_defvalue ;
14489 void *argp1 = 0 ;
14490 int res1 = 0 ;
14491 void *argp2 = 0 ;
14492 int res2 = 0 ;
14493 bool temp3 = false ;
14494 PyObject * obj0 = 0 ;
14495 PyObject * obj1 = 0 ;
14496 PyObject * obj2 = 0 ;
14497 char * kwnames[] = {
14498 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14499 };
14500
14501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14503 if (!SWIG_IsOK(res1)) {
14504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14505 }
14506 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14507 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14508 if (!SWIG_IsOK(res2)) {
14509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14510 }
14511 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14512 if (obj2) {
ae8162c8 14513 {
0085ce49
RD
14514 arg3 = wxString_in_helper(obj2);
14515 if (arg3 == NULL) SWIG_fail;
14516 temp3 = true;
ae8162c8 14517 }
0085ce49
RD
14518 }
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 resultobj = SWIG_Py_Void();
14526 {
14527 if (temp3)
14528 delete arg3;
14529 }
14530 return resultobj;
14531fail:
14532 {
14533 if (temp3)
14534 delete arg3;
14535 }
14536 return NULL;
14537}
14538
14539
14540SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj = 0;
14542 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14543 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14544 wxString const &arg3_defvalue = wxEmptyString ;
14545 wxString *arg3 = (wxString *) &arg3_defvalue ;
14546 void *argp1 = 0 ;
14547 int res1 = 0 ;
14548 void *argp2 = 0 ;
14549 int res2 = 0 ;
14550 bool temp3 = false ;
14551 PyObject * obj0 = 0 ;
14552 PyObject * obj1 = 0 ;
14553 PyObject * obj2 = 0 ;
14554 char * kwnames[] = {
14555 (char *) "self",(char *) "cfg",(char *) "path", NULL
14556 };
14557
14558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14560 if (!SWIG_IsOK(res1)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14562 }
14563 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14564 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14565 if (!SWIG_IsOK(res2)) {
14566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14567 }
14568 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14569 if (obj2) {
ae8162c8 14570 {
0085ce49
RD
14571 arg3 = wxString_in_helper(obj2);
14572 if (arg3 == NULL) SWIG_fail;
14573 temp3 = true;
ae8162c8 14574 }
0085ce49
RD
14575 }
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 (arg1)->ReadCustomization(arg2,(wxString const &)*arg3);
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = SWIG_Py_Void();
14583 {
14584 if (temp3)
14585 delete arg3;
14586 }
14587 return resultobj;
14588fail:
14589 {
14590 if (temp3)
14591 delete arg3;
14592 }
14593 return NULL;
14594}
14595
14596
14597SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj = 0;
14599 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14600 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
14601 wxString const &arg3_defvalue = wxEmptyString ;
14602 wxString *arg3 = (wxString *) &arg3_defvalue ;
14603 void *argp1 = 0 ;
14604 int res1 = 0 ;
14605 void *argp2 = 0 ;
14606 int res2 = 0 ;
14607 bool temp3 = false ;
14608 PyObject * obj0 = 0 ;
14609 PyObject * obj1 = 0 ;
14610 PyObject * obj2 = 0 ;
14611 char * kwnames[] = {
14612 (char *) "self",(char *) "cfg",(char *) "path", NULL
14613 };
14614
14615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14617 if (!SWIG_IsOK(res1)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14619 }
14620 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
14622 if (!SWIG_IsOK(res2)) {
14623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14624 }
14625 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
14626 if (obj2) {
ae8162c8 14627 {
0085ce49
RD
14628 arg3 = wxString_in_helper(obj2);
14629 if (arg3 == NULL) SWIG_fail;
14630 temp3 = true;
ae8162c8 14631 }
0085ce49
RD
14632 }
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 (arg1)->WriteCustomization(arg2,(wxString const &)*arg3);
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 resultobj = SWIG_Py_Void();
14640 {
14641 if (temp3)
14642 delete arg3;
14643 }
14644 return resultobj;
14645fail:
14646 {
14647 if (temp3)
14648 delete arg3;
14649 }
14650 return NULL;
30ee79f7
RD
14651}
14652
14653
0085ce49
RD
14654SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14655 PyObject *resultobj = 0;
14656 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14657 void *argp1 = 0 ;
14658 int res1 = 0 ;
14659 PyObject *swig_obj[1] ;
14660
14661 if (!args) SWIG_fail;
14662 swig_obj[0] = args;
14663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14664 if (!SWIG_IsOK(res1)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14666 }
14667 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 (arg1)->NotifyPageChanged();
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 resultobj = SWIG_Py_Void();
14675 return resultobj;
14676fail:
14677 return NULL;
d14a1e28
RD
14678}
14679
14680
0085ce49
RD
14681SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14682 PyObject *resultobj = 0;
14683 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14684 void *argp1 = 0 ;
14685 int res1 = 0 ;
14686 PyObject *swig_obj[1] ;
14687
14688 if (!args) SWIG_fail;
14689 swig_obj[0] = args;
14690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14693 }
14694 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 (arg1)->RefreshLists();
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 resultobj = SWIG_Py_Void();
14702 return resultobj;
14703fail:
14704 return NULL;
d14a1e28
RD
14705}
14706
14707
0085ce49
RD
14708SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14709 PyObject *resultobj = 0;
14710 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
b6df5cf9 14711 wxPyHtmlWindow *result = 0 ;
0085ce49
RD
14712 void *argp1 = 0 ;
14713 int res1 = 0 ;
14714 PyObject *swig_obj[1] ;
14715
14716 if (!args) SWIG_fail;
14717 swig_obj[0] = args;
14718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14719 if (!SWIG_IsOK(res1)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14721 }
14722 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
b6df5cf9 14725 result = (wxPyHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow();
0085ce49
RD
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
b6df5cf9
RD
14729 {
14730 resultobj = wxPyMake_wxObject(result, 0);
14731 }
0085ce49
RD
14732 return resultobj;
14733fail:
14734 return NULL;
53aa7709
RD
14735}
14736
14737
0085ce49
RD
14738SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14739 PyObject *resultobj = 0;
14740 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14741 wxSplitterWindow *result = 0 ;
14742 void *argp1 = 0 ;
14743 int res1 = 0 ;
14744 PyObject *swig_obj[1] ;
14745
14746 if (!args) SWIG_fail;
14747 swig_obj[0] = args;
14748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14749 if (!SWIG_IsOK(res1)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14751 }
14752 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14753 {
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 result = (wxSplitterWindow *)(arg1)->GetSplitterWindow();
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
14760 return resultobj;
14761fail:
14762 return NULL;
d14a1e28
RD
14763}
14764
14765
0085ce49
RD
14766SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14767 PyObject *resultobj = 0;
14768 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14769 wxToolBar *result = 0 ;
14770 void *argp1 = 0 ;
14771 int res1 = 0 ;
14772 PyObject *swig_obj[1] ;
14773
14774 if (!args) SWIG_fail;
14775 swig_obj[0] = args;
14776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14777 if (!SWIG_IsOK(res1)) {
14778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14779 }
14780 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14781 {
14782 PyThreadState* __tstate = wxPyBeginAllowThreads();
14783 result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar();
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 {
14788 resultobj = wxPyMake_wxObject(result, (bool)0);
14789 }
14790 return resultobj;
14791fail:
14792 return NULL;
d14a1e28
RD
14793}
14794
14795
0085ce49
RD
14796SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14797 PyObject *resultobj = 0;
14798 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
14799 wxHtmlHelpFrameCfg *result = 0 ;
14800 void *argp1 = 0 ;
14801 int res1 = 0 ;
14802 PyObject *swig_obj[1] ;
14803
14804 if (!args) SWIG_fail;
14805 swig_obj[0] = args;
14806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14807 if (!SWIG_IsOK(res1)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14809 }
14810 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14811 {
14812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 14813 {
0085ce49
RD
14814 wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData();
14815 result = (wxHtmlHelpFrameCfg *) &_result_ref;
4f89f6a3 14816 }
0085ce49
RD
14817 wxPyEndAllowThreads(__tstate);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 );
14821 return resultobj;
14822fail:
14823 return NULL;
d14a1e28
RD
14824}
14825
14826
0085ce49
RD
14827SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14828 PyObject *resultobj = 0;
14829 wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ;
10044bf1 14830 wxPyTreeCtrl *result = 0 ;
0085ce49
RD
14831 void *argp1 = 0 ;
14832 int res1 = 0 ;
14833 PyObject *swig_obj[1] ;
14834
14835 if (!args) SWIG_fail;
14836 swig_obj[0] = args;
14837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
14838 if (!SWIG_IsOK(res1)) {
14839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14840 }
14841 arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1);
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 14844 result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl();
0085ce49
RD
14845 wxPyEndAllowThreads(__tstate);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 }
10044bf1
RD
14848 {
14849 resultobj = wxPyMake_wxObject(result, (bool)0);
14850 }
0085ce49
RD
14851 return resultobj;
14852fail:
14853 return NULL;
d14a1e28
RD
14854}
14855
14856
0085ce49
RD
14857SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14858 PyObject *obj;
14859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14860 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj));
14861 return SWIG_Py_Void();
14862}
14863
14864SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14865 return SWIG_Python_InitShadowInstance(args);
14866}
14867
8f514ab4 14868SWIGINTERN PyObject *_wrap_new_HtmlCellEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 14869 PyObject *resultobj = 0;
8f514ab4
RD
14870 wxEventType arg1 ;
14871 int arg2 ;
14872 wxHtmlCell *arg3 = (wxHtmlCell *) 0 ;
14873 wxPoint *arg4 = 0 ;
14874 wxMouseEvent *arg5 = 0 ;
14875 wxHtmlCellEvent *result = 0 ;
0085ce49
RD
14876 int val1 ;
14877 int ecode1 = 0 ;
14878 int val2 ;
14879 int ecode2 = 0 ;
8f514ab4
RD
14880 void *argp3 = 0 ;
14881 int res3 = 0 ;
14882 wxPoint temp4 ;
14883 void *argp5 = 0 ;
14884 int res5 = 0 ;
0085ce49
RD
14885 PyObject * obj0 = 0 ;
14886 PyObject * obj1 = 0 ;
8f514ab4
RD
14887 PyObject * obj2 = 0 ;
14888 PyObject * obj3 = 0 ;
14889 PyObject * obj4 = 0 ;
0085ce49 14890 char * kwnames[] = {
8f514ab4 14891 (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL
0085ce49
RD
14892 };
14893
8f514ab4
RD
14894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_HtmlCellEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
14895 ecode1 = SWIG_AsVal_int(obj0, &val1);
14896 if (!SWIG_IsOK(ecode1)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14898 }
14899 arg1 = static_cast< wxEventType >(val1);
14900 ecode2 = SWIG_AsVal_int(obj1, &val2);
14901 if (!SWIG_IsOK(ecode2)) {
14902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'");
14903 }
14904 arg2 = static_cast< int >(val2);
14905 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 );
14906 if (!SWIG_IsOK(res3)) {
14907 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'");
0085ce49 14908 }
8f514ab4
RD
14909 arg3 = reinterpret_cast< wxHtmlCell * >(argp3);
14910 {
14911 arg4 = &temp4;
14912 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14913 }
14914 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14915 if (!SWIG_IsOK(res5)) {
14916 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
0085ce49 14917 }
8f514ab4
RD
14918 if (!argp5) {
14919 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
14920 }
14921 arg5 = reinterpret_cast< wxMouseEvent * >(argp5);
0085ce49
RD
14922 {
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8f514ab4 14924 result = (wxHtmlCellEvent *)new wxHtmlCellEvent(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxMouseEvent const &)*arg5);
0085ce49
RD
14925 wxPyEndAllowThreads(__tstate);
14926 if (PyErr_Occurred()) SWIG_fail;
14927 }
8f514ab4 14928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCellEvent, SWIG_POINTER_NEW | 0 );
0085ce49
RD
14929 return resultobj;
14930fail:
14931 return NULL;
14932}
14933
14934
8f514ab4 14935SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 14936 PyObject *resultobj = 0;
8f514ab4
RD
14937 wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
14938 wxHtmlCell *result = 0 ;
0085ce49
RD
14939 void *argp1 = 0 ;
14940 int res1 = 0 ;
8f514ab4
RD
14941 PyObject *swig_obj[1] ;
14942
14943 if (!args) SWIG_fail;
14944 swig_obj[0] = args;
14945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
14946 if (!SWIG_IsOK(res1)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
14948 }
14949 arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 result = (wxHtmlCell *)((wxHtmlCellEvent const *)arg1)->GetCell();
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 {
14957 resultobj = wxPyMake_wxObject(result, 0);
14958 }
14959 return resultobj;
14960fail:
14961 return NULL;
14962}
14963
14964
14965SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14966 PyObject *resultobj = 0;
14967 wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
14968 wxPoint result;
14969 void *argp1 = 0 ;
14970 int res1 = 0 ;
14971 PyObject *swig_obj[1] ;
14972
14973 if (!args) SWIG_fail;
14974 swig_obj[0] = args;
14975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
14976 if (!SWIG_IsOK(res1)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
14978 }
14979 arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = ((wxHtmlCellEvent const *)arg1)->GetPoint();
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14987 return resultobj;
14988fail:
14989 return NULL;
14990}
14991
14992
14993SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14994 PyObject *resultobj = 0;
14995 wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
14996 wxMouseEvent result;
14997 void *argp1 = 0 ;
14998 int res1 = 0 ;
14999 PyObject *swig_obj[1] ;
15000
15001 if (!args) SWIG_fail;
15002 swig_obj[0] = args;
15003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
15004 if (!SWIG_IsOK(res1)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15006 }
15007 arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = ((wxHtmlCellEvent const *)arg1)->GetMouseEvent();
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 resultobj = SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent& >(result))), SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_OWN | 0 );
15015 return resultobj;
15016fail:
15017 return NULL;
15018}
15019
15020
15021SWIGINTERN PyObject *_wrap_HtmlCellEvent_SetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj = 0;
15023 wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
15024 bool arg2 ;
15025 void *argp1 = 0 ;
15026 int res1 = 0 ;
15027 bool val2 ;
15028 int ecode2 = 0 ;
0085ce49
RD
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 char * kwnames[] = {
8f514ab4 15032 (char *) "self",(char *) "linkclicked", NULL
0085ce49
RD
15033 };
15034
8f514ab4
RD
15035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail;
15036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
0085ce49 15037 if (!SWIG_IsOK(res1)) {
8f514ab4 15038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'");
0085ce49 15039 }
8f514ab4
RD
15040 arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
15041 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15042 if (!SWIG_IsOK(ecode2)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'");
15044 }
15045 arg2 = static_cast< bool >(val2);
0085ce49 15046 {
8f514ab4
RD
15047 PyThreadState* __tstate = wxPyBeginAllowThreads();
15048 (arg1)->SetLinkClicked(arg2);
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 resultobj = SWIG_Py_Void();
15053 return resultobj;
15054fail:
15055 return NULL;
15056}
15057
15058
15059SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15060 PyObject *resultobj = 0;
15061 wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ;
15062 bool result;
15063 void *argp1 = 0 ;
15064 int res1 = 0 ;
15065 PyObject *swig_obj[1] ;
15066
15067 if (!args) SWIG_fail;
15068 swig_obj[0] = args;
15069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 );
15070 if (!SWIG_IsOK(res1)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
0085ce49 15072 }
8f514ab4 15073 arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1);
0085ce49
RD
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8f514ab4 15076 result = (bool)((wxHtmlCellEvent const *)arg1)->GetLinkClicked();
0085ce49
RD
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
0085ce49 15080 {
8f514ab4 15081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
0085ce49
RD
15082 }
15083 return resultobj;
15084fail:
8f514ab4
RD
15085 return NULL;
15086}
15087
15088
15089SWIGINTERN PyObject *HtmlCellEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15090 PyObject *obj;
15091 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15092 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent, SWIG_NewClientData(obj));
15093 return SWIG_Py_Void();
15094}
15095
15096SWIGINTERN PyObject *HtmlCellEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15097 return SWIG_Python_InitShadowInstance(args);
15098}
15099
15100SWIGINTERN PyObject *_wrap_new_HtmlLinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj = 0;
15102 int arg1 ;
15103 wxHtmlLinkInfo *arg2 = 0 ;
15104 wxHtmlLinkEvent *result = 0 ;
15105 int val1 ;
15106 int ecode1 = 0 ;
15107 void *argp2 = 0 ;
15108 int res2 = 0 ;
15109 PyObject * obj0 = 0 ;
15110 PyObject * obj1 = 0 ;
15111 char * kwnames[] = {
15112 (char *) "id",(char *) "linkinfo", NULL
15113 };
15114
15115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlLinkEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15116 ecode1 = SWIG_AsVal_int(obj0, &val1);
15117 if (!SWIG_IsOK(ecode1)) {
15118 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'");
15119 }
15120 arg1 = static_cast< int >(val1);
15121 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15122 if (!SWIG_IsOK(res2)) {
15123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15124 }
15125 if (!argp2) {
15126 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15127 }
15128 arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2);
0085ce49 15129 {
8f514ab4
RD
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (wxHtmlLinkEvent *)new wxHtmlLinkEvent(arg1,(wxHtmlLinkInfo const &)*arg2);
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
0085ce49 15134 }
8f514ab4
RD
15135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkEvent, SWIG_POINTER_NEW | 0 );
15136 return resultobj;
15137fail:
0085ce49
RD
15138 return NULL;
15139}
15140
15141
8f514ab4 15142SWIGINTERN PyObject *_wrap_HtmlLinkEvent_GetLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49 15143 PyObject *resultobj = 0;
8f514ab4
RD
15144 wxHtmlLinkEvent *arg1 = (wxHtmlLinkEvent *) 0 ;
15145 wxHtmlLinkInfo *result = 0 ;
0085ce49
RD
15146 void *argp1 = 0 ;
15147 int res1 = 0 ;
15148 PyObject *swig_obj[1] ;
15149
15150 if (!args) SWIG_fail;
15151 swig_obj[0] = args;
8f514ab4 15152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkEvent, 0 | 0 );
0085ce49 15153 if (!SWIG_IsOK(res1)) {
8f514ab4 15154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'");
0085ce49 15155 }
8f514ab4 15156 arg1 = reinterpret_cast< wxHtmlLinkEvent * >(argp1);
0085ce49
RD
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 15159 {
8f514ab4
RD
15160 wxHtmlLinkInfo const &_result_ref = ((wxHtmlLinkEvent const *)arg1)->GetLinkInfo();
15161 result = (wxHtmlLinkInfo *) &_result_ref;
d14a1e28 15162 }
0085ce49
RD
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
8f514ab4 15166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 );
0085ce49
RD
15167 return resultobj;
15168fail:
15169 return NULL;
15170}
15171
15172
8f514ab4 15173SWIGINTERN PyObject *HtmlLinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
15174 PyObject *obj;
15175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8f514ab4 15176 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent, SWIG_NewClientData(obj));
0085ce49
RD
15177 return SWIG_Py_Void();
15178}
15179
8f514ab4 15180SWIGINTERN PyObject *HtmlLinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
15181 return SWIG_Python_InitShadowInstance(args);
15182}
15183
15184SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15185 PyObject *resultobj = 0;
15186 wxWindow *arg1 = (wxWindow *) 0 ;
15187 int arg2 ;
15188 wxString const &arg3_defvalue = wxPyEmptyString ;
15189 wxString *arg3 = (wxString *) &arg3_defvalue ;
15190 int arg4 = (int) wxHF_DEFAULTSTYLE ;
15191 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
85965ae1
RD
15192 wxConfigBase *arg6 = (wxConfigBase *) NULL ;
15193 wxString const &arg7_defvalue = wxPyEmptyString ;
15194 wxString *arg7 = (wxString *) &arg7_defvalue ;
0085ce49
RD
15195 wxHtmlHelpFrame *result = 0 ;
15196 void *argp1 = 0 ;
15197 int res1 = 0 ;
15198 int val2 ;
15199 int ecode2 = 0 ;
15200 bool temp3 = false ;
15201 int val4 ;
15202 int ecode4 = 0 ;
15203 void *argp5 = 0 ;
15204 int res5 = 0 ;
85965ae1
RD
15205 void *argp6 = 0 ;
15206 int res6 = 0 ;
15207 bool temp7 = false ;
0085ce49
RD
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj1 = 0 ;
15210 PyObject * obj2 = 0 ;
15211 PyObject * obj3 = 0 ;
15212 PyObject * obj4 = 0 ;
85965ae1
RD
15213 PyObject * obj5 = 0 ;
15214 PyObject * obj6 = 0 ;
0085ce49 15215 char * kwnames[] = {
85965ae1 15216 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL
0085ce49
RD
15217 };
15218
85965ae1 15219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
0085ce49
RD
15220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15221 if (!SWIG_IsOK(res1)) {
15222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15223 }
15224 arg1 = reinterpret_cast< wxWindow * >(argp1);
15225 ecode2 = SWIG_AsVal_int(obj1, &val2);
15226 if (!SWIG_IsOK(ecode2)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15228 }
15229 arg2 = static_cast< int >(val2);
15230 if (obj2) {
4f89f6a3 15231 {
0085ce49
RD
15232 arg3 = wxString_in_helper(obj2);
15233 if (arg3 == NULL) SWIG_fail;
15234 temp3 = true;
4f89f6a3 15235 }
0085ce49
RD
15236 }
15237 if (obj3) {
15238 ecode4 = SWIG_AsVal_int(obj3, &val4);
15239 if (!SWIG_IsOK(ecode4)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15241 }
15242 arg4 = static_cast< int >(val4);
15243 }
15244 if (obj4) {
15245 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15246 if (!SWIG_IsOK(res5)) {
15247 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15248 }
15249 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15250 }
85965ae1
RD
15251 if (obj5) {
15252 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 );
15253 if (!SWIG_IsOK(res6)) {
15254 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15255 }
15256 arg6 = reinterpret_cast< wxConfigBase * >(argp6);
15257 }
15258 if (obj6) {
15259 {
15260 arg7 = wxString_in_helper(obj6);
15261 if (arg7 == NULL) SWIG_fail;
15262 temp7 = true;
15263 }
15264 }
0085ce49
RD
15265 {
15266 if (!wxPyCheckForApp()) SWIG_fail;
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
85965ae1 15268 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxString const &)*arg7);
0085ce49
RD
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 );
15273 {
15274 if (temp3)
15275 delete arg3;
15276 }
85965ae1
RD
15277 {
15278 if (temp7)
15279 delete arg7;
15280 }
0085ce49
RD
15281 return resultobj;
15282fail:
15283 {
15284 if (temp3)
15285 delete arg3;
15286 }
85965ae1
RD
15287 {
15288 if (temp7)
15289 delete arg7;
15290 }
0085ce49 15291 return NULL;
d14a1e28
RD
15292}
15293
15294
0085ce49
RD
15295SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj = 0;
15297 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15298 wxHtmlHelpFrame *result = 0 ;
15299 void *argp1 = 0 ;
15300 int res1 = 0 ;
15301 PyObject * obj0 = 0 ;
15302 char * kwnames[] = {
15303 (char *) "data", NULL
15304 };
15305
15306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail;
15307 if (obj0) {
15308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15309 if (!SWIG_IsOK(res1)) {
15310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15311 }
0085ce49
RD
15312 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15313 }
15314 {
15315 if (!wxPyCheckForApp()) SWIG_fail;
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1);
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 );
15322 return resultobj;
15323fail:
15324 return NULL;
15325}
15326
15327
15328SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj = 0;
15330 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15331 wxWindow *arg2 = (wxWindow *) 0 ;
15332 int arg3 ;
15333 wxString const &arg4_defvalue = wxPyEmptyString ;
15334 wxString *arg4 = (wxString *) &arg4_defvalue ;
15335 int arg5 = (int) wxHF_DEFAULT_STYLE ;
85965ae1
RD
15336 wxConfigBase *arg6 = (wxConfigBase *) NULL ;
15337 wxString const &arg7_defvalue = wxPyEmptyString ;
15338 wxString *arg7 = (wxString *) &arg7_defvalue ;
0085ce49
RD
15339 bool result;
15340 void *argp1 = 0 ;
15341 int res1 = 0 ;
15342 void *argp2 = 0 ;
15343 int res2 = 0 ;
15344 int val3 ;
15345 int ecode3 = 0 ;
15346 bool temp4 = false ;
15347 int val5 ;
15348 int ecode5 = 0 ;
85965ae1
RD
15349 void *argp6 = 0 ;
15350 int res6 = 0 ;
15351 bool temp7 = false ;
0085ce49
RD
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 PyObject * obj2 = 0 ;
15355 PyObject * obj3 = 0 ;
15356 PyObject * obj4 = 0 ;
85965ae1
RD
15357 PyObject * obj5 = 0 ;
15358 PyObject * obj6 = 0 ;
0085ce49 15359 char * kwnames[] = {
85965ae1 15360 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL
0085ce49
RD
15361 };
15362
85965ae1 15363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
0085ce49
RD
15364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15365 if (!SWIG_IsOK(res1)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15367 }
15368 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15370 if (!SWIG_IsOK(res2)) {
15371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15372 }
15373 arg2 = reinterpret_cast< wxWindow * >(argp2);
15374 ecode3 = SWIG_AsVal_int(obj2, &val3);
15375 if (!SWIG_IsOK(ecode3)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15377 }
15378 arg3 = static_cast< int >(val3);
15379 if (obj3) {
4f89f6a3 15380 {
0085ce49
RD
15381 arg4 = wxString_in_helper(obj3);
15382 if (arg4 == NULL) SWIG_fail;
15383 temp4 = true;
4f89f6a3 15384 }
0085ce49
RD
15385 }
15386 if (obj4) {
15387 ecode5 = SWIG_AsVal_int(obj4, &val5);
15388 if (!SWIG_IsOK(ecode5)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15390 }
15391 arg5 = static_cast< int >(val5);
15392 }
85965ae1
RD
15393 if (obj5) {
15394 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 );
15395 if (!SWIG_IsOK(res6)) {
15396 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15397 }
15398 arg6 = reinterpret_cast< wxConfigBase * >(argp6);
15399 }
15400 if (obj6) {
15401 {
15402 arg7 = wxString_in_helper(obj6);
15403 if (arg7 == NULL) SWIG_fail;
15404 temp7 = true;
15405 }
15406 }
0085ce49
RD
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
85965ae1 15409 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5,arg6,(wxString const &)*arg7);
0085ce49
RD
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 {
15414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15415 }
15416 {
15417 if (temp4)
15418 delete arg4;
15419 }
85965ae1
RD
15420 {
15421 if (temp7)
15422 delete arg7;
15423 }
0085ce49
RD
15424 return resultobj;
15425fail:
15426 {
15427 if (temp4)
15428 delete arg4;
15429 }
85965ae1
RD
15430 {
15431 if (temp7)
15432 delete arg7;
15433 }
0085ce49 15434 return NULL;
d14a1e28
RD
15435}
15436
15437
0085ce49
RD
15438SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15439 PyObject *resultobj = 0;
15440 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15441 wxHtmlHelpData *result = 0 ;
15442 void *argp1 = 0 ;
15443 int res1 = 0 ;
15444 PyObject *swig_obj[1] ;
15445
15446 if (!args) SWIG_fail;
15447 swig_obj[0] = args;
15448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15449 if (!SWIG_IsOK(res1)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15451 }
15452 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 result = (wxHtmlHelpData *)(arg1)->GetData();
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15460 return resultobj;
15461fail:
15462 return NULL;
15463}
15464
15465
15466SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15467 PyObject *resultobj = 0;
15468 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15469 wxString *arg2 = 0 ;
15470 void *argp1 = 0 ;
15471 int res1 = 0 ;
15472 bool temp2 = false ;
15473 PyObject * obj0 = 0 ;
15474 PyObject * obj1 = 0 ;
15475 char * kwnames[] = {
15476 (char *) "self",(char *) "format", NULL
15477 };
15478
15479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15481 if (!SWIG_IsOK(res1)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15483 }
15484 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15485 {
15486 arg2 = wxString_in_helper(obj1);
15487 if (arg2 == NULL) SWIG_fail;
15488 temp2 = true;
15489 }
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 (arg1)->SetTitleFormat((wxString const &)*arg2);
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 resultobj = SWIG_Py_Void();
15497 {
15498 if (temp2)
15499 delete arg2;
15500 }
15501 return resultobj;
15502fail:
15503 {
15504 if (temp2)
15505 delete arg2;
15506 }
15507 return NULL;
d14a1e28
RD
15508}
15509
15510
0085ce49
RD
15511SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15512 PyObject *resultobj = 0;
15513 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15514 void *argp1 = 0 ;
15515 int res1 = 0 ;
15516 PyObject *swig_obj[1] ;
15517
15518 if (!args) SWIG_fail;
15519 swig_obj[0] = args;
15520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15521 if (!SWIG_IsOK(res1)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15523 }
15524 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 (arg1)->AddGrabIfNeeded();
15528 wxPyEndAllowThreads(__tstate);
15529 if (PyErr_Occurred()) SWIG_fail;
15530 }
15531 resultobj = SWIG_Py_Void();
15532 return resultobj;
15533fail:
15534 return NULL;
d14a1e28
RD
15535}
15536
15537
0085ce49
RD
15538SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15539 PyObject *resultobj = 0;
15540 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15541 wxHtmlHelpController *result = 0 ;
15542 void *argp1 = 0 ;
15543 int res1 = 0 ;
15544 PyObject *swig_obj[1] ;
15545
15546 if (!args) SWIG_fail;
15547 swig_obj[0] = args;
15548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15549 if (!SWIG_IsOK(res1)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15551 }
15552 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15553 {
15554 PyThreadState* __tstate = wxPyBeginAllowThreads();
15555 result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController();
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15560 return resultobj;
15561fail:
15562 return NULL;
15563}
15564
15565
15566SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj = 0;
15568 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15569 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15570 void *argp1 = 0 ;
15571 int res1 = 0 ;
15572 int res2 = 0 ;
15573 PyObject * obj0 = 0 ;
15574 PyObject * obj1 = 0 ;
15575 char * kwnames[] = {
15576 (char *) "self",(char *) "controller", NULL
15577 };
15578
15579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15581 if (!SWIG_IsOK(res1)) {
15582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15583 }
15584 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15585 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15586 if (!SWIG_IsOK(res2)) {
15587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15588 }
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 (arg1)->SetController(arg2);
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 resultobj = SWIG_Py_Void();
15596 return resultobj;
15597fail:
15598 return NULL;
d14a1e28
RD
15599}
15600
15601
0085ce49
RD
15602SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15603 PyObject *resultobj = 0;
15604 wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
15605 wxHtmlHelpWindow *result = 0 ;
15606 void *argp1 = 0 ;
15607 int res1 = 0 ;
15608 PyObject *swig_obj[1] ;
15609
15610 if (!args) SWIG_fail;
15611 swig_obj[0] = args;
15612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 );
15613 if (!SWIG_IsOK(res1)) {
15614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15615 }
15616 arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1);
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow();
15620 wxPyEndAllowThreads(__tstate);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 {
15624 resultobj = wxPyMake_wxObject(result, 0);
15625 }
15626 return resultobj;
15627fail:
15628 return NULL;
15629}
15630
15631
15632SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15633 PyObject *obj;
15634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15635 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj));
15636 return SWIG_Py_Void();
15637}
15638
15639SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15640 return SWIG_Python_InitShadowInstance(args);
15641}
15642
15643SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj = 0;
15645 wxWindow *arg1 = (wxWindow *) 0 ;
15646 int arg2 ;
15647 wxString const &arg3_defvalue = wxPyEmptyString ;
15648 wxString *arg3 = (wxString *) &arg3_defvalue ;
15649 int arg4 = (int) wxHF_DEFAULT_STYLE ;
15650 wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
15651 wxHtmlHelpDialog *result = 0 ;
15652 void *argp1 = 0 ;
15653 int res1 = 0 ;
15654 int val2 ;
15655 int ecode2 = 0 ;
15656 bool temp3 = false ;
15657 int val4 ;
15658 int ecode4 = 0 ;
15659 void *argp5 = 0 ;
15660 int res5 = 0 ;
15661 PyObject * obj0 = 0 ;
15662 PyObject * obj1 = 0 ;
15663 PyObject * obj2 = 0 ;
15664 PyObject * obj3 = 0 ;
15665 PyObject * obj4 = 0 ;
15666 char * kwnames[] = {
15667 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15668 };
15669
15670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15672 if (!SWIG_IsOK(res1)) {
15673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15674 }
15675 arg1 = reinterpret_cast< wxWindow * >(argp1);
15676 ecode2 = SWIG_AsVal_int(obj1, &val2);
15677 if (!SWIG_IsOK(ecode2)) {
15678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15679 }
15680 arg2 = static_cast< int >(val2);
15681 if (obj2) {
d14a1e28 15682 {
0085ce49
RD
15683 arg3 = wxString_in_helper(obj2);
15684 if (arg3 == NULL) SWIG_fail;
15685 temp3 = true;
d14a1e28 15686 }
0085ce49
RD
15687 }
15688 if (obj3) {
15689 ecode4 = SWIG_AsVal_int(obj3, &val4);
15690 if (!SWIG_IsOK(ecode4)) {
15691 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15692 }
15693 arg4 = static_cast< int >(val4);
15694 }
15695 if (obj4) {
15696 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15697 if (!SWIG_IsOK(res5)) {
15698 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15699 }
0085ce49
RD
15700 arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5);
15701 }
15702 {
15703 if (!wxPyCheckForApp()) SWIG_fail;
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5);
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 );
15710 {
15711 if (temp3)
15712 delete arg3;
15713 }
15714 return resultobj;
15715fail:
15716 {
15717 if (temp3)
15718 delete arg3;
15719 }
15720 return NULL;
d14a1e28
RD
15721}
15722
15723
0085ce49
RD
15724SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj = 0;
15726 wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ;
15727 wxHtmlHelpDialog *result = 0 ;
15728 void *argp1 = 0 ;
15729 int res1 = 0 ;
15730 PyObject * obj0 = 0 ;
15731 char * kwnames[] = {
15732 (char *) "data", NULL
15733 };
15734
15735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail;
15736 if (obj0) {
15737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15738 if (!SWIG_IsOK(res1)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
d14a1e28 15740 }
0085ce49
RD
15741 arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1);
15742 }
15743 {
15744 if (!wxPyCheckForApp()) SWIG_fail;
15745 PyThreadState* __tstate = wxPyBeginAllowThreads();
15746 result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1);
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 );
15751 return resultobj;
15752fail:
15753 return NULL;
15754}
15755
15756
15757SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj = 0;
15759 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15760 wxWindow *arg2 = (wxWindow *) 0 ;
15761 int arg3 ;
15762 wxString const &arg4_defvalue = wxPyEmptyString ;
15763 wxString *arg4 = (wxString *) &arg4_defvalue ;
15764 int arg5 = (int) wxHF_DEFAULT_STYLE ;
15765 bool result;
15766 void *argp1 = 0 ;
15767 int res1 = 0 ;
15768 void *argp2 = 0 ;
15769 int res2 = 0 ;
15770 int val3 ;
15771 int ecode3 = 0 ;
15772 bool temp4 = false ;
15773 int val5 ;
15774 int ecode5 = 0 ;
15775 PyObject * obj0 = 0 ;
15776 PyObject * obj1 = 0 ;
15777 PyObject * obj2 = 0 ;
15778 PyObject * obj3 = 0 ;
15779 PyObject * obj4 = 0 ;
15780 char * kwnames[] = {
15781 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15782 };
15783
15784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15786 if (!SWIG_IsOK(res1)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15788 }
15789 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15790 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15791 if (!SWIG_IsOK(res2)) {
15792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15793 }
15794 arg2 = reinterpret_cast< wxWindow * >(argp2);
15795 ecode3 = SWIG_AsVal_int(obj2, &val3);
15796 if (!SWIG_IsOK(ecode3)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15798 }
15799 arg3 = static_cast< int >(val3);
15800 if (obj3) {
d14a1e28 15801 {
0085ce49
RD
15802 arg4 = wxString_in_helper(obj3);
15803 if (arg4 == NULL) SWIG_fail;
15804 temp4 = true;
d14a1e28 15805 }
0085ce49
RD
15806 }
15807 if (obj4) {
15808 ecode5 = SWIG_AsVal_int(obj4, &val5);
15809 if (!SWIG_IsOK(ecode5)) {
15810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15811 }
15812 arg5 = static_cast< int >(val5);
15813 }
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 {
15821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15822 }
15823 {
15824 if (temp4)
15825 delete arg4;
15826 }
15827 return resultobj;
15828fail:
15829 {
15830 if (temp4)
15831 delete arg4;
15832 }
15833 return NULL;
d14a1e28
RD
15834}
15835
15836
0085ce49
RD
15837SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15838 PyObject *resultobj = 0;
15839 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15840 wxHtmlHelpData *result = 0 ;
15841 void *argp1 = 0 ;
15842 int res1 = 0 ;
15843 PyObject *swig_obj[1] ;
15844
15845 if (!args) SWIG_fail;
15846 swig_obj[0] = args;
15847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15848 if (!SWIG_IsOK(res1)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15850 }
15851 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 result = (wxHtmlHelpData *)(arg1)->GetData();
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 );
15859 return resultobj;
15860fail:
15861 return NULL;
d14a1e28
RD
15862}
15863
15864
0085ce49
RD
15865SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15866 PyObject *resultobj = 0;
15867 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15868 wxHtmlHelpController *result = 0 ;
15869 void *argp1 = 0 ;
15870 int res1 = 0 ;
15871 PyObject *swig_obj[1] ;
15872
15873 if (!args) SWIG_fail;
15874 swig_obj[0] = args;
15875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15876 if (!SWIG_IsOK(res1)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15878 }
15879 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15880 {
15881 PyThreadState* __tstate = wxPyBeginAllowThreads();
15882 result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController();
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
15887 return resultobj;
15888fail:
15889 return NULL;
15890}
15891
15892
15893SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj = 0;
15895 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15896 wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ;
15897 void *argp1 = 0 ;
15898 int res1 = 0 ;
15899 int res2 = 0 ;
15900 PyObject * obj0 = 0 ;
15901 PyObject * obj1 = 0 ;
15902 char * kwnames[] = {
15903 (char *) "self",(char *) "controller", NULL
15904 };
15905
15906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail;
15907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15908 if (!SWIG_IsOK(res1)) {
15909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15910 }
15911 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15912 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
15913 if (!SWIG_IsOK(res2)) {
15914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15915 }
15916 {
15917 PyThreadState* __tstate = wxPyBeginAllowThreads();
15918 (arg1)->SetController(arg2);
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 resultobj = SWIG_Py_Void();
15923 return resultobj;
15924fail:
15925 return NULL;
db914595
RD
15926}
15927
15928
0085ce49
RD
15929SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15930 PyObject *resultobj = 0;
15931 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15932 wxHtmlHelpWindow *result = 0 ;
15933 void *argp1 = 0 ;
15934 int res1 = 0 ;
15935 PyObject *swig_obj[1] ;
15936
15937 if (!args) SWIG_fail;
15938 swig_obj[0] = args;
15939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15940 if (!SWIG_IsOK(res1)) {
15941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15942 }
15943 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow();
15947 wxPyEndAllowThreads(__tstate);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
15950 {
15951 resultobj = wxPyMake_wxObject(result, 0);
15952 }
15953 return resultobj;
15954fail:
15955 return NULL;
15956}
15957
15958
15959SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj = 0;
15961 wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ;
15962 wxString *arg2 = 0 ;
15963 void *argp1 = 0 ;
15964 int res1 = 0 ;
15965 bool temp2 = false ;
15966 PyObject * obj0 = 0 ;
15967 PyObject * obj1 = 0 ;
15968 char * kwnames[] = {
15969 (char *) "self",(char *) "format", NULL
15970 };
15971
15972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
15973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 );
15974 if (!SWIG_IsOK(res1)) {
15975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15976 }
15977 arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1);
15978 {
15979 arg2 = wxString_in_helper(obj1);
15980 if (arg2 == NULL) SWIG_fail;
15981 temp2 = true;
15982 }
15983 {
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 (arg1)->SetTitleFormat((wxString const &)*arg2);
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 resultobj = SWIG_Py_Void();
15990 {
15991 if (temp2)
15992 delete arg2;
15993 }
15994 return resultobj;
15995fail:
15996 {
15997 if (temp2)
15998 delete arg2;
15999 }
16000 return NULL;
db914595
RD
16001}
16002
16003
0085ce49
RD
16004SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16005 PyObject *obj;
16006 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16007 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj));
16008 return SWIG_Py_Void();
db914595
RD
16009}
16010
0085ce49
RD
16011SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16012 return SWIG_Python_InitShadowInstance(args);
16013}
db914595 16014
0085ce49
RD
16015SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16016 PyObject *resultobj = 0;
16017 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16018 wxString *arg2 = 0 ;
16019 int arg3 ;
16020 bool result;
16021 void *argp1 = 0 ;
16022 int res1 = 0 ;
16023 bool temp2 = false ;
16024 int val3 ;
16025 int ecode3 = 0 ;
16026
16027 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
16028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16029 if (!SWIG_IsOK(res1)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16031 }
16032 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16033 {
16034 arg2 = wxString_in_helper(swig_obj[1]);
16035 if (arg2 == NULL) SWIG_fail;
16036 temp2 = true;
16037 }
16038 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
16039 if (!SWIG_IsOK(ecode3)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
16041 }
16042 arg3 = static_cast< int >(val3);
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3);
16046 wxPyEndAllowThreads(__tstate);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
16049 {
16050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16051 }
16052 {
16053 if (temp2)
16054 delete arg2;
16055 }
16056 return resultobj;
16057fail:
16058 {
16059 if (temp2)
16060 delete arg2;
16061 }
16062 return NULL;
b0f7404b
RD
16063}
16064
16065
0085ce49
RD
16066SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16067 PyObject *resultobj = 0;
16068 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16069 wxString *arg2 = 0 ;
16070 bool result;
16071 void *argp1 = 0 ;
16072 int res1 = 0 ;
16073 bool temp2 = false ;
16074
16075 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16077 if (!SWIG_IsOK(res1)) {
16078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16079 }
16080 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16081 {
16082 arg2 = wxString_in_helper(swig_obj[1]);
16083 if (arg2 == NULL) SWIG_fail;
16084 temp2 = true;
16085 }
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 result = (bool)(arg1)->Initialize((wxString const &)*arg2);
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 {
16093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16094 }
16095 {
16096 if (temp2)
16097 delete arg2;
16098 }
16099 return resultobj;
16100fail:
16101 {
16102 if (temp2)
16103 delete arg2;
16104 }
16105 return NULL;
b0f7404b
RD
16106}
16107
16108
0085ce49
RD
16109SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) {
16110 int argc;
16111 PyObject *argv[4];
16112
16113 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail;
16114 --argc;
16115 if (argc == 2) {
16116 return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv);
16117 }
16118 if (argc == 3) {
16119 return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv);
16120 }
16121
16122fail:
16123 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'");
16124 return NULL;
16125}
16126
16127
16128SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj = 0;
16130 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16131 wxString *arg2 = 0 ;
16132 long arg3 = (long) 0 ;
16133 void *argp1 = 0 ;
16134 int res1 = 0 ;
16135 bool temp2 = false ;
16136 long val3 ;
16137 int ecode3 = 0 ;
16138 PyObject * obj0 = 0 ;
16139 PyObject * obj1 = 0 ;
16140 PyObject * obj2 = 0 ;
16141 char * kwnames[] = {
16142 (char *) "self",(char *) "viewer",(char *) "flags", NULL
16143 };
16144
16145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16147 if (!SWIG_IsOK(res1)) {
16148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16149 }
16150 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16151 {
16152 arg2 = wxString_in_helper(obj1);
16153 if (arg2 == NULL) SWIG_fail;
16154 temp2 = true;
16155 }
16156 if (obj2) {
16157 ecode3 = SWIG_AsVal_long(obj2, &val3);
16158 if (!SWIG_IsOK(ecode3)) {
16159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16160 }
16161 arg3 = static_cast< long >(val3);
16162 }
16163 {
16164 PyThreadState* __tstate = wxPyBeginAllowThreads();
16165 (arg1)->SetViewer((wxString const &)*arg2,arg3);
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 resultobj = SWIG_Py_Void();
16170 {
16171 if (temp2)
16172 delete arg2;
16173 }
16174 return resultobj;
16175fail:
16176 {
16177 if (temp2)
16178 delete arg2;
16179 }
16180 return NULL;
16181}
16182
16183
16184SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16185 PyObject *resultobj = 0;
16186 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16187 wxString const &arg2_defvalue = wxEmptyString ;
16188 wxString *arg2 = (wxString *) &arg2_defvalue ;
16189 bool result;
16190 void *argp1 = 0 ;
16191 int res1 = 0 ;
16192 bool temp2 = false ;
16193 PyObject * obj0 = 0 ;
16194 PyObject * obj1 = 0 ;
16195 char * kwnames[] = {
16196 (char *) "self",(char *) "file", NULL
16197 };
16198
16199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
16200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16201 if (!SWIG_IsOK(res1)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16203 }
16204 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16205 if (obj1) {
d14a1e28 16206 {
0085ce49
RD
16207 arg2 = wxString_in_helper(obj1);
16208 if (arg2 == NULL) SWIG_fail;
16209 temp2 = true;
d14a1e28 16210 }
0085ce49
RD
16211 }
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 {
16219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16220 }
16221 {
16222 if (temp2)
16223 delete arg2;
16224 }
16225 return resultobj;
16226fail:
16227 {
16228 if (temp2)
16229 delete arg2;
16230 }
16231 return NULL;
d14a1e28
RD
16232}
16233
16234
0085ce49
RD
16235SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16236 PyObject *resultobj = 0;
16237 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16238 bool result;
16239 void *argp1 = 0 ;
16240 int res1 = 0 ;
16241 PyObject *swig_obj[1] ;
16242
16243 if (!args) SWIG_fail;
16244 swig_obj[0] = args;
16245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16246 if (!SWIG_IsOK(res1)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16248 }
16249 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (bool)(arg1)->DisplayContents();
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 {
16257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16258 }
16259 return resultobj;
16260fail:
16261 return NULL;
d14a1e28
RD
16262}
16263
16264
0085ce49
RD
16265SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16266 PyObject *resultobj = 0;
16267 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16268 int arg2 ;
16269 bool result;
16270 void *argp1 = 0 ;
16271 int res1 = 0 ;
16272 int val2 ;
16273 int ecode2 = 0 ;
16274
16275 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16277 if (!SWIG_IsOK(res1)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16279 }
16280 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16281 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
16282 if (!SWIG_IsOK(ecode2)) {
16283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16284 }
16285 arg2 = static_cast< int >(val2);
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 result = (bool)(arg1)->DisplaySection(arg2);
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 {
16293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16294 }
16295 return resultobj;
16296fail:
16297 return NULL;
16298}
16299
16300
16301SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj = 0;
16303 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16304 int arg2 ;
16305 bool result;
16306 void *argp1 = 0 ;
16307 int res1 = 0 ;
16308 int val2 ;
16309 int ecode2 = 0 ;
16310 PyObject * obj0 = 0 ;
16311 PyObject * obj1 = 0 ;
16312 char * kwnames[] = {
16313 (char *) "self",(char *) "contextId", NULL
16314 };
16315
16316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail;
16317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16318 if (!SWIG_IsOK(res1)) {
16319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16320 }
16321 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16322 ecode2 = SWIG_AsVal_int(obj1, &val2);
16323 if (!SWIG_IsOK(ecode2)) {
16324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16325 }
16326 arg2 = static_cast< int >(val2);
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 result = (bool)(arg1)->DisplayContextPopup(arg2);
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 {
16334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16335 }
16336 return resultobj;
16337fail:
16338 return NULL;
16339}
16340
16341
16342SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj = 0;
16344 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16345 wxString *arg2 = 0 ;
16346 wxPoint *arg3 = 0 ;
16347 bool result;
16348 void *argp1 = 0 ;
16349 int res1 = 0 ;
16350 bool temp2 = false ;
16351 wxPoint temp3 ;
16352 PyObject * obj0 = 0 ;
16353 PyObject * obj1 = 0 ;
16354 PyObject * obj2 = 0 ;
16355 char * kwnames[] = {
16356 (char *) "self",(char *) "text",(char *) "pos", NULL
16357 };
16358
16359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16361 if (!SWIG_IsOK(res1)) {
16362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16363 }
16364 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16365 {
16366 arg2 = wxString_in_helper(obj1);
16367 if (arg2 == NULL) SWIG_fail;
16368 temp2 = true;
16369 }
16370 {
16371 arg3 = &temp3;
16372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16373 }
16374 {
16375 PyThreadState* __tstate = wxPyBeginAllowThreads();
16376 result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3);
16377 wxPyEndAllowThreads(__tstate);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 {
16381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16382 }
16383 {
16384 if (temp2)
16385 delete arg2;
16386 }
16387 return resultobj;
16388fail:
16389 {
16390 if (temp2)
16391 delete arg2;
16392 }
16393 return NULL;
d14a1e28
RD
16394}
16395
16396
0085ce49
RD
16397SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
16398 PyObject *resultobj = 0;
16399 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16400 wxString *arg2 = 0 ;
16401 bool result;
16402 void *argp1 = 0 ;
16403 int res1 = 0 ;
16404 bool temp2 = false ;
16405
16406 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
16407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16408 if (!SWIG_IsOK(res1)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16410 }
16411 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16412 {
16413 arg2 = wxString_in_helper(swig_obj[1]);
16414 if (arg2 == NULL) SWIG_fail;
16415 temp2 = true;
16416 }
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 result = (bool)(arg1)->DisplaySection((wxString const &)*arg2);
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 {
16424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16425 }
16426 {
16427 if (temp2)
16428 delete arg2;
16429 }
16430 return resultobj;
16431fail:
16432 {
16433 if (temp2)
16434 delete arg2;
16435 }
16436 return NULL;
d14a1e28
RD
16437}
16438
16439
0085ce49
RD
16440SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) {
16441 int argc;
16442 PyObject *argv[3];
16443
16444 if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail;
16445 --argc;
16446 if (argc == 2) {
16447 int _v = 0;
22bfe96c 16448 {
0085ce49
RD
16449 {
16450 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
16451 }
22bfe96c 16452 }
0085ce49
RD
16453 if (!_v) goto check_1;
16454 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv);
16455 }
16456check_1:
16457
16458 if (argc == 2) {
16459 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv);
16460 }
16461
16462fail:
16463 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16464 return NULL;
16465}
16466
16467
16468SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj = 0;
16470 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16471 long arg2 ;
16472 bool result;
16473 void *argp1 = 0 ;
16474 int res1 = 0 ;
16475 long val2 ;
16476 int ecode2 = 0 ;
16477 PyObject * obj0 = 0 ;
16478 PyObject * obj1 = 0 ;
16479 char * kwnames[] = {
16480 (char *) "self",(char *) "blockNo", NULL
16481 };
16482
16483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail;
16484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16485 if (!SWIG_IsOK(res1)) {
16486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16487 }
16488 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16489 ecode2 = SWIG_AsVal_long(obj1, &val2);
16490 if (!SWIG_IsOK(ecode2)) {
16491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16492 }
16493 arg2 = static_cast< long >(val2);
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 result = (bool)(arg1)->DisplayBlock(arg2);
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
16500 {
16501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16502 }
16503 return resultobj;
16504fail:
16505 return NULL;
16506}
16507
16508
16509SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj = 0;
16511 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16512 wxString *arg2 = 0 ;
16513 wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ;
16514 bool result;
16515 void *argp1 = 0 ;
16516 int res1 = 0 ;
16517 bool temp2 = false ;
16518 void *argp3 ;
16519 int res3 = 0 ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 PyObject * obj2 = 0 ;
16523 char * kwnames[] = {
16524 (char *) "self",(char *) "k",(char *) "mode", NULL
16525 };
16526
16527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16529 if (!SWIG_IsOK(res1)) {
16530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16531 }
16532 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16533 {
16534 arg2 = wxString_in_helper(obj1);
16535 if (arg2 == NULL) SWIG_fail;
16536 temp2 = true;
16537 }
16538 if (obj2) {
16539 {
16540 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0);
16541 if (!SWIG_IsOK(res3)) {
16542 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16543 }
16544 if (!argp3) {
16545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16546 } else {
16547 wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3);
16548 arg3 = *temp;
16549 if (SWIG_IsNewObj(res3)) delete temp;
16550 }
22bfe96c 16551 }
0085ce49
RD
16552 }
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3);
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 {
16560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16561 }
16562 {
16563 if (temp2)
16564 delete arg2;
16565 }
16566 return resultobj;
16567fail:
16568 {
16569 if (temp2)
16570 delete arg2;
16571 }
16572 return NULL;
16573}
16574
16575
16576SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj = 0;
16578 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16579 wxString *arg2 = 0 ;
16580 wxSize *arg3 = 0 ;
16581 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16582 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16583 bool arg5 = (bool) false ;
16584 void *argp1 = 0 ;
16585 int res1 = 0 ;
16586 bool temp2 = false ;
16587 wxSize temp3 ;
16588 wxPoint temp4 ;
16589 bool val5 ;
16590 int ecode5 = 0 ;
16591 PyObject * obj0 = 0 ;
16592 PyObject * obj1 = 0 ;
16593 PyObject * obj2 = 0 ;
16594 PyObject * obj3 = 0 ;
16595 PyObject * obj4 = 0 ;
16596 char * kwnames[] = {
16597 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16598 };
16599
16600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16602 if (!SWIG_IsOK(res1)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16604 }
16605 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16606 {
16607 arg2 = wxString_in_helper(obj1);
16608 if (arg2 == NULL) SWIG_fail;
16609 temp2 = true;
16610 }
16611 {
16612 arg3 = &temp3;
16613 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16614 }
16615 if (obj3) {
d14a1e28 16616 {
0085ce49
RD
16617 arg4 = &temp4;
16618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 16619 }
0085ce49
RD
16620 }
16621 if (obj4) {
16622 ecode5 = SWIG_AsVal_bool(obj4, &val5);
16623 if (!SWIG_IsOK(ecode5)) {
16624 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16625 }
16626 arg5 = static_cast< bool >(val5);
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5);
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 resultobj = SWIG_Py_Void();
16635 {
16636 if (temp2)
16637 delete arg2;
16638 }
16639 return resultobj;
16640fail:
16641 {
16642 if (temp2)
16643 delete arg2;
16644 }
16645 return NULL;
16646}
16647
16648
16649SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16650 PyObject *resultobj = 0;
16651 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16652 wxSize *arg2 = (wxSize *) NULL ;
16653 wxPoint *arg3 = (wxPoint *) NULL ;
16654 bool *arg4 = (bool *) NULL ;
16655 wxFrame *result = 0 ;
16656 void *argp1 = 0 ;
16657 int res1 = 0 ;
16658 void *argp2 = 0 ;
16659 int res2 = 0 ;
16660 void *argp3 = 0 ;
16661 int res3 = 0 ;
16662 void *argp4 = 0 ;
16663 int res4 = 0 ;
16664 PyObject * obj0 = 0 ;
16665 PyObject * obj1 = 0 ;
16666 PyObject * obj2 = 0 ;
16667 PyObject * obj3 = 0 ;
16668 char * kwnames[] = {
16669 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16670 };
16671
16672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16674 if (!SWIG_IsOK(res1)) {
16675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16676 }
16677 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16678 if (obj1) {
16679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
16680 if (!SWIG_IsOK(res2)) {
16681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
d14a1e28 16682 }
0085ce49
RD
16683 arg2 = reinterpret_cast< wxSize * >(argp2);
16684 }
16685 if (obj2) {
16686 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 );
16687 if (!SWIG_IsOK(res3)) {
16688 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
093d3ff1 16689 }
0085ce49
RD
16690 arg3 = reinterpret_cast< wxPoint * >(argp3);
16691 }
16692 if (obj3) {
16693 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 );
16694 if (!SWIG_IsOK(res4)) {
16695 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
d14a1e28 16696 }
0085ce49
RD
16697 arg4 = reinterpret_cast< bool * >(argp4);
16698 }
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4);
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 {
16706 resultobj = wxPyMake_wxObject(result, 0);
16707 }
16708 return resultobj;
16709fail:
16710 return NULL;
d14a1e28
RD
16711}
16712
16713
0085ce49
RD
16714SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16715 PyObject *resultobj = 0;
16716 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16717 bool result;
16718 void *argp1 = 0 ;
16719 int res1 = 0 ;
16720 PyObject *swig_obj[1] ;
16721
16722 if (!args) SWIG_fail;
16723 swig_obj[0] = args;
16724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16725 if (!SWIG_IsOK(res1)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16727 }
16728 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)(arg1)->Quit();
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 {
16736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16737 }
16738 return resultobj;
16739fail:
16740 return NULL;
d14a1e28
RD
16741}
16742
16743
0085ce49
RD
16744SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16745 PyObject *resultobj = 0;
16746 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16747 void *argp1 = 0 ;
16748 int res1 = 0 ;
16749 PyObject *swig_obj[1] ;
16750
16751 if (!args) SWIG_fail;
16752 swig_obj[0] = args;
16753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16754 if (!SWIG_IsOK(res1)) {
16755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16756 }
16757 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16758 {
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 (arg1)->OnQuit();
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 resultobj = SWIG_Py_Void();
16765 return resultobj;
16766fail:
16767 return NULL;
16768}
16769
16770
16771SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16772 PyObject *resultobj = 0;
16773 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16774 wxWindow *arg2 = (wxWindow *) 0 ;
16775 void *argp1 = 0 ;
16776 int res1 = 0 ;
16777 void *argp2 = 0 ;
16778 int res2 = 0 ;
16779 PyObject * obj0 = 0 ;
16780 PyObject * obj1 = 0 ;
16781 char * kwnames[] = {
16782 (char *) "self",(char *) "win", NULL
16783 };
16784
16785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16787 if (!SWIG_IsOK(res1)) {
16788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16789 }
16790 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16791 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16792 if (!SWIG_IsOK(res2)) {
16793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16794 }
16795 arg2 = reinterpret_cast< wxWindow * >(argp2);
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 (arg1)->SetParentWindow(arg2);
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = SWIG_Py_Void();
16803 return resultobj;
16804fail:
16805 return NULL;
d14a1e28
RD
16806}
16807
16808
0085ce49
RD
16809SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16810 PyObject *resultobj = 0;
16811 wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ;
16812 wxWindow *result = 0 ;
16813 void *argp1 = 0 ;
16814 int res1 = 0 ;
16815 PyObject *swig_obj[1] ;
16816
16817 if (!args) SWIG_fail;
16818 swig_obj[0] = args;
16819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 );
16820 if (!SWIG_IsOK(res1)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16822 }
16823 arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1);
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow();
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 {
16831 resultobj = wxPyMake_wxObject(result, 0);
16832 }
16833 return resultobj;
16834fail:
16835 return NULL;
16836}
16837
16838
16839SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16840 PyObject *obj;
16841 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16842 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj));
16843 return SWIG_Py_Void();
16844}
16845
16846SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj = 0;
16848 int arg1 = (int) wxHF_DEFAULT_STYLE ;
16849 wxWindow *arg2 = (wxWindow *) NULL ;
16850 wxHtmlHelpController *result = 0 ;
16851 int val1 ;
16852 int ecode1 = 0 ;
16853 void *argp2 = 0 ;
16854 int res2 = 0 ;
16855 PyObject * obj0 = 0 ;
16856 PyObject * obj1 = 0 ;
16857 char * kwnames[] = {
16858 (char *) "style",(char *) "parentWindow", NULL
16859 };
16860
16861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail;
16862 if (obj0) {
16863 ecode1 = SWIG_AsVal_int(obj0, &val1);
16864 if (!SWIG_IsOK(ecode1)) {
16865 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16866 }
16867 arg1 = static_cast< int >(val1);
16868 }
16869 if (obj1) {
16870 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16871 if (!SWIG_IsOK(res2)) {
16872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 16873 }
0085ce49
RD
16874 arg2 = reinterpret_cast< wxWindow * >(argp2);
16875 }
16876 {
16877 if (!wxPyCheckForApp()) SWIG_fail;
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2);
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 );
16884 return resultobj;
16885fail:
16886 return NULL;
d14a1e28
RD
16887}
16888
16889
0085ce49
RD
16890SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16891 PyObject *resultobj = 0;
16892 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16893 void *argp1 = 0 ;
16894 int res1 = 0 ;
16895 PyObject *swig_obj[1] ;
16896
16897 if (!args) SWIG_fail;
16898 swig_obj[0] = args;
16899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 );
16900 if (!SWIG_IsOK(res1)) {
16901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16902 }
16903 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 delete arg1;
30ee79f7 16907
0085ce49
RD
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 resultobj = SWIG_Py_Void();
16912 return resultobj;
16913fail:
16914 return NULL;
30ee79f7
RD
16915}
16916
16917
0085ce49
RD
16918SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16919 PyObject *resultobj = 0;
16920 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16921 wxHtmlHelpWindow *result = 0 ;
16922 void *argp1 = 0 ;
16923 int res1 = 0 ;
16924 PyObject *swig_obj[1] ;
16925
16926 if (!args) SWIG_fail;
16927 swig_obj[0] = args;
16928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16929 if (!SWIG_IsOK(res1)) {
16930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16931 }
16932 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow();
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 {
16940 resultobj = wxPyMake_wxObject(result, 0);
16941 }
16942 return resultobj;
16943fail:
16944 return NULL;
16945}
16946
16947
16948SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj = 0;
16950 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16951 wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ;
16952 void *argp1 = 0 ;
16953 int res1 = 0 ;
16954 void *argp2 = 0 ;
16955 int res2 = 0 ;
16956 PyObject * obj0 = 0 ;
16957 PyObject * obj1 = 0 ;
16958 char * kwnames[] = {
16959 (char *) "self",(char *) "helpWindow", NULL
16960 };
16961
16962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail;
16963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16964 if (!SWIG_IsOK(res1)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16966 }
16967 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
16968 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 );
16969 if (!SWIG_IsOK(res2)) {
16970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16971 }
16972 arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2);
16973 {
16974 PyThreadState* __tstate = wxPyBeginAllowThreads();
16975 (arg1)->SetHelpWindow(arg2);
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 resultobj = SWIG_Py_Void();
16980 return resultobj;
16981fail:
16982 return NULL;
d14a1e28
RD
16983}
16984
16985
0085ce49
RD
16986SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16987 PyObject *resultobj = 0;
16988 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
16989 wxHtmlHelpFrame *result = 0 ;
16990 void *argp1 = 0 ;
16991 int res1 = 0 ;
16992 PyObject *swig_obj[1] ;
16993
16994 if (!args) SWIG_fail;
16995 swig_obj[0] = args;
16996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
16997 if (!SWIG_IsOK(res1)) {
16998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16999 }
17000 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17001 {
17002 PyThreadState* __tstate = wxPyBeginAllowThreads();
17003 result = (wxHtmlHelpFrame *)(arg1)->GetFrame();
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 {
17008 resultobj = wxPyMake_wxObject(result, 0);
17009 }
17010 return resultobj;
17011fail:
17012 return NULL;
d14a1e28
RD
17013}
17014
17015
0085ce49
RD
17016SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17017 PyObject *resultobj = 0;
17018 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17019 wxHtmlHelpDialog *result = 0 ;
17020 void *argp1 = 0 ;
17021 int res1 = 0 ;
17022 PyObject *swig_obj[1] ;
17023
17024 if (!args) SWIG_fail;
17025 swig_obj[0] = args;
17026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17027 if (!SWIG_IsOK(res1)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17029 }
17030 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (wxHtmlHelpDialog *)(arg1)->GetDialog();
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 {
17038 resultobj = wxPyMake_wxObject(result, 0);
17039 }
17040 return resultobj;
17041fail:
17042 return NULL;
17043}
17044
17045
17046SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj = 0;
17048 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17049 wxString *arg2 = 0 ;
17050 void *argp1 = 0 ;
17051 int res1 = 0 ;
17052 bool temp2 = false ;
17053 PyObject * obj0 = 0 ;
17054 PyObject * obj1 = 0 ;
17055 char * kwnames[] = {
17056 (char *) "self",(char *) "format", NULL
17057 };
17058
17059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail;
17060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17061 if (!SWIG_IsOK(res1)) {
17062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17063 }
17064 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17065 {
17066 arg2 = wxString_in_helper(obj1);
17067 if (arg2 == NULL) SWIG_fail;
17068 temp2 = true;
17069 }
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 (arg1)->SetTitleFormat((wxString const &)*arg2);
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 resultobj = SWIG_Py_Void();
17077 {
17078 if (temp2)
17079 delete arg2;
17080 }
17081 return resultobj;
17082fail:
17083 {
17084 if (temp2)
17085 delete arg2;
17086 }
17087 return NULL;
d14a1e28
RD
17088}
17089
17090
0085ce49
RD
17091SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17092 PyObject *resultobj = 0;
17093 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17094 wxString *arg2 = 0 ;
17095 void *argp1 = 0 ;
17096 int res1 = 0 ;
17097 bool temp2 = false ;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 char * kwnames[] = {
17101 (char *) "self",(char *) "path", NULL
17102 };
17103
17104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
17105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17106 if (!SWIG_IsOK(res1)) {
17107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17108 }
17109 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17110 {
17111 arg2 = wxString_in_helper(obj1);
17112 if (arg2 == NULL) SWIG_fail;
17113 temp2 = true;
17114 }
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 (arg1)->SetTempDir((wxString const &)*arg2);
17118 wxPyEndAllowThreads(__tstate);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 resultobj = SWIG_Py_Void();
17122 {
17123 if (temp2)
17124 delete arg2;
17125 }
17126 return resultobj;
17127fail:
17128 {
17129 if (temp2)
17130 delete arg2;
17131 }
17132 return NULL;
17133}
17134
17135
17136SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17137 PyObject *resultobj = 0;
17138 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17139 wxString *arg2 = 0 ;
17140 int arg3 = (int) false ;
17141 bool result;
17142 void *argp1 = 0 ;
17143 int res1 = 0 ;
17144 bool temp2 = false ;
17145 int val3 ;
17146 int ecode3 = 0 ;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 PyObject * obj2 = 0 ;
17150 char * kwnames[] = {
17151 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
17152 };
17153
17154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17156 if (!SWIG_IsOK(res1)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17158 }
17159 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17160 {
17161 arg2 = wxString_in_helper(obj1);
17162 if (arg2 == NULL) SWIG_fail;
17163 temp2 = true;
17164 }
17165 if (obj2) {
17166 ecode3 = SWIG_AsVal_int(obj2, &val3);
17167 if (!SWIG_IsOK(ecode3)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17169 }
17170 arg3 = static_cast< int >(val3);
17171 }
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3);
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 {
17179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17180 }
17181 {
17182 if (temp2)
17183 delete arg2;
17184 }
17185 return resultobj;
17186fail:
17187 {
17188 if (temp2)
17189 delete arg2;
17190 }
17191 return NULL;
d14a1e28
RD
17192}
17193
17194
0085ce49
RD
17195SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj = 0;
17197 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17198 wxString *arg2 = 0 ;
17199 void *argp1 = 0 ;
17200 int res1 = 0 ;
17201 bool temp2 = false ;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 char * kwnames[] = {
17205 (char *) "self",(char *) "x", NULL
17206 };
17207
17208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail;
17209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17210 if (!SWIG_IsOK(res1)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17212 }
17213 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17214 {
17215 arg2 = wxString_in_helper(obj1);
17216 if (arg2 == NULL) SWIG_fail;
17217 temp2 = true;
17218 }
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 (arg1)->Display((wxString const &)*arg2);
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_Py_Void();
17226 {
17227 if (temp2)
17228 delete arg2;
17229 }
17230 return resultobj;
17231fail:
17232 {
17233 if (temp2)
17234 delete arg2;
17235 }
17236 return NULL;
17237}
17238
17239
17240SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj = 0;
17242 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17243 int arg2 ;
17244 void *argp1 = 0 ;
17245 int res1 = 0 ;
17246 int val2 ;
17247 int ecode2 = 0 ;
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 char * kwnames[] = {
17251 (char *) "self",(char *) "id", NULL
17252 };
17253
17254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail;
17255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17256 if (!SWIG_IsOK(res1)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17258 }
17259 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17260 ecode2 = SWIG_AsVal_int(obj1, &val2);
17261 if (!SWIG_IsOK(ecode2)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17263 }
17264 arg2 = static_cast< int >(val2);
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 (arg1)->Display(arg2);
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 resultobj = SWIG_Py_Void();
17272 return resultobj;
17273fail:
17274 return NULL;
d14a1e28
RD
17275}
17276
17277
0085ce49
RD
17278SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17279 PyObject *resultobj = 0;
17280 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17281 void *argp1 = 0 ;
17282 int res1 = 0 ;
17283 PyObject *swig_obj[1] ;
17284
17285 if (!args) SWIG_fail;
17286 swig_obj[0] = args;
17287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17288 if (!SWIG_IsOK(res1)) {
17289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17290 }
17291 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 (arg1)->DisplayContents();
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 resultobj = SWIG_Py_Void();
17299 return resultobj;
17300fail:
17301 return NULL;
d14a1e28
RD
17302}
17303
17304
0085ce49
RD
17305SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17306 PyObject *resultobj = 0;
17307 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17308 void *argp1 = 0 ;
17309 int res1 = 0 ;
17310 PyObject *swig_obj[1] ;
17311
17312 if (!args) SWIG_fail;
17313 swig_obj[0] = args;
17314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17315 if (!SWIG_IsOK(res1)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17317 }
17318 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 (arg1)->DisplayIndex();
17322 wxPyEndAllowThreads(__tstate);
17323 if (PyErr_Occurred()) SWIG_fail;
17324 }
17325 resultobj = SWIG_Py_Void();
17326 return resultobj;
17327fail:
17328 return NULL;
17329}
17330
17331
17332SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj = 0;
17334 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17335 wxString *arg2 = 0 ;
17336 bool result;
17337 void *argp1 = 0 ;
17338 int res1 = 0 ;
17339 bool temp2 = false ;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 char * kwnames[] = {
17343 (char *) "self",(char *) "keyword", NULL
17344 };
17345
17346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail;
17347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17348 if (!SWIG_IsOK(res1)) {
17349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17350 }
17351 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17352 {
17353 arg2 = wxString_in_helper(obj1);
17354 if (arg2 == NULL) SWIG_fail;
17355 temp2 = true;
17356 }
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2);
17360 wxPyEndAllowThreads(__tstate);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 {
17364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17365 }
17366 {
17367 if (temp2)
17368 delete arg2;
17369 }
17370 return resultobj;
17371fail:
17372 {
17373 if (temp2)
17374 delete arg2;
17375 }
17376 return NULL;
17377}
17378
17379
17380SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj = 0;
17382 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17383 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17384 wxString const &arg3_defvalue = wxPyEmptyString ;
17385 wxString *arg3 = (wxString *) &arg3_defvalue ;
17386 void *argp1 = 0 ;
17387 int res1 = 0 ;
17388 void *argp2 = 0 ;
17389 int res2 = 0 ;
17390 bool temp3 = false ;
17391 PyObject * obj0 = 0 ;
17392 PyObject * obj1 = 0 ;
17393 PyObject * obj2 = 0 ;
17394 char * kwnames[] = {
17395 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17396 };
17397
17398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17400 if (!SWIG_IsOK(res1)) {
17401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17402 }
17403 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17405 if (!SWIG_IsOK(res2)) {
17406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17407 }
17408 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17409 if (obj2) {
ae8162c8 17410 {
0085ce49
RD
17411 arg3 = wxString_in_helper(obj2);
17412 if (arg3 == NULL) SWIG_fail;
17413 temp3 = true;
ae8162c8 17414 }
0085ce49
RD
17415 }
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 (arg1)->UseConfig(arg2,(wxString const &)*arg3);
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = SWIG_Py_Void();
17423 {
17424 if (temp3)
17425 delete arg3;
17426 }
17427 return resultobj;
17428fail:
17429 {
17430 if (temp3)
17431 delete arg3;
17432 }
17433 return NULL;
17434}
17435
17436
17437SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj = 0;
17439 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17440 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17441 wxString arg3 = (wxString) wxPyEmptyString ;
17442 void *argp1 = 0 ;
17443 int res1 = 0 ;
17444 void *argp2 = 0 ;
17445 int res2 = 0 ;
17446 PyObject * obj0 = 0 ;
17447 PyObject * obj1 = 0 ;
17448 PyObject * obj2 = 0 ;
17449 char * kwnames[] = {
17450 (char *) "self",(char *) "cfg",(char *) "path", NULL
17451 };
17452
17453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17455 if (!SWIG_IsOK(res1)) {
17456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17457 }
17458 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17460 if (!SWIG_IsOK(res2)) {
17461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17462 }
17463 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17464 if (obj2) {
ae8162c8 17465 {
0085ce49
RD
17466 wxString* sptr = wxString_in_helper(obj2);
17467 if (sptr == NULL) SWIG_fail;
17468 arg3 = *sptr;
17469 delete sptr;
994141e6 17470 }
0085ce49
RD
17471 }
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 (arg1)->ReadCustomization(arg2,arg3);
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 resultobj = SWIG_Py_Void();
17479 return resultobj;
17480fail:
17481 return NULL;
17482}
17483
17484
17485SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj = 0;
17487 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17488 wxConfigBase *arg2 = (wxConfigBase *) 0 ;
17489 wxString arg3 = (wxString) wxPyEmptyString ;
17490 void *argp1 = 0 ;
17491 int res1 = 0 ;
17492 void *argp2 = 0 ;
17493 int res2 = 0 ;
17494 PyObject * obj0 = 0 ;
17495 PyObject * obj1 = 0 ;
17496 PyObject * obj2 = 0 ;
17497 char * kwnames[] = {
17498 (char *) "self",(char *) "cfg",(char *) "path", NULL
17499 };
17500
17501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17503 if (!SWIG_IsOK(res1)) {
17504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17505 }
17506 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17507 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 );
17508 if (!SWIG_IsOK(res2)) {
17509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17510 }
17511 arg2 = reinterpret_cast< wxConfigBase * >(argp2);
17512 if (obj2) {
d14a1e28 17513 {
0085ce49
RD
17514 wxString* sptr = wxString_in_helper(obj2);
17515 if (sptr == NULL) SWIG_fail;
17516 arg3 = *sptr;
17517 delete sptr;
d14a1e28 17518 }
0085ce49
RD
17519 }
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 (arg1)->WriteCustomization(arg2,arg3);
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 resultobj = SWIG_Py_Void();
17527 return resultobj;
17528fail:
17529 return NULL;
d14a1e28
RD
17530}
17531
17532
0085ce49
RD
17533SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17534 PyObject *resultobj = 0;
17535 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17536 void *argp1 = 0 ;
17537 int res1 = 0 ;
17538 PyObject *swig_obj[1] ;
17539
17540 if (!args) SWIG_fail;
17541 swig_obj[0] = args;
17542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17543 if (!SWIG_IsOK(res1)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17545 }
17546 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 (arg1)->MakeModalIfNeeded();
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 resultobj = SWIG_Py_Void();
17554 return resultobj;
17555fail:
17556 return NULL;
d14a1e28
RD
17557}
17558
17559
0085ce49
RD
17560SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17561 PyObject *resultobj = 0;
17562 wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
17563 wxWindow *result = 0 ;
17564 void *argp1 = 0 ;
17565 int res1 = 0 ;
17566 PyObject *swig_obj[1] ;
17567
17568 if (!args) SWIG_fail;
17569 swig_obj[0] = args;
17570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 );
17571 if (!SWIG_IsOK(res1)) {
17572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17573 }
17574 arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1);
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 result = (wxWindow *)(arg1)->FindTopLevelWindow();
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 {
17582 resultobj = wxPyMake_wxObject(result, 0);
17583 }
17584 return resultobj;
17585fail:
17586 return NULL;
17587}
17588
17589
17590SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17591 PyObject *obj;
17592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17593 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj));
17594 return SWIG_Py_Void();
17595}
17596
17597SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17598 return SWIG_Python_InitShadowInstance(args);
17599}
17600
17601SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj = 0;
17603 wxWindow *arg1 = (wxWindow *) 0 ;
17604 wxString *arg2 = 0 ;
17605 wxString const &arg3_defvalue = wxEmptyString ;
17606 wxString *arg3 = (wxString *) &arg3_defvalue ;
17607 int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ;
17608 wxHtmlModalHelp *result = 0 ;
17609 void *argp1 = 0 ;
17610 int res1 = 0 ;
17611 bool temp2 = false ;
17612 bool temp3 = false ;
17613 int val4 ;
17614 int ecode4 = 0 ;
17615 PyObject * obj0 = 0 ;
17616 PyObject * obj1 = 0 ;
17617 PyObject * obj2 = 0 ;
17618 PyObject * obj3 = 0 ;
17619 char * kwnames[] = {
17620 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17621 };
17622
17623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17625 if (!SWIG_IsOK(res1)) {
17626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17627 }
17628 arg1 = reinterpret_cast< wxWindow * >(argp1);
17629 {
17630 arg2 = wxString_in_helper(obj1);
17631 if (arg2 == NULL) SWIG_fail;
17632 temp2 = true;
17633 }
17634 if (obj2) {
d14a1e28 17635 {
0085ce49
RD
17636 arg3 = wxString_in_helper(obj2);
17637 if (arg3 == NULL) SWIG_fail;
17638 temp3 = true;
d14a1e28 17639 }
0085ce49
RD
17640 }
17641 if (obj3) {
17642 ecode4 = SWIG_AsVal_int(obj3, &val4);
17643 if (!SWIG_IsOK(ecode4)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17645 }
17646 arg4 = static_cast< int >(val4);
17647 }
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 );
17655 {
17656 if (temp2)
17657 delete arg2;
17658 }
17659 {
17660 if (temp3)
17661 delete arg3;
17662 }
17663 return resultobj;
17664fail:
17665 {
17666 if (temp2)
17667 delete arg2;
17668 }
17669 {
17670 if (temp3)
17671 delete arg3;
17672 }
17673 return NULL;
d14a1e28
RD
17674}
17675
17676
0085ce49
RD
17677SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17678 PyObject *obj;
17679 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17680 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj));
17681 return SWIG_Py_Void();
d14a1e28
RD
17682}
17683
0085ce49
RD
17684SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17685 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
17686}
17687
091f5bed
RD
17688static PyMethodDef SwigMethods[] = {
17689 { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17690 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL},
17691 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL},
17692 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL},
17693 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL},
091f5bed
RD
17694 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17695 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL},
17696 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17697 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL},
17698 { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL},
091f5bed
RD
17699 { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL},
17700 { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17701 { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL},
17702 { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL},
17703 { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL},
17704 { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL},
17705 { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL},
093d3ff1
RD
17706 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL},
17707 { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17708 { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL},
093d3ff1
RD
17709 { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL},
17710 { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17711 { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL},
093d3ff1 17712 { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17713 { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL},
093d3ff1 17714 { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17715 { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL},
093d3ff1 17716 { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17717 { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL},
e9d6f3a4 17718 { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
17719 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL},
17720 { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL},
17721 { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17722 { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL},
17723 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL},
17724 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL},
e9d6f3a4 17725 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL},
093d3ff1
RD
17726 { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17727 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17728 { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL},
17729 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL},
093d3ff1 17730 { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17731 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL},
17732 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL},
093d3ff1 17733 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17734 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL},
093d3ff1 17735 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17736 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL},
093d3ff1 17737 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17738 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL},
093d3ff1 17739 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17740 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL},
093d3ff1 17741 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17742 { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL},
093d3ff1 17743 { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17744 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL},
093d3ff1 17745 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17746 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL},
093d3ff1
RD
17747 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL},
17748 { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17749 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL},
17750 { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL},
093d3ff1 17751 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17752 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL},
17753 { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL},
093d3ff1
RD
17754 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17755 { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17756 { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL},
093d3ff1
RD
17757 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17758 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17759 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL},
17760 { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL},
093d3ff1
RD
17761 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17762 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17763 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL},
093d3ff1
RD
17764 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL},
17765 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL},
0085ce49 17766 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL},
093d3ff1 17767 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17768 { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL},
17769 { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL},
093d3ff1
RD
17770 { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL},
17771 { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17772 { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL},
17773 { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL},
17774 { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL},
17775 { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL},
17776 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL},
17777 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL},
093d3ff1
RD
17778 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
17779 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17780 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL},
17781 { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL},
093d3ff1 17782 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17783 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL},
17784 { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL},
17785 { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL},
093d3ff1 17786 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17787 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL},
093d3ff1 17788 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17789 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL},
093d3ff1 17790 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17791 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL},
093d3ff1 17792 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL},
0085ce49 17793 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17794 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
17795 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL},
17796 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
093d3ff1 17797 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17798 { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL},
17799 { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL},
093d3ff1 17800 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17801 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL},
093d3ff1 17802 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17803 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL},
17804 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL},
093d3ff1 17805 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17806 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL},
17807 { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL},
17808 { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL},
17809 { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL},
17810 { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL},
17811 { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL},
17812 { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL},
17813 { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL},
17814 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL},
17815 { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL},
093d3ff1
RD
17816 { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
17817 { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17818 { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL},
17819 { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL},
17820 { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL},
e9d6f3a4 17821 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17822 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL},
093d3ff1
RD
17823 { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
17824 { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL},
17825 { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
17826 { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
17827 { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
17828 { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
17829 { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL},
17830 { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17831 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17832 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17833 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL},
17834 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL},
093d3ff1 17835 { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4
RD
17836 { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL},
17837 { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL},
0085ce49
RD
17838 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL},
17839 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL},
17840 { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL},
093d3ff1
RD
17841 { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17842 { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
17843 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL},
0085ce49 17844 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL},
093d3ff1 17845 { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 17846 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17847 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL},
b1fcee84 17848 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17849 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL},
0085ce49 17850 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17851 { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL},
17852 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL},
17853 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17854 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL},
093d3ff1 17855 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17856 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL},
093d3ff1
RD
17857 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17858 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
17859 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL},
17860 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
17861 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL},
17862 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL},
17863 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
17864 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17865 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL},
093d3ff1 17866 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17867 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL},
093d3ff1 17868 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL},
0085ce49 17869 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17870 { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL},
17871 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL},
0085ce49 17872 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17873 { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL},
17874 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL},
0085ce49 17875 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17876 { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL},
17877 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17878 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL},
17879 { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL},
093d3ff1
RD
17880 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17881 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL},
0085ce49 17882 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL},
e9d6f3a4
RD
17883 { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL},
17884 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17885 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
17886 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL},
17887 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL},
17888 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
17889 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
17890 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
17891 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL},
093d3ff1 17892 { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17893 { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL},
093d3ff1
RD
17894 { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
17895 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
17896 { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL},
17897 { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL},
17898 { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17899 { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17900 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL},
17901 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL},
17902 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL},
093d3ff1 17903 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17904 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL},
093d3ff1
RD
17905 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
17906 { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17907 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17908 { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 17909 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
17910 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
17911 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17912 { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL},
17913 { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL},
17914 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL},
17915 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL},
17916 { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL},
17917 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL},
17918 { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL},
093d3ff1
RD
17919 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17920 { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17921 { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
17922 { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL},
17923 { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17924 { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL},
17925 { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL},
17926 { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL},
c26d9ab4
RD
17927 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
17928 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17929 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL},
17930 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17931 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17932 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
e9d6f3a4 17933 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 17934 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17935 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL},
17936 { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL},
17937 { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL},
093d3ff1
RD
17938 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
17939 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
17940 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17941 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17942 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17943 { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17944 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL},
093d3ff1 17945 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL},
0085ce49 17946 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
17947 { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
17948 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL},
17949 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL},
17950 { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17951 { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17952 { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17953 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17954 { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17955 { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17956 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL},
093d3ff1 17957 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL},
0085ce49 17958 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL},
093d3ff1 17959 { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17960 { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL},
093d3ff1
RD
17961 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL},
17962 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL},
17963 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL},
17964 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 17965 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL},
093d3ff1
RD
17966 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL},
17967 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL},
17968 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL},
17969 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17970 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL},
17971 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL},
093d3ff1 17972 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL},
0085ce49 17973 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL},
093d3ff1 17974 { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17975 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL},
17976 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL},
17977 { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL},
17978 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL},
093d3ff1 17979 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
17980 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL},
17981 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL},
093d3ff1
RD
17982 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
17983 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL},
17984 { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL},
17985 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL},
17986 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17987 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL},
17988 { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL},
17989 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL},
17990 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL},
17991 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL},
17992 { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL},
093d3ff1 17993 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL},
0085ce49
RD
17994 { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL},
17995 { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL},
093d3ff1
RD
17996 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
17997 { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
17998 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL},
17999 { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 18000 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL},
093d3ff1 18001 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL},
0085ce49 18002 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL},
091f5bed
RD
18003 { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18004 { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
18005 { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18006 { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL},
18007 { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL},
091f5bed
RD
18008 { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
18009 { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL},
18010 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18011 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL},
18012 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL},
091f5bed
RD
18013 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
18014 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
18015 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18016 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18017 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL},
18018 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL},
18019 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL},
18020 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL},
18021 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL},
18022 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL},
18023 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL},
091f5bed 18024 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL},
0085ce49 18025 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL},
8f514ab4
RD
18026 { (char *)"new_HtmlCellEvent", (PyCFunction) _wrap_new_HtmlCellEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18027 { (char *)"HtmlCellEvent_GetCell", (PyCFunction)_wrap_HtmlCellEvent_GetCell, METH_O, NULL},
18028 { (char *)"HtmlCellEvent_GetPoint", (PyCFunction)_wrap_HtmlCellEvent_GetPoint, METH_O, NULL},
18029 { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction)_wrap_HtmlCellEvent_GetMouseEvent, METH_O, NULL},
18030 { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction) _wrap_HtmlCellEvent_SetLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
18031 { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction)_wrap_HtmlCellEvent_GetLinkClicked, METH_O, NULL},
18032 { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister, METH_VARARGS, NULL},
18033 { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit, METH_VARARGS, NULL},
18034 { (char *)"new_HtmlLinkEvent", (PyCFunction) _wrap_new_HtmlLinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
18035 { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction)_wrap_HtmlLinkEvent_GetLinkInfo, METH_O, NULL},
18036 { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister, METH_VARARGS, NULL},
18037 { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 18038 { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
091f5bed
RD
18039 { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL},
18040 { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 18041 { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL},
093d3ff1 18042 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18043 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL},
18044 { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL},
091f5bed 18045 { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 18046 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL},
093d3ff1 18047 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL},
0085ce49 18048 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL},
091f5bed
RD
18049 { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
18050 { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL},
18051 { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18052 { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL},
18053 { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL},
091f5bed 18054 { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 18055 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL},
091f5bed
RD
18056 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
18057 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL},
0085ce49 18058 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL},
091f5bed
RD
18059 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL},
18060 { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL},
18061 { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 18062 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL},
091f5bed
RD
18063 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
18064 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL},
18065 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL},
18066 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL},
18067 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
18068 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
18069 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18070 { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL},
18071 { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL},
091f5bed 18072 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 18073 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL},
091f5bed 18074 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL},
093d3ff1 18075 { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18076 { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL},
18077 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL},
091f5bed 18078 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18079 { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL},
18080 { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL},
093d3ff1
RD
18081 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL},
18082 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
18083 { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL},
18084 { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL},
18085 { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18086 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL},
18087 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL},
093d3ff1
RD
18088 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL},
18089 { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL},
18090 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
18091 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
18092 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL},
18093 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL},
093d3ff1 18094 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL},
0085ce49 18095 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL},
091f5bed
RD
18096 { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL},
18097 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL},
0085ce49 18098 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL},
c32bde28 18099 { NULL, NULL, 0, NULL }
d14a1e28
RD
18100};
18101
18102
18103/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18104
18105static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) {
18106 return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x));
18107}
091f5bed
RD
18108static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
18109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
18110}
18111static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
18112 return (void *)((wxEvent *) ((wxMenuEvent *) x));
18113}
18114static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
18115 return (void *)((wxEvent *) ((wxCloseEvent *) x));
18116}
18117static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
18118 return (void *)((wxEvent *) ((wxMouseEvent *) x));
d14a1e28 18119}
091f5bed
RD
18120static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
18121 return (void *)((wxEvent *) ((wxEraseEvent *) x));
d14a1e28 18122}
091f5bed
RD
18123static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
18124 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 18125}
091f5bed
RD
18126static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
18127 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
823f0cfe 18128}
091f5bed
RD
18129static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
18130 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 18131}
091f5bed
RD
18132static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
18133 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
d14a1e28 18134}
091f5bed
RD
18135static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
18136 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 18137}
8f514ab4
RD
18138static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x) {
18139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlCellEvent *) x));
18140}
091f5bed
RD
18141static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
18142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
d14a1e28 18143}
34e0a3bb
RD
18144static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
18145 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
18146}
2131d850
RD
18147static void *_p_wxPyEventTo_p_wxEvent(void *x) {
18148 return (void *)((wxEvent *) ((wxPyEvent *) x));
18149}
091f5bed
RD
18150static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
18151 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
d14a1e28 18152}
091f5bed
RD
18153static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
18154 return (void *)((wxEvent *) ((wxIdleEvent *) x));
d14a1e28 18155}
091f5bed
RD
18156static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
18157 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
823f0cfe 18158}
091f5bed
RD
18159static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
18160 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
d14a1e28 18161}
091f5bed
RD
18162static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
18163 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
d14a1e28 18164}
091f5bed
RD
18165static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
18166 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
d14a1e28 18167}
091f5bed
RD
18168static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
18169 return (void *)((wxEvent *) ((wxActivateEvent *) x));
d14a1e28 18170}
091f5bed
RD
18171static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
18172 return (void *)((wxEvent *) ((wxSizeEvent *) x));
d14a1e28 18173}
091f5bed
RD
18174static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
18175 return (void *)((wxEvent *) ((wxMoveEvent *) x));
d14a1e28 18176}
091f5bed
RD
18177static void *_p_wxDateEventTo_p_wxEvent(void *x) {
18178 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
d14a1e28 18179}
091f5bed
RD
18180static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
18181 return (void *)((wxEvent *) ((wxPaintEvent *) x));
d14a1e28 18182}
091f5bed
RD
18183static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
18184 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
d14a1e28 18185}
34e0a3bb
RD
18186static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
18187 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
18188}
091f5bed
RD
18189static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
18190 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
d3b6e4ff 18191}
091f5bed
RD
18192static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
18193 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
d14a1e28 18194}
091f5bed
RD
18195static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
18196 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
d14a1e28 18197}
091f5bed
RD
18198static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
18199 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
d14a1e28 18200}
091f5bed
RD
18201static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
18202 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
18203}
8f514ab4
RD
18204static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x) {
18205 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlLinkEvent *) x));
18206}
091f5bed
RD
18207static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
18208 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
18209}
18210static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
18211 return (void *)((wxEvent *) ((wxFocusEvent *) x));
18212}
18213static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
18214 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
18215}
18216static void *_p_wxSashEventTo_p_wxEvent(void *x) {
18217 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
18218}
18219static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
18220 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
18221}
18222static void *_p_wxShowEventTo_p_wxEvent(void *x) {
18223 return (void *)((wxEvent *) ((wxShowEvent *) x));
18224}
091f5bed
RD
18225static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
18226 return (void *)((wxEvent *) ((wxCommandEvent *) x));
18227}
18228static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
18229 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
18230}
18231static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
18232 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
18233}
18234static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
18235 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
18236}
18237static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
18238 return (void *)((wxEvent *) ((wxKeyEvent *) x));
18239}
18240static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
18241 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
18242}
18243static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
18244 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
18245}
18246static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) {
18247 return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x));
18248}
18249static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) {
18250 return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x));
18251}
18252static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) {
18253 return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x));
18254}
18255static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) {
18256 return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x));
18257}
18258static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) {
18259 return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x));
18260}
091f5bed
RD
18261static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
18262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
18263}
18264static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
18265 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
18266}
4976f996
RD
18267static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
18268 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
18269}
091f5bed
RD
18270static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
18271 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18272}
18273static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
18274 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
18275}
18276static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
18277 return (void *)((wxEvtHandler *) ((wxValidator *) x));
18278}
18279static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
18280 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
18281}
18282static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
18283 return (void *)((wxEvtHandler *) ((wxMenu *) x));
18284}
091f5bed
RD
18285static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
18286 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
18287}
18288static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
18289 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
18290}
18291static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
18292 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
18293}
4976f996
RD
18294static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
18295 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
18296}
f9bf356b
RD
18297static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
18298 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18299}
27e45892
RD
18300static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
18301 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18302}
091f5bed
RD
18303static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
18304 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
18305}
18306static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
18307 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
18308}
18309static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
18310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
18311}
18312static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
18313 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
18314}
18315static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
18316 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
18317}
18318static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
18319 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
18320}
18321static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
18322 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
18323}
18324static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
18325 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
18326}
18327static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
18328 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
18329}
18330static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
18331 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
18332}
18333static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
18334 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
18335}
18336static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
18337 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
18338}
18339static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
18340 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
18341}
18342static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
18343 return (void *)((wxEvtHandler *) ((wxWindow *) x));
18344}
18345static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
18346 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
18347}
18348static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
18349 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
18350}
18351static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
18352 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
18353}
18354static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
18355 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
18356}
18357static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) {
18358 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
18359}
18360static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) {
18361 return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x));
18362}
18363static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
18364 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
18365}
18366static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
18367 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
18368}
18369static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
18370 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18371}
18372static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
18373 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
18374}
18375static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
18376 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
18377}
18378static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
18379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
18380}
18381static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
18382 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
18383}
18384static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
18385 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
18386}
f9bf356b
RD
18387static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
18388 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
18389}
091f5bed
RD
18390static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
18391 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
18392}
18393static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
18394 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
18395}
18396static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
18397 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
18398}
18399static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
18400 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
18401}
18402static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
18403 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
18404}
18405static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) {
18406 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
18407}
18408static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
18409 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
18410}
18411static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
18412 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
18413}
18414static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
18415 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
18416}
18417static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
18418 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
18419}
18420static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
18421 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
18422}
18423static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) {
18424 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18425}
18426static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
18427 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
18428}
18429static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) {
18430 return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
18431}
18432static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
18433 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
18434}
18435static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
18436 return (void *)((wxFrame *) ((wxProgressDialog *) x));
18437}
18438static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
18439 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
18440}
18441static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
18442 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
18443}
18444static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
18445 return (void *)((wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18446}
091f5bed
RD
18447static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) {
18448 return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 18449}
091f5bed
RD
18450static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
18451 return (void *)((wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18452}
091f5bed
RD
18453static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
18454 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18455}
091f5bed
RD
18456static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) {
18457 return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 18458}
091f5bed
RD
18459static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
18460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
d14a1e28 18461}
091f5bed
RD
18462static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
18463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 18464}
091f5bed
RD
18465static void *_p_wxEventTo_p_wxObject(void *x) {
18466 return (void *)((wxObject *) ((wxEvent *) x));
d14a1e28 18467}
091f5bed
RD
18468static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
18469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
d14a1e28 18470}
091f5bed
RD
18471static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
18472 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
d14a1e28 18473}
091f5bed
RD
18474static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
18475 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
d14a1e28 18476}
091f5bed
RD
18477static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) {
18478 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x));
d14a1e28 18479}
091f5bed
RD
18480static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
18481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 18482}
091f5bed
RD
18483static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
18484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d3b6e4ff 18485}
091f5bed
RD
18486static void *_p_wxHtmlTagTo_p_wxObject(void *x) {
18487 return (void *)((wxObject *) ((wxHtmlTag *) x));
823f0cfe 18488}
091f5bed
RD
18489static void *_p_wxMenuItemTo_p_wxObject(void *x) {
18490 return (void *)((wxObject *) ((wxMenuItem *) x));
d14a1e28 18491}
091f5bed
RD
18492static void *_p_wxImageTo_p_wxObject(void *x) {
18493 return (void *)((wxObject *) ((wxImage *) x));
d14a1e28 18494}
091f5bed
RD
18495static void *_p_wxPySizerTo_p_wxObject(void *x) {
18496 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
d14a1e28 18497}
091f5bed
RD
18498static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) {
18499 return (void *)((wxObject *) ((wxPyHtmlFilter *) x));
d14a1e28 18500}
091f5bed
RD
18501static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
18502 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28 18503}
091f5bed
RD
18504static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
18505 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
d14a1e28 18506}
091f5bed
RD
18507static void *_p_wxPyAppTo_p_wxObject(void *x) {
18508 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 18509}
091f5bed
RD
18510static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
18511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 18512}
091f5bed
RD
18513static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
18514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 18515}
091f5bed
RD
18516static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
18517 return (void *)((wxObject *) ((wxFindReplaceData *) x));
d14a1e28 18518}
091f5bed
RD
18519static void *_p_wxValidatorTo_p_wxObject(void *x) {
18520 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
d14a1e28 18521}
091f5bed
RD
18522static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
18523 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
d14a1e28 18524}
091f5bed
RD
18525static void *_p_wxEraseEventTo_p_wxObject(void *x) {
18526 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
d14a1e28 18527}
091f5bed
RD
18528static void *_p_wxMouseEventTo_p_wxObject(void *x) {
18529 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
d14a1e28 18530}
091f5bed
RD
18531static void *_p_wxCloseEventTo_p_wxObject(void *x) {
18532 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
d14a1e28 18533}
091f5bed
RD
18534static void *_p_wxScrollEventTo_p_wxObject(void *x) {
18535 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
d14a1e28 18536}
4976f996
RD
18537static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) {
18538 return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x));
18539}
580080c5
RD
18540static void *_p_wxHtmlCellEventTo_p_wxObject(void *x) {
18541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlCellEvent *) x));
18542}
091f5bed
RD
18543static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
18544 return (void *)((wxObject *) ((wxPrintDialogData *) x));
d3b6e4ff 18545}
091f5bed
RD
18546static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
18547 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
d14a1e28 18548}
091f5bed
RD
18549static void *_p_wxPrinterTo_p_wxObject(void *x) {
18550 return (void *)((wxObject *) ((wxPrinter *) x));
d14a1e28 18551}
091f5bed
RD
18552static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
18553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 18554}
091f5bed
RD
18555static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) {
18556 return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 18557}
091f5bed
RD
18558static void *_p_wxHtmlParserTo_p_wxObject(void *x) {
18559 return (void *)((wxObject *) ((wxHtmlParser *) x));
d3b6e4ff 18560}
091f5bed
RD
18561static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
18562 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
d14a1e28 18563}
4976f996
RD
18564static void *_p_wxGridSizerTo_p_wxObject(void *x) {
18565 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
18566}
091f5bed
RD
18567static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
18568 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
943e8dfd 18569}
091f5bed
RD
18570static void *_p_wxControlTo_p_wxObject(void *x) {
18571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
943e8dfd 18572}
091f5bed
RD
18573static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) {
18574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
943e8dfd 18575}
091f5bed
RD
18576static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) {
18577 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x));
943e8dfd 18578}
091f5bed
RD
18579static void *_p_wxColourDataTo_p_wxObject(void *x) {
18580 return (void *)((wxObject *) ((wxColourData *) x));
943e8dfd 18581}
091f5bed
RD
18582static void *_p_wxActivateEventTo_p_wxObject(void *x) {
18583 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
943e8dfd 18584}
091f5bed
RD
18585static void *_p_wxMoveEventTo_p_wxObject(void *x) {
18586 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
943e8dfd 18587}
091f5bed
RD
18588static void *_p_wxSizeEventTo_p_wxObject(void *x) {
18589 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
943e8dfd 18590}
091f5bed
RD
18591static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
18592 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
943e8dfd 18593}
091f5bed
RD
18594static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
18595 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
943e8dfd 18596}
091f5bed
RD
18597static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
18598 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
943e8dfd 18599}
091f5bed
RD
18600static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
18601 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
943e8dfd 18602}
091f5bed
RD
18603static void *_p_wxIdleEventTo_p_wxObject(void *x) {
18604 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
943e8dfd 18605}
091f5bed
RD
18606static void *_p_wxDateEventTo_p_wxObject(void *x) {
18607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
d14a1e28 18608}
091f5bed
RD
18609static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
18610 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
d14a1e28 18611}
34e0a3bb
RD
18612static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
18613 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
18614}
091f5bed
RD
18615static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) {
18616 return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x));
d14a1e28 18617}
091f5bed
RD
18618static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
18619 return (void *)((wxObject *) ((wxPyPrintout *) x));
d14a1e28 18620}
091f5bed
RD
18621static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
18622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 18623}
091f5bed
RD
18624static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
18625 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
d14a1e28 18626}
091f5bed
RD
18627static void *_p_wxKeyEventTo_p_wxObject(void *x) {
18628 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
d14a1e28 18629}
091f5bed
RD
18630static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
18631 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
d14a1e28 18632}
091f5bed
RD
18633static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
18634 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
d14a1e28 18635}
091f5bed
RD
18636static void *_p_wxSashEventTo_p_wxObject(void *x) {
18637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
d14a1e28 18638}
f9bf356b
RD
18639static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
18640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
18641}
091f5bed
RD
18642static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
18643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 18644}
091f5bed
RD
18645static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
18646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 18647}
091f5bed
RD
18648static void *_p_wxPrintDataTo_p_wxObject(void *x) {
18649 return (void *)((wxObject *) ((wxPrintData *) x));
d14a1e28 18650}
091f5bed
RD
18651static void *_p_wxFontDataTo_p_wxObject(void *x) {
18652 return (void *)((wxObject *) ((wxFontData *) x));
d14a1e28 18653}
091f5bed
RD
18654static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
18655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 18656}
091f5bed
RD
18657static void *_p_wxFrameTo_p_wxObject(void *x) {
18658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28
RD
18659}
18660static void *_p_wxPyPanelTo_p_wxObject(void *x) {
18661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
18662}
091f5bed
RD
18663static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
18664 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
d14a1e28 18665}
091f5bed
RD
18666static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
18667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 18668}
091f5bed
RD
18669static void *_p_wxFileSystemTo_p_wxObject(void *x) {
18670 return (void *)((wxObject *) ((wxFileSystem *) x));
d14a1e28 18671}
091f5bed
RD
18672static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
18673 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
d14a1e28 18674}
091f5bed
RD
18675static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
18676 return (void *)((wxObject *) ((wxPrintPreview *) x));
d14a1e28 18677}
091f5bed
RD
18678static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
18679 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
d14a1e28 18680}
091f5bed
RD
18681static void *_p_wxSizerTo_p_wxObject(void *x) {
18682 return (void *)((wxObject *) ((wxSizer *) x));
d14a1e28 18683}
091f5bed
RD
18684static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
18685 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
d14a1e28 18686}
091f5bed
RD
18687static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
18688 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
d14a1e28 18689}
091f5bed
RD
18690static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
18691 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
d14a1e28 18692}
091f5bed
RD
18693static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) {
18694 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x));
d14a1e28
RD
18695}
18696static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
18697 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
18698}
091f5bed
RD
18699static void *_p_wxPaintEventTo_p_wxObject(void *x) {
18700 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
d14a1e28 18701}
2131d850
RD
18702static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
18703 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
18704}
091f5bed
RD
18705static void *_p_wxFSFileTo_p_wxObject(void *x) {
18706 return (void *)((wxObject *) ((wxFSFile *) x));
d14a1e28 18707}
091f5bed
RD
18708static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
18709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
d14a1e28 18710}
091f5bed
RD
18711static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
18712 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
d14a1e28 18713}
091f5bed
RD
18714static void *_p_wxMenuTo_p_wxObject(void *x) {
18715 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
d14a1e28 18716}
091f5bed
RD
18717static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
18718 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
d14a1e28 18719}
34e0a3bb
RD
18720static void *_p_wxSizerItemTo_p_wxObject(void *x) {
18721 return (void *)((wxObject *) ((wxSizerItem *) x));
18722}
091f5bed
RD
18723static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
18724 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28 18725}
091f5bed
RD
18726static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
18727 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28 18728}
091f5bed
RD
18729static void *_p_wxFontDialogTo_p_wxObject(void *x) {
18730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 18731}
091f5bed
RD
18732static void *_p_wxDirDialogTo_p_wxObject(void *x) {
18733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 18734}
091f5bed
RD
18735static void *_p_wxColourDialogTo_p_wxObject(void *x) {
18736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 18737}
091f5bed
RD
18738static void *_p_wxDialogTo_p_wxObject(void *x) {
18739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 18740}
091f5bed
RD
18741static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
18742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
d14a1e28
RD
18743}
18744static void *_p_wxPyEventTo_p_wxObject(void *x) {
18745 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
18746}
27e45892
RD
18747static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) {
18748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
18749}
091f5bed
RD
18750static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) {
18751 return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x));
d14a1e28 18752}
091f5bed
RD
18753static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) {
18754 return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x));
d14a1e28 18755}
091f5bed
RD
18756static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
18757 return (void *)((wxObject *) ((wxEvtHandler *) x));
d14a1e28 18758}
580080c5
RD
18759static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
18760 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
18761}
091f5bed
RD
18762static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
18763 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
d14a1e28 18764}
091f5bed
RD
18765static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
18766 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
d14a1e28 18767}
091f5bed
RD
18768static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
18769 return (void *)((wxObject *) ((wxImageHandler *) x));
d14a1e28 18770}
091f5bed
RD
18771static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
18772 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
d14a1e28 18773}
091f5bed
RD
18774static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
18775 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
d3b6e4ff 18776}
091f5bed
RD
18777static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
18778 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
d14a1e28 18779}
091f5bed
RD
18780static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
18781 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
d14a1e28 18782}
091f5bed
RD
18783static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
18784 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
d14a1e28 18785}
091f5bed
RD
18786static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
18787 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
d14a1e28 18788}
091f5bed
RD
18789static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
18790 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
d14a1e28 18791}
091f5bed
RD
18792static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
18793 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
d14a1e28 18794}
091f5bed
RD
18795static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
18796 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
53aa7709 18797}
091f5bed
RD
18798static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
18799 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
d14a1e28 18800}
091f5bed
RD
18801static void *_p_wxShowEventTo_p_wxObject(void *x) {
18802 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
d14a1e28 18803}
091f5bed
RD
18804static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) {
18805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 18806}
091f5bed
RD
18807static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
18808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 18809}
091f5bed
RD
18810static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
18811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 18812}
091f5bed
RD
18813static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
18814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 18815}
091f5bed
RD
18816static void *_p_wxTipWindowTo_p_wxObject(void *x) {
18817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 18818}
091f5bed
RD
18819static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
18820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 18821}
091f5bed
RD
18822static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
18823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
d14a1e28 18824}
091f5bed
RD
18825static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
18826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 18827}
091f5bed
RD
18828static void *_p_wxSashWindowTo_p_wxObject(void *x) {
18829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
d14a1e28 18830}
091f5bed
RD
18831static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
18832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 18833}
091f5bed
RD
18834static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
18835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 18836}
091f5bed
RD
18837static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
18838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 18839}
091f5bed
RD
18840static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
18841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 18842}
091f5bed
RD
18843static void *_p_wxWindowTo_p_wxObject(void *x) {
18844 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
d14a1e28 18845}
f9bf356b
RD
18846static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) {
18847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x));
18848}
091f5bed
RD
18849static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) {
18850 return (void *)((wxObject *) ((wxHelpControllerBase *) x));
943e8dfd 18851}
091f5bed
RD
18852static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) {
18853 return (void *)((wxObject *) ((wxHtmlDCRenderer *) x));
d14a1e28 18854}
091f5bed
RD
18855static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
18856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
943e8dfd 18857}
091f5bed
RD
18858static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
18859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
d14a1e28 18860}
091f5bed
RD
18861static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
18862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 18863}
27e45892
RD
18864static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
18865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
18866}
091f5bed
RD
18867static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
18868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 18869}
091f5bed
RD
18870static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
18871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 18872}
091f5bed
RD
18873static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
18874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 18875}
091f5bed
RD
18876static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
18877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 18878}
091f5bed
RD
18879static void *_p_wxFileDialogTo_p_wxObject(void *x) {
18880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 18881}
091f5bed
RD
18882static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) {
18883 return (void *)((wxObject *) ((wxHtmlLinkInfo *) x));
51b83b37 18884}
091f5bed
RD
18885static void *_p_wxPyWindowTo_p_wxObject(void *x) {
18886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
d14a1e28 18887}
091f5bed
RD
18888static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
18889 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
d14a1e28 18890}
091f5bed
RD
18891static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
18892 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
d14a1e28 18893}
091f5bed
RD
18894static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
18895 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
d14a1e28 18896}
091f5bed
RD
18897static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
18898 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
d14a1e28 18899}
4976f996
RD
18900static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
18901 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
18902}
091f5bed
RD
18903static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) {
18904 return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x));
d14a1e28 18905}
8f514ab4
RD
18906static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x) {
18907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlLinkEvent *) x));
18908}
091f5bed
RD
18909static void *_p_wxPanelTo_p_wxObject(void *x) {
18910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
d14a1e28
RD
18911}
18912static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
18913 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
18914}
091f5bed
RD
18915static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
18916 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
d14a1e28 18917}
091f5bed
RD
18918static void *_p_wxHtmlCellTo_p_wxObject(void *x) {
18919 return (void *)((wxObject *) ((wxHtmlCell *) x));
d14a1e28 18920}
091f5bed
RD
18921static void *_p_wxMenuEventTo_p_wxObject(void *x) {
18922 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
d14a1e28 18923}
091f5bed
RD
18924static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
18925 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 18926}
091f5bed
RD
18927static void *_p_wxCommandEventTo_p_wxObject(void *x) {
18928 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
d14a1e28 18929}
091f5bed
RD
18930static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
18931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
d14a1e28 18932}
091f5bed
RD
18933static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) {
18934 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x));
d14a1e28 18935}
091f5bed
RD
18936static void *_p_wxStatusBarTo_p_wxObject(void *x) {
18937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
d14a1e28 18938}
091f5bed
RD
18939static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
18940 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
0df68c9f 18941}
091f5bed
RD
18942static void *_p_wxFocusEventTo_p_wxObject(void *x) {
18943 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
d14a1e28 18944}
091f5bed
RD
18945static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
18946 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
d14a1e28 18947}
091f5bed
RD
18948static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
18949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 18950}
091f5bed
RD
18951static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) {
18952 return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x));
d14a1e28 18953}
091f5bed
RD
18954static void *_p_wxMenuBarTo_p_wxObject(void *x) {
18955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
d14a1e28 18956}
8f514ab4
RD
18957static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
18958 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
18959}
18960static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
18961 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
18962}
18963static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
18964 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
18965}
18966static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
18967 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
18968}
18969static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
18970 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
18971}
18972static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
18973 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
18974}
18975static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) {
18976 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x));
18977}
18978static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
18979 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
18980}
18981static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
18982 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
18983}
18984static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
18985 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
18986}
18987static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
18988 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
18989}
18990static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
18991 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
18992}
18993static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
18994 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
18995}
18996static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
18997 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
18998}
18999static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
19000 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
19001}
19002static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
19003 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
19004}
19005static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
19006 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
19007}
19008static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
19009 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
19010}
19011static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
19012 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
19013}
19014static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) {
19015 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x));
19016}
19017static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
19018 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
19019}
19020static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
19021 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
19022}
091f5bed
RD
19023static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
19024 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
d14a1e28 19025}
091f5bed
RD
19026static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
19027 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
d14a1e28 19028}
091f5bed
RD
19029static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
19030 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
d14a1e28 19031}
091f5bed
RD
19032static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
19033 return (void *)((wxWindow *) ((wxMenuBar *) x));
d14a1e28 19034}
091f5bed
RD
19035static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
19036 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 19037}
091f5bed
RD
19038static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
19039 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
823f0cfe 19040}
091f5bed
RD
19041static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
19042 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
d14a1e28 19043}
27e45892
RD
19044static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
19045 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
19046}
091f5bed
RD
19047static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
19048 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 19049}
091f5bed
RD
19050static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
19051 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
d14a1e28 19052}
091f5bed
RD
19053static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
19054 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 19055}
091f5bed
RD
19056static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
19057 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 19058}
091f5bed
RD
19059static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
19060 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
d14a1e28 19061}
091f5bed
RD
19062static void *_p_wxPanelTo_p_wxWindow(void *x) {
19063 return (void *)((wxWindow *) ((wxPanel *) x));
d14a1e28 19064}
091f5bed
RD
19065static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
19066 return (void *)((wxWindow *) ((wxStatusBar *) x));
d14a1e28 19067}
091f5bed
RD
19068static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
19069 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 19070}
091f5bed
RD
19071static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
19072 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
d14a1e28 19073}
091f5bed
RD
19074static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
19075 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
d14a1e28 19076}
091f5bed
RD
19077static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
19078 return (void *)((wxWindow *) ((wxPopupWindow *) x));
d14a1e28 19079}
091f5bed
RD
19080static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
19081 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
d14a1e28 19082}
091f5bed
RD
19083static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
19084 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 19085}
091f5bed
RD
19086static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
19087 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
d14a1e28 19088}
091f5bed
RD
19089static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
19090 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
d14a1e28 19091}
091f5bed
RD
19092static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
19093 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
d14a1e28 19094}
091f5bed
RD
19095static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
19096 return (void *)((wxWindow *) ((wxSashWindow *) x));
d14a1e28 19097}
091f5bed
RD
19098static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
19099 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
d14a1e28 19100}
091f5bed
RD
19101static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
19102 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 19103}
091f5bed
RD
19104static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) {
19105 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 19106}
091f5bed
RD
19107static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) {
19108 return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x));
d14a1e28 19109}
091f5bed
RD
19110static void *_p_wxControlTo_p_wxWindow(void *x) {
19111 return (void *)((wxWindow *) ((wxControl *) x));
d14a1e28 19112}
091f5bed
RD
19113static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
19114 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
d14a1e28 19115}
091f5bed
RD
19116static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
19117 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
d14a1e28 19118}
091f5bed
RD
19119static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
19120 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
d14a1e28 19121}
091f5bed
RD
19122static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
19123 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
d14a1e28 19124}
091f5bed
RD
19125static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
19126 return (void *)((wxWindow *) ((wxPyWindow *) x));
d14a1e28 19127}
091f5bed
RD
19128static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
19129 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 19130}
f9bf356b
RD
19131static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
19132 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
19133}
091f5bed
RD
19134static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
19135 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 19136}
091f5bed
RD
19137static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
19138 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 19139}
091f5bed
RD
19140static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
19141 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 19142}
091f5bed
RD
19143static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
19144 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 19145}
091f5bed
RD
19146static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) {
19147 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x));
d14a1e28 19148}
091f5bed
RD
19149static void *_p_wxFrameTo_p_wxWindow(void *x) {
19150 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
d14a1e28 19151}
091f5bed
RD
19152static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
19153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
d14a1e28 19154}
091f5bed
RD
19155static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
19156 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
d14a1e28 19157}
091f5bed
RD
19158static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
19159 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
d14a1e28 19160}
091f5bed
RD
19161static void *_p_wxDialogTo_p_wxWindow(void *x) {
19162 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
d14a1e28 19163}
091f5bed
RD
19164static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) {
19165 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 19166}
091f5bed
RD
19167static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
19168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
d14a1e28 19169}
091f5bed
RD
19170static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
19171 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 19172}
091f5bed
RD
19173static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) {
19174 return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 19175}
091f5bed
RD
19176static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
19177 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 19178}
091f5bed
RD
19179static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
19180 return (void *)((wxDialog *) ((wxColourDialog *) x));
d14a1e28 19181}
091f5bed
RD
19182static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
19183 return (void *)((wxDialog *) ((wxDirDialog *) x));
d14a1e28 19184}
091f5bed
RD
19185static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
19186 return (void *)((wxDialog *) ((wxFontDialog *) x));
d14a1e28 19187}
091f5bed
RD
19188static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) {
19189 return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x));
d14a1e28 19190}
091f5bed
RD
19191static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
19192 return (void *)((wxDialog *) ((wxFileDialog *) x));
d14a1e28 19193}
091f5bed
RD
19194static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
19195 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
d14a1e28 19196}
091f5bed
RD
19197static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
19198 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
d14a1e28 19199}
091f5bed
RD
19200static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
19201 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
d3b6e4ff 19202}
091f5bed
RD
19203static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
19204 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
d14a1e28 19205}
27e45892
RD
19206static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
19207 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
19208}
091f5bed
RD
19209static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
19210 return (void *)((wxDialog *) ((wxMessageDialog *) x));
d14a1e28 19211}
091f5bed
RD
19212static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
19213 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
d14a1e28 19214}
091f5bed
RD
19215static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
19216 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
d14a1e28 19217}
091f5bed
RD
19218static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
19219 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
d14a1e28 19220}
091f5bed
RD
19221static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
19222 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
d14a1e28 19223}
091f5bed
RD
19224static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) {
19225 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x));
d14a1e28 19226}
091f5bed
RD
19227static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
19228 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
d14a1e28 19229}
091f5bed
RD
19230static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
19231 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
d14a1e28 19232}
f9bf356b
RD
19233static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
19234 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
19235}
091f5bed
RD
19236static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
19237 return (void *)((wxPanel *) ((wxPyPanel *) x));
d14a1e28 19238}
091f5bed
RD
19239static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
19240 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
d14a1e28 19241}
091f5bed
RD
19242static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
19243 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
d14a1e28 19244}
091f5bed
RD
19245static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
19246 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
d14a1e28 19247}
091f5bed
RD
19248static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) {
19249 return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x));
d14a1e28 19250}
091f5bed
RD
19251static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) {
19252 return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x));
53aa7709 19253}
2131d850
RD
19254static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
19255 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
53aa7709 19256}
2131d850
RD
19257static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
19258 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
53aa7709 19259}
8f514ab4
RD
19260static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x) {
19261 return (void *)((wxCommandEvent *) ((wxHtmlLinkEvent *) x));
19262}
2131d850
RD
19263static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
19264 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
53aa7709 19265}
2131d850
RD
19266static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
19267 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
53aa7709 19268}
8f514ab4
RD
19269static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x) {
19270 return (void *)((wxCommandEvent *) ((wxHtmlCellEvent *) x));
19271}
2131d850
RD
19272static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
19273 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
53aa7709 19274}
2131d850
RD
19275static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
19276 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
53aa7709 19277}
091f5bed
RD
19278static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
19279 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
53aa7709 19280}
2131d850
RD
19281static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
19282 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
19283}
19284static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
19285 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
19286}
19287static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
19288 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
53aa7709 19289}
091f5bed
RD
19290static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
19291 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
53aa7709 19292}
2131d850
RD
19293static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
19294 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
19295}
19296static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
19297 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
d14a1e28 19298}
0085ce49
RD
19299static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19300static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
19301static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
704eda0c 19302static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
0085ce49
RD
19303static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19304static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19305static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
704eda0c 19306static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
0085ce49
RD
19307static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19308static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19309static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19310static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19311static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19312static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
2131d850 19313static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49
RD
19314static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19315static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19316static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19317static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
0085ce49 19318static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
2131d850 19319static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
8f514ab4 19320static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
0085ce49
RD
19321static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19322static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19323static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19324static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19325static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19326static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19327static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19328static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19329static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19330static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19331static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19332static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19333static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19334static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19335static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
27e45892 19336static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
0085ce49
RD
19337static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19338static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19339static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19340static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19341static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19342static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19343static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19344static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19345static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19346static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 19347static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
0085ce49
RD
19348static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19349static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19350static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19351static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19352static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19353static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19354static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19355static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19356static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19357static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19358static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19359static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19360static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19361static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
2131d850 19362static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
8f514ab4 19363static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
0085ce49
RD
19364static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19365static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19366static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19367static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19368static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19369static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19370static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19371static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19372static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19373static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
4976f996 19374static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
0085ce49
RD
19375static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19376static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
19377static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19378static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19379static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19380static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19381static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19382static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19383static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19384static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19385static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19386static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19387static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19388static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
0085ce49 19389static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
f9bf356b 19390static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
0085ce49
RD
19391static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
19392static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19393static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
19394static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19395static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19396static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
f9bf356b 19397static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
0085ce49
RD
19398static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19399static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19400static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19401static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19402static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19403static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
19404static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19405static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19406static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19407static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19408static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19409static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19410static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19411static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19412static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
8f514ab4 19413static swig_type_info _swigt__p_wxHtmlCellEvent = {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
19414static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19415static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19416static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19417static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19418static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19419static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19420static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19421static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19422static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19423static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19424static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19425static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
8f514ab4 19426static swig_type_info _swigt__p_wxHtmlLinkEvent = {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
19427static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19428static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19429static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19430static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19431static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19432static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19433static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19434static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19435static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19436static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19437static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19438static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19439static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
e9d6f3a4 19440static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
0085ce49
RD
19441static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19442static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
19443static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19444static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19445static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19446static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
19447static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
19448static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19449static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19450static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19451static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
8f514ab4 19452static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
4976f996 19453static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
0085ce49
RD
19454static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19455static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
19456static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19457static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
19458static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19459static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19460static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
0085ce49 19461static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
34e0a3bb 19462static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
0085ce49
RD
19463static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19464static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19465static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
0085ce49 19466static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 19467static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0085ce49
RD
19468static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19469static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
580080c5 19470static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
0085ce49
RD
19471static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19472static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19473static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19474static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19475static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19476static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19477static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19478static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19479static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19480static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19481static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19482static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19483static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19484static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19485static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19486static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19487static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19488static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19489static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19490static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19491static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19492static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19493static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19494static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19495static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19496static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19497static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19498static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
0085ce49
RD
19499static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19500static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
19501
19502static swig_type_info *swig_type_initial[] = {
19503 &_swigt__p_bool,
19504 &_swigt__p_char,
19505 &_swigt__p_form_ops_t,
19506 &_swigt__p_int,
19507 &_swigt__p_unsigned_char,
19508 &_swigt__p_unsigned_int,
19509 &_swigt__p_unsigned_long,
19510 &_swigt__p_wxANIHandler,
19511 &_swigt__p_wxAcceleratorTable,
19512 &_swigt__p_wxActivateEvent,
704eda0c 19513 &_swigt__p_wxArrayInt,
32fe5131
RD
19514 &_swigt__p_wxBMPHandler,
19515 &_swigt__p_wxBitmap,
19516 &_swigt__p_wxBoxSizer,
19517 &_swigt__p_wxCURHandler,
19518 &_swigt__p_wxCalculateLayoutEvent,
19519 &_swigt__p_wxChildFocusEvent,
2131d850 19520 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
19521 &_swigt__p_wxCloseEvent,
19522 &_swigt__p_wxColour,
19523 &_swigt__p_wxColourData,
19524 &_swigt__p_wxColourDialog,
19525 &_swigt__p_wxCommandEvent,
19526 &_swigt__p_wxConfigBase,
19527 &_swigt__p_wxContextMenuEvent,
19528 &_swigt__p_wxControl,
19529 &_swigt__p_wxControlWithItems,
19530 &_swigt__p_wxCursor,
19531 &_swigt__p_wxDC,
19532 &_swigt__p_wxDateEvent,
19533 &_swigt__p_wxDefaultHtmlRenderingStyle,
19534 &_swigt__p_wxDialog,
19535 &_swigt__p_wxDirDialog,
19536 &_swigt__p_wxDisplayChangedEvent,
19537 &_swigt__p_wxDropFilesEvent,
19538 &_swigt__p_wxDuplexMode,
19539 &_swigt__p_wxEraseEvent,
19540 &_swigt__p_wxEvent,
4976f996 19541 &_swigt__p_wxEventBlocker,
32fe5131
RD
19542 &_swigt__p_wxEvtHandler,
19543 &_swigt__p_wxFSFile,
19544 &_swigt__p_wxFileDialog,
19545 &_swigt__p_wxFileSystem,
19546 &_swigt__p_wxFindDialogEvent,
19547 &_swigt__p_wxFindReplaceData,
19548 &_swigt__p_wxFindReplaceDialog,
19549 &_swigt__p_wxFlexGridSizer,
19550 &_swigt__p_wxFocusEvent,
19551 &_swigt__p_wxFont,
19552 &_swigt__p_wxFontData,
19553 &_swigt__p_wxFontDialog,
19554 &_swigt__p_wxFrame,
19555 &_swigt__p_wxGBSizerItem,
19556 &_swigt__p_wxGIFHandler,
19557 &_swigt__p_wxGridBagSizer,
19558 &_swigt__p_wxGridSizer,
19559 &_swigt__p_wxHelpControllerBase,
19560 &_swigt__p_wxHelpSearchMode,
19561 &_swigt__p_wxHtmlBookRecArray,
19562 &_swigt__p_wxHtmlBookRecord,
19563 &_swigt__p_wxHtmlCell,
8f514ab4 19564 &_swigt__p_wxHtmlCellEvent,
32fe5131
RD
19565 &_swigt__p_wxHtmlColourCell,
19566 &_swigt__p_wxHtmlContainerCell,
19567 &_swigt__p_wxHtmlDCRenderer,
19568 &_swigt__p_wxHtmlEasyPrinting,
19569 &_swigt__p_wxHtmlFilter,
19570 &_swigt__p_wxHtmlFontCell,
19571 &_swigt__p_wxHtmlHelpController,
19572 &_swigt__p_wxHtmlHelpData,
19573 &_swigt__p_wxHtmlHelpDialog,
19574 &_swigt__p_wxHtmlHelpFrame,
19575 &_swigt__p_wxHtmlHelpFrameCfg,
19576 &_swigt__p_wxHtmlHelpWindow,
8f514ab4 19577 &_swigt__p_wxHtmlLinkEvent,
32fe5131
RD
19578 &_swigt__p_wxHtmlLinkInfo,
19579 &_swigt__p_wxHtmlModalHelp,
19580 &_swigt__p_wxHtmlParser,
19581 &_swigt__p_wxHtmlPrintout,
19582 &_swigt__p_wxHtmlRenderingInfo,
19583 &_swigt__p_wxHtmlRenderingState,
19584 &_swigt__p_wxHtmlRenderingStyle,
19585 &_swigt__p_wxHtmlSearchStatus,
19586 &_swigt__p_wxHtmlSelection,
19587 &_swigt__p_wxHtmlTag,
19588 &_swigt__p_wxHtmlTagHandler,
19589 &_swigt__p_wxHtmlWidgetCell,
19590 &_swigt__p_wxHtmlWinParser,
e9d6f3a4 19591 &_swigt__p_wxHtmlWindowInterface,
32fe5131
RD
19592 &_swigt__p_wxHtmlWordCell,
19593 &_swigt__p_wxICOHandler,
19594 &_swigt__p_wxIconizeEvent,
19595 &_swigt__p_wxIdleEvent,
19596 &_swigt__p_wxImage,
19597 &_swigt__p_wxImageHandler,
19598 &_swigt__p_wxIndividualLayoutConstraint,
19599 &_swigt__p_wxInitDialogEvent,
19600 &_swigt__p_wxJPEGHandler,
19601 &_swigt__p_wxKeyEvent,
19602 &_swigt__p_wxLayoutAlgorithm,
19603 &_swigt__p_wxLayoutConstraints,
19604 &_swigt__p_wxMDIChildFrame,
19605 &_swigt__p_wxMDIClientWindow,
19606 &_swigt__p_wxMDIParentFrame,
19607 &_swigt__p_wxMaximizeEvent,
19608 &_swigt__p_wxMenu,
19609 &_swigt__p_wxMenuBar,
19610 &_swigt__p_wxMenuEvent,
19611 &_swigt__p_wxMenuItem,
19612 &_swigt__p_wxMessageDialog,
19613 &_swigt__p_wxMiniFrame,
19614 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 19615 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
19616 &_swigt__p_wxMouseEvent,
19617 &_swigt__p_wxMoveEvent,
19618 &_swigt__p_wxMultiChoiceDialog,
19619 &_swigt__p_wxNavigationKeyEvent,
19620 &_swigt__p_wxNcPaintEvent,
19621 &_swigt__p_wxNotifyEvent,
27e45892 19622 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
19623 &_swigt__p_wxObject,
19624 &_swigt__p_wxPCXHandler,
19625 &_swigt__p_wxPNGHandler,
19626 &_swigt__p_wxPNMHandler,
19627 &_swigt__p_wxPageSetupDialog,
19628 &_swigt__p_wxPageSetupDialogData,
19629 &_swigt__p_wxPaintEvent,
19630 &_swigt__p_wxPaletteChangedEvent,
19631 &_swigt__p_wxPanel,
19632 &_swigt__p_wxPaperSize,
19633 &_swigt__p_wxPasswordEntryDialog,
19634 &_swigt__p_wxPoint,
19635 &_swigt__p_wxPopupWindow,
19636 &_swigt__p_wxPreviewCanvas,
19637 &_swigt__p_wxPreviewControlBar,
19638 &_swigt__p_wxPreviewFrame,
19639 &_swigt__p_wxPrintData,
19640 &_swigt__p_wxPrintDialog,
19641 &_swigt__p_wxPrintDialogData,
19642 &_swigt__p_wxPrintPreview,
19643 &_swigt__p_wxPrinter,
19644 &_swigt__p_wxProgressDialog,
19645 &_swigt__p_wxPyApp,
19646 &_swigt__p_wxPyCommandEvent,
19647 &_swigt__p_wxPyEvent,
19648 &_swigt__p_wxPyHtmlFilter,
19649 &_swigt__p_wxPyHtmlListBox,
19650 &_swigt__p_wxPyHtmlTagHandler,
19651 &_swigt__p_wxPyHtmlWinTagHandler,
19652 &_swigt__p_wxPyHtmlWindow,
19653 &_swigt__p_wxPyImageHandler,
19654 &_swigt__p_wxPyPanel,
19655 &_swigt__p_wxPyPopupTransientWindow,
19656 &_swigt__p_wxPyPreviewControlBar,
19657 &_swigt__p_wxPyPreviewFrame,
19658 &_swigt__p_wxPyPrintPreview,
19659 &_swigt__p_wxPyPrintout,
19660 &_swigt__p_wxPyScrolledWindow,
19661 &_swigt__p_wxPySizer,
19662 &_swigt__p_wxPyTaskBarIcon,
19663 &_swigt__p_wxPyVListBox,
19664 &_swigt__p_wxPyVScrolledWindow,
19665 &_swigt__p_wxPyValidator,
19666 &_swigt__p_wxPyWindow,
19667 &_swigt__p_wxQueryLayoutInfoEvent,
19668 &_swigt__p_wxQueryNewPaletteEvent,
19669 &_swigt__p_wxSashEvent,
19670 &_swigt__p_wxSashLayoutWindow,
19671 &_swigt__p_wxSashWindow,
19672 &_swigt__p_wxScrollEvent,
19673 &_swigt__p_wxScrollWinEvent,
19674 &_swigt__p_wxScrolledWindow,
19675 &_swigt__p_wxSetCursorEvent,
19676 &_swigt__p_wxShowEvent,
f9bf356b 19677 &_swigt__p_wxSimpleHtmlListBox,
32fe5131
RD
19678 &_swigt__p_wxSingleChoiceDialog,
19679 &_swigt__p_wxSize,
19680 &_swigt__p_wxSizeEvent,
19681 &_swigt__p_wxSizer,
19682 &_swigt__p_wxSizerItem,
19683 &_swigt__p_wxSplashScreen,
19684 &_swigt__p_wxSplashScreenWindow,
19685 &_swigt__p_wxSplitterEvent,
19686 &_swigt__p_wxSplitterWindow,
19687 &_swigt__p_wxStaticBoxSizer,
19688 &_swigt__p_wxStatusBar,
19689 &_swigt__p_wxStdDialogButtonSizer,
19690 &_swigt__p_wxString,
19691 &_swigt__p_wxSysColourChangedEvent,
580080c5 19692 &_swigt__p_wxTGAHandler,
32fe5131
RD
19693 &_swigt__p_wxTIFFHandler,
19694 &_swigt__p_wxTaskBarIconEvent,
19695 &_swigt__p_wxTextEntryDialog,
19696 &_swigt__p_wxTipWindow,
19697 &_swigt__p_wxTopLevelWindow,
32fe5131
RD
19698 &_swigt__p_wxUpdateUIEvent,
19699 &_swigt__p_wxValidator,
19700 &_swigt__p_wxVisualAttributes,
19701 &_swigt__p_wxWindow,
19702 &_swigt__p_wxWindowCreateEvent,
19703 &_swigt__p_wxWindowDestroyEvent,
19704 &_swigt__p_wxXPMHandler,
32fe5131
RD
19705};
19706
19707static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
19708static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
19709static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
19710static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
19711static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
19712static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
19713static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 19714static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19715static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
19716static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
19717static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
19718static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
19719static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19720static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19721static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
19722static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
19723static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19724static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 19725static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19726static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
8f514ab4 19727static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19728static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19729static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
8f514ab4 19730static 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_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19731static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}};
19732static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
19733static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
19734static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}};
19735static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
19736static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
19737static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
19738static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
19739static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19740static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
19741static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
19742static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19743static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19744static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
19745static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19746static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19747static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
19748static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
19749static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
19750static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
19751static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
19752static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
19753static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 19754static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19755static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
19756static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
19757static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
19758static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19759static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19760static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
19761static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
19762static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
19763static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19764static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
19765static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19766static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19767static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
19768static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 19769static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
8f514ab4 19770static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19771static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
19772static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
19773static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19774static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
19775static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
19776static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
8f514ab4 19777static 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_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_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_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}};
32fe5131
RD
19778static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
19779static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
19780static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
4976f996 19781static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19782static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
19783static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
19784static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
19785static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
19786static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
19787static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
19788static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19789static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
19790static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
19791static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
19792static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
19793static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
19794static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
19795static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 19796static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 19797static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19798static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
19799static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
19800static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
19801static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
19802static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
19803static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 19804static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19805static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
19806static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
19807static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19808static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
19809static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
19810static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
19811static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
4976f996 19812static 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
32fe5131
RD
19813static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
19814static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
19815static 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}};
19816static 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}};
19817static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}};
19818static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}};
19819static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}};
19820static 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}};
8f514ab4 19821static swig_cast_info _swigc__p_wxHtmlCellEvent[] = { {&_swigt__p_wxHtmlCellEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19822static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}};
19823static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}};
19824static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}};
19825static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}};
19826static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19827static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}};
19828static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}};
19829static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}};
19830static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}};
19831static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}};
19832static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}};
19833static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}};
8f514ab4 19834static swig_cast_info _swigc__p_wxHtmlLinkEvent[] = { {&_swigt__p_wxHtmlLinkEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19835static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
19836static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}};
19837static 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}};
19838static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}};
19839static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}};
19840static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}};
19841static 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}};
19842static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}};
19843static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}};
19844static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}};
19845static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19846static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}};
19847static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}};
e9d6f3a4 19848static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19849static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}};
19850static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19851static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
19852static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
19853static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
19854static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
19855static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
19856static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
19857static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
19858static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
8f514ab4 19859static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
4976f996 19860static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19861static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
19862static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
19863static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
19864static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
19865static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19866static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
19867static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 19868static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 19869static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19870static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
19871static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
19872static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 19873static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 19874static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19875static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
19876static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
580080c5 19877static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
19878static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
19879static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
19880static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19881static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
19882static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
19883static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
19884static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
19885static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
19886static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
19887static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
19888static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
19889static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
19890static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
4976f996 19891static 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_wxHtmlCellEvent, _p_wxHtmlCellEventTo_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_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_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_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_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_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131 19892static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 19893static 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
32fe5131
RD
19894static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
19895static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
19896static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
19897static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}};
19898static 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}};
19899static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}};
19900static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}};
19901static 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}};
19902static 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}};
19903static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
19904static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
19905static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
27e45892 19906static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32fe5131 19907static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 19908static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
32fe5131
RD
19909
19910static swig_cast_info *swig_cast_initial[] = {
19911 _swigc__p_bool,
19912 _swigc__p_char,
19913 _swigc__p_form_ops_t,
19914 _swigc__p_int,
19915 _swigc__p_unsigned_char,
19916 _swigc__p_unsigned_int,
19917 _swigc__p_unsigned_long,
19918 _swigc__p_wxANIHandler,
19919 _swigc__p_wxAcceleratorTable,
19920 _swigc__p_wxActivateEvent,
704eda0c 19921 _swigc__p_wxArrayInt,
32fe5131
RD
19922 _swigc__p_wxBMPHandler,
19923 _swigc__p_wxBitmap,
19924 _swigc__p_wxBoxSizer,
19925 _swigc__p_wxCURHandler,
19926 _swigc__p_wxCalculateLayoutEvent,
19927 _swigc__p_wxChildFocusEvent,
2131d850 19928 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
19929 _swigc__p_wxCloseEvent,
19930 _swigc__p_wxColour,
19931 _swigc__p_wxColourData,
19932 _swigc__p_wxColourDialog,
19933 _swigc__p_wxCommandEvent,
19934 _swigc__p_wxConfigBase,
19935 _swigc__p_wxContextMenuEvent,
19936 _swigc__p_wxControl,
19937 _swigc__p_wxControlWithItems,
19938 _swigc__p_wxCursor,
19939 _swigc__p_wxDC,
19940 _swigc__p_wxDateEvent,
19941 _swigc__p_wxDefaultHtmlRenderingStyle,
19942 _swigc__p_wxDialog,
19943 _swigc__p_wxDirDialog,
19944 _swigc__p_wxDisplayChangedEvent,
19945 _swigc__p_wxDropFilesEvent,
19946 _swigc__p_wxDuplexMode,
19947 _swigc__p_wxEraseEvent,
19948 _swigc__p_wxEvent,
4976f996 19949 _swigc__p_wxEventBlocker,
32fe5131
RD
19950 _swigc__p_wxEvtHandler,
19951 _swigc__p_wxFSFile,
19952 _swigc__p_wxFileDialog,
19953 _swigc__p_wxFileSystem,
19954 _swigc__p_wxFindDialogEvent,
19955 _swigc__p_wxFindReplaceData,
19956 _swigc__p_wxFindReplaceDialog,
19957 _swigc__p_wxFlexGridSizer,
19958 _swigc__p_wxFocusEvent,
19959 _swigc__p_wxFont,
19960 _swigc__p_wxFontData,
19961 _swigc__p_wxFontDialog,
19962 _swigc__p_wxFrame,
19963 _swigc__p_wxGBSizerItem,
19964 _swigc__p_wxGIFHandler,
19965 _swigc__p_wxGridBagSizer,
19966 _swigc__p_wxGridSizer,
19967 _swigc__p_wxHelpControllerBase,
19968 _swigc__p_wxHelpSearchMode,
19969 _swigc__p_wxHtmlBookRecArray,
19970 _swigc__p_wxHtmlBookRecord,
19971 _swigc__p_wxHtmlCell,
8f514ab4 19972 _swigc__p_wxHtmlCellEvent,
32fe5131
RD
19973 _swigc__p_wxHtmlColourCell,
19974 _swigc__p_wxHtmlContainerCell,
19975 _swigc__p_wxHtmlDCRenderer,
19976 _swigc__p_wxHtmlEasyPrinting,
19977 _swigc__p_wxHtmlFilter,
19978 _swigc__p_wxHtmlFontCell,
19979 _swigc__p_wxHtmlHelpController,
19980 _swigc__p_wxHtmlHelpData,
19981 _swigc__p_wxHtmlHelpDialog,
19982 _swigc__p_wxHtmlHelpFrame,
19983 _swigc__p_wxHtmlHelpFrameCfg,
19984 _swigc__p_wxHtmlHelpWindow,
8f514ab4 19985 _swigc__p_wxHtmlLinkEvent,
32fe5131
RD
19986 _swigc__p_wxHtmlLinkInfo,
19987 _swigc__p_wxHtmlModalHelp,
19988 _swigc__p_wxHtmlParser,
19989 _swigc__p_wxHtmlPrintout,
19990 _swigc__p_wxHtmlRenderingInfo,
19991 _swigc__p_wxHtmlRenderingState,
19992 _swigc__p_wxHtmlRenderingStyle,
19993 _swigc__p_wxHtmlSearchStatus,
19994 _swigc__p_wxHtmlSelection,
19995 _swigc__p_wxHtmlTag,
19996 _swigc__p_wxHtmlTagHandler,
19997 _swigc__p_wxHtmlWidgetCell,
19998 _swigc__p_wxHtmlWinParser,
e9d6f3a4 19999 _swigc__p_wxHtmlWindowInterface,
32fe5131
RD
20000 _swigc__p_wxHtmlWordCell,
20001 _swigc__p_wxICOHandler,
20002 _swigc__p_wxIconizeEvent,
20003 _swigc__p_wxIdleEvent,
20004 _swigc__p_wxImage,
20005 _swigc__p_wxImageHandler,
20006 _swigc__p_wxIndividualLayoutConstraint,
20007 _swigc__p_wxInitDialogEvent,
20008 _swigc__p_wxJPEGHandler,
20009 _swigc__p_wxKeyEvent,
20010 _swigc__p_wxLayoutAlgorithm,
20011 _swigc__p_wxLayoutConstraints,
20012 _swigc__p_wxMDIChildFrame,
20013 _swigc__p_wxMDIClientWindow,
20014 _swigc__p_wxMDIParentFrame,
20015 _swigc__p_wxMaximizeEvent,
20016 _swigc__p_wxMenu,
20017 _swigc__p_wxMenuBar,
20018 _swigc__p_wxMenuEvent,
20019 _swigc__p_wxMenuItem,
20020 _swigc__p_wxMessageDialog,
20021 _swigc__p_wxMiniFrame,
20022 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 20023 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
20024 _swigc__p_wxMouseEvent,
20025 _swigc__p_wxMoveEvent,
20026 _swigc__p_wxMultiChoiceDialog,
20027 _swigc__p_wxNavigationKeyEvent,
20028 _swigc__p_wxNcPaintEvent,
20029 _swigc__p_wxNotifyEvent,
27e45892 20030 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
20031 _swigc__p_wxObject,
20032 _swigc__p_wxPCXHandler,
20033 _swigc__p_wxPNGHandler,
20034 _swigc__p_wxPNMHandler,
20035 _swigc__p_wxPageSetupDialog,
20036 _swigc__p_wxPageSetupDialogData,
20037 _swigc__p_wxPaintEvent,
20038 _swigc__p_wxPaletteChangedEvent,
20039 _swigc__p_wxPanel,
20040 _swigc__p_wxPaperSize,
20041 _swigc__p_wxPasswordEntryDialog,
20042 _swigc__p_wxPoint,
20043 _swigc__p_wxPopupWindow,
20044 _swigc__p_wxPreviewCanvas,
20045 _swigc__p_wxPreviewControlBar,
20046 _swigc__p_wxPreviewFrame,
20047 _swigc__p_wxPrintData,
20048 _swigc__p_wxPrintDialog,
20049 _swigc__p_wxPrintDialogData,
20050 _swigc__p_wxPrintPreview,
20051 _swigc__p_wxPrinter,
20052 _swigc__p_wxProgressDialog,
20053 _swigc__p_wxPyApp,
20054 _swigc__p_wxPyCommandEvent,
20055 _swigc__p_wxPyEvent,
20056 _swigc__p_wxPyHtmlFilter,
20057 _swigc__p_wxPyHtmlListBox,
20058 _swigc__p_wxPyHtmlTagHandler,
20059 _swigc__p_wxPyHtmlWinTagHandler,
20060 _swigc__p_wxPyHtmlWindow,
20061 _swigc__p_wxPyImageHandler,
20062 _swigc__p_wxPyPanel,
20063 _swigc__p_wxPyPopupTransientWindow,
20064 _swigc__p_wxPyPreviewControlBar,
20065 _swigc__p_wxPyPreviewFrame,
20066 _swigc__p_wxPyPrintPreview,
20067 _swigc__p_wxPyPrintout,
20068 _swigc__p_wxPyScrolledWindow,
20069 _swigc__p_wxPySizer,
20070 _swigc__p_wxPyTaskBarIcon,
20071 _swigc__p_wxPyVListBox,
20072 _swigc__p_wxPyVScrolledWindow,
20073 _swigc__p_wxPyValidator,
20074 _swigc__p_wxPyWindow,
20075 _swigc__p_wxQueryLayoutInfoEvent,
20076 _swigc__p_wxQueryNewPaletteEvent,
20077 _swigc__p_wxSashEvent,
20078 _swigc__p_wxSashLayoutWindow,
20079 _swigc__p_wxSashWindow,
20080 _swigc__p_wxScrollEvent,
20081 _swigc__p_wxScrollWinEvent,
20082 _swigc__p_wxScrolledWindow,
20083 _swigc__p_wxSetCursorEvent,
20084 _swigc__p_wxShowEvent,
f9bf356b 20085 _swigc__p_wxSimpleHtmlListBox,
32fe5131
RD
20086 _swigc__p_wxSingleChoiceDialog,
20087 _swigc__p_wxSize,
20088 _swigc__p_wxSizeEvent,
20089 _swigc__p_wxSizer,
20090 _swigc__p_wxSizerItem,
20091 _swigc__p_wxSplashScreen,
20092 _swigc__p_wxSplashScreenWindow,
20093 _swigc__p_wxSplitterEvent,
20094 _swigc__p_wxSplitterWindow,
20095 _swigc__p_wxStaticBoxSizer,
20096 _swigc__p_wxStatusBar,
20097 _swigc__p_wxStdDialogButtonSizer,
20098 _swigc__p_wxString,
20099 _swigc__p_wxSysColourChangedEvent,
580080c5 20100 _swigc__p_wxTGAHandler,
32fe5131
RD
20101 _swigc__p_wxTIFFHandler,
20102 _swigc__p_wxTaskBarIconEvent,
20103 _swigc__p_wxTextEntryDialog,
20104 _swigc__p_wxTipWindow,
20105 _swigc__p_wxTopLevelWindow,
32fe5131
RD
20106 _swigc__p_wxUpdateUIEvent,
20107 _swigc__p_wxValidator,
20108 _swigc__p_wxVisualAttributes,
20109 _swigc__p_wxWindow,
20110 _swigc__p_wxWindowCreateEvent,
20111 _swigc__p_wxWindowDestroyEvent,
20112 _swigc__p_wxXPMHandler,
d14a1e28
RD
20113};
20114
20115
20116/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20117
20118static swig_const_info swig_const_table[] = {
c32bde28 20119{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
20120
20121#ifdef __cplusplus
20122}
20123#endif
0085ce49 20124/* -----------------------------------------------------------------------------
32fe5131
RD
20125 * Type initialization:
20126 * This problem is tough by the requirement that no dynamic
20127 * memory is used. Also, since swig_type_info structures store pointers to
20128 * swig_cast_info structures and swig_cast_info structures store pointers back
20129 * to swig_type_info structures, we need some lookup code at initialization.
20130 * The idea is that swig generates all the structures that are needed.
20131 * The runtime then collects these partially filled structures.
20132 * The SWIG_InitializeModule function takes these initial arrays out of
20133 * swig_module, and does all the lookup, filling in the swig_module.types
20134 * array with the correct data and linking the correct swig_cast_info
20135 * structures together.
0085ce49 20136 *
32fe5131
RD
20137 * The generated swig_type_info structures are assigned staticly to an initial
20138 * array. We just loop though that array, and handle each type individually.
20139 * First we lookup if this type has been already loaded, and if so, use the
20140 * loaded structure instead of the generated one. Then we have to fill in the
20141 * cast linked list. The cast data is initially stored in something like a
20142 * two-dimensional array. Each row corresponds to a type (there are the same
20143 * number of rows as there are in the swig_type_initial array). Each entry in
20144 * a column is one of the swig_cast_info structures for that type.
20145 * The cast_initial array is actually an array of arrays, because each row has
20146 * a variable number of columns. So to actually build the cast linked list,
20147 * we find the array of casts associated with the type, and loop through it
20148 * adding the casts to the list. The one last trick we need to do is making
20149 * sure the type pointer in the swig_cast_info struct is correct.
0085ce49 20150 *
32fe5131
RD
20151 * First off, we lookup the cast->type name to see if it is already loaded.
20152 * There are three cases to handle:
20153 * 1) If the cast->type has already been loaded AND the type we are adding
20154 * casting info to has not been loaded (it is in this module), THEN we
20155 * replace the cast->type pointer with the type pointer that has already
20156 * been loaded.
20157 * 2) If BOTH types (the one we are adding casting info to, and the
20158 * cast->type) are loaded, THEN the cast info has already been loaded by
20159 * the previous module so we just ignore it.
20160 * 3) Finally, if cast->type has not already been loaded, then we add that
20161 * swig_cast_info to the linked list (because the cast->type) pointer will
20162 * be correct.
0085ce49 20163 * ----------------------------------------------------------------------------- */
32fe5131
RD
20164
20165#ifdef __cplusplus
20166extern "C" {
20167#if 0
20168} /* c-mode */
20169#endif
20170#endif
20171
20172#if 0
20173#define SWIGRUNTIME_DEBUG
20174#endif
20175
20176SWIGRUNTIME void
20177SWIG_InitializeModule(void *clientdata) {
0085ce49
RD
20178 size_t i;
20179 swig_module_info *module_head;
20180 static int init_run = 0;
20181
20182 clientdata = clientdata;
20183
20184 if (init_run) return;
20185 init_run = 1;
20186
20187 /* Initialize the swig_module */
20188 swig_module.type_initial = swig_type_initial;
20189 swig_module.cast_initial = swig_cast_initial;
20190
20191 /* Try and load any already created modules */
20192 module_head = SWIG_GetModule(clientdata);
20193 if (module_head) {
20194 swig_module.next = module_head->next;
20195 module_head->next = &swig_module;
20196 } else {
20197 /* This is the first module loaded */
20198 swig_module.next = &swig_module;
20199 SWIG_SetModule(clientdata, &swig_module);
20200 }
20201
20202 /* Now work on filling in swig_module.types */
32fe5131 20203#ifdef SWIGRUNTIME_DEBUG
0085ce49 20204 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32fe5131 20205#endif
0085ce49
RD
20206 for (i = 0; i < swig_module.size; ++i) {
20207 swig_type_info *type = 0;
20208 swig_type_info *ret;
20209 swig_cast_info *cast;
20210
32fe5131 20211#ifdef SWIGRUNTIME_DEBUG
0085ce49 20212 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32fe5131 20213#endif
0085ce49
RD
20214
20215 /* if there is another module already loaded */
20216 if (swig_module.next != &swig_module) {
20217 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
20218 }
20219 if (type) {
20220 /* Overwrite clientdata field */
32fe5131 20221#ifdef SWIGRUNTIME_DEBUG
0085ce49 20222 printf("SWIG_InitializeModule: found type %s\n", type->name);
32fe5131 20223#endif
0085ce49
RD
20224 if (swig_module.type_initial[i]->clientdata) {
20225 type->clientdata = swig_module.type_initial[i]->clientdata;
32fe5131 20226#ifdef SWIGRUNTIME_DEBUG
0085ce49 20227 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32fe5131 20228#endif
0085ce49
RD
20229 }
20230 } else {
20231 type = swig_module.type_initial[i];
20232 }
20233
20234 /* Insert casting types */
20235 cast = swig_module.cast_initial[i];
20236 while (cast->type) {
20237 /* Don't need to add information already in the list */
20238 ret = 0;
32fe5131 20239#ifdef SWIGRUNTIME_DEBUG
0085ce49 20240 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32fe5131 20241#endif
0085ce49
RD
20242 if (swig_module.next != &swig_module) {
20243 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32fe5131 20244#ifdef SWIGRUNTIME_DEBUG
0085ce49 20245 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32fe5131 20246#endif
0085ce49
RD
20247 }
20248 if (ret) {
20249 if (type == swig_module.type_initial[i]) {
32fe5131 20250#ifdef SWIGRUNTIME_DEBUG
0085ce49 20251 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32fe5131 20252#endif
0085ce49
RD
20253 cast->type = ret;
20254 ret = 0;
20255 } else {
20256 /* Check for casting already in the list */
20257 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32fe5131 20258#ifdef SWIGRUNTIME_DEBUG
0085ce49 20259 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32fe5131 20260#endif
0085ce49
RD
20261 if (!ocast) ret = 0;
20262 }
20263 }
20264
20265 if (!ret) {
32fe5131 20266#ifdef SWIGRUNTIME_DEBUG
0085ce49 20267 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
32fe5131 20268#endif
0085ce49
RD
20269 if (type->cast) {
20270 type->cast->prev = cast;
20271 cast->next = type->cast;
32fe5131 20272 }
0085ce49
RD
20273 type->cast = cast;
20274 }
20275 cast++;
32fe5131 20276 }
0085ce49
RD
20277 /* Set entry in modules->types array equal to the type */
20278 swig_module.types[i] = type;
20279 }
20280 swig_module.types[i] = 0;
20281
32fe5131 20282#ifdef SWIGRUNTIME_DEBUG
0085ce49
RD
20283 printf("**** SWIG_InitializeModule: Cast List ******\n");
20284 for (i = 0; i < swig_module.size; ++i) {
20285 int j = 0;
20286 swig_cast_info *cast = swig_module.cast_initial[i];
20287 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20288 while (cast->type) {
20289 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20290 cast++;
20291 ++j;
20292 }
20293 printf("---- Total casts: %d\n",j);
20294 }
20295 printf("**** SWIG_InitializeModule: Cast List ******\n");
32fe5131
RD
20296#endif
20297}
20298
20299/* This function will propagate the clientdata field of type to
20300* any new swig_type_info structures that have been added into the list
20301* of equivalent types. It is like calling
20302* SWIG_TypeClientData(type, clientdata) a second time.
20303*/
20304SWIGRUNTIME void
20305SWIG_PropagateClientData(void) {
0085ce49
RD
20306 size_t i;
20307 swig_cast_info *equiv;
20308 static int init_run = 0;
20309
20310 if (init_run) return;
20311 init_run = 1;
20312
20313 for (i = 0; i < swig_module.size; i++) {
20314 if (swig_module.types[i]->clientdata) {
20315 equiv = swig_module.types[i]->cast;
20316 while (equiv) {
20317 if (!equiv->converter) {
20318 if (equiv->type && !equiv->type->clientdata)
20319 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
32fe5131 20320 }
0085ce49
RD
20321 equiv = equiv->next;
20322 }
32fe5131 20323 }
0085ce49 20324 }
32fe5131
RD
20325}
20326
20327#ifdef __cplusplus
20328#if 0
20329{
0085ce49 20330 /* c-mode */
32fe5131
RD
20331#endif
20332}
20333#endif
20334
d14a1e28 20335
093d3ff1
RD
20336
20337#ifdef __cplusplus
20338extern "C" {
20339#endif
0085ce49
RD
20340
20341 /* Python-specific SWIG API */
093d3ff1
RD
20342#define SWIG_newvarlink() SWIG_Python_newvarlink()
20343#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20344#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
0085ce49
RD
20345
20346 /* -----------------------------------------------------------------------------
20347 * global variable support code.
20348 * ----------------------------------------------------------------------------- */
20349
20350 typedef struct swig_globalvar {
20351 char *name; /* Name of global variable */
20352 PyObject *(*get_attr)(void); /* Return the current value */
20353 int (*set_attr)(PyObject *); /* Set the value */
20354 struct swig_globalvar *next;
20355 } swig_globalvar;
20356
20357 typedef struct swig_varlinkobject {
20358 PyObject_HEAD
20359 swig_globalvar *vars;
20360 } swig_varlinkobject;
20361
20362 SWIGINTERN PyObject *
20363 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
20364 return PyString_FromString("<Swig global variables>");
20365 }
20366
20367 SWIGINTERN PyObject *
20368 swig_varlink_str(swig_varlinkobject *v) {
20369 PyObject *str = PyString_FromString("(");
20370 swig_globalvar *var;
20371 for (var = v->vars; var; var=var->next) {
20372 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
20373 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
20374 }
20375 PyString_ConcatAndDel(&str,PyString_FromString(")"));
20376 return str;
20377 }
20378
20379 SWIGINTERN int
20380 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
20381 PyObject *str = swig_varlink_str(v);
20382 fprintf(fp,"Swig global variables ");
20383 fprintf(fp,"%s\n", PyString_AsString(str));
20384 Py_DECREF(str);
20385 return 0;
20386 }
20387
20388 SWIGINTERN void
20389 swig_varlink_dealloc(swig_varlinkobject *v) {
20390 swig_globalvar *var = v->vars;
20391 while (var) {
20392 swig_globalvar *n = var->next;
20393 free(var->name);
20394 free(var);
20395 var = n;
093d3ff1 20396 }
0085ce49
RD
20397 }
20398
20399 SWIGINTERN PyObject *
20400 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
20401 PyObject *res = NULL;
20402 swig_globalvar *var = v->vars;
20403 while (var) {
20404 if (strcmp(var->name,n) == 0) {
20405 res = (*var->get_attr)();
20406 break;
20407 }
20408 var = var->next;
093d3ff1 20409 }
0085ce49
RD
20410 if (res == NULL && !PyErr_Occurred()) {
20411 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 20412 }
0085ce49
RD
20413 return res;
20414 }
20415
20416 SWIGINTERN int
20417 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
20418 int res = 1;
20419 swig_globalvar *var = v->vars;
20420 while (var) {
20421 if (strcmp(var->name,n) == 0) {
20422 res = (*var->set_attr)(p);
20423 break;
20424 }
20425 var = var->next;
093d3ff1 20426 }
0085ce49
RD
20427 if (res == 1 && !PyErr_Occurred()) {
20428 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
20429 }
20430 return res;
20431 }
20432
20433 SWIGINTERN PyTypeObject*
20434 swig_varlink_type(void) {
20435 static char varlink__doc__[] = "Swig var link object";
20436 static PyTypeObject varlink_type;
20437 static int type_init = 0;
20438 if (!type_init) {
20439 const PyTypeObject tmp
20440 = {
20441 PyObject_HEAD_INIT(NULL)
20442 0, /* Number of items in variable part (ob_size) */
20443 (char *)"swigvarlink", /* Type name (tp_name) */
20444 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
20445 0, /* Itemsize (tp_itemsize) */
20446 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
20447 (printfunc) swig_varlink_print, /* Print (tp_print) */
20448 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
20449 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
20450 0, /* tp_compare */
20451 (reprfunc) swig_varlink_repr, /* tp_repr */
20452 0, /* tp_as_number */
20453 0, /* tp_as_sequence */
20454 0, /* tp_as_mapping */
20455 0, /* tp_hash */
20456 0, /* tp_call */
20457 (reprfunc)swig_varlink_str, /* tp_str */
20458 0, /* tp_getattro */
20459 0, /* tp_setattro */
20460 0, /* tp_as_buffer */
20461 0, /* tp_flags */
20462 varlink__doc__, /* tp_doc */
20463 0, /* tp_traverse */
20464 0, /* tp_clear */
20465 0, /* tp_richcompare */
20466 0, /* tp_weaklistoffset */
093d3ff1 20467#if PY_VERSION_HEX >= 0x02020000
0085ce49 20468 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
20469#endif
20470#if PY_VERSION_HEX >= 0x02030000
0085ce49 20471 0, /* tp_del */
093d3ff1
RD
20472#endif
20473#ifdef COUNT_ALLOCS
0085ce49 20474 0,0,0,0 /* tp_alloc -> tp_next */
32fe5131 20475#endif
0085ce49
RD
20476 };
20477 varlink_type = tmp;
20478 varlink_type.ob_type = &PyType_Type;
20479 type_init = 1;
32fe5131 20480 }
0085ce49
RD
20481 return &varlink_type;
20482 }
20483
20484 /* Create a variable linking object for use later */
20485 SWIGINTERN PyObject *
20486 SWIG_Python_newvarlink(void) {
20487 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
20488 if (result) {
20489 result->vars = 0;
20490 }
20491 return ((PyObject*) result);
20492 }
20493
20494 SWIGINTERN void
20495 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
20496 swig_varlinkobject *v = (swig_varlinkobject *) p;
20497 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
20498 if (gv) {
20499 size_t size = strlen(name)+1;
20500 gv->name = (char *)malloc(size);
20501 if (gv->name) {
20502 strncpy(gv->name,name,size);
20503 gv->get_attr = get_attr;
20504 gv->set_attr = set_attr;
20505 gv->next = v->vars;
20506 }
093d3ff1 20507 }
0085ce49
RD
20508 v->vars = gv;
20509 }
20510
20511 SWIGINTERN PyObject *
20512 SWIG_globals() {
20513 static PyObject *_SWIG_globals = 0;
20514 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
20515 return _SWIG_globals;
20516 }
20517
20518 /* -----------------------------------------------------------------------------
20519 * constants/methods manipulation
20520 * ----------------------------------------------------------------------------- */
20521
20522 /* Install Constants */
20523 SWIGINTERN void
20524 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
20525 PyObject *obj = 0;
20526 size_t i;
20527 for (i = 0; constants[i].type; ++i) {
20528 switch(constants[i].type) {
20529 case SWIG_PY_POINTER:
20530 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
20531 break;
20532 case SWIG_PY_BINARY:
20533 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
20534 break;
20535 default:
20536 obj = 0;
20537 break;
20538 }
20539 if (obj) {
20540 PyDict_SetItemString(d, constants[i].name, obj);
20541 Py_DECREF(obj);
20542 }
093d3ff1 20543 }
0085ce49
RD
20544 }
20545
20546 /* -----------------------------------------------------------------------------*/
20547 /* Fix SwigMethods to carry the callback ptrs when needed */
20548 /* -----------------------------------------------------------------------------*/
20549
20550 SWIGINTERN void
20551 SWIG_Python_FixMethods(PyMethodDef *methods,
093d3ff1
RD
20552 swig_const_info *const_table,
20553 swig_type_info **types,
20554 swig_type_info **types_initial) {
0085ce49
RD
20555 size_t i;
20556 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 20557 const char *c = methods[i].ml_doc;
0085ce49
RD
20558 if (c && (c = strstr(c, "swig_ptr: "))) {
20559 int j;
20560 swig_const_info *ci = 0;
453fb36b 20561 const char *name = c + 10;
0085ce49
RD
20562 for (j = 0; const_table[j].type; ++j) {
20563 if (strncmp(const_table[j].name, name,
20564 strlen(const_table[j].name)) == 0) {
20565 ci = &(const_table[j]);
20566 break;
20567 }
20568 }
20569 if (ci) {
20570 size_t shift = (ci->ptype) - types;
20571 swig_type_info *ty = types_initial[shift];
20572 size_t ldoc = (c - methods[i].ml_doc);
20573 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
20574 char *ndoc = (char*)malloc(ldoc + lptr + 10);
20575 if (ndoc) {
20576 char *buff = ndoc;
20577 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
20578 if (ptr) {
20579 strncpy(buff, methods[i].ml_doc, ldoc);
20580 buff += ldoc;
20581 strncpy(buff, "swig_ptr: ", 10);
20582 buff += 10;
20583 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
20584 methods[i].ml_doc = ndoc;
093d3ff1 20585 }
0085ce49 20586 }
093d3ff1 20587 }
0085ce49 20588 }
093d3ff1 20589 }
0085ce49
RD
20590 }
20591
093d3ff1
RD
20592#ifdef __cplusplus
20593}
20594#endif
20595
20596/* -----------------------------------------------------------------------------*
20597 * Partial Init method
20598 * -----------------------------------------------------------------------------*/
20599
d14a1e28
RD
20600#ifdef __cplusplus
20601extern "C"
20602#endif
32fe5131 20603SWIGEXPORT void SWIG_init(void) {
0085ce49
RD
20604 PyObject *m, *d;
20605
20606 /* Fix SwigMethods to carry the callback ptrs when needed */
20607 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
20608
20609 m = Py_InitModule((char *) SWIG_name, SwigMethods);
20610 d = PyModule_GetDict(m);
20611
20612 SWIG_InitializeModule(0);
20613 SWIG_InstallConstants(d,swig_const_table);
20614
20615
20616 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
20617 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set);
20618 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set);
20619 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set);
20620 SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT)));
20621 SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER)));
20622 SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT)));
20623 SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM)));
20624 SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP)));
20625 SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND)));
20626 SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND)));
20627 SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS)));
20628 SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT)));
20629 SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT)));
20630 SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT)));
20631 SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP)));
20632 SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM)));
20633 SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL)));
20634 SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL)));
20635 SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL)));
20636 SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR)));
20637 SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP)));
20638 SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER)));
0085ce49
RD
20639 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER)));
20640 SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO)));
20641 SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION)));
20642 SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE)));
20643 SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN)));
20644 SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK)));
20645 SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT)));
20646 SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE)));
20647 SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE)));
20648 SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER)));
20649 SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT)));
20650 SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN)));
20651 SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING)));
20652 SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT)));
20653 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE)));
20654 SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER)));
e9d6f3a4
RD
20655 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default)));
20656 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link)));
20657 SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text)));
20658 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default)));
20659 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link)));
20660 SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text)));
0085ce49
RD
20661 SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD)));
20662 SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN)));
20663 SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL)));
20664 SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR)));
20665 SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS)));
20666 SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX)));
20667 SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH)));
20668 SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS)));
20669 SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES)));
20670 SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT)));
20671 SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR)));
20672 SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS)));
20673 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK)));
20674 SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER)));
20675 SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER)));
20676 SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE)));
20677 SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED)));
20678 SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG)));
20679 SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME)));
20680 SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL)));
20681 SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL)));
20682 SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK)));
20683 SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD)));
20684 SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE)));
20685 SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP)));
20686 SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN)));
20687 SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT)));
20688 SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE)));
20689 SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS)));
20690 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST)));
20691 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD)));
20692 SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE)));
20693 SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL)));
20694 SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE)));
20695 SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST)));
20696 SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT)));
20697 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON)));
20698 SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL)));
20699 SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK)));
20700 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE)));
20701 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT)));
20702 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST)));
20703 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON)));
20704 SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE)));
20705 SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO)));
8f514ab4
RD
20706 PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED));
20707 PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER));
20708 PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED));
0085ce49
RD
20709
20710 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20711 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20712 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20713 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");
20714
d14a1e28
RD
20715}
20716