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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
1343 #define SWIGTYPE_p_wxColour swig_types[1]
1344 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
1345 #define SWIGTYPE_p_wxDC swig_types[3]
1346 #define SWIGTYPE_p_form_ops_t swig_types[4]
1347 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
1348 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1350 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8]
1351 #define SWIGTYPE_p_wxHtmlWordCell swig_types[9]
1352 #define SWIGTYPE_p_wxVisualAttributes swig_types[10]
1353 #define SWIGTYPE_p_wxHtmlHelpData swig_types[11]
1354 #define SWIGTYPE_p_char swig_types[12]
1355 #define SWIGTYPE_p_wxHtmlWinParser swig_types[13]
1356 #define SWIGTYPE_p_wxHtmlParser swig_types[14]
1357 #define SWIGTYPE_p_wxPanel swig_types[15]
1358 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
1359 #define SWIGTYPE_p_wxScrolledWindow swig_types[17]
1360 #define SWIGTYPE_p_wxWindow swig_types[18]
1361 #define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
1362 #define SWIGTYPE_p_wxFont swig_types[20]
1363 #define SWIGTYPE_p_wxHtmlColourCell swig_types[21]
1364 #define SWIGTYPE_p_wxHtmlFontCell swig_types[22]
1365 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23]
1366 #define SWIGTYPE_p_wxHtmlSelection swig_types[24]
1367 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25]
1368 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26]
1369 #define SWIGTYPE_p_wxObject swig_types[27]
1370 #define SWIGTYPE_p_wxBitmap swig_types[28]
1371 #define SWIGTYPE_p_wxPaperSize swig_types[29]
1372 #define SWIGTYPE_p_wxString swig_types[30]
1373 #define SWIGTYPE_p_unsigned_int swig_types[31]
1374 #define SWIGTYPE_unsigned_int swig_types[32]
1375 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[33]
1376 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[34]
1377 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
1378 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[36]
1379 #define SWIGTYPE_p_wxPoint swig_types[37]
1380 #define SWIGTYPE_p_wxHtmlHelpController swig_types[38]
1381 #define SWIGTYPE_p_wxCursor swig_types[39]
1382 #define SWIGTYPE_p_wxFileSystem swig_types[40]
1383 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[41]
1384 #define SWIGTYPE_p_unsigned_char swig_types[42]
1385 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
1386 #define SWIGTYPE_p_wxHtmlPrintout swig_types[44]
1387 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[45]
1388 #define SWIGTYPE_std__ptrdiff_t swig_types[46]
1389 #define SWIGTYPE_ptrdiff_t swig_types[47]
1390 #define SWIGTYPE_p_wxConfigBase swig_types[48]
1391 #define SWIGTYPE_p_wxPrintData swig_types[49]
1392 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[50]
1393 #define SWIGTYPE_p_wxFrame swig_types[51]
1394 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[52]
1395 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[53]
1396 #define SWIGTYPE_p_wxHtmlFilter swig_types[54]
1397 #define SWIGTYPE_p_wxHtmlCell swig_types[55]
1398 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[56]
1399 #define SWIGTYPE_p_wxHtmlTag swig_types[57]
1400 #define SWIGTYPE_p_int swig_types[58]
1401 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[59]
1402 #define SWIGTYPE_p_unsigned_long swig_types[60]
1403 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[61]
1404 static swig_type_info
*swig_types
[63];
1406 /* -------- TYPES TABLE (END) -------- */
1409 /*-----------------------------------------------
1410 @(target):= _html.so
1411 ------------------------------------------------*/
1412 #define SWIG_init init_html
1414 #define SWIG_name "_html"
1416 #include "wx/wxPython/wxPython.h"
1417 #include "wx/wxPython/pyclasses.h"
1418 #include "wx/wxPython/pyistream.h"
1419 #include "wx/wxPython/printfw.h"
1421 #include <wx/html/htmlwin.h>
1422 #include <wx/html/htmprint.h>
1423 #include <wx/html/helpctrl.h>
1426 static const wxString
wxPyEmptyString(wxEmptyString
);
1427 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1428 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1429 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
1431 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1432 #define SWIG_From_int PyInt_FromLong
1440 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1443 if (value
< min_value
) {
1445 PyErr_Format(PyExc_OverflowError
,
1446 "value %ld is less than '%s' minimum %ld",
1447 value
, errmsg
, min_value
);
1450 } else if (value
> max_value
) {
1452 PyErr_Format(PyExc_OverflowError
,
1453 "value %ld is greater than '%s' maximum %ld",
1454 value
, errmsg
, max_value
);
1463 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1465 if (PyNumber_Check(obj
)) {
1466 if (val
) *val
= PyInt_AsLong(obj
);
1470 SWIG_type_error("number", obj
);
1476 #if INT_MAX != LONG_MAX
1478 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1480 const char* errmsg
= val
? "int" : (char*)0;
1482 if (SWIG_AsVal_long(obj
, &v
)) {
1483 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1484 if (val
) *val
= (int)(v
);
1493 SWIG_type_error(errmsg
, obj
);
1499 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1501 return SWIG_AsVal_long(obj
,(long*)val
);
1507 SWIG_As_int(PyObject
* obj
)
1510 if (!SWIG_AsVal_int(obj
, &v
)) {
1512 this is needed to make valgrind/purify happier.
1514 memset((void*)&v
, 0, sizeof(int));
1521 SWIG_Check_int(PyObject
* obj
)
1523 return SWIG_AsVal_int(obj
, (int*)0);
1526 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1528 if (sizes
) temp
= int_LIST_helper(sizes
);
1529 self
->SetFonts(normal_face
, fixed_face
, temp
);
1534 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
1535 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
1537 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1539 wxHtmlParser
* GetParser() { return m_Parser
; }
1540 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
1542 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
1543 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
1548 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
1550 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
1551 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
1554 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
1555 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
1557 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1559 wxHtmlWinParser
* GetParser() { return m_WParser
; }
1560 void ParseInner(const wxHtmlTag
& tag
)
1561 { wxHtmlWinTagHandler::ParseInner(tag
); }
1563 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
1564 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
1569 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
1571 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
1572 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
1576 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
1578 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
1579 m_tagHandlerClass
= thc
;
1580 Py_INCREF(m_tagHandlerClass
);
1581 RegisterModule(this);
1582 wxHtmlWinParser::AddModule(this);
1586 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1587 Py_DECREF(m_tagHandlerClass
);
1588 m_tagHandlerClass
= NULL
;
1589 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
1590 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
1593 wxPyEndBlockThreads(blocked
);
1596 void FillHandlersTable(wxHtmlWinParser
*parser
) {
1597 // Wave our magic wand... (if it works it's a miracle! ;-)
1599 // First, make a new instance of the tag handler
1600 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1601 PyObject
* arg
= PyTuple_New(0);
1602 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
1605 // now figure out where it's C++ object is...
1606 wxPyHtmlWinTagHandler
* thPtr
;
1607 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
1608 wxPyEndBlockThreads(blocked
);
1611 wxPyEndBlockThreads(blocked
);
1614 parser
->AddTagHandler(thPtr
);
1617 m_objArray
.Add(obj
);
1621 PyObject
* m_tagHandlerClass
;
1622 wxArrayPtrVoid m_objArray
;
1627 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
1628 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1629 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1630 new wxPyHtmlTagsModule(tagHandlerClass
);
1634 SWIGINTERNSHORT PyObject
*
1635 SWIG_From_bool(bool value
)
1637 PyObject
*obj
= value
? Py_True
: Py_False
;
1643 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1649 } else if (target
== Py_None
) {
1653 if (!PyTuple_Check(target
)) {
1655 target
= PyTuple_New(1);
1656 PyTuple_SetItem(target
, 0, o2
);
1658 o3
= PyTuple_New(1);
1659 PyTuple_SetItem(o3
, 0, o
);
1662 target
= PySequence_Concat(o2
, o3
);
1672 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1674 if (obj
== Py_True
) {
1675 if (val
) *val
= true;
1678 if (obj
== Py_False
) {
1679 if (val
) *val
= false;
1683 if (SWIG_AsVal_int(obj
, &res
)) {
1684 if (val
) *val
= res
? true : false;
1690 SWIG_type_error("bool", obj
);
1696 SWIGINTERNSHORT
bool
1697 SWIG_As_bool(PyObject
* obj
)
1700 if (!SWIG_AsVal_bool(obj
, &v
)) {
1702 this is needed to make valgrind/purify happier.
1704 memset((void*)&v
, 0, sizeof(bool));
1711 SWIG_Check_bool(PyObject
* obj
)
1713 return SWIG_AsVal_bool(obj
, (bool*)0);
1718 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1719 unsigned long max_value
,
1722 if (value
> max_value
) {
1724 PyErr_Format(PyExc_OverflowError
,
1725 "value %lu is greater than '%s' minimum %lu",
1726 value
, errmsg
, max_value
);
1735 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1738 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1739 SWIG_type_error("unsigned number", obj
);
1742 *val
= (unsigned long)v
;
1747 #if UINT_MAX != ULONG_MAX
1749 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1751 const char* errmsg
= val
? "unsigned int" : (char*)0;
1753 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1754 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1755 if (val
) *val
= (unsigned int)(v
);
1762 SWIG_type_error(errmsg
, obj
);
1767 SWIGINTERNSHORT
unsigned int
1768 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1770 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1775 SWIGINTERNSHORT
unsigned int
1776 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1779 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1781 this is needed to make valgrind/purify happier.
1783 memset((void*)&v
, 0, sizeof(unsigned int));
1790 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1792 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1796 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1797 #define SWIG_From_long PyInt_FromLong
1801 SWIGINTERNSHORT PyObject
*
1802 SWIG_From_unsigned_SS_long(unsigned long value
)
1804 return (value
> LONG_MAX
) ?
1805 PyLong_FromUnsignedLong(value
)
1806 : PyInt_FromLong((long)(value
));
1810 #if UINT_MAX < LONG_MAX
1811 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1812 #define SWIG_From_unsigned_SS_int SWIG_From_long
1815 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1816 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1820 // here's the C++ version
1821 class wxPyHtmlFilter
: public wxHtmlFilter
{
1822 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
1824 wxPyHtmlFilter() : wxHtmlFilter() {}
1826 // returns True if this filter is able to open&read given file
1827 virtual bool CanRead(const wxFSFile
& file
) const {
1830 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1831 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
1832 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
1833 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
1836 wxPyEndBlockThreads(blocked
);
1841 // Reads given file and returns HTML document.
1842 // Returns empty string if opening failed
1843 virtual wxString
ReadFile(const wxFSFile
& file
) const {
1846 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1847 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
1848 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
1850 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
1853 rval
= Py2wxString(ro
);
1857 wxPyEndBlockThreads(blocked
);
1864 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
1867 class wxPyHtmlWindow
: public wxHtmlWindow
{
1868 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
1870 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
1871 const wxPoint
& pos
= wxDefaultPosition
,
1872 const wxSize
& size
= wxDefaultSize
,
1873 long style
= wxHW_DEFAULT_STYLE
,
1874 const wxString
& name
= wxPyHtmlWindowNameStr
)
1875 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
1876 wxPyHtmlWindow() : wxHtmlWindow() {};
1878 bool ScrollToAnchor(const wxString
& anchor
) {
1879 return wxHtmlWindow::ScrollToAnchor(anchor
);
1882 bool HasAnchor(const wxString
& anchor
) {
1883 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
1887 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
1888 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
1890 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
1891 const wxString
& url
,
1892 wxString
*redirect
) const;
1894 DEC_PYCALLBACK__STRING(OnSetTitle
);
1895 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
1896 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
1900 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
1901 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
1902 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
1903 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
1906 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
1908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1909 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
1910 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
1911 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
1914 wxPyEndBlockThreads(blocked
);
1916 wxHtmlWindow::OnLinkClicked(link
);
1918 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
1919 wxHtmlWindow::OnLinkClicked(link
);
1923 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
1924 const wxString
& url
,
1925 wxString
*redirect
) const {
1927 wxHtmlOpeningStatus rval
;
1928 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1929 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
1931 PyObject
* s
= wx2PyString(url
);
1932 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
1934 if (PyString_Check(ro
)
1935 #if PYTHON_API_VERSION >= 1009
1936 || PyUnicode_Check(ro
)
1939 *redirect
= Py2wxString(ro
);
1940 rval
= wxHTML_REDIRECT
;
1943 PyObject
* num
= PyNumber_Int(ro
);
1944 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
1949 wxPyEndBlockThreads(blocked
);
1951 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
1957 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1959 if (sizes
) temp
= int_LIST_helper(sizes
);
1960 self
->SetFonts(normal_face
, fixed_face
, temp
);
1964 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1966 if (sizes
) temp
= int_LIST_helper(sizes
);
1967 self
->SetFonts(normal_face
, fixed_face
, temp
);
1971 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1973 if (sizes
) temp
= int_LIST_helper(sizes
);
1974 self
->SetFonts(normal_face
, fixed_face
, temp
);
1981 SWIG_CheckDoubleInRange(double value
, double min_value
,
1982 double max_value
, const char* errmsg
)
1984 if (value
< min_value
) {
1986 PyErr_Format(PyExc_OverflowError
,
1987 "value %g is less than %s minimum %g",
1988 value
, errmsg
, min_value
);
1991 } else if (value
> max_value
) {
1993 PyErr_Format(PyExc_OverflowError
,
1994 "value %g is greater than %s maximum %g",
1995 value
, errmsg
, max_value
);
2004 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2006 if (PyNumber_Check(obj
)) {
2007 if (val
) *val
= PyFloat_AsDouble(obj
);
2011 SWIG_type_error("number", obj
);
2018 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2020 const char* errmsg
= val
? "float" : (char*)0;
2022 if (SWIG_AsVal_double(obj
, &v
)) {
2023 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2024 if (val
) *val
= (float)(v
);
2033 SWIG_type_error(errmsg
, obj
);
2039 SWIGINTERNSHORT
float
2040 SWIG_As_float(PyObject
* obj
)
2043 if (!SWIG_AsVal_float(obj
, &v
)) {
2045 this is needed to make valgrind/purify happier.
2047 memset((void*)&v
, 0, sizeof(float));
2054 SWIG_Check_float(PyObject
* obj
)
2056 return SWIG_AsVal_float(obj
, (float*)0);
2059 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2061 if (sizes
) temp
= int_LIST_helper(sizes
);
2062 self
->SetFonts(normal_face
, fixed_face
, temp
);
2069 static int _wrap_HtmlWindowNameStr_set(PyObject
*) {
2070 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
2075 static PyObject
*_wrap_HtmlWindowNameStr_get(void) {
2080 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2082 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2089 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*) {
2090 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
2095 static PyObject
*_wrap_HtmlPrintoutTitleStr_get(void) {
2100 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2102 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2109 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*) {
2110 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
2115 static PyObject
*_wrap_HtmlPrintingTitleStr_get(void) {
2120 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2122 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2129 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxString
*arg1
= 0 ;
2132 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2133 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2134 wxHtmlLinkInfo
*result
;
2135 bool temp1
= false ;
2136 bool temp2
= false ;
2137 PyObject
* obj0
= 0 ;
2138 PyObject
* obj1
= 0 ;
2140 (char *) "href",(char *) "target", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2145 arg1
= wxString_in_helper(obj0
);
2146 if (arg1
== NULL
) SWIG_fail
;
2151 arg2
= wxString_in_helper(obj1
);
2152 if (arg2
== NULL
) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2186 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2192 (char *) "self", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
2196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2197 if (SWIG_arg_fail(1)) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= (arg1
)->GetHref();
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2218 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2224 (char *) "self", NULL
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
2228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2229 if (SWIG_arg_fail(1)) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 result
= (arg1
)->GetTarget();
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2250 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2253 wxMouseEvent
*result
;
2254 PyObject
* obj0
= 0 ;
2256 (char *) "self", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
2260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2261 if (SWIG_arg_fail(1)) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2270 resultobj
= wxPyMake_wxObject(result
, 0);
2278 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2284 (char *) "self", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
2288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2289 if (SWIG_arg_fail(1)) SWIG_fail
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
2304 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2307 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
2308 PyObject
* obj0
= 0 ;
2309 PyObject
* obj1
= 0 ;
2311 (char *) "self",(char *) "e", NULL
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
2315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2316 if (SWIG_arg_fail(1)) SWIG_fail
;
2317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
2318 if (SWIG_arg_fail(2)) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 Py_INCREF(Py_None
); resultobj
= Py_None
;
2333 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2336 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2340 (char *) "self",(char *) "e", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
2344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2345 if (SWIG_arg_fail(1)) SWIG_fail
;
2346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
2347 if (SWIG_arg_fail(2)) SWIG_fail
;
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 Py_INCREF(Py_None
); resultobj
= Py_None
;
2362 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*, PyObject
*args
) {
2364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2365 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
2367 return Py_BuildValue((char *)"");
2369 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2373 PyObject
* obj0
= 0 ;
2375 (char *) "self", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
2379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2380 if (SWIG_arg_fail(1)) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 result
= (arg1
)->GetName();
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2401 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2403 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2404 wxString
*arg2
= 0 ;
2406 bool temp2
= false ;
2407 PyObject
* obj0
= 0 ;
2408 PyObject
* obj1
= 0 ;
2410 (char *) "self",(char *) "par", NULL
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
2414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2415 if (SWIG_arg_fail(1)) SWIG_fail
;
2417 arg2
= wxString_in_helper(obj1
);
2418 if (arg2
== NULL
) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2445 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
*resultobj
;
2447 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2448 wxString
*arg2
= 0 ;
2449 int arg3
= (int) false ;
2451 bool temp2
= false ;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2454 PyObject
* obj2
= 0 ;
2456 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2461 if (SWIG_arg_fail(1)) SWIG_fail
;
2463 arg2
= wxString_in_helper(obj1
);
2464 if (arg2
== NULL
) SWIG_fail
;
2469 arg3
= (int)(SWIG_As_int(obj2
));
2470 if (SWIG_arg_fail(3)) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2501 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2507 (char *) "self", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
2511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2512 if (SWIG_arg_fail(1)) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= (arg1
)->GetAllParams();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2533 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2535 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2537 PyObject
* obj0
= 0 ;
2539 (char *) "self", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
2543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2544 if (SWIG_arg_fail(1)) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 result
= (bool)(arg1
)->HasEnding();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2561 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2565 PyObject
* obj0
= 0 ;
2567 (char *) "self", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
2571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2572 if (SWIG_arg_fail(1)) SWIG_fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 result
= (int)(arg1
)->GetBeginPos();
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2581 resultobj
= SWIG_From_int((int)(result
));
2589 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "self", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
2599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2600 if (SWIG_arg_fail(1)) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= (int)(arg1
)->GetEndPos1();
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= SWIG_From_int((int)(result
));
2617 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2623 (char *) "self", NULL
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
2627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2628 if (SWIG_arg_fail(1)) SWIG_fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 result
= (int)(arg1
)->GetEndPos2();
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2637 resultobj
= SWIG_From_int((int)(result
));
2645 static PyObject
* HtmlTag_swigregister(PyObject
*, PyObject
*args
) {
2647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2648 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
2650 return Py_BuildValue((char *)"");
2652 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
*resultobj
;
2654 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2655 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
2656 PyObject
* obj0
= 0 ;
2657 PyObject
* obj1
= 0 ;
2659 (char *) "self",(char *) "fs", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
2663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2664 if (SWIG_arg_fail(1)) SWIG_fail
;
2665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
2666 if (SWIG_arg_fail(2)) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 (arg1
)->SetFS(arg2
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2684 wxFileSystem
*result
;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
2691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2692 if (SWIG_arg_fail(1)) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (wxFileSystem
*)(arg1
)->GetFS();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= wxPyMake_wxObject(result
, 0);
2709 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2712 wxString
*arg2
= 0 ;
2714 bool temp2
= false ;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2718 (char *) "self",(char *) "source", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
2722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2723 if (SWIG_arg_fail(1)) SWIG_fail
;
2725 arg2
= wxString_in_helper(obj1
);
2726 if (arg2
== NULL
) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= wxPyMake_wxObject(result
, 0);
2753 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2756 wxString
*arg2
= 0 ;
2757 bool temp2
= false ;
2758 PyObject
* obj0
= 0 ;
2759 PyObject
* obj1
= 0 ;
2761 (char *) "self",(char *) "source", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2766 if (SWIG_arg_fail(1)) SWIG_fail
;
2768 arg2
= wxString_in_helper(obj1
);
2769 if (arg2
== NULL
) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 (arg1
)->InitParser((wxString
const &)*arg2
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2794 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
2803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2804 if (SWIG_arg_fail(1)) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 (arg1
)->DoneParser();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 Py_INCREF(Py_None
); resultobj
= Py_None
;
2819 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2824 PyObject
* obj0
= 0 ;
2825 PyObject
* obj1
= 0 ;
2826 PyObject
* obj2
= 0 ;
2828 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2833 if (SWIG_arg_fail(1)) SWIG_fail
;
2835 arg2
= (int)(SWIG_As_int(obj1
));
2836 if (SWIG_arg_fail(2)) SWIG_fail
;
2839 arg3
= (int)(SWIG_As_int(obj2
));
2840 if (SWIG_arg_fail(3)) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 (arg1
)->DoParsing(arg2
,arg3
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 Py_INCREF(Py_None
); resultobj
= Py_None
;
2856 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2858 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2859 PyObject
* obj0
= 0 ;
2861 (char *) "self", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
2865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2866 if (SWIG_arg_fail(1)) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 (arg1
)->StopParsing();
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 Py_INCREF(Py_None
); resultobj
= Py_None
;
2881 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2884 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2888 (char *) "self",(char *) "handler", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2893 if (SWIG_arg_fail(1)) SWIG_fail
;
2894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
2895 if (SWIG_arg_fail(2)) SWIG_fail
;
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 (arg1
)->AddTagHandler(arg2
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2903 Py_INCREF(Py_None
); resultobj
= Py_None
;
2910 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2914 PyObject
* obj0
= 0 ;
2916 (char *) "self", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
2920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2921 if (SWIG_arg_fail(1)) SWIG_fail
;
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 result
= (wxString
*)(arg1
)->GetSource();
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
2933 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
2942 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2945 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2949 PyObject
* obj2
= 0 ;
2951 (char *) "self",(char *) "handler",(char *) "tags", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2956 if (SWIG_arg_fail(1)) SWIG_fail
;
2957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
2958 if (SWIG_arg_fail(2)) SWIG_fail
;
2960 wxString
* sptr
= wxString_in_helper(obj2
);
2961 if (sptr
== NULL
) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 (arg1
)->PushTagHandler(arg2
,arg3
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2972 Py_INCREF(Py_None
); resultobj
= Py_None
;
2979 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "self", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
2988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2989 if (SWIG_arg_fail(1)) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 (arg1
)->PopTagHandler();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 Py_INCREF(Py_None
); resultobj
= Py_None
;
3004 static PyObject
* HtmlParser_swigregister(PyObject
*, PyObject
*args
) {
3006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3007 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
3009 return Py_BuildValue((char *)"");
3011 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
3014 wxHtmlWinParser
*result
;
3015 PyObject
* obj0
= 0 ;
3017 (char *) "wnd", NULL
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
3022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
3023 if (SWIG_arg_fail(1)) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 1);
3039 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3042 wxDC
*arg2
= (wxDC
*) 0 ;
3043 PyObject
* obj0
= 0 ;
3044 PyObject
* obj1
= 0 ;
3046 (char *) "self",(char *) "dc", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3051 if (SWIG_arg_fail(1)) SWIG_fail
;
3052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3053 if (SWIG_arg_fail(2)) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 (arg1
)->SetDC(arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 Py_INCREF(Py_None
); resultobj
= Py_None
;
3068 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
*resultobj
;
3070 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3074 (char *) "self", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
3078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= (wxDC
*)(arg1
)->GetDC();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3088 resultobj
= wxPyMake_wxObject(result
, 0);
3096 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
3106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3107 if (SWIG_arg_fail(1)) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= (int)(arg1
)->GetCharHeight();
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3116 resultobj
= SWIG_From_int((int)(result
));
3124 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3130 (char *) "self", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
3134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3135 if (SWIG_arg_fail(1)) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (int)(arg1
)->GetCharWidth();
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= SWIG_From_int((int)(result
));
3152 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3155 wxPyHtmlWindow
*result
;
3156 PyObject
* obj0
= 0 ;
3158 (char *) "self", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
3162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3163 if (SWIG_arg_fail(1)) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= wxPyMake_wxObject(result
, 0);
3180 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3185 PyObject
*arg4
= (PyObject
*) NULL
;
3186 PyObject
* obj0
= 0 ;
3187 PyObject
* obj1
= 0 ;
3188 PyObject
* obj2
= 0 ;
3189 PyObject
* obj3
= 0 ;
3191 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3196 if (SWIG_arg_fail(1)) SWIG_fail
;
3198 wxString
* sptr
= wxString_in_helper(obj1
);
3199 if (sptr
== NULL
) SWIG_fail
;
3204 wxString
* sptr
= wxString_in_helper(obj2
);
3205 if (sptr
== NULL
) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 Py_INCREF(Py_None
); resultobj
= Py_None
;
3226 static PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3229 int arg2
= (int) -1 ;
3230 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3232 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3233 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3234 bool temp3
= false ;
3235 bool temp4
= false ;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3238 PyObject
* obj2
= 0 ;
3239 PyObject
* obj3
= 0 ;
3241 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3246 if (SWIG_arg_fail(1)) SWIG_fail
;
3249 arg2
= (int)(SWIG_As_int(obj1
));
3250 if (SWIG_arg_fail(2)) SWIG_fail
;
3255 arg3
= wxString_in_helper(obj2
);
3256 if (arg3
== NULL
) SWIG_fail
;
3262 arg4
= wxString_in_helper(obj3
);
3263 if (arg4
== NULL
) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 Py_INCREF(Py_None
); resultobj
= Py_None
;
3297 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
*resultobj
;
3299 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3300 wxHtmlContainerCell
*result
;
3301 PyObject
* obj0
= 0 ;
3303 (char *) "self", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
3307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3308 if (SWIG_arg_fail(1)) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3323 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3326 wxHtmlContainerCell
*result
;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
3333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3334 if (SWIG_arg_fail(1)) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3349 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3352 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
3353 wxHtmlContainerCell
*result
;
3354 PyObject
* obj0
= 0 ;
3355 PyObject
* obj1
= 0 ;
3357 (char *) "self",(char *) "c", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
3361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail
;
3363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
3364 if (SWIG_arg_fail(2)) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3379 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3382 wxHtmlContainerCell
*result
;
3383 PyObject
* obj0
= 0 ;
3385 (char *) "self", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
3389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3390 if (SWIG_arg_fail(1)) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3405 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3411 (char *) "self", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
3415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 result
= (int)(arg1
)->GetFontSize();
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= SWIG_From_int((int)(result
));
3433 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3438 PyObject
* obj1
= 0 ;
3440 (char *) "self",(char *) "s", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3445 if (SWIG_arg_fail(1)) SWIG_fail
;
3447 arg2
= (int)(SWIG_As_int(obj1
));
3448 if (SWIG_arg_fail(2)) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 (arg1
)->SetFontSize(arg2
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 Py_INCREF(Py_None
); resultobj
= Py_None
;
3464 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3470 (char *) "self", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
3474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3475 if (SWIG_arg_fail(1)) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 result
= (int)(arg1
)->GetFontBold();
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3484 resultobj
= SWIG_From_int((int)(result
));
3492 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj1
= 0 ;
3499 (char *) "self",(char *) "x", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
3503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3504 if (SWIG_arg_fail(1)) SWIG_fail
;
3506 arg2
= (int)(SWIG_As_int(obj1
));
3507 if (SWIG_arg_fail(2)) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 (arg1
)->SetFontBold(arg2
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 Py_INCREF(Py_None
); resultobj
= Py_None
;
3523 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3525 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3527 PyObject
* obj0
= 0 ;
3529 (char *) "self", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
3533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3534 if (SWIG_arg_fail(1)) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= (int)(arg1
)->GetFontItalic();
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= SWIG_From_int((int)(result
));
3551 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "x", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail
;
3565 arg2
= (int)(SWIG_As_int(obj1
));
3566 if (SWIG_arg_fail(2)) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 (arg1
)->SetFontItalic(arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 Py_INCREF(Py_None
); resultobj
= Py_None
;
3582 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3588 (char *) "self", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
3592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3593 if (SWIG_arg_fail(1)) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= (int)(arg1
)->GetFontUnderlined();
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 resultobj
= SWIG_From_int((int)(result
));
3610 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 (char *) "self",(char *) "x", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
3621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3622 if (SWIG_arg_fail(1)) SWIG_fail
;
3624 arg2
= (int)(SWIG_As_int(obj1
));
3625 if (SWIG_arg_fail(2)) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 (arg1
)->SetFontUnderlined(arg2
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 Py_INCREF(Py_None
); resultobj
= Py_None
;
3641 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3647 (char *) "self", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
3651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3652 if (SWIG_arg_fail(1)) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= (int)(arg1
)->GetFontFixed();
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= SWIG_From_int((int)(result
));
3669 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3676 (char *) "self",(char *) "x", NULL
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
3680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3681 if (SWIG_arg_fail(1)) SWIG_fail
;
3683 arg2
= (int)(SWIG_As_int(obj1
));
3684 if (SWIG_arg_fail(2)) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 (arg1
)->SetFontFixed(arg2
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 Py_INCREF(Py_None
); resultobj
= Py_None
;
3700 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "self", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
3710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3711 if (SWIG_arg_fail(1)) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (int)(arg1
)->GetAlign();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_From_int((int)(result
));
3728 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3733 PyObject
* obj1
= 0 ;
3735 (char *) "self",(char *) "a", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
3739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail
;
3742 arg2
= (int)(SWIG_As_int(obj1
));
3743 if (SWIG_arg_fail(2)) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->SetAlign(arg2
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
3769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (arg1
)->GetLinkColor();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 wxColour
* resultptr
;
3780 resultptr
= new wxColour((wxColour
&)(result
));
3781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3789 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3792 wxColour
*arg2
= 0 ;
3794 PyObject
* obj0
= 0 ;
3795 PyObject
* obj1
= 0 ;
3797 (char *) "self",(char *) "clr", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
3801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3802 if (SWIG_arg_fail(1)) SWIG_fail
;
3805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3814 Py_INCREF(Py_None
); resultobj
= Py_None
;
3821 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
;
3823 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3825 PyObject
* obj0
= 0 ;
3827 (char *) "self", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
3831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3832 if (SWIG_arg_fail(1)) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (arg1
)->GetActualColor();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 wxColour
* resultptr
;
3842 resultptr
= new wxColour((wxColour
&)(result
));
3843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3851 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3854 wxColour
*arg2
= 0 ;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3859 (char *) "self",(char *) "clr", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
3863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3864 if (SWIG_arg_fail(1)) SWIG_fail
;
3867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3886 wxString
*arg2
= 0 ;
3887 bool temp2
= false ;
3888 PyObject
* obj0
= 0 ;
3889 PyObject
* obj1
= 0 ;
3891 (char *) "self",(char *) "link", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
3895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3896 if (SWIG_arg_fail(1)) SWIG_fail
;
3898 arg2
= wxString_in_helper(obj1
);
3899 if (arg2
== NULL
) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetLink((wxString
const &)*arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
3934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(1)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
3950 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3953 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "self", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
3960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3961 if (SWIG_arg_fail(1)) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (arg1
)->GetLink();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3970 wxHtmlLinkInfo
* resultptr
;
3971 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&)(result
));
3972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
3980 static PyObject
* HtmlWinParser_swigregister(PyObject
*, PyObject
*args
) {
3982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3983 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
3985 return Py_BuildValue((char *)"");
3987 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxPyHtmlTagHandler
*result
;
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
4009 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4012 PyObject
*arg2
= (PyObject
*) 0 ;
4013 PyObject
*arg3
= (PyObject
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4015 PyObject
* obj1
= 0 ;
4016 PyObject
* obj2
= 0 ;
4018 (char *) "self",(char *) "self",(char *) "_class", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4023 if (SWIG_arg_fail(1)) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 Py_INCREF(Py_None
); resultobj
= Py_None
;
4040 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4043 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4044 PyObject
* obj0
= 0 ;
4045 PyObject
* obj1
= 0 ;
4047 (char *) "self",(char *) "parser", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4052 if (SWIG_arg_fail(1)) SWIG_fail
;
4053 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4054 if (SWIG_arg_fail(2)) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 (arg1
)->SetParser(arg2
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 Py_INCREF(Py_None
); resultobj
= Py_None
;
4069 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4072 wxHtmlParser
*result
;
4073 PyObject
* obj0
= 0 ;
4075 (char *) "self", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4080 if (SWIG_arg_fail(1)) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (wxHtmlParser
*)(arg1
)->GetParser();
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlParser
, 0);
4095 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4098 wxHtmlTag
*arg2
= 0 ;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4102 (char *) "self",(char *) "tag", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4107 if (SWIG_arg_fail(1)) SWIG_fail
;
4109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4110 if (SWIG_arg_fail(2)) SWIG_fail
;
4112 SWIG_null_ref("wxHtmlTag");
4114 if (SWIG_arg_fail(2)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 Py_INCREF(Py_None
); resultobj
= Py_None
;
4130 static PyObject
* HtmlTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4133 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
4135 return Py_BuildValue((char *)"");
4137 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
*resultobj
;
4139 wxPyHtmlWinTagHandler
*result
;
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
4159 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4162 PyObject
*arg2
= (PyObject
*) 0 ;
4163 PyObject
*arg3
= (PyObject
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4166 PyObject
* obj2
= 0 ;
4168 (char *) "self",(char *) "self",(char *) "_class", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4190 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4193 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "parser", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(1)) SWIG_fail
;
4203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4204 if (SWIG_arg_fail(2)) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetParser(arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4222 wxHtmlWinParser
*result
;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4230 if (SWIG_arg_fail(1)) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
4245 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4248 wxHtmlTag
*arg2
= 0 ;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4252 (char *) "self",(char *) "tag", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4257 if (SWIG_arg_fail(1)) SWIG_fail
;
4259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4260 if (SWIG_arg_fail(2)) SWIG_fail
;
4262 SWIG_null_ref("wxHtmlTag");
4264 if (SWIG_arg_fail(2)) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 Py_INCREF(Py_None
); resultobj
= Py_None
;
4280 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4283 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
4285 return Py_BuildValue((char *)"");
4287 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 PyObject
*arg1
= (PyObject
*) 0 ;
4290 PyObject
* obj0
= 0 ;
4292 (char *) "tagHandlerClass", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 wxHtmlWinParser_AddTagHandler(arg1
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 Py_INCREF(Py_None
); resultobj
= Py_None
;
4311 static PyObject
*_wrap_new_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxHtmlSelection
*result
;
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxHtmlSelection
*)new wxHtmlSelection();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 1);
4333 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4338 (char *) "self", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
4342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4343 if (SWIG_arg_fail(1)) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4362 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4364 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4368 PyObject
* obj1
= 0 ;
4369 PyObject
* obj2
= 0 ;
4370 PyObject
* obj3
= 0 ;
4371 PyObject
* obj4
= 0 ;
4373 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4378 if (SWIG_arg_fail(1)) SWIG_fail
;
4381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4383 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4384 if (SWIG_arg_fail(3)) SWIG_fail
;
4387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4389 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4390 if (SWIG_arg_fail(5)) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4408 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4409 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 PyObject
* obj2
= 0 ;
4414 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4419 if (SWIG_arg_fail(1)) SWIG_fail
;
4420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4421 if (SWIG_arg_fail(2)) SWIG_fail
;
4422 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4423 if (SWIG_arg_fail(3)) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4440 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4444 (char *) "self", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
4448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4449 if (SWIG_arg_fail(1)) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4464 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
4474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4475 if (SWIG_arg_fail(1)) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4490 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4496 (char *) "self", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
4500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4501 if (SWIG_arg_fail(1)) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
4506 result
= (wxPoint
*) &_result_ref
;
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4519 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "self", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
4529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4530 if (SWIG_arg_fail(1)) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
4535 result
= (wxPoint
*) &_result_ref
;
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4548 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4554 (char *) "self", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
4558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
4564 result
= (wxPoint
*) &_result_ref
;
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4577 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4583 (char *) "self", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
4587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4588 if (SWIG_arg_fail(1)) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
4593 result
= (wxPoint
*) &_result_ref
;
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4606 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4614 (char *) "self",(char *) "pos", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4644 PyObject
* obj1
= 0 ;
4646 (char *) "self",(char *) "pos", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4651 if (SWIG_arg_fail(1)) SWIG_fail
;
4654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 Py_INCREF(Py_None
); resultobj
= Py_None
;
4670 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4675 (char *) "self", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
4679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 (arg1
)->ClearPrivPos();
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4688 Py_INCREF(Py_None
); resultobj
= Py_None
;
4695 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4701 (char *) "self", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
4705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4706 if (SWIG_arg_fail(1)) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_From_bool((bool)(result
));
4723 static PyObject
* HtmlSelection_swigregister(PyObject
*, PyObject
*args
) {
4725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4726 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
4728 return Py_BuildValue((char *)"");
4730 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxHtmlRenderingState
*result
;
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 1);
4752 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4757 (char *) "self", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
4761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4762 if (SWIG_arg_fail(1)) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 Py_INCREF(Py_None
); resultobj
= Py_None
;
4777 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4780 wxHtmlSelectionState arg2
;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4784 (char *) "self",(char *) "s", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
4788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4789 if (SWIG_arg_fail(1)) SWIG_fail
;
4791 arg2
= (wxHtmlSelectionState
)(SWIG_As_int(obj1
));
4792 if (SWIG_arg_fail(2)) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4811 wxHtmlSelectionState result
;
4812 PyObject
* obj0
= 0 ;
4814 (char *) "self", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
4818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4819 if (SWIG_arg_fail(1)) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_From_int((result
));
4834 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4837 wxColour
*arg2
= 0 ;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4842 (char *) "self",(char *) "c", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4847 if (SWIG_arg_fail(1)) SWIG_fail
;
4850 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 Py_INCREF(Py_None
); resultobj
= Py_None
;
4866 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4872 (char *) "self", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
4876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4877 if (SWIG_arg_fail(1)) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
4882 result
= (wxColour
*) &_result_ref
;
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
4895 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4898 wxColour
*arg2
= 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4903 (char *) "self",(char *) "c", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4908 if (SWIG_arg_fail(1)) SWIG_fail
;
4911 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 Py_INCREF(Py_None
); resultobj
= Py_None
;
4927 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "self", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
4937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4938 if (SWIG_arg_fail(1)) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
4943 result
= (wxColour
*) &_result_ref
;
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
4956 static PyObject
* HtmlRenderingState_swigregister(PyObject
*, PyObject
*args
) {
4958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4959 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
4961 return Py_BuildValue((char *)"");
4963 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
4966 wxColour
*arg2
= 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4972 (char *) "self",(char *) "clr", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail
;
4980 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 wxColour
* resultptr
;
4991 resultptr
= new wxColour((wxColour
&)(result
));
4992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5000 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
5003 wxColour
*arg2
= 0 ;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5009 (char *) "self",(char *) "clr", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5014 if (SWIG_arg_fail(1)) SWIG_fail
;
5017 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5027 wxColour
* resultptr
;
5028 resultptr
= new wxColour((wxColour
&)(result
));
5029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5037 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5040 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
5042 return Py_BuildValue((char *)"");
5044 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5047 wxColour
*arg2
= 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "clr", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5058 if (SWIG_arg_fail(1)) SWIG_fail
;
5061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 wxColour
* resultptr
;
5072 resultptr
= new wxColour((wxColour
&)(result
));
5073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5081 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5084 wxColour
*arg2
= 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5090 (char *) "self",(char *) "clr", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5108 wxColour
* resultptr
;
5109 resultptr
= new wxColour((wxColour
&)(result
));
5110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5118 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5121 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
5123 return Py_BuildValue((char *)"");
5125 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxHtmlRenderingInfo
*result
;
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
5147 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
5156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 Py_INCREF(Py_None
); resultobj
= Py_None
;
5172 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5175 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5179 (char *) "self",(char *) "s", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5184 if (SWIG_arg_fail(1)) SWIG_fail
;
5185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
5186 if (SWIG_arg_fail(2)) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 (arg1
)->SetSelection(arg2
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 Py_INCREF(Py_None
); resultobj
= Py_None
;
5201 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5204 wxHtmlSelection
*result
;
5205 PyObject
* obj0
= 0 ;
5207 (char *) "self", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
5211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5212 if (SWIG_arg_fail(1)) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 0);
5227 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5230 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "style", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail
;
5240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5241 if (SWIG_arg_fail(2)) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 (arg1
)->SetStyle(arg2
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 Py_INCREF(Py_None
); resultobj
= Py_None
;
5256 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5259 wxHtmlRenderingStyle
*result
;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5267 if (SWIG_arg_fail(1)) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
5272 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
5285 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5288 wxHtmlRenderingState
*result
;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
5295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
5301 result
= (wxHtmlRenderingState
*) &_result_ref
;
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0);
5314 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*, PyObject
*args
) {
5316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
5319 return Py_BuildValue((char *)"");
5321 static PyObject
*_wrap_new_HtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 result
= (wxHtmlCell
*)new wxHtmlCell();
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 1);
5343 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5349 (char *) "self", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
5353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5354 if (SWIG_arg_fail(1)) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (int)(arg1
)->GetPosX();
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_From_int((int)(result
));
5371 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5375 PyObject
* obj0
= 0 ;
5377 (char *) "self", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
5381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5382 if (SWIG_arg_fail(1)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 result
= (int)(arg1
)->GetPosY();
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_From_int((int)(result
));
5399 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5405 (char *) "self", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
5409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5410 if (SWIG_arg_fail(1)) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (int)(arg1
)->GetWidth();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_From_int((int)(result
));
5427 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5433 (char *) "self", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
5437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 result
= (int)(arg1
)->GetHeight();
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_From_int((int)(result
));
5455 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
5465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (int)(arg1
)->GetDescent();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= SWIG_From_int((int)(result
));
5483 static PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames
,&obj0
)) goto fail
;
5493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5494 if (SWIG_arg_fail(1)) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_From_int((int)(result
));
5511 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5517 (char *) "self", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
5521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5522 if (SWIG_arg_fail(1)) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
5527 result
= (wxString
*) &_result_ref
;
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5537 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5546 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5549 wxString
*arg2
= 0 ;
5550 bool temp2
= false ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5554 (char *) "self",(char *) "id", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail
;
5561 arg2
= wxString_in_helper(obj1
);
5562 if (arg2
== NULL
) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->SetId((wxString
const &)*arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5590 int arg2
= (int) 0 ;
5591 int arg3
= (int) 0 ;
5592 wxHtmlLinkInfo
*result
;
5593 PyObject
* obj0
= 0 ;
5594 PyObject
* obj1
= 0 ;
5595 PyObject
* obj2
= 0 ;
5597 (char *) "self",(char *) "x",(char *) "y", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5602 if (SWIG_arg_fail(1)) SWIG_fail
;
5605 arg2
= (int)(SWIG_As_int(obj1
));
5606 if (SWIG_arg_fail(2)) SWIG_fail
;
5611 arg3
= (int)(SWIG_As_int(obj2
));
5612 if (SWIG_arg_fail(3)) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0);
5629 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "self", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
5639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5640 if (SWIG_arg_fail(1)) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (wxHtmlCell
*)(arg1
)->GetNext();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5655 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5658 wxHtmlContainerCell
*result
;
5659 PyObject
* obj0
= 0 ;
5661 (char *) "self", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
5665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5666 if (SWIG_arg_fail(1)) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
5681 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5687 (char *) "self", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5692 if (SWIG_arg_fail(1)) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5707 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5713 (char *) "self", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
5717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5718 if (SWIG_arg_fail(1)) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5727 wxCursor
* resultptr
;
5728 resultptr
= new wxCursor((wxCursor
&)(result
));
5729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
5737 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5743 (char *) "self", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5768 wxHtmlLinkInfo
*arg2
= 0 ;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "link", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail
;
5779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
5780 if (SWIG_arg_fail(2)) SWIG_fail
;
5782 SWIG_null_ref("wxHtmlLinkInfo");
5784 if (SWIG_arg_fail(2)) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 Py_INCREF(Py_None
); resultobj
= Py_None
;
5800 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5803 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5807 (char *) "self",(char *) "cell", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
5811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5812 if (SWIG_arg_fail(1)) SWIG_fail
;
5813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5814 if (SWIG_arg_fail(2)) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 (arg1
)->SetNext(arg2
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 Py_INCREF(Py_None
); resultobj
= Py_None
;
5829 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5832 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5836 (char *) "self",(char *) "p", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
5840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5841 if (SWIG_arg_fail(1)) SWIG_fail
;
5842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(2)) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->SetParent(arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5864 PyObject
* obj1
= 0 ;
5865 PyObject
* obj2
= 0 ;
5867 (char *) "self",(char *) "x",(char *) "y", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5872 if (SWIG_arg_fail(1)) SWIG_fail
;
5874 arg2
= (int)(SWIG_As_int(obj1
));
5875 if (SWIG_arg_fail(2)) SWIG_fail
;
5878 arg3
= (int)(SWIG_As_int(obj2
));
5879 if (SWIG_arg_fail(3)) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 (arg1
)->SetPos(arg2
,arg3
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 Py_INCREF(Py_None
); resultobj
= Py_None
;
5895 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5902 (char *) "self",(char *) "w", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail
;
5909 arg2
= (int)(SWIG_As_int(obj1
));
5910 if (SWIG_arg_fail(2)) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 (arg1
)->Layout(arg2
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 Py_INCREF(Py_None
); resultobj
= Py_None
;
5926 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5934 wxHtmlRenderingInfo
*arg7
= 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5937 PyObject
* obj2
= 0 ;
5938 PyObject
* obj3
= 0 ;
5939 PyObject
* obj4
= 0 ;
5940 PyObject
* obj5
= 0 ;
5941 PyObject
* obj6
= 0 ;
5943 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail
;
5950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
5951 if (SWIG_arg_fail(2)) SWIG_fail
;
5953 SWIG_null_ref("wxDC");
5955 if (SWIG_arg_fail(2)) SWIG_fail
;
5958 arg3
= (int)(SWIG_As_int(obj2
));
5959 if (SWIG_arg_fail(3)) SWIG_fail
;
5962 arg4
= (int)(SWIG_As_int(obj3
));
5963 if (SWIG_arg_fail(4)) SWIG_fail
;
5966 arg5
= (int)(SWIG_As_int(obj4
));
5967 if (SWIG_arg_fail(5)) SWIG_fail
;
5970 arg6
= (int)(SWIG_As_int(obj5
));
5971 if (SWIG_arg_fail(6)) SWIG_fail
;
5974 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5975 if (SWIG_arg_fail(7)) SWIG_fail
;
5977 SWIG_null_ref("wxHtmlRenderingInfo");
5979 if (SWIG_arg_fail(7)) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 Py_INCREF(Py_None
); resultobj
= Py_None
;
5995 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6001 wxHtmlRenderingInfo
*arg5
= 0 ;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 PyObject
* obj2
= 0 ;
6005 PyObject
* obj3
= 0 ;
6006 PyObject
* obj4
= 0 ;
6008 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6013 if (SWIG_arg_fail(1)) SWIG_fail
;
6015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6016 if (SWIG_arg_fail(2)) SWIG_fail
;
6018 SWIG_null_ref("wxDC");
6020 if (SWIG_arg_fail(2)) SWIG_fail
;
6023 arg3
= (int)(SWIG_As_int(obj2
));
6024 if (SWIG_arg_fail(3)) SWIG_fail
;
6027 arg4
= (int)(SWIG_As_int(obj3
));
6028 if (SWIG_arg_fail(4)) SWIG_fail
;
6031 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
6032 if (SWIG_arg_fail(5)) SWIG_fail
;
6034 SWIG_null_ref("wxHtmlRenderingInfo");
6036 if (SWIG_arg_fail(5)) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 Py_INCREF(Py_None
); resultobj
= Py_None
;
6052 static PyObject
*_wrap_HtmlCell_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
;
6054 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6056 void *arg3
= (void *) 0 ;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6062 (char *) "self",(char *) "condition",(char *) "param", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6067 if (SWIG_arg_fail(1)) SWIG_fail
;
6069 arg2
= (int)(SWIG_As_int(obj1
));
6070 if (SWIG_arg_fail(2)) SWIG_fail
;
6073 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
6074 SWIG_arg_fail(3);SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6091 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6094 int *arg2
= (int *) 0 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6101 (char *) "self",(char *) "INOUT", NULL
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6106 if (SWIG_arg_fail(1)) SWIG_fail
;
6108 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
6109 temp2
= SWIG_As_int(obj1
);
6110 if (SWIG_arg_fail(2)) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6125 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6126 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6133 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6140 (char *) "self",(char *) "can", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6147 arg2
= (bool)(SWIG_As_bool(obj1
));
6148 if (SWIG_arg_fail(2)) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 (arg1
)->SetCanLiveOnPagebreak(arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6164 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6170 (char *) "self", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
6174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6192 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6198 (char *) "self", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
6202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6203 if (SWIG_arg_fail(1)) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6220 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6225 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6229 PyObject
* obj2
= 0 ;
6230 PyObject
* obj3
= 0 ;
6232 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6237 if (SWIG_arg_fail(1)) SWIG_fail
;
6239 arg2
= (int)(SWIG_As_int(obj1
));
6240 if (SWIG_arg_fail(2)) SWIG_fail
;
6243 arg3
= (int)(SWIG_As_int(obj2
));
6244 if (SWIG_arg_fail(3)) SWIG_fail
;
6248 arg4
= (unsigned int)(SWIG_As_unsigned_SS_int(obj3
));
6249 if (SWIG_arg_fail(4)) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6266 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
6276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6277 if (SWIG_arg_fail(1)) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 wxPoint
* resultptr
;
6287 resultptr
= new wxPoint((wxPoint
&)(result
));
6288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6296 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6300 PyObject
* obj0
= 0 ;
6302 (char *) "self", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
6306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6307 if (SWIG_arg_fail(1)) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6322 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "self", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
6332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6333 if (SWIG_arg_fail(1)) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6348 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6351 unsigned int result
;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "self", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
6358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6359 if (SWIG_arg_fail(1)) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
6376 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6379 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6384 (char *) "self",(char *) "cell", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
6388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6391 if (SWIG_arg_fail(2)) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6408 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6411 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6416 (char *) "self",(char *) "sel", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
6420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6421 if (SWIG_arg_fail(1)) SWIG_fail
;
6422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
6423 if (SWIG_arg_fail(2)) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6444 static PyObject
* HtmlCell_swigregister(PyObject
*, PyObject
*args
) {
6446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6447 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
6449 return Py_BuildValue((char *)"");
6451 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxString
*arg1
= 0 ;
6455 wxHtmlWordCell
*result
;
6456 bool temp1
= false ;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6460 (char *) "word",(char *) "dc", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6465 arg1
= wxString_in_helper(obj0
);
6466 if (arg1
== NULL
) SWIG_fail
;
6470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6471 if (SWIG_arg_fail(2)) SWIG_fail
;
6473 SWIG_null_ref("wxDC");
6475 if (SWIG_arg_fail(2)) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWordCell
, 1);
6499 static PyObject
* HtmlWordCell_swigregister(PyObject
*, PyObject
*args
) {
6501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6502 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
6504 return Py_BuildValue((char *)"");
6506 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6508 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6509 wxHtmlContainerCell
*result
;
6510 PyObject
* obj0
= 0 ;
6512 (char *) "parent", NULL
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
6516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6517 if (SWIG_arg_fail(1)) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 1);
6532 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6535 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6539 (char *) "self",(char *) "cell", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail
;
6545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6546 if (SWIG_arg_fail(2)) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 (arg1
)->InsertCell(arg2
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 Py_INCREF(Py_None
); resultobj
= Py_None
;
6561 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6568 (char *) "self",(char *) "al", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
6572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6573 if (SWIG_arg_fail(1)) SWIG_fail
;
6575 arg2
= (int)(SWIG_As_int(obj1
));
6576 if (SWIG_arg_fail(2)) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 (arg1
)->SetAlignHor(arg2
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6592 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
6602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (int)(arg1
)->GetAlignHor();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= SWIG_From_int((int)(result
));
6620 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6627 (char *) "self",(char *) "al", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
6631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail
;
6634 arg2
= (int)(SWIG_As_int(obj1
));
6635 if (SWIG_arg_fail(2)) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 (arg1
)->SetAlignVer(arg2
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 Py_INCREF(Py_None
); resultobj
= Py_None
;
6651 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
6661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6662 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (int)(arg1
)->GetAlignVer();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= SWIG_From_int((int)(result
));
6679 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6684 int arg4
= (int) wxHTML_UNITS_PIXELS
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6688 PyObject
* obj3
= 0 ;
6690 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 arg2
= (int)(SWIG_As_int(obj1
));
6698 if (SWIG_arg_fail(2)) SWIG_fail
;
6701 arg3
= (int)(SWIG_As_int(obj2
));
6702 if (SWIG_arg_fail(3)) SWIG_fail
;
6706 arg4
= (int)(SWIG_As_int(obj3
));
6707 if (SWIG_arg_fail(4)) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 Py_INCREF(Py_None
); resultobj
= Py_None
;
6724 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6732 (char *) "self",(char *) "ind", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail
;
6739 arg2
= (int)(SWIG_As_int(obj1
));
6740 if (SWIG_arg_fail(2)) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (int)(arg1
)->GetIndent(arg2
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_From_int((int)(result
));
6758 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "ind", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6771 if (SWIG_arg_fail(1)) SWIG_fail
;
6773 arg2
= (int)(SWIG_As_int(obj1
));
6774 if (SWIG_arg_fail(2)) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (int)(arg1
)->GetIndentUnits(arg2
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_From_int((int)(result
));
6792 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6795 wxHtmlTag
*arg2
= 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "tag", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail
;
6806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
6807 if (SWIG_arg_fail(2)) SWIG_fail
;
6809 SWIG_null_ref("wxHtmlTag");
6811 if (SWIG_arg_fail(2)) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 Py_INCREF(Py_None
); resultobj
= Py_None
;
6827 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6834 PyObject
* obj2
= 0 ;
6836 (char *) "self",(char *) "w",(char *) "units", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail
;
6843 arg2
= (int)(SWIG_As_int(obj1
));
6844 if (SWIG_arg_fail(2)) SWIG_fail
;
6847 arg3
= (int)(SWIG_As_int(obj2
));
6848 if (SWIG_arg_fail(3)) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 (arg1
)->SetWidthFloat(arg2
,arg3
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 Py_INCREF(Py_None
); resultobj
= Py_None
;
6864 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6867 wxHtmlTag
*arg2
= 0 ;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6871 (char *) "self",(char *) "tag", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
6875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail
;
6878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
6879 if (SWIG_arg_fail(2)) SWIG_fail
;
6881 SWIG_null_ref("wxHtmlTag");
6883 if (SWIG_arg_fail(2)) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 Py_INCREF(Py_None
); resultobj
= Py_None
;
6899 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6901 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6903 int arg3
= (int) wxHTML_ALIGN_TOP
;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 PyObject
* obj2
= 0 ;
6908 (char *) "self",(char *) "h",(char *) "align", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6913 if (SWIG_arg_fail(1)) SWIG_fail
;
6915 arg2
= (int)(SWIG_As_int(obj1
));
6916 if (SWIG_arg_fail(2)) SWIG_fail
;
6920 arg3
= (int)(SWIG_As_int(obj2
));
6921 if (SWIG_arg_fail(3)) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 (arg1
)->SetMinHeight(arg2
,arg3
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6941 wxColour
*arg2
= 0 ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6946 (char *) "self",(char *) "clr", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6951 if (SWIG_arg_fail(1)) SWIG_fail
;
6954 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 Py_INCREF(Py_None
); resultobj
= Py_None
;
6970 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6981 if (SWIG_arg_fail(1)) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (arg1
)->GetBackgroundColour();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6990 wxColour
* resultptr
;
6991 resultptr
= new wxColour((wxColour
&)(result
));
6992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
7000 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7003 wxColour
*arg2
= 0 ;
7004 wxColour
*arg3
= 0 ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 PyObject
* obj2
= 0 ;
7011 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7016 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7023 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 Py_INCREF(Py_None
); resultobj
= Py_None
;
7039 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7045 (char *) "self", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
7049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7050 if (SWIG_arg_fail(1)) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
7065 static PyObject
* HtmlContainerCell_swigregister(PyObject
*, PyObject
*args
) {
7067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
7070 return Py_BuildValue((char *)"");
7072 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxColour
*arg1
= 0 ;
7075 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
7076 wxHtmlColourCell
*result
;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 (char *) "clr",(char *) "flags", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7087 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7091 arg2
= (int)(SWIG_As_int(obj1
));
7092 if (SWIG_arg_fail(2)) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlColourCell
, 1);
7109 static PyObject
* HtmlColourCell_swigregister(PyObject
*, PyObject
*args
) {
7111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7112 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
7114 return Py_BuildValue((char *)"");
7116 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxFont
*arg1
= (wxFont
*) 0 ;
7119 wxHtmlFontCell
*result
;
7120 PyObject
* obj0
= 0 ;
7122 (char *) "font", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
7126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlFontCell
, 1);
7142 static PyObject
* HtmlFontCell_swigregister(PyObject
*, PyObject
*args
) {
7144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7145 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
7147 return Py_BuildValue((char *)"");
7149 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxWindow
*arg1
= (wxWindow
*) 0 ;
7152 int arg2
= (int) 0 ;
7153 wxHtmlWidgetCell
*result
;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7157 (char *) "wnd",(char *) "w", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7162 if (SWIG_arg_fail(1)) SWIG_fail
;
7165 arg2
= (int)(SWIG_As_int(obj1
));
7166 if (SWIG_arg_fail(2)) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWidgetCell
, 1);
7183 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*, PyObject
*args
) {
7185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7186 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
7188 return Py_BuildValue((char *)"");
7190 static PyObject
*_wrap_new_HtmlFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxPyHtmlFilter
*result
;
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlFilter
, 1);
7212 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
7215 PyObject
*arg2
= (PyObject
*) 0 ;
7216 PyObject
*arg3
= (PyObject
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7219 PyObject
* obj2
= 0 ;
7221 (char *) "self",(char *) "self",(char *) "_class", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
7226 if (SWIG_arg_fail(1)) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
* HtmlFilter_swigregister(PyObject
*, PyObject
*args
) {
7245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7246 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
7248 return Py_BuildValue((char *)"");
7250 static PyObject
*_wrap_new_HtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxWindow
*arg1
= (wxWindow
*) 0 ;
7253 int arg2
= (int) -1 ;
7254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7256 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7257 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7258 int arg5
= (int) wxHW_DEFAULT_STYLE
;
7259 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
7260 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7261 wxPyHtmlWindow
*result
;
7264 bool temp6
= false ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7268 PyObject
* obj3
= 0 ;
7269 PyObject
* obj4
= 0 ;
7270 PyObject
* obj5
= 0 ;
7272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7277 if (SWIG_arg_fail(1)) SWIG_fail
;
7280 arg2
= (int)(SWIG_As_int(obj1
));
7281 if (SWIG_arg_fail(2)) SWIG_fail
;
7287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7293 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7298 arg5
= (int)(SWIG_As_int(obj4
));
7299 if (SWIG_arg_fail(5)) SWIG_fail
;
7304 arg6
= wxString_in_helper(obj5
);
7305 if (arg6
== NULL
) SWIG_fail
;
7310 if (!wxPyCheckForApp()) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7332 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxPyHtmlWindow
*result
;
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
7341 if (!wxPyCheckForApp()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7355 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7358 wxWindow
*arg2
= (wxWindow
*) 0 ;
7359 int arg3
= (int) -1 ;
7360 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7361 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7362 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7363 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7364 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
7365 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
7366 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7370 bool temp7
= false ;
7371 PyObject
* obj0
= 0 ;
7372 PyObject
* obj1
= 0 ;
7373 PyObject
* obj2
= 0 ;
7374 PyObject
* obj3
= 0 ;
7375 PyObject
* obj4
= 0 ;
7376 PyObject
* obj5
= 0 ;
7377 PyObject
* obj6
= 0 ;
7379 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail
;
7385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7386 if (SWIG_arg_fail(2)) SWIG_fail
;
7389 arg3
= (int)(SWIG_As_int(obj2
));
7390 if (SWIG_arg_fail(3)) SWIG_fail
;
7396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7407 arg6
= (int)(SWIG_As_int(obj5
));
7408 if (SWIG_arg_fail(6)) SWIG_fail
;
7413 arg7
= wxString_in_helper(obj6
);
7414 if (arg7
== NULL
) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7442 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7445 PyObject
*arg2
= (PyObject
*) 0 ;
7446 PyObject
*arg3
= (PyObject
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 PyObject
* obj2
= 0 ;
7451 (char *) "self",(char *) "self",(char *) "_class", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7456 if (SWIG_arg_fail(1)) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7473 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7476 wxString
*arg2
= 0 ;
7478 bool temp2
= false ;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7482 (char *) "self",(char *) "source", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7487 if (SWIG_arg_fail(1)) SWIG_fail
;
7489 arg2
= wxString_in_helper(obj1
);
7490 if (arg2
== NULL
) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7517 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7520 wxString
*arg2
= 0 ;
7522 bool temp2
= false ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7526 (char *) "self",(char *) "location", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail
;
7533 arg2
= wxString_in_helper(obj1
);
7534 if (arg2
== NULL
) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7561 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7564 wxString
*arg2
= 0 ;
7566 bool temp2
= false ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7570 (char *) "self",(char *) "filename", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7575 if (SWIG_arg_fail(1)) SWIG_fail
;
7577 arg2
= wxString_in_helper(obj1
);
7578 if (arg2
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7605 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7608 wxString
*arg2
= 0 ;
7610 bool temp2
= false ;
7611 PyObject
* obj0
= 0 ;
7612 PyObject
* obj1
= 0 ;
7614 (char *) "self",(char *) "source", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail
;
7621 arg2
= wxString_in_helper(obj1
);
7622 if (arg2
== NULL
) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7649 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (arg1
)->GetOpenedPage();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7681 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7685 PyObject
* obj0
= 0 ;
7687 (char *) "self", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
7691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 result
= (arg1
)->GetOpenedAnchor();
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7713 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "self", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
7723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (arg1
)->GetOpenedPageTitle();
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7745 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7748 wxFrame
*arg2
= (wxFrame
*) 0 ;
7749 wxString
*arg3
= 0 ;
7750 bool temp3
= false ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7755 (char *) "self",(char *) "frame",(char *) "format", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail
;
7761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
7762 if (SWIG_arg_fail(2)) SWIG_fail
;
7764 arg3
= wxString_in_helper(obj2
);
7765 if (arg3
== NULL
) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
7800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= wxPyMake_wxObject(result
, 0);
7818 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7825 (char *) "self",(char *) "bar", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
7829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail
;
7832 arg2
= (int)(SWIG_As_int(obj1
));
7833 if (SWIG_arg_fail(2)) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 (arg1
)->SetRelatedStatusBar(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7854 PyObject
*arg4
= (PyObject
*) NULL
;
7855 PyObject
* obj0
= 0 ;
7856 PyObject
* obj1
= 0 ;
7857 PyObject
* obj2
= 0 ;
7858 PyObject
* obj3
= 0 ;
7860 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7865 if (SWIG_arg_fail(1)) SWIG_fail
;
7867 wxString
* sptr
= wxString_in_helper(obj1
);
7868 if (sptr
== NULL
) SWIG_fail
;
7873 wxString
* sptr
= wxString_in_helper(obj2
);
7874 if (sptr
== NULL
) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7898 int arg2
= (int) -1 ;
7899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7901 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7902 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7903 bool temp3
= false ;
7904 bool temp4
= false ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 PyObject
* obj2
= 0 ;
7908 PyObject
* obj3
= 0 ;
7910 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail
;
7918 arg2
= (int)(SWIG_As_int(obj1
));
7919 if (SWIG_arg_fail(2)) SWIG_fail
;
7924 arg3
= wxString_in_helper(obj2
);
7925 if (arg3
== NULL
) SWIG_fail
;
7931 arg4
= wxString_in_helper(obj3
);
7932 if (arg4
== NULL
) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_HtmlWindow_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7969 wxString
*arg2
= 0 ;
7970 bool temp2
= false ;
7971 PyObject
* obj0
= 0 ;
7972 PyObject
* obj1
= 0 ;
7974 (char *) "self",(char *) "title", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
7978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail
;
7981 arg2
= wxString_in_helper(obj1
);
7982 if (arg2
== NULL
) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 (arg1
)->SetLabel((wxString
const &)*arg2
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "self",(char *) "b", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
8018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail
;
8021 arg2
= (int)(SWIG_As_int(obj1
));
8022 if (SWIG_arg_fail(2)) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 (arg1
)->SetBorders(arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8038 static PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8041 wxBitmap
*arg2
= 0 ;
8042 PyObject
* obj0
= 0 ;
8043 PyObject
* obj1
= 0 ;
8045 (char *) "self",(char *) "bmpBg", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail
;
8052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(2)) SWIG_fail
;
8055 SWIG_null_ref("wxBitmap");
8057 if (SWIG_arg_fail(2)) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8076 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8077 wxString arg3
= (wxString
) wxPyEmptyString
;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8080 PyObject
* obj2
= 0 ;
8082 (char *) "self",(char *) "cfg",(char *) "path", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8089 if (SWIG_arg_fail(2)) SWIG_fail
;
8092 wxString
* sptr
= wxString_in_helper(obj2
);
8093 if (sptr
== NULL
) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->ReadCustomization(arg2
,arg3
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8115 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8116 wxString arg3
= (wxString
) wxPyEmptyString
;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8119 PyObject
* obj2
= 0 ;
8121 (char *) "self",(char *) "cfg",(char *) "path", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail
;
8127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8128 if (SWIG_arg_fail(2)) SWIG_fail
;
8131 wxString
* sptr
= wxString_in_helper(obj2
);
8132 if (sptr
== NULL
) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 (arg1
)->WriteCustomization(arg2
,arg3
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 Py_INCREF(Py_None
); resultobj
= Py_None
;
8151 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
8161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (bool)(arg1
)->HistoryBack();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8179 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
8189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (bool)(arg1
)->HistoryForward();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8207 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
8217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8218 if (SWIG_arg_fail(1)) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (bool)(arg1
)->HistoryCanBack();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8235 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "self", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
8245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8246 if (SWIG_arg_fail(1)) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (bool)(arg1
)->HistoryCanForward();
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8263 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "self", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
8272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8273 if (SWIG_arg_fail(1)) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->HistoryClear();
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8288 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8291 wxHtmlContainerCell
*result
;
8292 PyObject
* obj0
= 0 ;
8294 (char *) "self", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
8298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
8314 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8317 wxHtmlWinParser
*result
;
8318 PyObject
* obj0
= 0 ;
8320 (char *) "self", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
8324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8325 if (SWIG_arg_fail(1)) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
8340 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8343 wxString
*arg2
= 0 ;
8345 bool temp2
= false ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8349 (char *) "self",(char *) "anchor", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8354 if (SWIG_arg_fail(1)) SWIG_fail
;
8356 arg2
= wxString_in_helper(obj1
);
8357 if (arg2
== NULL
) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8384 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8387 wxString
*arg2
= 0 ;
8389 bool temp2
= false ;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8393 (char *) "self",(char *) "anchor", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8398 if (SWIG_arg_fail(1)) SWIG_fail
;
8400 arg2
= wxString_in_helper(obj1
);
8401 if (arg2
== NULL
) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8428 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "filter", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
8437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
8438 if (SWIG_arg_fail(1)) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 wxPyHtmlWindow::AddFilter(arg1
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8461 (char *) "self",(char *) "pos", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
8465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8466 if (SWIG_arg_fail(1)) SWIG_fail
;
8469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 (char *) "self",(char *) "pos", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8498 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8520 PyObject
* obj0
= 0 ;
8522 (char *) "self", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
8526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8527 if (SWIG_arg_fail(1)) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 (arg1
)->SelectAll();
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 Py_INCREF(Py_None
); resultobj
= Py_None
;
8542 static PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectionToText",kwnames
,&obj0
)) goto fail
;
8552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (arg1
)->SelectionToText();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8574 static PyObject
*_wrap_HtmlWindow_ToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8578 PyObject
* obj0
= 0 ;
8580 (char *) "self", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_ToText",kwnames
,&obj0
)) goto fail
;
8584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8585 if (SWIG_arg_fail(1)) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (arg1
)->ToText();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8606 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8609 wxHtmlLinkInfo
*arg2
= 0 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8613 (char *) "self",(char *) "link", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
8617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8618 if (SWIG_arg_fail(1)) SWIG_fail
;
8620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
8621 if (SWIG_arg_fail(2)) SWIG_fail
;
8623 SWIG_null_ref("wxHtmlLinkInfo");
8625 if (SWIG_arg_fail(2)) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8644 wxString
*arg2
= 0 ;
8645 bool temp2
= false ;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8649 (char *) "self",(char *) "title", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8654 if (SWIG_arg_fail(1)) SWIG_fail
;
8656 arg2
= wxString_in_helper(obj1
);
8657 if (arg2
== NULL
) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 Py_INCREF(Py_None
); resultobj
= Py_None
;
8682 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8685 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8691 PyObject
* obj3
= 0 ;
8693 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8698 if (SWIG_arg_fail(1)) SWIG_fail
;
8699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
8700 if (SWIG_arg_fail(2)) SWIG_fail
;
8702 arg3
= (int)(SWIG_As_int(obj2
));
8703 if (SWIG_arg_fail(3)) SWIG_fail
;
8706 arg4
= (int)(SWIG_As_int(obj3
));
8707 if (SWIG_arg_fail(4)) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 Py_INCREF(Py_None
); resultobj
= Py_None
;
8723 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8726 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8729 wxMouseEvent
*arg5
= 0 ;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8732 PyObject
* obj2
= 0 ;
8733 PyObject
* obj3
= 0 ;
8734 PyObject
* obj4
= 0 ;
8736 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
8743 if (SWIG_arg_fail(2)) SWIG_fail
;
8745 arg3
= (int)(SWIG_As_int(obj2
));
8746 if (SWIG_arg_fail(3)) SWIG_fail
;
8749 arg4
= (int)(SWIG_As_int(obj3
));
8750 if (SWIG_arg_fail(4)) SWIG_fail
;
8753 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
8754 if (SWIG_arg_fail(5)) SWIG_fail
;
8756 SWIG_null_ref("wxMouseEvent");
8758 if (SWIG_arg_fail(5)) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8777 wxVisualAttributes result
;
8778 PyObject
* obj0
= 0 ;
8780 (char *) "variant", NULL
8783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8786 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8787 if (SWIG_arg_fail(1)) SWIG_fail
;
8791 if (!wxPyCheckForApp()) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 wxVisualAttributes
* resultptr
;
8800 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8809 static PyObject
* HtmlWindow_swigregister(PyObject
*, PyObject
*args
) {
8811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8812 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
8814 return Py_BuildValue((char *)"");
8816 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxHtmlDCRenderer
*result
;
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
8825 if (!wxPyCheckForApp()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlDCRenderer
, 1);
8839 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8842 PyObject
* obj0
= 0 ;
8844 (char *) "self", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
8848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8849 if (SWIG_arg_fail(1)) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8867 wxDC
*arg2
= (wxDC
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8871 PyObject
* obj2
= 0 ;
8873 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8878 if (SWIG_arg_fail(1)) SWIG_fail
;
8879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8880 if (SWIG_arg_fail(2)) SWIG_fail
;
8882 arg3
= (int)(SWIG_As_int(obj2
));
8883 if (SWIG_arg_fail(3)) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 (arg1
)->SetDC(arg2
,arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 Py_INCREF(Py_None
); resultobj
= Py_None
;
8899 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8906 PyObject
* obj2
= 0 ;
8908 (char *) "self",(char *) "width",(char *) "height", NULL
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8913 if (SWIG_arg_fail(1)) SWIG_fail
;
8915 arg2
= (int)(SWIG_As_int(obj1
));
8916 if (SWIG_arg_fail(2)) SWIG_fail
;
8919 arg3
= (int)(SWIG_As_int(obj2
));
8920 if (SWIG_arg_fail(3)) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->SetSize(arg2
,arg3
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 Py_INCREF(Py_None
); resultobj
= Py_None
;
8936 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8939 wxString
*arg2
= 0 ;
8940 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8941 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8942 bool arg4
= (bool) true ;
8943 bool temp2
= false ;
8944 bool temp3
= false ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8948 PyObject
* obj3
= 0 ;
8950 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail
;
8957 arg2
= wxString_in_helper(obj1
);
8958 if (arg2
== NULL
) SWIG_fail
;
8963 arg3
= wxString_in_helper(obj2
);
8964 if (arg3
== NULL
) SWIG_fail
;
8970 arg4
= (bool)(SWIG_As_bool(obj3
));
8971 if (SWIG_arg_fail(4)) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9009 PyObject
*arg4
= (PyObject
*) NULL
;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9012 PyObject
* obj2
= 0 ;
9013 PyObject
* obj3
= 0 ;
9015 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9020 if (SWIG_arg_fail(1)) SWIG_fail
;
9022 wxString
* sptr
= wxString_in_helper(obj1
);
9023 if (sptr
== NULL
) SWIG_fail
;
9028 wxString
* sptr
= wxString_in_helper(obj2
);
9029 if (sptr
== NULL
) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9053 int arg2
= (int) -1 ;
9054 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9055 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9056 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9057 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9058 bool temp3
= false ;
9059 bool temp4
= false ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 PyObject
* obj2
= 0 ;
9063 PyObject
* obj3
= 0 ;
9065 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9070 if (SWIG_arg_fail(1)) SWIG_fail
;
9073 arg2
= (int)(SWIG_As_int(obj1
));
9074 if (SWIG_arg_fail(2)) SWIG_fail
;
9079 arg3
= wxString_in_helper(obj2
);
9080 if (arg3
== NULL
) SWIG_fail
;
9086 arg4
= wxString_in_helper(obj3
);
9087 if (arg4
== NULL
) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9126 int arg4
= (int) 0 ;
9127 int arg5
= (int) false ;
9128 int arg6
= (int) INT_MAX
;
9129 int *arg7
= (int *) NULL
;
9130 int arg8
= (int) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9134 PyObject
* obj2
= 0 ;
9135 PyObject
* obj3
= 0 ;
9136 PyObject
* obj4
= 0 ;
9137 PyObject
* obj5
= 0 ;
9138 PyObject
* obj6
= 0 ;
9139 PyObject
* obj7
= 0 ;
9141 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9146 if (SWIG_arg_fail(1)) SWIG_fail
;
9148 arg2
= (int)(SWIG_As_int(obj1
));
9149 if (SWIG_arg_fail(2)) SWIG_fail
;
9152 arg3
= (int)(SWIG_As_int(obj2
));
9153 if (SWIG_arg_fail(3)) SWIG_fail
;
9157 arg4
= (int)(SWIG_As_int(obj3
));
9158 if (SWIG_arg_fail(4)) SWIG_fail
;
9163 arg5
= (int)(SWIG_As_int(obj4
));
9164 if (SWIG_arg_fail(5)) SWIG_fail
;
9169 arg6
= (int)(SWIG_As_int(obj5
));
9170 if (SWIG_arg_fail(6)) SWIG_fail
;
9174 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_int
, SWIG_POINTER_EXCEPTION
| 0);
9175 if (SWIG_arg_fail(7)) SWIG_fail
;
9179 arg8
= (int)(SWIG_As_int(obj7
));
9180 if (SWIG_arg_fail(8)) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_From_int((int)(result
));
9199 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "self", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
9209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (int)(arg1
)->GetTotalHeight();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_From_int((int)(result
));
9227 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*, PyObject
*args
) {
9229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9230 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
9232 return Py_BuildValue((char *)"");
9234 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
9237 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
9238 wxHtmlPrintout
*result
;
9239 bool temp1
= false ;
9240 PyObject
* obj0
= 0 ;
9242 (char *) "title", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
9248 arg1
= wxString_in_helper(obj0
);
9249 if (arg1
== NULL
) SWIG_fail
;
9254 if (!wxPyCheckForApp()) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlPrintout
, 1);
9276 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9278 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9279 wxString
*arg2
= 0 ;
9280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9282 bool arg4
= (bool) true ;
9283 bool temp2
= false ;
9284 bool temp3
= false ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 PyObject
* obj2
= 0 ;
9288 PyObject
* obj3
= 0 ;
9290 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9295 if (SWIG_arg_fail(1)) SWIG_fail
;
9297 arg2
= wxString_in_helper(obj1
);
9298 if (arg2
== NULL
) SWIG_fail
;
9303 arg3
= wxString_in_helper(obj2
);
9304 if (arg3
== NULL
) SWIG_fail
;
9310 arg4
= (bool)(SWIG_As_bool(obj3
));
9311 if (SWIG_arg_fail(4)) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 Py_INCREF(Py_None
); resultobj
= Py_None
;
9344 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9347 wxString
*arg2
= 0 ;
9348 bool temp2
= false ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9352 (char *) "self",(char *) "htmlfile", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail
;
9359 arg2
= wxString_in_helper(obj1
);
9360 if (arg2
== NULL
) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 Py_INCREF(Py_None
); resultobj
= Py_None
;
9385 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9388 wxString
*arg2
= 0 ;
9389 int arg3
= (int) wxPAGE_ALL
;
9390 bool temp2
= false ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9395 (char *) "self",(char *) "header",(char *) "pg", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 arg2
= wxString_in_helper(obj1
);
9403 if (arg2
== NULL
) SWIG_fail
;
9408 arg3
= (int)(SWIG_As_int(obj2
));
9409 if (SWIG_arg_fail(3)) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 Py_INCREF(Py_None
); resultobj
= Py_None
;
9434 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9437 wxString
*arg2
= 0 ;
9438 int arg3
= (int) wxPAGE_ALL
;
9439 bool temp2
= false ;
9440 PyObject
* obj0
= 0 ;
9441 PyObject
* obj1
= 0 ;
9442 PyObject
* obj2
= 0 ;
9444 (char *) "self",(char *) "footer",(char *) "pg", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9449 if (SWIG_arg_fail(1)) SWIG_fail
;
9451 arg2
= wxString_in_helper(obj1
);
9452 if (arg2
== NULL
) SWIG_fail
;
9457 arg3
= (int)(SWIG_As_int(obj2
));
9458 if (SWIG_arg_fail(3)) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 Py_INCREF(Py_None
); resultobj
= Py_None
;
9483 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9488 PyObject
*arg4
= (PyObject
*) NULL
;
9489 PyObject
* obj0
= 0 ;
9490 PyObject
* obj1
= 0 ;
9491 PyObject
* obj2
= 0 ;
9492 PyObject
* obj3
= 0 ;
9494 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9499 if (SWIG_arg_fail(1)) SWIG_fail
;
9501 wxString
* sptr
= wxString_in_helper(obj1
);
9502 if (sptr
== NULL
) SWIG_fail
;
9507 wxString
* sptr
= wxString_in_helper(obj2
);
9508 if (sptr
== NULL
) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9532 int arg2
= (int) -1 ;
9533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9535 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9536 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9537 bool temp3
= false ;
9538 bool temp4
= false ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9541 PyObject
* obj2
= 0 ;
9542 PyObject
* obj3
= 0 ;
9544 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9549 if (SWIG_arg_fail(1)) SWIG_fail
;
9552 arg2
= (int)(SWIG_As_int(obj1
));
9553 if (SWIG_arg_fail(2)) SWIG_fail
;
9558 arg3
= wxString_in_helper(obj2
);
9559 if (arg3
== NULL
) SWIG_fail
;
9565 arg4
= wxString_in_helper(obj3
);
9566 if (arg4
== NULL
) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9603 float arg2
= (float) 25.2 ;
9604 float arg3
= (float) 25.2 ;
9605 float arg4
= (float) 25.2 ;
9606 float arg5
= (float) 25.2 ;
9607 float arg6
= (float) 5 ;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9610 PyObject
* obj2
= 0 ;
9611 PyObject
* obj3
= 0 ;
9612 PyObject
* obj4
= 0 ;
9613 PyObject
* obj5
= 0 ;
9615 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9620 if (SWIG_arg_fail(1)) SWIG_fail
;
9623 arg2
= (float)(SWIG_As_float(obj1
));
9624 if (SWIG_arg_fail(2)) SWIG_fail
;
9629 arg3
= (float)(SWIG_As_float(obj2
));
9630 if (SWIG_arg_fail(3)) SWIG_fail
;
9635 arg4
= (float)(SWIG_As_float(obj3
));
9636 if (SWIG_arg_fail(4)) SWIG_fail
;
9641 arg5
= (float)(SWIG_As_float(obj4
));
9642 if (SWIG_arg_fail(5)) SWIG_fail
;
9647 arg6
= (float)(SWIG_As_float(obj5
));
9648 if (SWIG_arg_fail(6)) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 Py_INCREF(Py_None
); resultobj
= Py_None
;
9665 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9670 (char *) "filter", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
9674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
9675 if (SWIG_arg_fail(1)) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 wxHtmlPrintout::AddFilter(arg1
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 Py_INCREF(Py_None
); resultobj
= Py_None
;
9690 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 wxHtmlPrintout::CleanUpStatics();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 Py_INCREF(Py_None
); resultobj
= Py_None
;
9711 static PyObject
* HtmlPrintout_swigregister(PyObject
*, PyObject
*args
) {
9713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9714 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
9716 return Py_BuildValue((char *)"");
9718 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
9721 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
9722 wxWindow
*arg2
= (wxWindow
*) NULL
;
9723 wxHtmlEasyPrinting
*result
;
9724 bool temp1
= false ;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9728 (char *) "name",(char *) "parentWindow", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
9734 arg1
= wxString_in_helper(obj0
);
9735 if (arg1
== NULL
) SWIG_fail
;
9740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9741 if (SWIG_arg_fail(2)) SWIG_fail
;
9744 if (!wxPyCheckForApp()) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
9766 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "self", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
9775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 Py_INCREF(Py_None
); resultobj
= Py_None
;
9791 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9794 wxString
*arg2
= 0 ;
9795 bool temp2
= false ;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9799 (char *) "self",(char *) "htmlfile", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9804 if (SWIG_arg_fail(1)) SWIG_fail
;
9806 arg2
= wxString_in_helper(obj1
);
9807 if (arg2
== NULL
) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 (arg1
)->PreviewFile((wxString
const &)*arg2
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 Py_INCREF(Py_None
); resultobj
= Py_None
;
9832 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9835 wxString
*arg2
= 0 ;
9836 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9837 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9838 bool temp2
= false ;
9839 bool temp3
= false ;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9842 PyObject
* obj2
= 0 ;
9844 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail
;
9851 arg2
= wxString_in_helper(obj1
);
9852 if (arg2
== NULL
) SWIG_fail
;
9857 arg3
= wxString_in_helper(obj2
);
9858 if (arg3
== NULL
) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9892 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9895 wxString
*arg2
= 0 ;
9896 bool temp2
= false ;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj1
= 0 ;
9900 (char *) "self",(char *) "htmlfile", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9905 if (SWIG_arg_fail(1)) SWIG_fail
;
9907 arg2
= wxString_in_helper(obj1
);
9908 if (arg2
== NULL
) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 (arg1
)->PrintFile((wxString
const &)*arg2
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 Py_INCREF(Py_None
); resultobj
= Py_None
;
9933 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9936 wxString
*arg2
= 0 ;
9937 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9938 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9939 bool temp2
= false ;
9940 bool temp3
= false ;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 PyObject
* obj2
= 0 ;
9945 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9950 if (SWIG_arg_fail(1)) SWIG_fail
;
9952 arg2
= wxString_in_helper(obj1
);
9953 if (arg2
== NULL
) SWIG_fail
;
9958 arg3
= wxString_in_helper(obj2
);
9959 if (arg3
== NULL
) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 Py_INCREF(Py_None
); resultobj
= Py_None
;
9993 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
10002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10003 if (SWIG_arg_fail(1)) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 (arg1
)->PageSetup();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 Py_INCREF(Py_None
); resultobj
= Py_None
;
10018 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10021 wxString
*arg2
= 0 ;
10022 int arg3
= (int) wxPAGE_ALL
;
10023 bool temp2
= false ;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 PyObject
* obj2
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "header",(char *) "pg", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10033 if (SWIG_arg_fail(1)) SWIG_fail
;
10035 arg2
= wxString_in_helper(obj1
);
10036 if (arg2
== NULL
) SWIG_fail
;
10041 arg3
= (int)(SWIG_As_int(obj2
));
10042 if (SWIG_arg_fail(3)) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10052 Py_INCREF(Py_None
); resultobj
= Py_None
;
10067 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10070 wxString
*arg2
= 0 ;
10071 int arg3
= (int) wxPAGE_ALL
;
10072 bool temp2
= false ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 PyObject
* obj2
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self",(char *) "footer",(char *) "pg", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail
;
10084 arg2
= wxString_in_helper(obj1
);
10085 if (arg2
== NULL
) SWIG_fail
;
10090 arg3
= (int)(SWIG_As_int(obj2
));
10091 if (SWIG_arg_fail(3)) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10116 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10121 PyObject
*arg4
= (PyObject
*) NULL
;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 PyObject
* obj2
= 0 ;
10125 PyObject
* obj3
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail
;
10134 wxString
* sptr
= wxString_in_helper(obj1
);
10135 if (sptr
== NULL
) SWIG_fail
;
10140 wxString
* sptr
= wxString_in_helper(obj2
);
10141 if (sptr
== NULL
) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 Py_INCREF(Py_None
); resultobj
= Py_None
;
10162 static PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10165 int arg2
= (int) -1 ;
10166 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10167 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10168 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10169 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10170 bool temp3
= false ;
10171 bool temp4
= false ;
10172 PyObject
* obj0
= 0 ;
10173 PyObject
* obj1
= 0 ;
10174 PyObject
* obj2
= 0 ;
10175 PyObject
* obj3
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10182 if (SWIG_arg_fail(1)) SWIG_fail
;
10185 arg2
= (int)(SWIG_As_int(obj1
));
10186 if (SWIG_arg_fail(2)) SWIG_fail
;
10191 arg3
= wxString_in_helper(obj2
);
10192 if (arg3
== NULL
) SWIG_fail
;
10198 arg4
= wxString_in_helper(obj3
);
10199 if (arg4
== NULL
) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 Py_INCREF(Py_None
); resultobj
= Py_None
;
10233 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10236 wxPrintData
*result
;
10237 PyObject
* obj0
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "self", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
10243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10244 if (SWIG_arg_fail(1)) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (wxPrintData
*)(arg1
)->GetPrintData();
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
10259 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10262 wxPageSetupDialogData
*result
;
10263 PyObject
* obj0
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
10269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10270 if (SWIG_arg_fail(1)) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
10285 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*, PyObject
*args
) {
10287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
10290 return Py_BuildValue((char *)"");
10292 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxString
*arg1
= 0 ;
10295 wxString
*arg2
= 0 ;
10296 wxString
*arg3
= 0 ;
10297 wxString
*arg4
= 0 ;
10298 wxHtmlBookRecord
*result
;
10299 bool temp1
= false ;
10300 bool temp2
= false ;
10301 bool temp3
= false ;
10302 bool temp4
= false ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 PyObject
* obj2
= 0 ;
10306 PyObject
* obj3
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10313 arg1
= wxString_in_helper(obj0
);
10314 if (arg1
== NULL
) SWIG_fail
;
10318 arg2
= wxString_in_helper(obj1
);
10319 if (arg2
== NULL
) SWIG_fail
;
10323 arg3
= wxString_in_helper(obj2
);
10324 if (arg3
== NULL
) SWIG_fail
;
10328 arg4
= wxString_in_helper(obj3
);
10329 if (arg4
== NULL
) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
10378 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
10388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10389 if (SWIG_arg_fail(1)) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (arg1
)->GetBookFile();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10410 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 char *kwnames
[] = {
10416 (char *) "self", NULL
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
10420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10421 if (SWIG_arg_fail(1)) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (arg1
)->GetTitle();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10442 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10446 PyObject
* obj0
= 0 ;
10447 char *kwnames
[] = {
10448 (char *) "self", NULL
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
10452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(1)) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (arg1
)->GetStart();
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10474 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
10484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10485 if (SWIG_arg_fail(1)) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (arg1
)->GetBasePath();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10506 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "start",(char *) "end", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail
;
10522 arg2
= (int)(SWIG_As_int(obj1
));
10523 if (SWIG_arg_fail(2)) SWIG_fail
;
10526 arg3
= (int)(SWIG_As_int(obj2
));
10527 if (SWIG_arg_fail(3)) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 (arg1
)->SetContentsRange(arg2
,arg3
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 Py_INCREF(Py_None
); resultobj
= Py_None
;
10543 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
10553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (int)(arg1
)->GetContentsStart();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_From_int((int)(result
));
10571 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
10581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10582 if (SWIG_arg_fail(1)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (int)(arg1
)->GetContentsEnd();
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_From_int((int)(result
));
10599 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10602 wxString
*arg2
= 0 ;
10603 bool temp2
= false ;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "self",(char *) "title", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
10611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10612 if (SWIG_arg_fail(1)) SWIG_fail
;
10614 arg2
= wxString_in_helper(obj1
);
10615 if (arg2
== NULL
) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 (arg1
)->SetTitle((wxString
const &)*arg2
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 Py_INCREF(Py_None
); resultobj
= Py_None
;
10640 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10643 wxString
*arg2
= 0 ;
10644 bool temp2
= false ;
10645 PyObject
* obj0
= 0 ;
10646 PyObject
* obj1
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self",(char *) "path", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
10652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10653 if (SWIG_arg_fail(1)) SWIG_fail
;
10655 arg2
= wxString_in_helper(obj1
);
10656 if (arg2
== NULL
) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 (arg1
)->SetBasePath((wxString
const &)*arg2
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10684 wxString
*arg2
= 0 ;
10685 bool temp2
= false ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "start", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 arg2
= wxString_in_helper(obj1
);
10697 if (arg2
== NULL
) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 (arg1
)->SetStart((wxString
const &)*arg2
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 Py_INCREF(Py_None
); resultobj
= Py_None
;
10722 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10725 wxString
*arg2
= 0 ;
10727 bool temp2
= false ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "page", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10736 if (SWIG_arg_fail(1)) SWIG_fail
;
10738 arg2
= wxString_in_helper(obj1
);
10739 if (arg2
== NULL
) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10770 static PyObject
* HtmlBookRecord_swigregister(PyObject
*, PyObject
*args
) {
10772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10773 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
10775 return Py_BuildValue((char *)"");
10777 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
10787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (bool)(arg1
)->Search();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10805 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
10815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10816 if (SWIG_arg_fail(1)) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 result
= (bool)(arg1
)->IsActive();
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
10843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10844 if (SWIG_arg_fail(1)) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= (int)(arg1
)->GetCurIndex();
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= SWIG_From_int((int)(result
));
10861 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
10871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (int)(arg1
)->GetMaxIndex();
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= SWIG_From_int((int)(result
));
10889 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
10899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 wxString
const &_result_ref
= (arg1
)->GetName();
10905 result
= (wxString
*) &_result_ref
;
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10915 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10924 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*, PyObject
*args
) {
10926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10927 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
10929 return Py_BuildValue((char *)"");
10931 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxHtmlHelpData
*result
;
10934 char *kwnames
[] = {
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
10953 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
10962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
10963 if (SWIG_arg_fail(1)) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 Py_INCREF(Py_None
); resultobj
= Py_None
;
10978 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
10981 wxString
*arg2
= 0 ;
10982 bool temp2
= false ;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "path", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
10990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail
;
10993 arg2
= wxString_in_helper(obj1
);
10994 if (arg2
== NULL
) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetTempDir((wxString
const &)*arg2
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 Py_INCREF(Py_None
); resultobj
= Py_None
;
11019 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11022 wxString
*arg2
= 0 ;
11024 bool temp2
= false ;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self",(char *) "book", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
11032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11033 if (SWIG_arg_fail(1)) SWIG_fail
;
11035 arg2
= wxString_in_helper(obj1
);
11036 if (arg2
== NULL
) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11066 wxString
*arg2
= 0 ;
11068 bool temp2
= false ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "page", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail
;
11079 arg2
= wxString_in_helper(obj1
);
11080 if (arg2
== NULL
) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11111 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "id", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail
;
11126 arg2
= (int)(SWIG_As_int(obj1
));
11127 if (SWIG_arg_fail(2)) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (arg1
)->FindPageById(arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11149 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11152 wxHtmlBookRecArray
*result
;
11153 PyObject
* obj0
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
11159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11160 if (SWIG_arg_fail(1)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
11165 result
= (wxHtmlBookRecArray
*) &_result_ref
;
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
11178 static PyObject
* HtmlHelpData_swigregister(PyObject
*, PyObject
*args
) {
11180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11181 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
11183 return Py_BuildValue((char *)"");
11185 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxWindow
*arg1
= (wxWindow
*) 0 ;
11189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11191 int arg4
= (int) wxHF_DEFAULTSTYLE
;
11192 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
11193 wxHtmlHelpFrame
*result
;
11194 bool temp3
= false ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 PyObject
* obj2
= 0 ;
11198 PyObject
* obj3
= 0 ;
11199 PyObject
* obj4
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11206 if (SWIG_arg_fail(1)) SWIG_fail
;
11208 arg2
= (int)(SWIG_As_int(obj1
));
11209 if (SWIG_arg_fail(2)) SWIG_fail
;
11213 arg3
= wxString_in_helper(obj2
);
11214 if (arg3
== NULL
) SWIG_fail
;
11220 arg4
= (int)(SWIG_As_int(obj3
));
11221 if (SWIG_arg_fail(4)) SWIG_fail
;
11225 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11226 if (SWIG_arg_fail(5)) SWIG_fail
;
11229 if (!wxPyCheckForApp()) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
11251 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11254 wxHtmlHelpData
*result
;
11255 PyObject
* obj0
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
11261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
11277 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11280 wxString
*arg2
= 0 ;
11281 bool temp2
= false ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "format", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
11289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail
;
11292 arg2
= wxString_in_helper(obj1
);
11293 if (arg2
== NULL
) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11321 wxString
*arg2
= 0 ;
11322 bool temp2
= false ;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "x", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
11330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11331 if (SWIG_arg_fail(1)) SWIG_fail
;
11333 arg2
= wxString_in_helper(obj1
);
11334 if (arg2
== NULL
) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 (arg1
)->Display((wxString
const &)*arg2
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 Py_INCREF(Py_None
); resultobj
= Py_None
;
11359 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "id", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
11370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail
;
11373 arg2
= (int)(SWIG_As_int(obj1
));
11374 if (SWIG_arg_fail(2)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->Display(arg2
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 (arg1
)->DisplayContents();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 Py_INCREF(Py_None
); resultobj
= Py_None
;
11415 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
11424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11425 if (SWIG_arg_fail(1)) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 (arg1
)->DisplayIndex();
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11440 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11443 wxString
*arg2
= 0 ;
11445 bool temp2
= false ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self",(char *) "keyword", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
11453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail
;
11456 arg2
= wxString_in_helper(obj1
);
11457 if (arg2
== NULL
) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11484 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11487 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11488 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11489 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11490 bool temp3
= false ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 PyObject
* obj2
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail
;
11501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11502 if (SWIG_arg_fail(2)) SWIG_fail
;
11505 arg3
= wxString_in_helper(obj2
);
11506 if (arg3
== NULL
) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11532 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11535 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11536 wxString arg3
= (wxString
) wxPyEmptyString
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 PyObject
* obj2
= 0 ;
11540 char *kwnames
[] = {
11541 (char *) "self",(char *) "cfg",(char *) "path", NULL
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11546 if (SWIG_arg_fail(1)) SWIG_fail
;
11547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11548 if (SWIG_arg_fail(2)) SWIG_fail
;
11551 wxString
* sptr
= wxString_in_helper(obj2
);
11552 if (sptr
== NULL
) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 (arg1
)->ReadCustomization(arg2
,arg3
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 Py_INCREF(Py_None
); resultobj
= Py_None
;
11571 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11574 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11575 wxString arg3
= (wxString
) wxPyEmptyString
;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 PyObject
* obj2
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "cfg",(char *) "path", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11585 if (SWIG_arg_fail(1)) SWIG_fail
;
11586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11587 if (SWIG_arg_fail(2)) SWIG_fail
;
11590 wxString
* sptr
= wxString_in_helper(obj2
);
11591 if (sptr
== NULL
) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 (arg1
)->WriteCustomization(arg2
,arg3
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 Py_INCREF(Py_None
); resultobj
= Py_None
;
11610 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*, PyObject
*args
) {
11612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11613 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
11615 return Py_BuildValue((char *)"");
11617 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 int arg1
= (int) wxHF_DEFAULTSTYLE
;
11620 wxHtmlHelpController
*result
;
11621 PyObject
* obj0
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "style", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
11629 arg1
= (int)(SWIG_As_int(obj0
));
11630 if (SWIG_arg_fail(1)) SWIG_fail
;
11634 if (!wxPyCheckForApp()) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
11648 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11651 PyObject
* obj0
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "self", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
11657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11658 if (SWIG_arg_fail(1)) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11676 wxString
*arg2
= 0 ;
11677 bool temp2
= false ;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "format", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
11685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 arg2
= wxString_in_helper(obj1
);
11689 if (arg2
== NULL
) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11717 wxString
*arg2
= 0 ;
11718 bool temp2
= false ;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self",(char *) "path", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
11726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail
;
11729 arg2
= wxString_in_helper(obj1
);
11730 if (arg2
== NULL
) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 (arg1
)->SetTempDir((wxString
const &)*arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 Py_INCREF(Py_None
); resultobj
= Py_None
;
11755 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11758 wxString
*arg2
= 0 ;
11759 int arg3
= (int) false ;
11761 bool temp2
= false ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 PyObject
* obj2
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11771 if (SWIG_arg_fail(1)) SWIG_fail
;
11773 arg2
= wxString_in_helper(obj1
);
11774 if (arg2
== NULL
) SWIG_fail
;
11779 arg3
= (int)(SWIG_As_int(obj2
));
11780 if (SWIG_arg_fail(3)) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11807 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11810 wxString
*arg2
= 0 ;
11811 bool temp2
= false ;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self",(char *) "x", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
11819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11820 if (SWIG_arg_fail(1)) SWIG_fail
;
11822 arg2
= wxString_in_helper(obj1
);
11823 if (arg2
== NULL
) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 (arg1
)->Display((wxString
const &)*arg2
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 Py_INCREF(Py_None
); resultobj
= Py_None
;
11848 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "id", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
11859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11860 if (SWIG_arg_fail(1)) SWIG_fail
;
11862 arg2
= (int)(SWIG_As_int(obj1
));
11863 if (SWIG_arg_fail(2)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->Display(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
11888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11889 if (SWIG_arg_fail(1)) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->DisplayContents();
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 Py_INCREF(Py_None
); resultobj
= Py_None
;
11904 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11907 PyObject
* obj0
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self", NULL
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
11913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->DisplayIndex();
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 Py_INCREF(Py_None
); resultobj
= Py_None
;
11929 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11932 wxString
*arg2
= 0 ;
11934 bool temp2
= false ;
11935 PyObject
* obj0
= 0 ;
11936 PyObject
* obj1
= 0 ;
11937 char *kwnames
[] = {
11938 (char *) "self",(char *) "keyword", NULL
11941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
11942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11943 if (SWIG_arg_fail(1)) SWIG_fail
;
11945 arg2
= wxString_in_helper(obj1
);
11946 if (arg2
== NULL
) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11973 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11976 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11979 bool temp3
= false ;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 PyObject
* obj2
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11989 if (SWIG_arg_fail(1)) SWIG_fail
;
11990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11991 if (SWIG_arg_fail(2)) SWIG_fail
;
11994 arg3
= wxString_in_helper(obj2
);
11995 if (arg3
== NULL
) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 Py_INCREF(Py_None
); resultobj
= Py_None
;
12021 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12024 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12025 wxString arg3
= (wxString
) wxPyEmptyString
;
12026 PyObject
* obj0
= 0 ;
12027 PyObject
* obj1
= 0 ;
12028 PyObject
* obj2
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self",(char *) "cfg",(char *) "path", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12035 if (SWIG_arg_fail(1)) SWIG_fail
;
12036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12037 if (SWIG_arg_fail(2)) SWIG_fail
;
12040 wxString
* sptr
= wxString_in_helper(obj2
);
12041 if (sptr
== NULL
) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->ReadCustomization(arg2
,arg3
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12060 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12063 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12064 wxString arg3
= (wxString
) wxPyEmptyString
;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 PyObject
* obj2
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "cfg",(char *) "path", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12074 if (SWIG_arg_fail(1)) SWIG_fail
;
12075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12076 if (SWIG_arg_fail(2)) SWIG_fail
;
12079 wxString
* sptr
= wxString_in_helper(obj2
);
12080 if (sptr
== NULL
) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 (arg1
)->WriteCustomization(arg2
,arg3
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12102 wxHtmlHelpFrame
*result
;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 0);
12125 static PyObject
* HtmlHelpController_swigregister(PyObject
*, PyObject
*args
) {
12127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12128 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
12130 return Py_BuildValue((char *)"");
12132 static PyMethodDef SwigMethods
[] = {
12133 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12134 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12135 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12136 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12137 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12138 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12139 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12140 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
12141 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12142 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12143 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12144 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12145 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12146 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12147 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12148 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12149 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
12150 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12151 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12152 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12153 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12154 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12155 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12156 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12157 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12158 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12159 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12160 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12161 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
12162 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12163 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12164 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12165 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12166 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12167 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12168 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12169 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12170 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12171 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12172 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12173 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12174 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12175 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12176 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12177 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12178 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12179 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12180 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12181 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12182 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12183 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12184 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12185 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12186 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12187 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12188 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12189 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12190 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12191 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12192 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12193 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
12194 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12195 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12196 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12197 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12198 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12199 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
12200 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12201 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12202 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12203 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12204 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12205 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
12206 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12207 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12208 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12209 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12210 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12211 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12212 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12213 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12214 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12215 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12216 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12217 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12218 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12219 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12220 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12221 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
12222 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12223 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12224 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12225 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12226 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12227 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12228 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12229 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12230 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
12231 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12232 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12233 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
12234 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12235 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12236 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
12237 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12238 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12239 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12240 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12241 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12242 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12243 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12244 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
12245 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12246 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12247 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12248 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12249 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12250 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12251 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12252 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12253 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12254 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12255 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12256 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12257 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12258 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12259 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12260 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12261 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12262 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12263 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12264 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12265 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12266 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12267 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12268 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12269 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12270 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12271 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12272 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12273 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12274 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12275 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12276 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12277 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12278 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12279 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
12280 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12281 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
12282 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12283 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12284 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12285 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12286 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12287 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12288 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12289 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12290 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12291 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12292 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12293 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12294 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12295 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12296 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12297 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12298 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12299 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
12300 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12301 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
12302 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12303 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
12304 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12305 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
12306 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12307 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12308 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
12309 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12310 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12311 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12312 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12313 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12314 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12315 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12316 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12317 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12318 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12319 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12320 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12321 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12322 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12323 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12324 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12325 { (char *)"HtmlWindow_SetLabel", (PyCFunction
) _wrap_HtmlWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12326 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12327 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12328 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12329 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12330 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12331 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12332 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12333 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12334 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12335 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12336 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12337 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12338 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12339 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12340 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12341 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12342 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12343 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12344 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12345 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12346 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12347 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12348 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12349 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12350 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
12351 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12352 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12353 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12354 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12355 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12356 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12357 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12358 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12359 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12360 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
12361 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12362 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12363 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12364 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12365 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12366 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12367 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12368 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12369 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12370 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12371 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
12372 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12373 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12374 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12375 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12376 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12377 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12378 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12379 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12380 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12381 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12382 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12383 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12384 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12385 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
12386 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12387 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12388 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12389 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12390 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12391 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12392 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12393 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12394 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12395 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12396 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12397 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12398 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
12399 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12400 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12401 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12402 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12403 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12404 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
12405 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12406 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12407 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12408 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12409 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12410 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12411 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12412 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
12413 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12414 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12415 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12416 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12417 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12418 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12419 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12420 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12421 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12422 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12423 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12424 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
12425 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12426 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12427 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12428 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12429 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12430 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12431 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12432 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12433 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12434 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12435 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12436 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12437 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12438 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12439 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
12440 { NULL
, NULL
, 0, NULL
}
12444 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12446 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
12447 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
12449 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
12450 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
12452 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
12453 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
12455 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
12456 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12458 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
12459 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12461 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
12462 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12464 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
12465 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12467 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
12468 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12470 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
12471 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
12473 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
12474 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12476 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
12477 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
12479 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
12480 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12482 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
12483 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12485 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
12486 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12488 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
12489 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12491 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
12492 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12494 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
12495 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12497 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
12498 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
12500 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
12501 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
12503 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
12504 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12506 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
12507 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12509 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
12510 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12512 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
12513 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12515 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
12516 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12518 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
12519 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12521 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
12522 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12524 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
12525 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12527 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
12528 return (void *)((wxWindow
*) ((wxPanel
*) x
));
12530 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
12531 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
12533 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
12534 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12536 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
12537 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12539 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
12540 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12542 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
12543 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
12545 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
12546 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12548 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
12549 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
12551 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
12552 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
12554 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
12555 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
12557 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
12558 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
12560 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
12561 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
12563 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
12564 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
12566 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
12567 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12569 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
12570 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12572 static void *_p_wxControlTo_p_wxWindow(void *x
) {
12573 return (void *)((wxWindow
*) ((wxControl
*) x
));
12575 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
12576 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12578 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
12579 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12581 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
12582 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12584 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
12585 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
12587 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
12588 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
12590 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
12591 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12593 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
12594 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12596 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
12597 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12599 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
12600 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
12602 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
12603 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12605 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
12606 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12608 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
12609 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
12611 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
12612 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12614 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
12615 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12617 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
12618 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12620 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
12621 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
12623 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
12624 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12626 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
12627 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
12629 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
12630 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
12632 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
12633 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
12635 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
12636 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
12638 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
12639 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
12641 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
12642 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
12644 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
12645 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
12647 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
12648 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
12650 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
12651 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
12653 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
12654 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
12656 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
12657 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
12659 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
12660 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12662 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
12663 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
12665 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
12666 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12668 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
12669 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12671 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
12672 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
12674 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
12675 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
12677 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
12678 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12680 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
12681 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
12683 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
12684 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12686 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12687 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12689 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12690 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12692 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12695 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12698 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12699 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12701 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12702 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12704 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12705 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12707 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12708 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12710 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
12711 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
12713 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12714 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12716 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12717 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12719 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12720 return (void *)((wxObject
*) ((wxSizer
*) x
));
12722 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12723 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12725 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
12726 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12728 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12731 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12734 static void *_p_wxEventTo_p_wxObject(void *x
) {
12735 return (void *)((wxObject
*) ((wxEvent
*) x
));
12737 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
12738 return (void *)((wxObject
*) ((wxFontData
*) x
));
12740 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
12741 return (void *)((wxObject
*) ((wxPrintData
*) x
));
12743 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
12744 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
12746 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12747 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12749 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12750 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12752 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12753 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12755 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
12756 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
12758 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
12759 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12761 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
12762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12764 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
12765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12767 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
12768 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
12770 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12771 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12773 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12774 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12776 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12777 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12779 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12780 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12782 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12783 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12785 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12786 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12788 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
12789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12791 static void *_p_wxControlTo_p_wxObject(void *x
) {
12792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12794 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12795 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12797 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
12798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12800 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12801 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12803 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
12804 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
12806 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
12807 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
12809 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12810 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12812 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
12813 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
12815 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
12816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12818 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
12819 return (void *)((wxObject
*) ((wxColourData
*) x
));
12821 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12822 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12824 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12827 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12830 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
12831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12833 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12836 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12839 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12842 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12845 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12848 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12851 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12854 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12857 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12858 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12860 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
12861 return (void *)((wxObject
*) ((wxPrinter
*) x
));
12863 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12864 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12866 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
12867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
12869 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12870 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12872 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12875 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12876 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12878 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12879 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12881 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12882 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12884 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12885 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12887 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12888 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12890 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12891 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12893 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
12894 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
12896 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12897 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12899 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12900 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12902 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12903 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12905 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12906 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12908 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12909 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12911 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12912 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12914 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12915 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12917 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12918 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12920 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12923 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12926 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12927 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12929 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12932 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12935 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12936 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12938 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
12939 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12941 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
12942 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
12944 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
12945 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
12947 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
12948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12950 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
12951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12953 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
12954 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
12956 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12957 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12959 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
12960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12962 static void *_p_wxImageTo_p_wxObject(void *x
) {
12963 return (void *)((wxObject
*) ((wxImage
*) x
));
12965 static void *_p_wxFrameTo_p_wxObject(void *x
) {
12966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12968 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
12969 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
12971 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
12972 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
12974 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12975 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12977 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12978 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12980 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12983 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
12984 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
12986 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
12987 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
12989 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12992 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12995 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12996 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12998 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12999 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
13001 static void *_p_wxWindowTo_p_wxObject(void *x
) {
13002 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
13004 static void *_p_wxMenuTo_p_wxObject(void *x
) {
13005 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
13007 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
13008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
13010 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
13011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
13013 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
13014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
13016 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
13017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
13019 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
13020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
13022 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
13023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
13025 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
13026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
13028 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
13029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
13031 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
13032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
13034 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
13035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
13037 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
13038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13040 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
13041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
13043 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
13044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13046 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
13047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13049 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
13050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
13052 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
13053 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
13055 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
13056 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
13058 static void *_p_wxPanelTo_p_wxObject(void *x
) {
13059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
13061 static void *_p_wxDialogTo_p_wxObject(void *x
) {
13062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
13064 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
13065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13067 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
13068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13070 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
13071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13073 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
13074 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
13076 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
13077 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
13079 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
13080 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
13082 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
13083 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
13085 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
13086 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
13088 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
13089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13091 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
13092 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
13094 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
13095 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
13097 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
13098 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
13100 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
13101 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
13103 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
13104 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
13106 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
13107 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
13109 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
13110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13112 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
13113 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
13115 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
13116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
13118 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
13119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13121 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
13122 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
13124 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
13125 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
13127 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
13128 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
13130 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
13131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13133 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
13134 return (void *)((wxObject
*) ((wxHtmlHelpController
*) x
));
13136 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
13137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13139 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
13140 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
13142 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
13143 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
13145 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
13146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
13148 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
13149 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
13151 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
13152 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
13154 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
13155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
13157 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
13158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
13160 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
13161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
13163 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
13164 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
13166 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
13167 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
13169 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
13170 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
13172 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
13173 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
13175 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
13176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13178 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
13179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
13181 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
13182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13184 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
13185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13187 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
13188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
13190 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
13191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
13193 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
13194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
13196 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
13197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
13199 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
13200 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
13202 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
13203 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
13205 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
13206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13208 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
13209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
13211 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
13212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
13214 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
13215 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
13217 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
13218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
13220 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
13221 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
13223 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
13224 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
13226 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
13227 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
13229 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
13230 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
13232 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
13233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
13235 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
13236 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
13238 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
13239 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
13241 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
13242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13244 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
13245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13247 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
13248 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
13250 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
13251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
13253 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
13254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
13256 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
13257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
13259 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
13260 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
13262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
13263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13265 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
13266 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
13268 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
13269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13271 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
13272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13274 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
13275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13277 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
13278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
13280 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
13281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13283 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
13284 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
13286 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
13287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13289 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
13290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
13292 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
13293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13295 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
13296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13298 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
13299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
13301 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
13302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13304 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
13305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13307 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
13308 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
13310 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
13311 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
13313 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
13314 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
13316 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
13317 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
13319 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
13320 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
13322 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
13323 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
13325 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
13326 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13328 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
13329 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
13331 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
13332 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
13334 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
13335 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
13337 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
13338 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
13340 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
13341 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
13343 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
13344 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
13346 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
13347 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
13349 static swig_type_info _swigt__p_wxHtmlDCRenderer
[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13350 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13351 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13352 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13353 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}};
13354 static swig_type_info _swigt__p_wxHtmlRenderingStyle
[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13355 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13356 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}};
13357 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13358 static swig_type_info _swigt__p_wxHtmlWordCell
[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13359 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13360 static swig_type_info _swigt__p_wxHtmlHelpData
[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13361 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}};
13362 static swig_type_info _swigt__p_wxHtmlWinParser
[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13363 static swig_type_info _swigt__p_wxHtmlParser
[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13364 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13365 static swig_type_info _swigt__p_wxPyHtmlWindow
[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13366 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13367 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13368 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13369 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13370 static swig_type_info _swigt__p_wxHtmlColourCell
[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13371 static swig_type_info _swigt__p_wxHtmlFontCell
[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13372 static swig_type_info _swigt__p_wxHtmlEasyPrinting
[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13373 static swig_type_info _swigt__p_wxHtmlSelection
[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13374 static swig_type_info _swigt__p_wxHtmlRenderingInfo
[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13375 static swig_type_info _swigt__p_wxHtmlWidgetCell
[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13376 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_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_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_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_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_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_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_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_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_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_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_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_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_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_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13377 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13378 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}};
13379 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}};
13380 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}};
13381 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}};
13382 static swig_type_info _swigt__p_wxHtmlTagHandler
[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13383 static swig_type_info _swigt__p_wxPyHtmlTagHandler
[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13384 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_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_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13385 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13386 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13387 static swig_type_info _swigt__p_wxHtmlHelpController
[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13388 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13389 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13390 static swig_type_info _swigt__p_wxHtmlBookRecArray
[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13391 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}};
13392 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13393 static swig_type_info _swigt__p_wxHtmlPrintout
[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13394 static swig_type_info _swigt__p_wxHtmlSearchStatus
[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13395 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}};
13396 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}};
13397 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13398 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13399 static swig_type_info _swigt__p_wxHtmlHelpFrame
[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13400 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13401 static swig_type_info _swigt__p_wxHtmlRenderingState
[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13402 static swig_type_info _swigt__p_wxPyHtmlFilter
[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13403 static swig_type_info _swigt__p_wxHtmlFilter
[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13404 static swig_type_info _swigt__p_wxHtmlCell
[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13405 static swig_type_info _swigt__p_wxHtmlContainerCell
[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13406 static swig_type_info _swigt__p_wxHtmlTag
[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13407 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13408 static swig_type_info _swigt__p_wxHtmlLinkInfo
[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13409 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}};
13410 static swig_type_info _swigt__p_wxHtmlBookRecord
[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13412 static swig_type_info
*swig_types_initial
[] = {
13413 _swigt__p_wxHtmlDCRenderer
,
13414 _swigt__p_wxColour
,
13415 _swigt__p_wxPageSetupDialogData
,
13417 _swigt__p_form_ops_t
,
13418 _swigt__p_wxHtmlRenderingStyle
,
13419 _swigt__p_wxMouseEvent
,
13420 _swigt__p_wxDuplexMode
,
13421 _swigt__p_wxDefaultHtmlRenderingStyle
,
13422 _swigt__p_wxHtmlWordCell
,
13423 _swigt__p_wxVisualAttributes
,
13424 _swigt__p_wxHtmlHelpData
,
13426 _swigt__p_wxHtmlWinParser
,
13427 _swigt__p_wxHtmlParser
,
13429 _swigt__p_wxPyHtmlWindow
,
13430 _swigt__p_wxScrolledWindow
,
13431 _swigt__p_wxWindow
,
13432 _swigt__p_wxTopLevelWindow
,
13434 _swigt__p_wxHtmlColourCell
,
13435 _swigt__p_wxHtmlFontCell
,
13436 _swigt__p_wxHtmlEasyPrinting
,
13437 _swigt__p_wxHtmlSelection
,
13438 _swigt__p_wxHtmlRenderingInfo
,
13439 _swigt__p_wxHtmlWidgetCell
,
13440 _swigt__p_wxObject
,
13441 _swigt__p_wxBitmap
,
13442 _swigt__p_wxPaperSize
,
13443 _swigt__p_wxString
,
13444 _swigt__p_unsigned_int
,
13445 _swigt__unsigned_int
,
13446 _swigt__p_wxHtmlTagHandler
,
13447 _swigt__p_wxPyHtmlTagHandler
,
13448 _swigt__p_wxEvtHandler
,
13449 _swigt__p_wxPyHtmlWinTagHandler
,
13451 _swigt__p_wxHtmlHelpController
,
13452 _swigt__p_wxCursor
,
13453 _swigt__p_wxFileSystem
,
13454 _swigt__p_wxHtmlBookRecArray
,
13455 _swigt__p_unsigned_char
,
13456 _swigt__p_wxPyPrintout
,
13457 _swigt__p_wxHtmlPrintout
,
13458 _swigt__p_wxHtmlSearchStatus
,
13459 _swigt__std__ptrdiff_t
,
13461 _swigt__p_wxConfigBase
,
13462 _swigt__p_wxPrintData
,
13463 _swigt__p_wxHtmlHelpFrame
,
13465 _swigt__p_wxHtmlRenderingState
,
13466 _swigt__p_wxPyHtmlFilter
,
13467 _swigt__p_wxHtmlFilter
,
13468 _swigt__p_wxHtmlCell
,
13469 _swigt__p_wxHtmlContainerCell
,
13470 _swigt__p_wxHtmlTag
,
13472 _swigt__p_wxHtmlLinkInfo
,
13473 _swigt__p_unsigned_long
,
13474 _swigt__p_wxHtmlBookRecord
,
13479 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13481 static swig_const_info swig_const_table
[] = {
13482 {0, 0, 0, 0.0, 0, 0}};
13493 /* Python-specific SWIG API */
13494 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13495 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13496 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13498 /* -----------------------------------------------------------------------------
13499 * global variable support code.
13500 * ----------------------------------------------------------------------------- */
13502 typedef struct swig_globalvar
{
13503 char *name
; /* Name of global variable */
13504 PyObject
*(*get_attr
)(); /* Return the current value */
13505 int (*set_attr
)(PyObject
*); /* Set the value */
13506 struct swig_globalvar
*next
;
13509 typedef struct swig_varlinkobject
{
13511 swig_globalvar
*vars
;
13512 } swig_varlinkobject
;
13515 swig_varlink_repr(swig_varlinkobject
*v
) {
13517 return PyString_FromString("<Swig global variables>");
13521 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
13522 swig_globalvar
*var
;
13524 fprintf(fp
,"Swig global variables { ");
13525 for (var
= v
->vars
; var
; var
=var
->next
) {
13526 fprintf(fp
,"%s", var
->name
);
13527 if (var
->next
) fprintf(fp
,", ");
13529 fprintf(fp
," }\n");
13534 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
13535 swig_globalvar
*var
= v
->vars
;
13537 if (strcmp(var
->name
,n
) == 0) {
13538 return (*var
->get_attr
)();
13542 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13547 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
13548 swig_globalvar
*var
= v
->vars
;
13550 if (strcmp(var
->name
,n
) == 0) {
13551 return (*var
->set_attr
)(p
);
13555 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13559 static PyTypeObject varlinktype
= {
13560 PyObject_HEAD_INIT(0)
13561 0, /* Number of items in variable part (ob_size) */
13562 (char *)"swigvarlink", /* Type name (tp_name) */
13563 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
13564 0, /* Itemsize (tp_itemsize) */
13565 0, /* Deallocator (tp_dealloc) */
13566 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
13567 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
13568 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
13569 0, /* tp_compare */
13570 (reprfunc
) swig_varlink_repr
, /* tp_repr */
13571 0, /* tp_as_number */
13572 0, /* tp_as_sequence */
13573 0, /* tp_as_mapping */
13577 0, /* tp_getattro */
13578 0, /* tp_setattro */
13579 0, /* tp_as_buffer */
13582 #if PY_VERSION_HEX >= 0x02000000
13583 0, /* tp_traverse */
13586 #if PY_VERSION_HEX >= 0x02010000
13587 0, /* tp_richcompare */
13588 0, /* tp_weaklistoffset */
13590 #if PY_VERSION_HEX >= 0x02020000
13591 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13593 #if PY_VERSION_HEX >= 0x02030000
13596 #ifdef COUNT_ALLOCS
13597 0,0,0,0 /* tp_alloc -> tp_next */
13601 /* Create a variable linking object for use later */
13603 SWIG_Python_newvarlink(void) {
13604 swig_varlinkobject
*result
= 0;
13605 result
= PyMem_NEW(swig_varlinkobject
,1);
13606 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
13607 result
->ob_type
= &varlinktype
;
13609 result
->ob_refcnt
= 0;
13610 Py_XINCREF((PyObject
*) result
);
13611 return ((PyObject
*) result
);
13615 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
13616 swig_varlinkobject
*v
;
13617 swig_globalvar
*gv
;
13618 v
= (swig_varlinkobject
*) p
;
13619 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
13620 gv
->name
= (char *) malloc(strlen(name
)+1);
13621 strcpy(gv
->name
,name
);
13622 gv
->get_attr
= get_attr
;
13623 gv
->set_attr
= set_attr
;
13624 gv
->next
= v
->vars
;
13628 /* -----------------------------------------------------------------------------
13629 * constants/methods manipulation
13630 * ----------------------------------------------------------------------------- */
13632 /* Install Constants */
13634 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
13637 for (i
= 0; constants
[i
].type
; i
++) {
13638 switch(constants
[i
].type
) {
13640 obj
= PyInt_FromLong(constants
[i
].lvalue
);
13642 case SWIG_PY_FLOAT
:
13643 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
13645 case SWIG_PY_STRING
:
13646 if (constants
[i
].pvalue
) {
13647 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
13649 Py_INCREF(Py_None
);
13653 case SWIG_PY_POINTER
:
13654 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
13656 case SWIG_PY_BINARY
:
13657 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
13664 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
13670 /* -----------------------------------------------------------------------------*/
13671 /* Fix SwigMethods to carry the callback ptrs when needed */
13672 /* -----------------------------------------------------------------------------*/
13675 SWIG_Python_FixMethods(PyMethodDef
*methods
,
13676 swig_const_info
*const_table
,
13677 swig_type_info
**types
,
13678 swig_type_info
**types_initial
) {
13680 for (i
= 0; methods
[i
].ml_name
; ++i
) {
13681 char *c
= methods
[i
].ml_doc
;
13682 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
13684 swig_const_info
*ci
= 0;
13685 char *name
= c
+ 10;
13686 for (j
= 0; const_table
[j
].type
; j
++) {
13687 if (strncmp(const_table
[j
].name
, name
,
13688 strlen(const_table
[j
].name
)) == 0) {
13689 ci
= &(const_table
[j
]);
13694 size_t shift
= (ci
->ptype
) - types
;
13695 swig_type_info
*ty
= types_initial
[shift
];
13696 size_t ldoc
= (c
- methods
[i
].ml_doc
);
13697 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
13698 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
13700 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
13701 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
13703 strncpy(buff
, "swig_ptr: ", 10);
13705 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
13706 methods
[i
].ml_doc
= ndoc
;
13712 /* -----------------------------------------------------------------------------*
13713 * Initialize type list
13714 * -----------------------------------------------------------------------------*/
13716 #if PY_MAJOR_VERSION < 2
13717 /* PyModule_AddObject function was introduced in Python 2.0. The following function
13718 is copied out of Python/modsupport.c in python version 2.3.4 */
13720 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
13723 if (!PyModule_Check(m
)) {
13724 PyErr_SetString(PyExc_TypeError
,
13725 "PyModule_AddObject() needs module as first arg");
13729 PyErr_SetString(PyExc_TypeError
,
13730 "PyModule_AddObject() needs non-NULL value");
13734 dict
= PyModule_GetDict(m
);
13735 if (dict
== NULL
) {
13736 /* Internal error -- modules must have a dict! */
13737 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
13738 PyModule_GetName(m
));
13741 if (PyDict_SetItemString(dict
, name
, o
))
13748 static swig_type_info
**
13749 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
13750 static PyMethodDef swig_empty_runtime_method_table
[] = {
13752 NULL
, NULL
, 0, NULL
13756 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
13757 swig_empty_runtime_method_table
);
13758 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
13759 if (pointer
&& module) {
13760 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
13762 return type_list_handle
;
13765 static swig_type_info
**
13766 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
13767 swig_type_info
**type_pointer
;
13769 /* first check if module already created */
13770 type_pointer
= SWIG_Python_GetTypeListHandle();
13771 if (type_pointer
) {
13772 return type_pointer
;
13774 /* create a new module and variable */
13775 return SWIG_Python_SetTypeListHandle(type_list_handle
);
13783 /* -----------------------------------------------------------------------------*
13784 * Partial Init method
13785 * -----------------------------------------------------------------------------*/
13787 #ifdef SWIG_LINK_RUNTIME
13791 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
13797 SWIGEXPORT(void) SWIG_init(void) {
13798 static PyObject
*SWIG_globals
= 0;
13799 static int typeinit
= 0;
13802 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
13804 /* Fix SwigMethods to carry the callback ptrs when needed */
13805 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
13807 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13808 d
= PyModule_GetDict(m
);
13811 #ifdef SWIG_LINK_RUNTIME
13812 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
13814 # ifndef SWIG_STATIC_RUNTIME
13815 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
13818 for (i
= 0; swig_types_initial
[i
]; i
++) {
13819 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
13823 SWIG_InstallConstants(d
,swig_const_table
);
13825 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
13826 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
13827 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
13828 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
13830 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT
)));
13833 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER
)));
13836 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT
)));
13839 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM
)));
13842 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP
)));
13845 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND
)));
13848 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND
)));
13851 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS
)));
13854 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT
)));
13857 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT
)));
13860 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT
)));
13863 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP
)));
13866 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM
)));
13869 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL
)));
13872 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL
)));
13875 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL
)));
13878 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR
)));
13881 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP
)));
13884 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER
)));
13887 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1
)));
13890 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2
)));
13893 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3
)));
13896 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4
)));
13899 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5
)));
13902 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6
)));
13905 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7
)));
13908 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER
)));
13911 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO
)));
13914 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION
)));
13917 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE
)));
13920 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN
)));
13923 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK
)));
13926 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT
)));
13929 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE
)));
13932 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE
)));
13935 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER
)));
13938 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT
)));
13941 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN
)));
13944 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING
)));
13947 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT
)));
13950 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE
)));
13953 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER
)));
13956 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD
)));
13959 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN
)));
13962 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL
)));
13965 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR
)));
13968 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR
)));
13971 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS
)));
13974 PyDict_SetItemString(d
,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX
)));
13977 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH
)));
13980 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS
)));
13983 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES
)));
13986 PyDict_SetItemString(d
,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT
)));
13989 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE
)));
13992 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
13993 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
13994 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
13995 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");