1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxObject swig_types[0]
1342 #define SWIGTYPE_p_unsigned_char swig_types[1]
1343 #define SWIGTYPE_p_wxWindow swig_types[2]
1344 #define SWIGTYPE_p_wxMSHTMLEvent swig_types[3]
1345 #define SWIGTYPE_p_wxCommandEvent swig_types[4]
1346 #define SWIGTYPE_p_unsigned_long swig_types[5]
1347 #define SWIGTYPE_p_unsigned_int swig_types[6]
1348 #define SWIGTYPE_unsigned_int swig_types[7]
1349 #define SWIGTYPE_p_form_ops_t swig_types[8]
1350 #define SWIGTYPE_p_wxDuplexMode swig_types[9]
1351 #define SWIGTYPE_p_char swig_types[10]
1352 #define SWIGTYPE_p_wxIEHtmlWin swig_types[11]
1353 #define SWIGTYPE_p_wxInputStream swig_types[12]
1354 #define SWIGTYPE_p_wxEvtHandler swig_types[13]
1355 #define SWIGTYPE_p_wxString swig_types[14]
1356 #define SWIGTYPE_std__ptrdiff_t swig_types[15]
1357 #define SWIGTYPE_ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_p_wxNotifyEvent swig_types[17]
1359 #define SWIGTYPE_p_wxEvent swig_types[18]
1360 #define SWIGTYPE_p_wxPaperSize swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 static swig_type_info
*swig_types
[22];
1364 /* -------- TYPES TABLE (END) -------- */
1367 /*-----------------------------------------------
1368 @(target):= _iewin.so
1369 ------------------------------------------------*/
1370 #define SWIG_init init_iewin
1372 #define SWIG_name "_iewin"
1374 #include "wx/wxPython/wxPython.h"
1375 #include "wx/wxPython/pyclasses.h"
1376 #include "wx/wxPython/pyistream.h"
1378 #include "IEHtmlWin.h"
1380 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1386 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1389 if (value
< min_value
) {
1391 PyErr_Format(PyExc_OverflowError
,
1392 "value %ld is less than '%s' minimum %ld",
1393 value
, errmsg
, min_value
);
1396 } else if (value
> max_value
) {
1398 PyErr_Format(PyExc_OverflowError
,
1399 "value %ld is greater than '%s' maximum %ld",
1400 value
, errmsg
, max_value
);
1409 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1411 if (PyNumber_Check(obj
)) {
1412 if (val
) *val
= PyInt_AsLong(obj
);
1416 SWIG_type_error("number", obj
);
1422 #if INT_MAX != LONG_MAX
1424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1426 const char* errmsg
= val
? "int" : (char*)0;
1428 if (SWIG_AsVal_long(obj
, &v
)) {
1429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1430 if (val
) *val
= (int)(v
);
1439 SWIG_type_error(errmsg
, obj
);
1445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1447 return SWIG_AsVal_long(obj
,(long*)val
);
1453 SWIG_As_int(PyObject
* obj
)
1456 if (!SWIG_AsVal_int(obj
, &v
)) {
1458 this is needed to make valgrind/purify happier.
1460 memset((void*)&v
, 0, sizeof(int));
1467 SWIG_Check_int(PyObject
* obj
)
1469 return SWIG_AsVal_int(obj
, (int*)0);
1473 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1474 #define SWIG_From_long PyInt_FromLong
1478 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1479 #define SWIG_From_int PyInt_FromLong
1483 SWIGINTERNSHORT
long
1484 SWIG_As_long(PyObject
* obj
)
1487 if (!SWIG_AsVal_long(obj
, &v
)) {
1489 this is needed to make valgrind/purify happier.
1491 memset((void*)&v
, 0, sizeof(long));
1498 SWIG_Check_long(PyObject
* obj
)
1500 return SWIG_AsVal_long(obj
, (long*)0);
1505 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1507 if (obj
== Py_True
) {
1508 if (val
) *val
= true;
1511 if (obj
== Py_False
) {
1512 if (val
) *val
= false;
1516 if (SWIG_AsVal_int(obj
, &res
)) {
1517 if (val
) *val
= res
? true : false;
1523 SWIG_type_error("bool", obj
);
1529 SWIGINTERNSHORT
bool
1530 SWIG_As_bool(PyObject
* obj
)
1533 if (!SWIG_AsVal_bool(obj
, &v
)) {
1535 this is needed to make valgrind/purify happier.
1537 memset((void*)&v
, 0, sizeof(bool));
1544 SWIG_Check_bool(PyObject
* obj
)
1546 return SWIG_AsVal_bool(obj
, (bool*)0);
1552 static PyObject
*_wrap_new_MSHTMLEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
1555 int arg2
= (int) 0 ;
1556 wxMSHTMLEvent
*result
;
1557 PyObject
* obj0
= 0 ;
1558 PyObject
* obj1
= 0 ;
1560 (char *) "commandType",(char *) "id", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MSHTMLEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
1566 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
1567 if (SWIG_arg_fail(1)) SWIG_fail
;
1572 arg2
= (int)(SWIG_As_int(obj1
));
1573 if (SWIG_arg_fail(2)) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 result
= (wxMSHTMLEvent
*)new wxMSHTMLEvent(arg1
,arg2
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMSHTMLEvent
, 1);
1590 static PyObject
*_wrap_MSHTMLEvent_GetText1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxMSHTMLEvent
*arg1
= (wxMSHTMLEvent
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1596 (char *) "self", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MSHTMLEvent_GetText1",kwnames
,&obj0
)) goto fail
;
1600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMSHTMLEvent
, SWIG_POINTER_EXCEPTION
| 0);
1601 if (SWIG_arg_fail(1)) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 result
= (arg1
)->GetText1();
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1622 static PyObject
*_wrap_MSHTMLEvent_GetLong1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxMSHTMLEvent
*arg1
= (wxMSHTMLEvent
*) 0 ;
1626 PyObject
* obj0
= 0 ;
1628 (char *) "self", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MSHTMLEvent_GetLong1",kwnames
,&obj0
)) goto fail
;
1632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMSHTMLEvent
, SWIG_POINTER_EXCEPTION
| 0);
1633 if (SWIG_arg_fail(1)) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (long)(arg1
)->GetLong1();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 resultobj
= SWIG_From_long((long)(result
));
1650 static PyObject
*_wrap_MSHTMLEvent_GetLong2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxMSHTMLEvent
*arg1
= (wxMSHTMLEvent
*) 0 ;
1654 PyObject
* obj0
= 0 ;
1656 (char *) "self", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MSHTMLEvent_GetLong2",kwnames
,&obj0
)) goto fail
;
1660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMSHTMLEvent
, SWIG_POINTER_EXCEPTION
| 0);
1661 if (SWIG_arg_fail(1)) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= (long)(arg1
)->GetLong2();
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1670 resultobj
= SWIG_From_long((long)(result
));
1678 static PyObject
* MSHTMLEvent_swigregister(PyObject
*, PyObject
*args
) {
1680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1681 SWIG_TypeClientData(SWIGTYPE_p_wxMSHTMLEvent
, obj
);
1683 return Py_BuildValue((char *)"");
1685 static PyObject
*_wrap_new_IEHtmlWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxWindow
*arg1
= (wxWindow
*) 0 ;
1688 int arg2
= (int) -1 ;
1689 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1690 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1691 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1692 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1693 long arg5
= (long) 0 ;
1694 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1695 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1696 wxIEHtmlWin
*result
;
1699 bool temp6
= false ;
1700 PyObject
* obj0
= 0 ;
1701 PyObject
* obj1
= 0 ;
1702 PyObject
* obj2
= 0 ;
1703 PyObject
* obj3
= 0 ;
1704 PyObject
* obj4
= 0 ;
1705 PyObject
* obj5
= 0 ;
1707 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_IEHtmlWin",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
1712 if (SWIG_arg_fail(1)) SWIG_fail
;
1715 arg2
= (int)(SWIG_As_int(obj1
));
1716 if (SWIG_arg_fail(2)) SWIG_fail
;
1722 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1728 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1733 arg5
= (long)(SWIG_As_long(obj4
));
1734 if (SWIG_arg_fail(5)) SWIG_fail
;
1739 arg6
= wxString_in_helper(obj5
);
1740 if (arg6
== NULL
) SWIG_fail
;
1745 if (!wxPyCheckForApp()) SWIG_fail
;
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 result
= (wxIEHtmlWin
*)new wxIEHtmlWin(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIEHtmlWin
, 1);
1767 static PyObject
*_wrap_IEHtmlWin_LoadUrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
1770 wxString
*arg2
= 0 ;
1771 bool temp2
= false ;
1772 PyObject
* obj0
= 0 ;
1773 PyObject
* obj1
= 0 ;
1775 (char *) "self","arg2", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWin_LoadUrl",kwnames
,&obj0
,&obj1
)) goto fail
;
1779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
1780 if (SWIG_arg_fail(1)) SWIG_fail
;
1782 arg2
= wxString_in_helper(obj1
);
1783 if (arg2
== NULL
) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 (arg1
)->LoadUrl((wxString
const &)*arg2
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1793 Py_INCREF(Py_None
); resultobj
= Py_None
;
1808 static PyObject
*_wrap_IEHtmlWin_LoadString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
1813 PyObject
* obj0
= 0 ;
1814 PyObject
* obj1
= 0 ;
1816 (char *) "self",(char *) "html", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWin_LoadString",kwnames
,&obj0
,&obj1
)) goto fail
;
1820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
1821 if (SWIG_arg_fail(1)) SWIG_fail
;
1823 wxString
* sptr
= wxString_in_helper(obj1
);
1824 if (sptr
== NULL
) SWIG_fail
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 result
= (bool)(arg1
)->LoadString(arg2
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1844 static PyObject
*_wrap_IEHtmlWin_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1846 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
1847 wxInputStream
*arg2
= (wxInputStream
*) 0 ;
1849 wxPyInputStream
*temp2
;
1851 PyObject
* obj0
= 0 ;
1852 PyObject
* obj1
= 0 ;
1854 (char *) "self",(char *) "is", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWin_LoadStream",kwnames
,&obj0
,&obj1
)) goto fail
;
1858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
1859 if (SWIG_arg_fail(1)) SWIG_fail
;
1861 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
1862 arg2
= temp2
->m_wxis
;
1865 PyErr_Clear(); // clear the failure of the wxPyConvert above
1866 arg2
= wxPyCBInputStream_create(obj1
, false);
1868 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 result
= (bool)(arg1
)->LoadStream(arg2
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1898 static PyObject
*_wrap_IEHtmlWin_SetCharset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1903 PyObject
* obj1
= 0 ;
1905 (char *) "self",(char *) "charset", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWin_SetCharset",kwnames
,&obj0
,&obj1
)) goto fail
;
1909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
1910 if (SWIG_arg_fail(1)) SWIG_fail
;
1912 wxString
* sptr
= wxString_in_helper(obj1
);
1913 if (sptr
== NULL
) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 (arg1
)->SetCharset(arg2
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 Py_INCREF(Py_None
); resultobj
= Py_None
;
1931 static PyObject
*_wrap_IEHtmlWin_SetEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1938 (char *) "self",(char *) "seton", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWin_SetEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
1943 if (SWIG_arg_fail(1)) SWIG_fail
;
1945 arg2
= (bool)(SWIG_As_bool(obj1
));
1946 if (SWIG_arg_fail(2)) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 (arg1
)->SetEditMode(arg2
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 Py_INCREF(Py_None
); resultobj
= Py_None
;
1962 static PyObject
*_wrap_IEHtmlWin_GetEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1964 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
1966 PyObject
* obj0
= 0 ;
1968 (char *) "self", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IEHtmlWin_GetEditMode",kwnames
,&obj0
)) goto fail
;
1972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
1973 if (SWIG_arg_fail(1)) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 result
= (bool)(arg1
)->GetEditMode();
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1990 static PyObject
*_wrap_IEHtmlWin_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
1993 bool arg2
= (bool) false ;
1995 PyObject
* obj0
= 0 ;
1996 PyObject
* obj1
= 0 ;
1998 (char *) "self",(char *) "asHTML", NULL
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IEHtmlWin_GetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2003 if (SWIG_arg_fail(1)) SWIG_fail
;
2006 arg2
= (bool)(SWIG_As_bool(obj1
));
2007 if (SWIG_arg_fail(2)) SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 result
= (arg1
)->GetStringSelection(arg2
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2030 static PyObject
*_wrap_IEHtmlWin_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
2033 bool arg2
= (bool) false ;
2035 PyObject
* obj0
= 0 ;
2036 PyObject
* obj1
= 0 ;
2038 (char *) "self",(char *) "asHTML", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IEHtmlWin_GetText",kwnames
,&obj0
,&obj1
)) goto fail
;
2042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2043 if (SWIG_arg_fail(1)) SWIG_fail
;
2046 arg2
= (bool)(SWIG_As_bool(obj1
));
2047 if (SWIG_arg_fail(2)) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 result
= (arg1
)->GetText(arg2
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2070 static PyObject
*_wrap_IEHtmlWin_GoBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2076 (char *) "self", NULL
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IEHtmlWin_GoBack",kwnames
,&obj0
)) goto fail
;
2080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2081 if (SWIG_arg_fail(1)) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 result
= (bool)(arg1
)->GoBack();
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2098 static PyObject
*_wrap_IEHtmlWin_GoForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2104 (char *) "self", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IEHtmlWin_GoForward",kwnames
,&obj0
)) goto fail
;
2108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2109 if (SWIG_arg_fail(1)) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= (bool)(arg1
)->GoForward();
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2126 static PyObject
*_wrap_IEHtmlWin_GoHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
2130 PyObject
* obj0
= 0 ;
2132 (char *) "self", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IEHtmlWin_GoHome",kwnames
,&obj0
)) goto fail
;
2136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2137 if (SWIG_arg_fail(1)) SWIG_fail
;
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 result
= (bool)(arg1
)->GoHome();
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2154 static PyObject
*_wrap_IEHtmlWin_GoSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
*resultobj
;
2156 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
2158 PyObject
* obj0
= 0 ;
2160 (char *) "self", NULL
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IEHtmlWin_GoSearch",kwnames
,&obj0
)) goto fail
;
2164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2165 if (SWIG_arg_fail(1)) SWIG_fail
;
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 result
= (bool)(arg1
)->GoSearch();
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2182 static PyObject
*_wrap_IEHtmlWin_RefreshPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
*resultobj
;
2184 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
2185 wxIEHtmlRefreshLevel arg2
;
2187 PyObject
* obj0
= 0 ;
2188 PyObject
* obj1
= 0 ;
2190 (char *) "self",(char *) "level", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWin_RefreshPage",kwnames
,&obj0
,&obj1
)) goto fail
;
2194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2195 if (SWIG_arg_fail(1)) SWIG_fail
;
2197 arg2
= (wxIEHtmlRefreshLevel
)(SWIG_As_int(obj1
));
2198 if (SWIG_arg_fail(2)) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 result
= (bool)(arg1
)->Refresh((wxIEHtmlRefreshLevel
)arg2
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2216 static PyObject
*_wrap_IEHtmlWin_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxIEHtmlWin
*arg1
= (wxIEHtmlWin
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2222 (char *) "self", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IEHtmlWin_Stop",kwnames
,&obj0
)) goto fail
;
2226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIEHtmlWin
, SWIG_POINTER_EXCEPTION
| 0);
2227 if (SWIG_arg_fail(1)) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 result
= (bool)(arg1
)->Stop();
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2244 static PyObject
* IEHtmlWin_swigregister(PyObject
*, PyObject
*args
) {
2246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2247 SWIG_TypeClientData(SWIGTYPE_p_wxIEHtmlWin
, obj
);
2249 return Py_BuildValue((char *)"");
2251 static PyMethodDef SwigMethods
[] = {
2252 { (char *)"new_MSHTMLEvent", (PyCFunction
) _wrap_new_MSHTMLEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2253 { (char *)"MSHTMLEvent_GetText1", (PyCFunction
) _wrap_MSHTMLEvent_GetText1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2254 { (char *)"MSHTMLEvent_GetLong1", (PyCFunction
) _wrap_MSHTMLEvent_GetLong1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2255 { (char *)"MSHTMLEvent_GetLong2", (PyCFunction
) _wrap_MSHTMLEvent_GetLong2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2256 { (char *)"MSHTMLEvent_swigregister", MSHTMLEvent_swigregister
, METH_VARARGS
, NULL
},
2257 { (char *)"new_IEHtmlWin", (PyCFunction
) _wrap_new_IEHtmlWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2258 { (char *)"IEHtmlWin_LoadUrl", (PyCFunction
) _wrap_IEHtmlWin_LoadUrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2259 { (char *)"IEHtmlWin_LoadString", (PyCFunction
) _wrap_IEHtmlWin_LoadString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2260 { (char *)"IEHtmlWin_LoadStream", (PyCFunction
) _wrap_IEHtmlWin_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2261 { (char *)"IEHtmlWin_SetCharset", (PyCFunction
) _wrap_IEHtmlWin_SetCharset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2262 { (char *)"IEHtmlWin_SetEditMode", (PyCFunction
) _wrap_IEHtmlWin_SetEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2263 { (char *)"IEHtmlWin_GetEditMode", (PyCFunction
) _wrap_IEHtmlWin_GetEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2264 { (char *)"IEHtmlWin_GetStringSelection", (PyCFunction
) _wrap_IEHtmlWin_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2265 { (char *)"IEHtmlWin_GetText", (PyCFunction
) _wrap_IEHtmlWin_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2266 { (char *)"IEHtmlWin_GoBack", (PyCFunction
) _wrap_IEHtmlWin_GoBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2267 { (char *)"IEHtmlWin_GoForward", (PyCFunction
) _wrap_IEHtmlWin_GoForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2268 { (char *)"IEHtmlWin_GoHome", (PyCFunction
) _wrap_IEHtmlWin_GoHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2269 { (char *)"IEHtmlWin_GoSearch", (PyCFunction
) _wrap_IEHtmlWin_GoSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2270 { (char *)"IEHtmlWin_RefreshPage", (PyCFunction
) _wrap_IEHtmlWin_RefreshPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2271 { (char *)"IEHtmlWin_Stop", (PyCFunction
) _wrap_IEHtmlWin_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
2272 { (char *)"IEHtmlWin_swigregister", IEHtmlWin_swigregister
, METH_VARARGS
, NULL
},
2273 { NULL
, NULL
, 0, NULL
}
2277 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
2279 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
2280 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
2282 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
2283 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
2285 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
2286 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
2288 static void *_p_wxMSHTMLEventTo_p_wxObject(void *x
) {
2289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxMSHTMLEvent
*) x
));
2291 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
2292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
2294 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
2295 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
2297 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
2298 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
2300 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
2301 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
2303 static void *_p_wxSizerTo_p_wxObject(void *x
) {
2304 return (void *)((wxObject
*) ((wxSizer
*) x
));
2306 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
2307 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
2309 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
2310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2312 static void *_p_wxEventTo_p_wxObject(void *x
) {
2313 return (void *)((wxObject
*) ((wxEvent
*) x
));
2315 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
2316 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
2318 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
2319 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
2321 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
2322 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
2324 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
2325 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
2327 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
2328 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
2330 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
2331 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2333 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
2334 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2336 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
2337 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2339 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
2340 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2342 static void *_p_wxControlTo_p_wxObject(void *x
) {
2343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
2345 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
2346 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
2348 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
2349 return (void *)((wxObject
*) ((wxFSFile
*) x
));
2351 static void *_p_wxIEHtmlWinTo_p_wxObject(void *x
) {
2352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxIEHtmlWin
*) x
));
2354 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
2355 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
2357 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
2358 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
2360 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
2361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2363 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
2364 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
2366 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
2367 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
2369 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
2370 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
2372 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
2373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2375 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
2376 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2378 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
2379 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
2381 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
2382 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
2384 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
2385 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
2387 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
2388 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
2390 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
2391 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
2393 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
2394 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
2396 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
2397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
2399 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
2400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
2402 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
2403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
2405 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
2406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
2408 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
2409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
2411 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
2412 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
2414 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
2415 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
2417 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
2418 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
2420 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
2421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
2423 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
2424 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
2426 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
2427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
2429 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
2430 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
2432 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
2433 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
2435 static void *_p_wxImageTo_p_wxObject(void *x
) {
2436 return (void *)((wxObject
*) ((wxImage
*) x
));
2438 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
2439 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
2441 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
2442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2444 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
2445 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2447 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
2448 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
2450 static void *_p_wxWindowTo_p_wxObject(void *x
) {
2451 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
2453 static void *_p_wxMenuTo_p_wxObject(void *x
) {
2454 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
2456 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
2457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
2459 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
2460 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
2462 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
2463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2465 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
2466 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
2468 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
2469 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
2471 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
2472 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
2474 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
2475 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
2477 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
2478 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
2480 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
2481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2483 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
2484 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
2486 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
2487 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
2489 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
2490 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
2492 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
2493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2495 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
2496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2498 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
2499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
2501 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
2502 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
2504 static void *_p_wxControlTo_p_wxWindow(void *x
) {
2505 return (void *)((wxWindow
*) ((wxControl
*) x
));
2507 static void *_p_wxIEHtmlWinTo_p_wxWindow(void *x
) {
2508 return (void *)((wxWindow
*) ((wxIEHtmlWin
*) x
));
2510 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
2511 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
2513 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
2514 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
2516 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
2517 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2519 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
2520 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
2522 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
2523 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2525 static void *_p_wxMSHTMLEventTo_p_wxCommandEvent(void *x
) {
2526 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxMSHTMLEvent
*) x
));
2528 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
2529 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2531 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
2532 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2534 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
2535 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2537 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
2538 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2540 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
2541 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2543 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
2544 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
2546 static void *_p_wxIEHtmlWinTo_p_wxEvtHandler(void *x
) {
2547 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxIEHtmlWin
*) x
));
2549 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
2550 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
2552 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
2553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
2555 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
2556 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
2558 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
2559 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
2561 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
2562 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
2564 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
2565 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
2567 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
2568 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
2570 static void *_p_wxMSHTMLEventTo_p_wxNotifyEvent(void *x
) {
2571 return (void *)((wxNotifyEvent
*) ((wxMSHTMLEvent
*) x
));
2573 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
2574 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
2576 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
2577 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
2579 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
2580 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
2582 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
2583 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
2585 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
2586 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
2588 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
2589 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
2591 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
2592 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
2594 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
2595 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
2597 static void *_p_wxMSHTMLEventTo_p_wxEvent(void *x
) {
2598 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxMSHTMLEvent
*) x
));
2600 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
2601 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
2603 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
2604 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
2606 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
2607 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
2609 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
2610 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
2612 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
2613 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
2615 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
2616 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
2618 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
2619 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
2621 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
2622 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
2624 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
2625 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
2627 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
2628 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
2630 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
2631 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
2633 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
2634 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
2636 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
2637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
2639 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
2640 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
2642 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
2643 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
2645 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
2646 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
2648 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
2649 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
2651 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
2652 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
2654 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
2655 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
2657 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
2658 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
2660 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
2661 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
2663 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
2664 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
2666 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
2667 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
2669 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
2670 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
2672 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
2673 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
2675 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
2676 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
2678 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
2679 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
2681 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIEHtmlWin", _p_wxIEHtmlWinTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2682 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2683 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxIEHtmlWin", _p_wxIEHtmlWinTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2684 static swig_type_info _swigt__p_wxMSHTMLEvent
[] = {{"_p_wxMSHTMLEvent", 0, "wxMSHTMLEvent *", 0, 0, 0, 0},{"_p_wxMSHTMLEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2685 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2686 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2687 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2688 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2689 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2690 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2691 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2692 static swig_type_info _swigt__p_wxIEHtmlWin
[] = {{"_p_wxIEHtmlWin", 0, "wxIEHtmlWin *", 0, 0, 0, 0},{"_p_wxIEHtmlWin", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2693 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2694 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxIEHtmlWin", _p_wxIEHtmlWinTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2695 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2696 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2697 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2698 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2699 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMSHTMLEvent", _p_wxMSHTMLEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2700 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2701 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2703 static swig_type_info
*swig_types_initial
[] = {
2705 _swigt__p_unsigned_char
,
2707 _swigt__p_wxMSHTMLEvent
,
2708 _swigt__p_wxCommandEvent
,
2709 _swigt__p_unsigned_long
,
2710 _swigt__p_unsigned_int
,
2711 _swigt__unsigned_int
,
2712 _swigt__p_form_ops_t
,
2713 _swigt__p_wxDuplexMode
,
2715 _swigt__p_wxIEHtmlWin
,
2716 _swigt__p_wxInputStream
,
2717 _swigt__p_wxEvtHandler
,
2719 _swigt__std__ptrdiff_t
,
2721 _swigt__p_wxNotifyEvent
,
2723 _swigt__p_wxPaperSize
,
2729 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
2731 static swig_const_info swig_const_table
[] = {
2732 {0, 0, 0, 0.0, 0, 0}};
2743 /* Python-specific SWIG API */
2744 #define SWIG_newvarlink() SWIG_Python_newvarlink()
2745 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
2746 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
2748 /* -----------------------------------------------------------------------------
2749 * global variable support code.
2750 * ----------------------------------------------------------------------------- */
2752 typedef struct swig_globalvar
{
2753 char *name
; /* Name of global variable */
2754 PyObject
*(*get_attr
)(); /* Return the current value */
2755 int (*set_attr
)(PyObject
*); /* Set the value */
2756 struct swig_globalvar
*next
;
2759 typedef struct swig_varlinkobject
{
2761 swig_globalvar
*vars
;
2762 } swig_varlinkobject
;
2765 swig_varlink_repr(swig_varlinkobject
*v
) {
2767 return PyString_FromString("<Swig global variables>");
2771 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
2772 swig_globalvar
*var
;
2774 fprintf(fp
,"Swig global variables { ");
2775 for (var
= v
->vars
; var
; var
=var
->next
) {
2776 fprintf(fp
,"%s", var
->name
);
2777 if (var
->next
) fprintf(fp
,", ");
2784 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
2785 swig_globalvar
*var
= v
->vars
;
2787 if (strcmp(var
->name
,n
) == 0) {
2788 return (*var
->get_attr
)();
2792 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
2797 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
2798 swig_globalvar
*var
= v
->vars
;
2800 if (strcmp(var
->name
,n
) == 0) {
2801 return (*var
->set_attr
)(p
);
2805 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
2809 static PyTypeObject varlinktype
= {
2810 PyObject_HEAD_INIT(0)
2811 0, /* Number of items in variable part (ob_size) */
2812 (char *)"swigvarlink", /* Type name (tp_name) */
2813 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
2814 0, /* Itemsize (tp_itemsize) */
2815 0, /* Deallocator (tp_dealloc) */
2816 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
2817 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
2818 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
2820 (reprfunc
) swig_varlink_repr
, /* tp_repr */
2821 0, /* tp_as_number */
2822 0, /* tp_as_sequence */
2823 0, /* tp_as_mapping */
2827 0, /* tp_getattro */
2828 0, /* tp_setattro */
2829 0, /* tp_as_buffer */
2832 #if PY_VERSION_HEX >= 0x02000000
2833 0, /* tp_traverse */
2836 #if PY_VERSION_HEX >= 0x02010000
2837 0, /* tp_richcompare */
2838 0, /* tp_weaklistoffset */
2840 #if PY_VERSION_HEX >= 0x02020000
2841 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
2843 #if PY_VERSION_HEX >= 0x02030000
2847 0,0,0,0 /* tp_alloc -> tp_next */
2851 /* Create a variable linking object for use later */
2853 SWIG_Python_newvarlink(void) {
2854 swig_varlinkobject
*result
= 0;
2855 result
= PyMem_NEW(swig_varlinkobject
,1);
2856 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
2857 result
->ob_type
= &varlinktype
;
2859 result
->ob_refcnt
= 0;
2860 Py_XINCREF((PyObject
*) result
);
2861 return ((PyObject
*) result
);
2865 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
2866 swig_varlinkobject
*v
;
2868 v
= (swig_varlinkobject
*) p
;
2869 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
2870 gv
->name
= (char *) malloc(strlen(name
)+1);
2871 strcpy(gv
->name
,name
);
2872 gv
->get_attr
= get_attr
;
2873 gv
->set_attr
= set_attr
;
2878 /* -----------------------------------------------------------------------------
2879 * constants/methods manipulation
2880 * ----------------------------------------------------------------------------- */
2882 /* Install Constants */
2884 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
2887 for (i
= 0; constants
[i
].type
; i
++) {
2888 switch(constants
[i
].type
) {
2890 obj
= PyInt_FromLong(constants
[i
].lvalue
);
2893 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
2895 case SWIG_PY_STRING
:
2896 if (constants
[i
].pvalue
) {
2897 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
2903 case SWIG_PY_POINTER
:
2904 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
2906 case SWIG_PY_BINARY
:
2907 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
2914 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
2920 /* -----------------------------------------------------------------------------*/
2921 /* Fix SwigMethods to carry the callback ptrs when needed */
2922 /* -----------------------------------------------------------------------------*/
2925 SWIG_Python_FixMethods(PyMethodDef
*methods
,
2926 swig_const_info
*const_table
,
2927 swig_type_info
**types
,
2928 swig_type_info
**types_initial
) {
2930 for (i
= 0; methods
[i
].ml_name
; ++i
) {
2931 char *c
= methods
[i
].ml_doc
;
2932 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
2934 swig_const_info
*ci
= 0;
2935 char *name
= c
+ 10;
2936 for (j
= 0; const_table
[j
].type
; j
++) {
2937 if (strncmp(const_table
[j
].name
, name
,
2938 strlen(const_table
[j
].name
)) == 0) {
2939 ci
= &(const_table
[j
]);
2944 size_t shift
= (ci
->ptype
) - types
;
2945 swig_type_info
*ty
= types_initial
[shift
];
2946 size_t ldoc
= (c
- methods
[i
].ml_doc
);
2947 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
2948 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
2950 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
2951 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
2953 strncpy(buff
, "swig_ptr: ", 10);
2955 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
2956 methods
[i
].ml_doc
= ndoc
;
2962 /* -----------------------------------------------------------------------------*
2963 * Initialize type list
2964 * -----------------------------------------------------------------------------*/
2966 #if PY_MAJOR_VERSION < 2
2967 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2968 is copied out of Python/modsupport.c in python version 2.3.4 */
2970 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2973 if (!PyModule_Check(m
)) {
2974 PyErr_SetString(PyExc_TypeError
,
2975 "PyModule_AddObject() needs module as first arg");
2979 PyErr_SetString(PyExc_TypeError
,
2980 "PyModule_AddObject() needs non-NULL value");
2984 dict
= PyModule_GetDict(m
);
2986 /* Internal error -- modules must have a dict! */
2987 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2988 PyModule_GetName(m
));
2991 if (PyDict_SetItemString(dict
, name
, o
))
2998 static swig_type_info
**
2999 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
3000 static PyMethodDef swig_empty_runtime_method_table
[] = {
3006 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
3007 swig_empty_runtime_method_table
);
3008 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
3009 if (pointer
&& module) {
3010 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
3012 return type_list_handle
;
3015 static swig_type_info
**
3016 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
3017 swig_type_info
**type_pointer
;
3019 /* first check if module already created */
3020 type_pointer
= SWIG_Python_GetTypeListHandle();
3022 return type_pointer
;
3024 /* create a new module and variable */
3025 return SWIG_Python_SetTypeListHandle(type_list_handle
);
3033 /* -----------------------------------------------------------------------------*
3034 * Partial Init method
3035 * -----------------------------------------------------------------------------*/
3037 #ifdef SWIG_LINK_RUNTIME
3041 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
3047 SWIGEXPORT(void) SWIG_init(void) {
3048 static PyObject
*SWIG_globals
= 0;
3049 static int typeinit
= 0;
3052 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
3054 /* Fix SwigMethods to carry the callback ptrs when needed */
3055 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
3057 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
3058 d
= PyModule_GetDict(m
);
3061 #ifdef SWIG_LINK_RUNTIME
3062 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
3064 # ifndef SWIG_STATIC_RUNTIME
3065 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
3068 for (i
= 0; swig_types_initial
[i
]; i
++) {
3069 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
3073 SWIG_InstallConstants(d
,swig_const_table
);
3076 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2", SWIG_From_int((int)(wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
)));
3079 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_NEWWINDOW2", SWIG_From_int((int)(wxEVT_COMMAND_MSHTML_NEWWINDOW2
)));
3082 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE", SWIG_From_int((int)(wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
)));
3085 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_PROGRESSCHANGE", SWIG_From_int((int)(wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
)));
3088 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE", SWIG_From_int((int)(wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
)));
3091 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_TITLECHANGE", SWIG_From_int((int)(wxEVT_COMMAND_MSHTML_TITLECHANGE
)));
3094 PyDict_SetItemString(d
,"IEHTML_REFRESH_NORMAL", SWIG_From_int((int)(wxIEHTML_REFRESH_NORMAL
)));
3097 PyDict_SetItemString(d
,"IEHTML_REFRESH_IFEXPIRED", SWIG_From_int((int)(wxIEHTML_REFRESH_IFEXPIRED
)));
3100 PyDict_SetItemString(d
,"IEHTML_REFRESH_CONTINUE", SWIG_From_int((int)(wxIEHTML_REFRESH_CONTINUE
)));
3103 PyDict_SetItemString(d
,"IEHTML_REFRESH_COMPLETELY", SWIG_From_int((int)(wxIEHTML_REFRESH_COMPLETELY
)));