1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
1342 #define SWIGTYPE_p_wxColour swig_types[1]
1343 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
1344 #define SWIGTYPE_p_wxDC swig_types[3]
1345 #define SWIGTYPE_p_form_ops_t swig_types[4]
1346 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
1347 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1349 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8]
1350 #define SWIGTYPE_p_wxHtmlWordCell swig_types[9]
1351 #define SWIGTYPE_p_wxVisualAttributes swig_types[10]
1352 #define SWIGTYPE_p_wxHtmlHelpData swig_types[11]
1353 #define SWIGTYPE_p_char swig_types[12]
1354 #define SWIGTYPE_p_wxHtmlWinParser swig_types[13]
1355 #define SWIGTYPE_p_wxHtmlParser swig_types[14]
1356 #define SWIGTYPE_p_wxPanel swig_types[15]
1357 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
1358 #define SWIGTYPE_p_wxScrolledWindow swig_types[17]
1359 #define SWIGTYPE_p_wxWindow swig_types[18]
1360 #define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
1361 #define SWIGTYPE_p_wxFont swig_types[20]
1362 #define SWIGTYPE_p_wxHtmlColourCell swig_types[21]
1363 #define SWIGTYPE_p_wxHtmlFontCell swig_types[22]
1364 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23]
1365 #define SWIGTYPE_p_wxHtmlSelection swig_types[24]
1366 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25]
1367 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26]
1368 #define SWIGTYPE_p_wxObject swig_types[27]
1369 #define SWIGTYPE_p_wxBitmap swig_types[28]
1370 #define SWIGTYPE_p_wxPaperSize swig_types[29]
1371 #define SWIGTYPE_p_wxString swig_types[30]
1372 #define SWIGTYPE_p_unsigned_int swig_types[31]
1373 #define SWIGTYPE_unsigned_int swig_types[32]
1374 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[33]
1375 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[34]
1376 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
1377 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[36]
1378 #define SWIGTYPE_p_wxPoint swig_types[37]
1379 #define SWIGTYPE_p_wxHtmlHelpController swig_types[38]
1380 #define SWIGTYPE_p_wxCursor swig_types[39]
1381 #define SWIGTYPE_p_wxFileSystem swig_types[40]
1382 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[41]
1383 #define SWIGTYPE_p_unsigned_char swig_types[42]
1384 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
1385 #define SWIGTYPE_p_wxHtmlPrintout swig_types[44]
1386 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[45]
1387 #define SWIGTYPE_std__ptrdiff_t swig_types[46]
1388 #define SWIGTYPE_ptrdiff_t swig_types[47]
1389 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[48]
1390 #define SWIGTYPE_p_wxConfigBase swig_types[49]
1391 #define SWIGTYPE_p_wxPrintData swig_types[50]
1392 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[51]
1393 #define SWIGTYPE_p_wxFrame swig_types[52]
1394 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[53]
1395 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[54]
1396 #define SWIGTYPE_p_wxHtmlFilter swig_types[55]
1397 #define SWIGTYPE_p_wxHtmlCell swig_types[56]
1398 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[57]
1399 #define SWIGTYPE_p_wxHtmlTag swig_types[58]
1400 #define SWIGTYPE_p_int swig_types[59]
1401 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[60]
1402 #define SWIGTYPE_p_unsigned_long swig_types[61]
1403 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[62]
1404 static swig_type_info
*swig_types
[64];
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
);
2066 static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
){ return self
->m_Level
; }
2067 static int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
){ return self
->m_ID
; }
2068 static wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
){ return self
->m_Name
; }
2069 static wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
){ return self
->m_Page
; }
2070 static wxHtmlBookRecord
*wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
){ return self
->m_Book
; }
2074 static int _wrap_HtmlWindowNameStr_set(PyObject
*) {
2075 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
2080 static PyObject
*_wrap_HtmlWindowNameStr_get(void) {
2085 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2087 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2094 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*) {
2095 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
2100 static PyObject
*_wrap_HtmlPrintoutTitleStr_get(void) {
2105 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2107 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2114 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*) {
2115 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
2120 static PyObject
*_wrap_HtmlPrintingTitleStr_get(void) {
2125 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2127 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2134 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxString
*arg1
= 0 ;
2137 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2138 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2139 wxHtmlLinkInfo
*result
;
2140 bool temp1
= false ;
2141 bool temp2
= false ;
2142 PyObject
* obj0
= 0 ;
2143 PyObject
* obj1
= 0 ;
2145 (char *) "href",(char *) "target", NULL
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2150 arg1
= wxString_in_helper(obj0
);
2151 if (arg1
== NULL
) SWIG_fail
;
2156 arg2
= wxString_in_helper(obj1
);
2157 if (arg2
== NULL
) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2191 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2197 (char *) "self", NULL
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
2201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2202 if (SWIG_arg_fail(1)) SWIG_fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 result
= (arg1
)->GetHref();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2223 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
2233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2234 if (SWIG_arg_fail(1)) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (arg1
)->GetTarget();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2255 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2258 wxMouseEvent
*result
;
2259 PyObject
* obj0
= 0 ;
2261 (char *) "self", NULL
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
2265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2266 if (SWIG_arg_fail(1)) SWIG_fail
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2275 resultobj
= wxPyMake_wxObject(result
, 0);
2283 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2285 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2287 PyObject
* obj0
= 0 ;
2289 (char *) "self", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
2293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2294 if (SWIG_arg_fail(1)) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
2309 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2312 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2316 (char *) "self",(char *) "e", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
2320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2321 if (SWIG_arg_fail(1)) SWIG_fail
;
2322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
2323 if (SWIG_arg_fail(2)) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2341 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2343 PyObject
* obj1
= 0 ;
2345 (char *) "self",(char *) "e", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
2349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2350 if (SWIG_arg_fail(1)) SWIG_fail
;
2351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
2352 if (SWIG_arg_fail(2)) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 Py_INCREF(Py_None
); resultobj
= Py_None
;
2367 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*, PyObject
*args
) {
2369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2370 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
2372 return Py_BuildValue((char *)"");
2374 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2380 (char *) "self", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
2384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2385 if (SWIG_arg_fail(1)) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 result
= (arg1
)->GetName();
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2406 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
*resultobj
;
2408 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2409 wxString
*arg2
= 0 ;
2411 bool temp2
= false ;
2412 PyObject
* obj0
= 0 ;
2413 PyObject
* obj1
= 0 ;
2415 (char *) "self",(char *) "par", NULL
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
2419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2420 if (SWIG_arg_fail(1)) SWIG_fail
;
2422 arg2
= wxString_in_helper(obj1
);
2423 if (arg2
== NULL
) SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2450 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2453 wxString
*arg2
= 0 ;
2454 int arg3
= (int) false ;
2456 bool temp2
= false ;
2457 PyObject
* obj0
= 0 ;
2458 PyObject
* obj1
= 0 ;
2459 PyObject
* obj2
= 0 ;
2461 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2466 if (SWIG_arg_fail(1)) SWIG_fail
;
2468 arg2
= wxString_in_helper(obj1
);
2469 if (arg2
== NULL
) SWIG_fail
;
2474 arg3
= (int)(SWIG_As_int(obj2
));
2475 if (SWIG_arg_fail(3)) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2506 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2510 PyObject
* obj0
= 0 ;
2512 (char *) "self", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
2516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2517 if (SWIG_arg_fail(1)) SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 result
= (arg1
)->GetAllParams();
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2538 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2542 PyObject
* obj0
= 0 ;
2544 (char *) "self", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
2548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2549 if (SWIG_arg_fail(1)) SWIG_fail
;
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 result
= (bool)(arg1
)->HasEnding();
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2566 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2570 PyObject
* obj0
= 0 ;
2572 (char *) "self", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
2576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2577 if (SWIG_arg_fail(1)) SWIG_fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 result
= (int)(arg1
)->GetBeginPos();
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2586 resultobj
= SWIG_From_int((int)(result
));
2594 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2598 PyObject
* obj0
= 0 ;
2600 (char *) "self", NULL
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
2604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2605 if (SWIG_arg_fail(1)) SWIG_fail
;
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 result
= (int)(arg1
)->GetEndPos1();
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2614 resultobj
= SWIG_From_int((int)(result
));
2622 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
*resultobj
;
2624 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2626 PyObject
* obj0
= 0 ;
2628 (char *) "self", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
2632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2633 if (SWIG_arg_fail(1)) SWIG_fail
;
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 result
= (int)(arg1
)->GetEndPos2();
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2642 resultobj
= SWIG_From_int((int)(result
));
2650 static PyObject
* HtmlTag_swigregister(PyObject
*, PyObject
*args
) {
2652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2653 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
2655 return Py_BuildValue((char *)"");
2657 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2660 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2664 (char *) "self",(char *) "fs", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
2668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2669 if (SWIG_arg_fail(1)) SWIG_fail
;
2670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
2671 if (SWIG_arg_fail(2)) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 (arg1
)->SetFS(arg2
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2686 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2689 wxFileSystem
*result
;
2690 PyObject
* obj0
= 0 ;
2692 (char *) "self", NULL
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
2696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2697 if (SWIG_arg_fail(1)) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 result
= (wxFileSystem
*)(arg1
)->GetFS();
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2706 resultobj
= wxPyMake_wxObject(result
, 0);
2714 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2717 wxString
*arg2
= 0 ;
2719 bool temp2
= false ;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2723 (char *) "self",(char *) "source", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
2727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2728 if (SWIG_arg_fail(1)) SWIG_fail
;
2730 arg2
= wxString_in_helper(obj1
);
2731 if (arg2
== NULL
) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= wxPyMake_wxObject(result
, 0);
2758 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2761 wxString
*arg2
= 0 ;
2762 bool temp2
= false ;
2763 PyObject
* obj0
= 0 ;
2764 PyObject
* obj1
= 0 ;
2766 (char *) "self",(char *) "source", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2771 if (SWIG_arg_fail(1)) SWIG_fail
;
2773 arg2
= wxString_in_helper(obj1
);
2774 if (arg2
== NULL
) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 (arg1
)->InitParser((wxString
const &)*arg2
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 Py_INCREF(Py_None
); resultobj
= Py_None
;
2799 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2802 PyObject
* obj0
= 0 ;
2804 (char *) "self", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
2808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2809 if (SWIG_arg_fail(1)) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 (arg1
)->DoneParser();
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2829 PyObject
* obj0
= 0 ;
2830 PyObject
* obj1
= 0 ;
2831 PyObject
* obj2
= 0 ;
2833 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2838 if (SWIG_arg_fail(1)) SWIG_fail
;
2840 arg2
= (int)(SWIG_As_int(obj1
));
2841 if (SWIG_arg_fail(2)) SWIG_fail
;
2844 arg3
= (int)(SWIG_As_int(obj2
));
2845 if (SWIG_arg_fail(3)) SWIG_fail
;
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 (arg1
)->DoParsing(arg2
,arg3
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2854 Py_INCREF(Py_None
); resultobj
= Py_None
;
2861 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
*resultobj
;
2863 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2864 PyObject
* obj0
= 0 ;
2866 (char *) "self", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
2870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2871 if (SWIG_arg_fail(1)) SWIG_fail
;
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 (arg1
)->StopParsing();
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2879 Py_INCREF(Py_None
); resultobj
= Py_None
;
2886 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2889 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
2890 PyObject
* obj0
= 0 ;
2891 PyObject
* obj1
= 0 ;
2893 (char *) "self",(char *) "handler", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2898 if (SWIG_arg_fail(1)) SWIG_fail
;
2899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
2900 if (SWIG_arg_fail(2)) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 (arg1
)->AddTagHandler(arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 Py_INCREF(Py_None
); resultobj
= Py_None
;
2915 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2919 PyObject
* obj0
= 0 ;
2921 (char *) "self", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
2925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2926 if (SWIG_arg_fail(1)) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxString
*)(arg1
)->GetSource();
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
2938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
2947 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2950 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2953 PyObject
* obj1
= 0 ;
2954 PyObject
* obj2
= 0 ;
2956 (char *) "self",(char *) "handler",(char *) "tags", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2961 if (SWIG_arg_fail(1)) SWIG_fail
;
2962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
2963 if (SWIG_arg_fail(2)) SWIG_fail
;
2965 wxString
* sptr
= wxString_in_helper(obj2
);
2966 if (sptr
== NULL
) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 (arg1
)->PushTagHandler(arg2
,arg3
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2977 Py_INCREF(Py_None
); resultobj
= Py_None
;
2984 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "self", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
2993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2994 if (SWIG_arg_fail(1)) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 (arg1
)->PopTagHandler();
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 Py_INCREF(Py_None
); resultobj
= Py_None
;
3009 static PyObject
* HtmlParser_swigregister(PyObject
*, PyObject
*args
) {
3011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3012 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
3014 return Py_BuildValue((char *)"");
3016 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3018 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
3019 wxHtmlWinParser
*result
;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "wnd", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
3027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
3028 if (SWIG_arg_fail(1)) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 1);
3044 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3047 wxDC
*arg2
= (wxDC
*) 0 ;
3048 PyObject
* obj0
= 0 ;
3049 PyObject
* obj1
= 0 ;
3051 (char *) "self",(char *) "dc", NULL
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3056 if (SWIG_arg_fail(1)) SWIG_fail
;
3057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3058 if (SWIG_arg_fail(2)) SWIG_fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 (arg1
)->SetDC(arg2
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3066 Py_INCREF(Py_None
); resultobj
= Py_None
;
3073 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3077 PyObject
* obj0
= 0 ;
3079 (char *) "self", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
3083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= (wxDC
*)(arg1
)->GetDC();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3093 resultobj
= wxPyMake_wxObject(result
, 0);
3101 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3105 PyObject
* obj0
= 0 ;
3107 (char *) "self", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
3111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3112 if (SWIG_arg_fail(1)) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= (int)(arg1
)->GetCharHeight();
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= SWIG_From_int((int)(result
));
3129 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3135 (char *) "self", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
3139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3140 if (SWIG_arg_fail(1)) SWIG_fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 result
= (int)(arg1
)->GetCharWidth();
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3149 resultobj
= SWIG_From_int((int)(result
));
3157 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3160 wxPyHtmlWindow
*result
;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "self", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
3167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3168 if (SWIG_arg_fail(1)) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3177 resultobj
= wxPyMake_wxObject(result
, 0);
3185 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3187 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3190 PyObject
*arg4
= (PyObject
*) NULL
;
3191 PyObject
* obj0
= 0 ;
3192 PyObject
* obj1
= 0 ;
3193 PyObject
* obj2
= 0 ;
3194 PyObject
* obj3
= 0 ;
3196 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail
;
3203 wxString
* sptr
= wxString_in_helper(obj1
);
3204 if (sptr
== NULL
) SWIG_fail
;
3209 wxString
* sptr
= wxString_in_helper(obj2
);
3210 if (sptr
== NULL
) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 Py_INCREF(Py_None
); resultobj
= Py_None
;
3231 static PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3234 int arg2
= (int) -1 ;
3235 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3236 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3237 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3238 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3239 bool temp3
= false ;
3240 bool temp4
= false ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3244 PyObject
* obj3
= 0 ;
3246 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3251 if (SWIG_arg_fail(1)) SWIG_fail
;
3254 arg2
= (int)(SWIG_As_int(obj1
));
3255 if (SWIG_arg_fail(2)) SWIG_fail
;
3260 arg3
= wxString_in_helper(obj2
);
3261 if (arg3
== NULL
) SWIG_fail
;
3267 arg4
= wxString_in_helper(obj3
);
3268 if (arg4
== NULL
) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3302 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3305 wxHtmlContainerCell
*result
;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
3312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3328 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3330 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3331 wxHtmlContainerCell
*result
;
3332 PyObject
* obj0
= 0 ;
3334 (char *) "self", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
3338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3339 if (SWIG_arg_fail(1)) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3354 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3357 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
3358 wxHtmlContainerCell
*result
;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3362 (char *) "self",(char *) "c", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
3366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail
;
3368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
3369 if (SWIG_arg_fail(2)) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3384 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3387 wxHtmlContainerCell
*result
;
3388 PyObject
* obj0
= 0 ;
3390 (char *) "self", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
3394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3410 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3414 PyObject
* obj0
= 0 ;
3416 (char *) "self", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
3420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 result
= (int)(arg1
)->GetFontSize();
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= SWIG_From_int((int)(result
));
3438 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3442 PyObject
* obj0
= 0 ;
3443 PyObject
* obj1
= 0 ;
3445 (char *) "self",(char *) "s", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3450 if (SWIG_arg_fail(1)) SWIG_fail
;
3452 arg2
= (int)(SWIG_As_int(obj1
));
3453 if (SWIG_arg_fail(2)) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 (arg1
)->SetFontSize(arg2
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3473 PyObject
* obj0
= 0 ;
3475 (char *) "self", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
3479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3480 if (SWIG_arg_fail(1)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (int)(arg1
)->GetFontBold();
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 resultobj
= SWIG_From_int((int)(result
));
3497 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3499 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3501 PyObject
* obj0
= 0 ;
3502 PyObject
* obj1
= 0 ;
3504 (char *) "self",(char *) "x", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
3508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail
;
3511 arg2
= (int)(SWIG_As_int(obj1
));
3512 if (SWIG_arg_fail(2)) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 (arg1
)->SetFontBold(arg2
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3534 (char *) "self", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
3538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (int)(arg1
)->GetFontItalic();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= SWIG_From_int((int)(result
));
3556 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "x", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 arg2
= (int)(SWIG_As_int(obj1
));
3571 if (SWIG_arg_fail(2)) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->SetFontItalic(arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3587 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
3597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (int)(arg1
)->GetFontUnderlined();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 resultobj
= SWIG_From_int((int)(result
));
3615 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
*resultobj
;
3617 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "self",(char *) "x", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail
;
3629 arg2
= (int)(SWIG_As_int(obj1
));
3630 if (SWIG_arg_fail(2)) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 (arg1
)->SetFontUnderlined(arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3652 (char *) "self", NULL
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
3656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3657 if (SWIG_arg_fail(1)) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 result
= (int)(arg1
)->GetFontFixed();
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= SWIG_From_int((int)(result
));
3674 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3681 (char *) "self",(char *) "x", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
3685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3686 if (SWIG_arg_fail(1)) SWIG_fail
;
3688 arg2
= (int)(SWIG_As_int(obj1
));
3689 if (SWIG_arg_fail(2)) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 (arg1
)->SetFontFixed(arg2
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 Py_INCREF(Py_None
); resultobj
= Py_None
;
3705 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3711 (char *) "self", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
3715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3716 if (SWIG_arg_fail(1)) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (int)(arg1
)->GetAlign();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= SWIG_From_int((int)(result
));
3733 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3738 PyObject
* obj1
= 0 ;
3740 (char *) "self",(char *) "a", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
3744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3745 if (SWIG_arg_fail(1)) SWIG_fail
;
3747 arg2
= (int)(SWIG_As_int(obj1
));
3748 if (SWIG_arg_fail(2)) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 (arg1
)->SetAlign(arg2
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 Py_INCREF(Py_None
); resultobj
= Py_None
;
3764 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3770 (char *) "self", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
3774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (arg1
)->GetLinkColor();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3784 wxColour
* resultptr
;
3785 resultptr
= new wxColour((wxColour
&)(result
));
3786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3794 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3797 wxColour
*arg2
= 0 ;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3802 (char *) "self",(char *) "clr", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
3806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail
;
3810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 Py_INCREF(Py_None
); resultobj
= Py_None
;
3826 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
3836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (arg1
)->GetActualColor();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 wxColour
* resultptr
;
3847 resultptr
= new wxColour((wxColour
&)(result
));
3848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3856 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3858 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3859 wxColour
*arg2
= 0 ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3864 (char *) "self",(char *) "clr", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
3868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail
;
3872 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 Py_INCREF(Py_None
); resultobj
= Py_None
;
3888 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3891 wxString
*arg2
= 0 ;
3892 bool temp2
= false ;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3896 (char *) "self",(char *) "link", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
3900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3901 if (SWIG_arg_fail(1)) SWIG_fail
;
3903 arg2
= wxString_in_helper(obj1
);
3904 if (arg2
== NULL
) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 (arg1
)->SetLink((wxString
const &)*arg2
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3935 (char *) "self", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
3939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3940 if (SWIG_arg_fail(1)) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
3955 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3958 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
3959 PyObject
* obj0
= 0 ;
3961 (char *) "self", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
3965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3966 if (SWIG_arg_fail(1)) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 result
= (arg1
)->GetLink();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3975 wxHtmlLinkInfo
* resultptr
;
3976 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&)(result
));
3977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
3985 static PyObject
* HtmlWinParser_swigregister(PyObject
*, PyObject
*args
) {
3987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3988 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
3990 return Py_BuildValue((char *)"");
3992 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxPyHtmlTagHandler
*result
;
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
4014 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4016 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4017 PyObject
*arg2
= (PyObject
*) 0 ;
4018 PyObject
*arg3
= (PyObject
*) 0 ;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4021 PyObject
* obj2
= 0 ;
4023 (char *) "self",(char *) "self",(char *) "_class", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4028 if (SWIG_arg_fail(1)) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4048 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4052 (char *) "self",(char *) "parser", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail
;
4058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4059 if (SWIG_arg_fail(2)) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 (arg1
)->SetParser(arg2
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 Py_INCREF(Py_None
); resultobj
= Py_None
;
4074 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4077 wxHtmlParser
*result
;
4078 PyObject
* obj0
= 0 ;
4080 (char *) "self", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4085 if (SWIG_arg_fail(1)) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (wxHtmlParser
*)(arg1
)->GetParser();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlParser
, 0);
4100 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4103 wxHtmlTag
*arg2
= 0 ;
4104 PyObject
* obj0
= 0 ;
4105 PyObject
* obj1
= 0 ;
4107 (char *) "self",(char *) "tag", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4112 if (SWIG_arg_fail(1)) SWIG_fail
;
4114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4115 if (SWIG_arg_fail(2)) SWIG_fail
;
4117 SWIG_null_ref("wxHtmlTag");
4119 if (SWIG_arg_fail(2)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
* HtmlTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4138 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
4140 return Py_BuildValue((char *)"");
4142 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxPyHtmlWinTagHandler
*result
;
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
4164 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4167 PyObject
*arg2
= (PyObject
*) 0 ;
4168 PyObject
*arg3
= (PyObject
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 PyObject
* obj2
= 0 ;
4173 (char *) "self",(char *) "self",(char *) "_class", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4178 if (SWIG_arg_fail(1)) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 Py_INCREF(Py_None
); resultobj
= Py_None
;
4195 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4198 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "self",(char *) "parser", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4207 if (SWIG_arg_fail(1)) SWIG_fail
;
4208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4209 if (SWIG_arg_fail(2)) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 (arg1
)->SetParser(arg2
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 Py_INCREF(Py_None
); resultobj
= Py_None
;
4224 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4227 wxHtmlWinParser
*result
;
4228 PyObject
* obj0
= 0 ;
4230 (char *) "self", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4235 if (SWIG_arg_fail(1)) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
4250 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4253 wxHtmlTag
*arg2
= 0 ;
4254 PyObject
* obj0
= 0 ;
4255 PyObject
* obj1
= 0 ;
4257 (char *) "self",(char *) "tag", NULL
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4262 if (SWIG_arg_fail(1)) SWIG_fail
;
4264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4265 if (SWIG_arg_fail(2)) SWIG_fail
;
4267 SWIG_null_ref("wxHtmlTag");
4269 if (SWIG_arg_fail(2)) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 Py_INCREF(Py_None
); resultobj
= Py_None
;
4285 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4288 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
4290 return Py_BuildValue((char *)"");
4292 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 PyObject
*arg1
= (PyObject
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "tagHandlerClass", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 wxHtmlWinParser_AddTagHandler(arg1
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 Py_INCREF(Py_None
); resultobj
= Py_None
;
4316 static PyObject
*_wrap_new_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxHtmlSelection
*result
;
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (wxHtmlSelection
*)new wxHtmlSelection();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 1);
4338 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4343 (char *) "self", NULL
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
4347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4348 if (SWIG_arg_fail(1)) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 Py_INCREF(Py_None
); resultobj
= Py_None
;
4363 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4367 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4369 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 PyObject
* obj3
= 0 ;
4376 PyObject
* obj4
= 0 ;
4378 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail
;
4386 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4388 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4389 if (SWIG_arg_fail(3)) SWIG_fail
;
4392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4394 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4395 if (SWIG_arg_fail(5)) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 Py_INCREF(Py_None
); resultobj
= Py_None
;
4410 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4413 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4414 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4417 PyObject
* obj2
= 0 ;
4419 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4424 if (SWIG_arg_fail(1)) SWIG_fail
;
4425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4426 if (SWIG_arg_fail(2)) SWIG_fail
;
4427 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4428 if (SWIG_arg_fail(3)) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 Py_INCREF(Py_None
); resultobj
= Py_None
;
4443 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4449 (char *) "self", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
4453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4469 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4473 PyObject
* obj0
= 0 ;
4475 (char *) "self", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
4479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4495 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4499 PyObject
* obj0
= 0 ;
4501 (char *) "self", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
4505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
4511 result
= (wxPoint
*) &_result_ref
;
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4524 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
4534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4535 if (SWIG_arg_fail(1)) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
4540 result
= (wxPoint
*) &_result_ref
;
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4553 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
4563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
4569 result
= (wxPoint
*) &_result_ref
;
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4582 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "self", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
4592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
4598 result
= (wxPoint
*) &_result_ref
;
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4611 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4619 (char *) "self",(char *) "pos", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail
;
4627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 Py_INCREF(Py_None
); resultobj
= Py_None
;
4643 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4651 (char *) "self",(char *) "pos", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4656 if (SWIG_arg_fail(1)) SWIG_fail
;
4659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 Py_INCREF(Py_None
); resultobj
= Py_None
;
4675 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4680 (char *) "self", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
4684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4685 if (SWIG_arg_fail(1)) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 (arg1
)->ClearPrivPos();
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 Py_INCREF(Py_None
); resultobj
= Py_None
;
4700 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4702 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4706 (char *) "self", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
4710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4711 if (SWIG_arg_fail(1)) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_From_bool((bool)(result
));
4728 static PyObject
* HtmlSelection_swigregister(PyObject
*, PyObject
*args
) {
4730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4731 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
4733 return Py_BuildValue((char *)"");
4735 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxHtmlRenderingState
*result
;
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 1);
4757 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4760 PyObject
* obj0
= 0 ;
4762 (char *) "self", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
4766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 Py_INCREF(Py_None
); resultobj
= Py_None
;
4782 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4785 wxHtmlSelectionState arg2
;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4789 (char *) "self",(char *) "s", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
4793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail
;
4796 arg2
= (wxHtmlSelectionState
)(SWIG_As_int(obj1
));
4797 if (SWIG_arg_fail(2)) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 Py_INCREF(Py_None
); resultobj
= Py_None
;
4813 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4816 wxHtmlSelectionState result
;
4817 PyObject
* obj0
= 0 ;
4819 (char *) "self", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
4823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4824 if (SWIG_arg_fail(1)) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_From_int((result
));
4839 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4842 wxColour
*arg2
= 0 ;
4844 PyObject
* obj0
= 0 ;
4845 PyObject
* obj1
= 0 ;
4847 (char *) "self",(char *) "c", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4852 if (SWIG_arg_fail(1)) SWIG_fail
;
4855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4871 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4877 (char *) "self", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
4881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4882 if (SWIG_arg_fail(1)) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
4887 result
= (wxColour
*) &_result_ref
;
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
4900 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4903 wxColour
*arg2
= 0 ;
4905 PyObject
* obj0
= 0 ;
4906 PyObject
* obj1
= 0 ;
4908 (char *) "self",(char *) "c", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail
;
4916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 Py_INCREF(Py_None
); resultobj
= Py_None
;
4932 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
4942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
4948 result
= (wxColour
*) &_result_ref
;
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
4961 static PyObject
* HtmlRenderingState_swigregister(PyObject
*, PyObject
*args
) {
4963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4964 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
4966 return Py_BuildValue((char *)"");
4968 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
4971 wxColour
*arg2
= 0 ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4977 (char *) "self",(char *) "clr", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail
;
4985 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4995 wxColour
* resultptr
;
4996 resultptr
= new wxColour((wxColour
&)(result
));
4997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5005 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
5008 wxColour
*arg2
= 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5014 (char *) "self",(char *) "clr", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail
;
5022 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5032 wxColour
* resultptr
;
5033 resultptr
= new wxColour((wxColour
&)(result
));
5034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5042 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5045 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
5047 return Py_BuildValue((char *)"");
5049 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5052 wxColour
*arg2
= 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5058 (char *) "self",(char *) "clr", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5063 if (SWIG_arg_fail(1)) SWIG_fail
;
5066 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 wxColour
* resultptr
;
5077 resultptr
= new wxColour((wxColour
&)(result
));
5078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5086 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5089 wxColour
*arg2
= 0 ;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5095 (char *) "self",(char *) "clr", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5100 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 wxColour
* resultptr
;
5114 resultptr
= new wxColour((wxColour
&)(result
));
5115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5123 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5126 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
5128 return Py_BuildValue((char *)"");
5130 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxHtmlRenderingInfo
*result
;
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
5152 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "self", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
5161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 Py_INCREF(Py_None
); resultobj
= Py_None
;
5177 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5180 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5184 (char *) "self",(char *) "s", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail
;
5190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
5191 if (SWIG_arg_fail(2)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 (arg1
)->SetSelection(arg2
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 Py_INCREF(Py_None
); resultobj
= Py_None
;
5206 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5209 wxHtmlSelection
*result
;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
5216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 0);
5232 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5235 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5239 (char *) "self",(char *) "style", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5244 if (SWIG_arg_fail(1)) SWIG_fail
;
5245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5246 if (SWIG_arg_fail(2)) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 (arg1
)->SetStyle(arg2
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 Py_INCREF(Py_None
); resultobj
= Py_None
;
5261 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5264 wxHtmlRenderingStyle
*result
;
5265 PyObject
* obj0
= 0 ;
5267 (char *) "self", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5272 if (SWIG_arg_fail(1)) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
5277 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
5290 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5293 wxHtmlRenderingState
*result
;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
5306 result
= (wxHtmlRenderingState
*) &_result_ref
;
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0);
5319 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*, PyObject
*args
) {
5321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5322 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
5324 return Py_BuildValue((char *)"");
5326 static PyObject
*_wrap_new_HtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (wxHtmlCell
*)new wxHtmlCell();
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 1);
5348 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
5358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (int)(arg1
)->GetPosX();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_From_int((int)(result
));
5376 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5380 PyObject
* obj0
= 0 ;
5382 (char *) "self", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
5386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5387 if (SWIG_arg_fail(1)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (int)(arg1
)->GetPosY();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_From_int((int)(result
));
5404 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
5414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (int)(arg1
)->GetWidth();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_From_int((int)(result
));
5432 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5438 (char *) "self", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
5442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5443 if (SWIG_arg_fail(1)) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (int)(arg1
)->GetHeight();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= SWIG_From_int((int)(result
));
5460 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5466 (char *) "self", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
5470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (int)(arg1
)->GetDescent();
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_From_int((int)(result
));
5488 static PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5494 (char *) "self", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames
,&obj0
)) goto fail
;
5498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_From_int((int)(result
));
5516 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5522 (char *) "self", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
5526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5527 if (SWIG_arg_fail(1)) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
5532 result
= (wxString
*) &_result_ref
;
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5551 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5554 wxString
*arg2
= 0 ;
5555 bool temp2
= false ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5559 (char *) "self",(char *) "id", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail
;
5566 arg2
= wxString_in_helper(obj1
);
5567 if (arg2
== NULL
) SWIG_fail
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 (arg1
)->SetId((wxString
const &)*arg2
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5595 int arg2
= (int) 0 ;
5596 int arg3
= (int) 0 ;
5597 wxHtmlLinkInfo
*result
;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5600 PyObject
* obj2
= 0 ;
5602 (char *) "self",(char *) "x",(char *) "y", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail
;
5610 arg2
= (int)(SWIG_As_int(obj1
));
5611 if (SWIG_arg_fail(2)) SWIG_fail
;
5616 arg3
= (int)(SWIG_As_int(obj2
));
5617 if (SWIG_arg_fail(3)) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0);
5634 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxHtmlCell
*)(arg1
)->GetNext();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5660 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5663 wxHtmlContainerCell
*result
;
5664 PyObject
* obj0
= 0 ;
5666 (char *) "self", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
5670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
5686 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5712 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
5722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 wxCursor
* resultptr
;
5733 resultptr
= new wxCursor((wxCursor
&)(result
));
5734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
5742 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5748 (char *) "self", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
5752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5770 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5773 wxHtmlLinkInfo
*arg2
= 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5777 (char *) "self",(char *) "link", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
5781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail
;
5784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
5785 if (SWIG_arg_fail(2)) SWIG_fail
;
5787 SWIG_null_ref("wxHtmlLinkInfo");
5789 if (SWIG_arg_fail(2)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5808 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "cell", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5817 if (SWIG_arg_fail(1)) SWIG_fail
;
5818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5819 if (SWIG_arg_fail(2)) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->SetNext(arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5837 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5841 (char *) "self",(char *) "p", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
5845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5846 if (SWIG_arg_fail(1)) SWIG_fail
;
5847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
5848 if (SWIG_arg_fail(2)) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->SetParent(arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5863 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 PyObject
* obj2
= 0 ;
5872 (char *) "self",(char *) "x",(char *) "y", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5877 if (SWIG_arg_fail(1)) SWIG_fail
;
5879 arg2
= (int)(SWIG_As_int(obj1
));
5880 if (SWIG_arg_fail(2)) SWIG_fail
;
5883 arg3
= (int)(SWIG_As_int(obj2
));
5884 if (SWIG_arg_fail(3)) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->SetPos(arg2
,arg3
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5905 PyObject
* obj1
= 0 ;
5907 (char *) "self",(char *) "w", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
5911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5912 if (SWIG_arg_fail(1)) SWIG_fail
;
5914 arg2
= (int)(SWIG_As_int(obj1
));
5915 if (SWIG_arg_fail(2)) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 (arg1
)->Layout(arg2
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5931 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5939 wxHtmlRenderingInfo
*arg7
= 0 ;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5942 PyObject
* obj2
= 0 ;
5943 PyObject
* obj3
= 0 ;
5944 PyObject
* obj4
= 0 ;
5945 PyObject
* obj5
= 0 ;
5946 PyObject
* obj6
= 0 ;
5948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail
;
5955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
5956 if (SWIG_arg_fail(2)) SWIG_fail
;
5958 SWIG_null_ref("wxDC");
5960 if (SWIG_arg_fail(2)) SWIG_fail
;
5963 arg3
= (int)(SWIG_As_int(obj2
));
5964 if (SWIG_arg_fail(3)) SWIG_fail
;
5967 arg4
= (int)(SWIG_As_int(obj3
));
5968 if (SWIG_arg_fail(4)) SWIG_fail
;
5971 arg5
= (int)(SWIG_As_int(obj4
));
5972 if (SWIG_arg_fail(5)) SWIG_fail
;
5975 arg6
= (int)(SWIG_As_int(obj5
));
5976 if (SWIG_arg_fail(6)) SWIG_fail
;
5979 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5980 if (SWIG_arg_fail(7)) SWIG_fail
;
5982 SWIG_null_ref("wxHtmlRenderingInfo");
5984 if (SWIG_arg_fail(7)) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 Py_INCREF(Py_None
); resultobj
= Py_None
;
6000 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6006 wxHtmlRenderingInfo
*arg5
= 0 ;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 PyObject
* obj2
= 0 ;
6010 PyObject
* obj3
= 0 ;
6011 PyObject
* obj4
= 0 ;
6013 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6018 if (SWIG_arg_fail(1)) SWIG_fail
;
6020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6021 if (SWIG_arg_fail(2)) SWIG_fail
;
6023 SWIG_null_ref("wxDC");
6025 if (SWIG_arg_fail(2)) SWIG_fail
;
6028 arg3
= (int)(SWIG_As_int(obj2
));
6029 if (SWIG_arg_fail(3)) SWIG_fail
;
6032 arg4
= (int)(SWIG_As_int(obj3
));
6033 if (SWIG_arg_fail(4)) SWIG_fail
;
6036 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
6037 if (SWIG_arg_fail(5)) SWIG_fail
;
6039 SWIG_null_ref("wxHtmlRenderingInfo");
6041 if (SWIG_arg_fail(5)) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 Py_INCREF(Py_None
); resultobj
= Py_None
;
6057 static PyObject
*_wrap_HtmlCell_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6061 void *arg3
= (void *) 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6065 PyObject
* obj2
= 0 ;
6067 (char *) "self",(char *) "condition",(char *) "param", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6072 if (SWIG_arg_fail(1)) SWIG_fail
;
6074 arg2
= (int)(SWIG_As_int(obj1
));
6075 if (SWIG_arg_fail(2)) SWIG_fail
;
6078 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
6079 SWIG_arg_fail(3);SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6096 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6099 int *arg2
= (int *) 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6106 (char *) "self",(char *) "INOUT", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6111 if (SWIG_arg_fail(1)) SWIG_fail
;
6113 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
6114 temp2
= SWIG_As_int(obj1
);
6115 if (SWIG_arg_fail(2)) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6130 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6131 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6138 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6145 (char *) "self",(char *) "can", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6150 if (SWIG_arg_fail(1)) SWIG_fail
;
6152 arg2
= (bool)(SWIG_As_bool(obj1
));
6153 if (SWIG_arg_fail(2)) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->SetCanLiveOnPagebreak(arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
6179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6197 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6203 (char *) "self", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
6207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6225 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6230 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6234 PyObject
* obj2
= 0 ;
6235 PyObject
* obj3
= 0 ;
6237 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6242 if (SWIG_arg_fail(1)) SWIG_fail
;
6244 arg2
= (int)(SWIG_As_int(obj1
));
6245 if (SWIG_arg_fail(2)) SWIG_fail
;
6248 arg3
= (int)(SWIG_As_int(obj2
));
6249 if (SWIG_arg_fail(3)) SWIG_fail
;
6253 arg4
= (unsigned int)(SWIG_As_unsigned_SS_int(obj3
));
6254 if (SWIG_arg_fail(4)) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6271 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6277 (char *) "self", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
6281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6291 wxPoint
* resultptr
;
6292 resultptr
= new wxPoint((wxPoint
&)(result
));
6293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6301 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6305 PyObject
* obj0
= 0 ;
6307 (char *) "self", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
6311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6327 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
6337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6338 if (SWIG_arg_fail(1)) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6353 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6356 unsigned int result
;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
6363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
6381 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6384 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6389 (char *) "self",(char *) "cell", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
6393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail
;
6395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6396 if (SWIG_arg_fail(2)) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6413 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6416 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6421 (char *) "self",(char *) "sel", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
6425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6426 if (SWIG_arg_fail(1)) SWIG_fail
;
6427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
6428 if (SWIG_arg_fail(2)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6449 static PyObject
* HtmlCell_swigregister(PyObject
*, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxString
*arg1
= 0 ;
6460 wxHtmlWordCell
*result
;
6461 bool temp1
= false ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6465 (char *) "word",(char *) "dc", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6470 arg1
= wxString_in_helper(obj0
);
6471 if (arg1
== NULL
) SWIG_fail
;
6475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6476 if (SWIG_arg_fail(2)) SWIG_fail
;
6478 SWIG_null_ref("wxDC");
6480 if (SWIG_arg_fail(2)) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWordCell
, 1);
6504 static PyObject
* HtmlWordCell_swigregister(PyObject
*, PyObject
*args
) {
6506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6507 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
6509 return Py_BuildValue((char *)"");
6511 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6514 wxHtmlContainerCell
*result
;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "parent", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
6521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6522 if (SWIG_arg_fail(1)) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 1);
6537 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6540 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6544 (char *) "self",(char *) "cell", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6549 if (SWIG_arg_fail(1)) SWIG_fail
;
6550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6551 if (SWIG_arg_fail(2)) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 (arg1
)->InsertCell(arg2
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6573 (char *) "self",(char *) "al", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
6577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6578 if (SWIG_arg_fail(1)) SWIG_fail
;
6580 arg2
= (int)(SWIG_As_int(obj1
));
6581 if (SWIG_arg_fail(2)) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 (arg1
)->SetAlignHor(arg2
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
6607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (int)(arg1
)->GetAlignHor();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_From_int((int)(result
));
6625 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6630 PyObject
* obj1
= 0 ;
6632 (char *) "self",(char *) "al", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
6636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6637 if (SWIG_arg_fail(1)) SWIG_fail
;
6639 arg2
= (int)(SWIG_As_int(obj1
));
6640 if (SWIG_arg_fail(2)) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 (arg1
)->SetAlignVer(arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6656 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
6666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6667 if (SWIG_arg_fail(1)) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (int)(arg1
)->GetAlignVer();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_From_int((int)(result
));
6684 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6689 int arg4
= (int) wxHTML_UNITS_PIXELS
;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6692 PyObject
* obj2
= 0 ;
6693 PyObject
* obj3
= 0 ;
6695 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail
;
6702 arg2
= (int)(SWIG_As_int(obj1
));
6703 if (SWIG_arg_fail(2)) SWIG_fail
;
6706 arg3
= (int)(SWIG_As_int(obj2
));
6707 if (SWIG_arg_fail(3)) SWIG_fail
;
6711 arg4
= (int)(SWIG_As_int(obj3
));
6712 if (SWIG_arg_fail(4)) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 Py_INCREF(Py_None
); resultobj
= Py_None
;
6729 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6734 PyObject
* obj0
= 0 ;
6735 PyObject
* obj1
= 0 ;
6737 (char *) "self",(char *) "ind", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6742 if (SWIG_arg_fail(1)) SWIG_fail
;
6744 arg2
= (int)(SWIG_As_int(obj1
));
6745 if (SWIG_arg_fail(2)) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (int)(arg1
)->GetIndent(arg2
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_From_int((int)(result
));
6763 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6771 (char *) "self",(char *) "ind", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
6775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail
;
6778 arg2
= (int)(SWIG_As_int(obj1
));
6779 if (SWIG_arg_fail(2)) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (int)(arg1
)->GetIndentUnits(arg2
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_From_int((int)(result
));
6797 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6800 wxHtmlTag
*arg2
= 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "tag", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6809 if (SWIG_arg_fail(1)) SWIG_fail
;
6811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
6812 if (SWIG_arg_fail(2)) SWIG_fail
;
6814 SWIG_null_ref("wxHtmlTag");
6816 if (SWIG_arg_fail(2)) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 Py_INCREF(Py_None
); resultobj
= Py_None
;
6832 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6837 PyObject
* obj0
= 0 ;
6838 PyObject
* obj1
= 0 ;
6839 PyObject
* obj2
= 0 ;
6841 (char *) "self",(char *) "w",(char *) "units", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail
;
6848 arg2
= (int)(SWIG_As_int(obj1
));
6849 if (SWIG_arg_fail(2)) SWIG_fail
;
6852 arg3
= (int)(SWIG_As_int(obj2
));
6853 if (SWIG_arg_fail(3)) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 (arg1
)->SetWidthFloat(arg2
,arg3
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6869 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6872 wxHtmlTag
*arg2
= 0 ;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6876 (char *) "self",(char *) "tag", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
6880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6881 if (SWIG_arg_fail(1)) SWIG_fail
;
6883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
6884 if (SWIG_arg_fail(2)) SWIG_fail
;
6886 SWIG_null_ref("wxHtmlTag");
6888 if (SWIG_arg_fail(2)) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 Py_INCREF(Py_None
); resultobj
= Py_None
;
6904 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6908 int arg3
= (int) wxHTML_ALIGN_TOP
;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6913 (char *) "self",(char *) "h",(char *) "align", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail
;
6920 arg2
= (int)(SWIG_As_int(obj1
));
6921 if (SWIG_arg_fail(2)) SWIG_fail
;
6925 arg3
= (int)(SWIG_As_int(obj2
));
6926 if (SWIG_arg_fail(3)) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 (arg1
)->SetMinHeight(arg2
,arg3
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6946 wxColour
*arg2
= 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6951 (char *) "self",(char *) "clr", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail
;
6959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6981 (char *) "self", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6986 if (SWIG_arg_fail(1)) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (arg1
)->GetBackgroundColour();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 wxColour
* resultptr
;
6996 resultptr
= new wxColour((wxColour
&)(result
));
6997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
7005 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7008 wxColour
*arg2
= 0 ;
7009 wxColour
*arg3
= 0 ;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7014 PyObject
* obj2
= 0 ;
7016 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail
;
7024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7028 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 Py_INCREF(Py_None
); resultobj
= Py_None
;
7044 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "self", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
7054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7055 if (SWIG_arg_fail(1)) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
7070 static PyObject
* HtmlContainerCell_swigregister(PyObject
*, PyObject
*args
) {
7072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7073 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
7075 return Py_BuildValue((char *)"");
7077 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxColour
*arg1
= 0 ;
7080 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
7081 wxHtmlColourCell
*result
;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "clr",(char *) "flags", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7092 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7096 arg2
= (int)(SWIG_As_int(obj1
));
7097 if (SWIG_arg_fail(2)) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlColourCell
, 1);
7114 static PyObject
* HtmlColourCell_swigregister(PyObject
*, PyObject
*args
) {
7116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7117 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
7119 return Py_BuildValue((char *)"");
7121 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxFont
*arg1
= (wxFont
*) 0 ;
7124 wxHtmlFontCell
*result
;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "font", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlFontCell
, 1);
7147 static PyObject
* HtmlFontCell_swigregister(PyObject
*, PyObject
*args
) {
7149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7150 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
7152 return Py_BuildValue((char *)"");
7154 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxWindow
*arg1
= (wxWindow
*) 0 ;
7157 int arg2
= (int) 0 ;
7158 wxHtmlWidgetCell
*result
;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7162 (char *) "wnd",(char *) "w", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7167 if (SWIG_arg_fail(1)) SWIG_fail
;
7170 arg2
= (int)(SWIG_As_int(obj1
));
7171 if (SWIG_arg_fail(2)) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWidgetCell
, 1);
7188 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*, PyObject
*args
) {
7190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7191 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
7193 return Py_BuildValue((char *)"");
7195 static PyObject
*_wrap_new_HtmlFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxPyHtmlFilter
*result
;
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlFilter
, 1);
7217 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
7220 PyObject
*arg2
= (PyObject
*) 0 ;
7221 PyObject
*arg3
= (PyObject
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7226 (char *) "self",(char *) "self",(char *) "_class", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
7231 if (SWIG_arg_fail(1)) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
* HtmlFilter_swigregister(PyObject
*, PyObject
*args
) {
7250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7251 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
7253 return Py_BuildValue((char *)"");
7255 static PyObject
*_wrap_new_HtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxWindow
*arg1
= (wxWindow
*) 0 ;
7258 int arg2
= (int) -1 ;
7259 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7260 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7261 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7262 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7263 int arg5
= (int) wxHW_DEFAULT_STYLE
;
7264 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
7265 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7266 wxPyHtmlWindow
*result
;
7269 bool temp6
= false ;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7272 PyObject
* obj2
= 0 ;
7273 PyObject
* obj3
= 0 ;
7274 PyObject
* obj4
= 0 ;
7275 PyObject
* obj5
= 0 ;
7277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail
;
7285 arg2
= (int)(SWIG_As_int(obj1
));
7286 if (SWIG_arg_fail(2)) SWIG_fail
;
7292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7303 arg5
= (int)(SWIG_As_int(obj4
));
7304 if (SWIG_arg_fail(5)) SWIG_fail
;
7309 arg6
= wxString_in_helper(obj5
);
7310 if (arg6
== NULL
) SWIG_fail
;
7315 if (!wxPyCheckForApp()) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7337 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxPyHtmlWindow
*result
;
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
7346 if (!wxPyCheckForApp()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7360 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7363 wxWindow
*arg2
= (wxWindow
*) 0 ;
7364 int arg3
= (int) -1 ;
7365 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7366 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7367 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7368 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7369 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
7370 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
7371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7375 bool temp7
= false ;
7376 PyObject
* obj0
= 0 ;
7377 PyObject
* obj1
= 0 ;
7378 PyObject
* obj2
= 0 ;
7379 PyObject
* obj3
= 0 ;
7380 PyObject
* obj4
= 0 ;
7381 PyObject
* obj5
= 0 ;
7382 PyObject
* obj6
= 0 ;
7384 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7389 if (SWIG_arg_fail(1)) SWIG_fail
;
7390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7391 if (SWIG_arg_fail(2)) SWIG_fail
;
7394 arg3
= (int)(SWIG_As_int(obj2
));
7395 if (SWIG_arg_fail(3)) SWIG_fail
;
7401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7412 arg6
= (int)(SWIG_As_int(obj5
));
7413 if (SWIG_arg_fail(6)) SWIG_fail
;
7418 arg7
= wxString_in_helper(obj6
);
7419 if (arg7
== NULL
) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7447 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7450 PyObject
*arg2
= (PyObject
*) 0 ;
7451 PyObject
*arg3
= (PyObject
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 PyObject
* obj2
= 0 ;
7456 (char *) "self",(char *) "self",(char *) "_class", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7461 if (SWIG_arg_fail(1)) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7478 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7481 wxString
*arg2
= 0 ;
7483 bool temp2
= false ;
7484 PyObject
* obj0
= 0 ;
7485 PyObject
* obj1
= 0 ;
7487 (char *) "self",(char *) "source", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail
;
7494 arg2
= wxString_in_helper(obj1
);
7495 if (arg2
== NULL
) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7522 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7525 wxString
*arg2
= 0 ;
7527 bool temp2
= false ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7531 (char *) "self",(char *) "location", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail
;
7538 arg2
= wxString_in_helper(obj1
);
7539 if (arg2
== NULL
) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7566 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7569 wxString
*arg2
= 0 ;
7571 bool temp2
= false ;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7575 (char *) "self",(char *) "filename", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7580 if (SWIG_arg_fail(1)) SWIG_fail
;
7582 arg2
= wxString_in_helper(obj1
);
7583 if (arg2
== NULL
) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7610 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7613 wxString
*arg2
= 0 ;
7615 bool temp2
= false ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7619 (char *) "self",(char *) "source", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail
;
7626 arg2
= wxString_in_helper(obj1
);
7627 if (arg2
== NULL
) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7654 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "self", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
7664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7665 if (SWIG_arg_fail(1)) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (arg1
)->GetOpenedPage();
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7686 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "self", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
7696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7697 if (SWIG_arg_fail(1)) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (arg1
)->GetOpenedAnchor();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7718 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
7728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (arg1
)->GetOpenedPageTitle();
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7750 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7753 wxFrame
*arg2
= (wxFrame
*) 0 ;
7754 wxString
*arg3
= 0 ;
7755 bool temp3
= false ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 PyObject
* obj2
= 0 ;
7760 (char *) "self",(char *) "frame",(char *) "format", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail
;
7766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
7767 if (SWIG_arg_fail(2)) SWIG_fail
;
7769 arg3
= wxString_in_helper(obj2
);
7770 if (arg3
== NULL
) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 Py_INCREF(Py_None
); resultobj
= Py_None
;
7795 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
7805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= wxPyMake_wxObject(result
, 0);
7823 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7830 (char *) "self",(char *) "bar", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
7834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7835 if (SWIG_arg_fail(1)) SWIG_fail
;
7837 arg2
= (int)(SWIG_As_int(obj1
));
7838 if (SWIG_arg_fail(2)) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 (arg1
)->SetRelatedStatusBar(arg2
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7859 PyObject
*arg4
= (PyObject
*) NULL
;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 PyObject
* obj2
= 0 ;
7863 PyObject
* obj3
= 0 ;
7865 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7870 if (SWIG_arg_fail(1)) SWIG_fail
;
7872 wxString
* sptr
= wxString_in_helper(obj1
);
7873 if (sptr
== NULL
) SWIG_fail
;
7878 wxString
* sptr
= wxString_in_helper(obj2
);
7879 if (sptr
== NULL
) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7903 int arg2
= (int) -1 ;
7904 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7908 bool temp3
= false ;
7909 bool temp4
= false ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7913 PyObject
* obj3
= 0 ;
7915 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail
;
7923 arg2
= (int)(SWIG_As_int(obj1
));
7924 if (SWIG_arg_fail(2)) SWIG_fail
;
7929 arg3
= wxString_in_helper(obj2
);
7930 if (arg3
== NULL
) SWIG_fail
;
7936 arg4
= wxString_in_helper(obj3
);
7937 if (arg4
== NULL
) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7971 static PyObject
*_wrap_HtmlWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7974 wxString
*arg2
= 0 ;
7975 bool temp2
= false ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7979 (char *) "self",(char *) "title", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7984 if (SWIG_arg_fail(1)) SWIG_fail
;
7986 arg2
= wxString_in_helper(obj1
);
7987 if (arg2
== NULL
) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 (arg1
)->SetTitle((wxString
const &)*arg2
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8019 (char *) "self",(char *) "b", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
8023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail
;
8026 arg2
= (int)(SWIG_As_int(obj1
));
8027 if (SWIG_arg_fail(2)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 (arg1
)->SetBorders(arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 Py_INCREF(Py_None
); resultobj
= Py_None
;
8043 static PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8046 wxBitmap
*arg2
= 0 ;
8047 PyObject
* obj0
= 0 ;
8048 PyObject
* obj1
= 0 ;
8050 (char *) "self",(char *) "bmpBg", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
8058 if (SWIG_arg_fail(2)) SWIG_fail
;
8060 SWIG_null_ref("wxBitmap");
8062 if (SWIG_arg_fail(2)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8081 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8082 wxString arg3
= (wxString
) wxPyEmptyString
;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8087 (char *) "self",(char *) "cfg",(char *) "path", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(2)) SWIG_fail
;
8097 wxString
* sptr
= wxString_in_helper(obj2
);
8098 if (sptr
== NULL
) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 (arg1
)->ReadCustomization(arg2
,arg3
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8120 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8121 wxString arg3
= (wxString
) wxPyEmptyString
;
8122 PyObject
* obj0
= 0 ;
8123 PyObject
* obj1
= 0 ;
8124 PyObject
* obj2
= 0 ;
8126 (char *) "self",(char *) "cfg",(char *) "path", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail
;
8132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8133 if (SWIG_arg_fail(2)) SWIG_fail
;
8136 wxString
* sptr
= wxString_in_helper(obj2
);
8137 if (sptr
== NULL
) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 (arg1
)->WriteCustomization(arg2
,arg3
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 Py_INCREF(Py_None
); resultobj
= Py_None
;
8156 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
8166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (bool)(arg1
)->HistoryBack();
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8184 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8190 (char *) "self", NULL
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
8194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8195 if (SWIG_arg_fail(1)) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (bool)(arg1
)->HistoryForward();
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8212 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8216 PyObject
* obj0
= 0 ;
8218 (char *) "self", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
8222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8223 if (SWIG_arg_fail(1)) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (bool)(arg1
)->HistoryCanBack();
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8240 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
8250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8251 if (SWIG_arg_fail(1)) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)(arg1
)->HistoryCanForward();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8268 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8271 PyObject
* obj0
= 0 ;
8273 (char *) "self", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
8277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->HistoryClear();
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8293 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8296 wxHtmlContainerCell
*result
;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
8303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8304 if (SWIG_arg_fail(1)) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
8319 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8322 wxHtmlWinParser
*result
;
8323 PyObject
* obj0
= 0 ;
8325 (char *) "self", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
8329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
8345 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8348 wxString
*arg2
= 0 ;
8350 bool temp2
= false ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8354 (char *) "self",(char *) "anchor", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8359 if (SWIG_arg_fail(1)) SWIG_fail
;
8361 arg2
= wxString_in_helper(obj1
);
8362 if (arg2
== NULL
) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8389 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8392 wxString
*arg2
= 0 ;
8394 bool temp2
= false ;
8395 PyObject
* obj0
= 0 ;
8396 PyObject
* obj1
= 0 ;
8398 (char *) "self",(char *) "anchor", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail
;
8405 arg2
= wxString_in_helper(obj1
);
8406 if (arg2
== NULL
) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8433 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "filter", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
8442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 wxPyHtmlWindow::AddFilter(arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 Py_INCREF(Py_None
); resultobj
= Py_None
;
8458 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "pos", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
8470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail
;
8474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 Py_INCREF(Py_None
); resultobj
= Py_None
;
8490 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8498 (char *) "self",(char *) "pos", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail
;
8506 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8522 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8525 PyObject
* obj0
= 0 ;
8527 (char *) "self", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
8531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8532 if (SWIG_arg_fail(1)) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 (arg1
)->SelectAll();
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 Py_INCREF(Py_None
); resultobj
= Py_None
;
8547 static PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectionToText",kwnames
,&obj0
)) goto fail
;
8557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (arg1
)->SelectionToText();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8579 static PyObject
*_wrap_HtmlWindow_ToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "self", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_ToText",kwnames
,&obj0
)) goto fail
;
8589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (arg1
)->ToText();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8611 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8614 wxHtmlLinkInfo
*arg2
= 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "link", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8623 if (SWIG_arg_fail(1)) SWIG_fail
;
8625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
8626 if (SWIG_arg_fail(2)) SWIG_fail
;
8628 SWIG_null_ref("wxHtmlLinkInfo");
8630 if (SWIG_arg_fail(2)) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 Py_INCREF(Py_None
); resultobj
= Py_None
;
8646 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8649 wxString
*arg2
= 0 ;
8650 bool temp2
= false ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8654 (char *) "self",(char *) "title", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail
;
8661 arg2
= wxString_in_helper(obj1
);
8662 if (arg2
== NULL
) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 Py_INCREF(Py_None
); resultobj
= Py_None
;
8687 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8690 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8695 PyObject
* obj2
= 0 ;
8696 PyObject
* obj3
= 0 ;
8698 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail
;
8704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
8705 if (SWIG_arg_fail(2)) SWIG_fail
;
8707 arg3
= (int)(SWIG_As_int(obj2
));
8708 if (SWIG_arg_fail(3)) SWIG_fail
;
8711 arg4
= (int)(SWIG_As_int(obj3
));
8712 if (SWIG_arg_fail(4)) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8731 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8734 wxMouseEvent
*arg5
= 0 ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 PyObject
* obj2
= 0 ;
8738 PyObject
* obj3
= 0 ;
8739 PyObject
* obj4
= 0 ;
8741 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8746 if (SWIG_arg_fail(1)) SWIG_fail
;
8747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
8748 if (SWIG_arg_fail(2)) SWIG_fail
;
8750 arg3
= (int)(SWIG_As_int(obj2
));
8751 if (SWIG_arg_fail(3)) SWIG_fail
;
8754 arg4
= (int)(SWIG_As_int(obj3
));
8755 if (SWIG_arg_fail(4)) SWIG_fail
;
8758 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
8759 if (SWIG_arg_fail(5)) SWIG_fail
;
8761 SWIG_null_ref("wxMouseEvent");
8763 if (SWIG_arg_fail(5)) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 Py_INCREF(Py_None
); resultobj
= Py_None
;
8779 static PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8782 wxVisualAttributes result
;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "variant", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8791 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8792 if (SWIG_arg_fail(1)) SWIG_fail
;
8796 if (!wxPyCheckForApp()) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 result
= wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 wxVisualAttributes
* resultptr
;
8805 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8814 static PyObject
* HtmlWindow_swigregister(PyObject
*, PyObject
*args
) {
8816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8817 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
8819 return Py_BuildValue((char *)"");
8821 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxHtmlDCRenderer
*result
;
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
8830 if (!wxPyCheckForApp()) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlDCRenderer
, 1);
8844 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8847 PyObject
* obj0
= 0 ;
8849 (char *) "self", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
8853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 Py_INCREF(Py_None
); resultobj
= Py_None
;
8869 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8872 wxDC
*arg2
= (wxDC
*) 0 ;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8876 PyObject
* obj2
= 0 ;
8878 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8883 if (SWIG_arg_fail(1)) SWIG_fail
;
8884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8885 if (SWIG_arg_fail(2)) SWIG_fail
;
8887 arg3
= (int)(SWIG_As_int(obj2
));
8888 if (SWIG_arg_fail(3)) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 (arg1
)->SetDC(arg2
,arg3
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 Py_INCREF(Py_None
); resultobj
= Py_None
;
8904 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8911 PyObject
* obj2
= 0 ;
8913 (char *) "self",(char *) "width",(char *) "height", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8918 if (SWIG_arg_fail(1)) SWIG_fail
;
8920 arg2
= (int)(SWIG_As_int(obj1
));
8921 if (SWIG_arg_fail(2)) SWIG_fail
;
8924 arg3
= (int)(SWIG_As_int(obj2
));
8925 if (SWIG_arg_fail(3)) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 (arg1
)->SetSize(arg2
,arg3
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8944 wxString
*arg2
= 0 ;
8945 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8946 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8947 bool arg4
= (bool) true ;
8948 bool temp2
= false ;
8949 bool temp3
= false ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8953 PyObject
* obj3
= 0 ;
8955 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail
;
8962 arg2
= wxString_in_helper(obj1
);
8963 if (arg2
== NULL
) SWIG_fail
;
8968 arg3
= wxString_in_helper(obj2
);
8969 if (arg3
== NULL
) SWIG_fail
;
8975 arg4
= (bool)(SWIG_As_bool(obj3
));
8976 if (SWIG_arg_fail(4)) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9014 PyObject
*arg4
= (PyObject
*) NULL
;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9018 PyObject
* obj3
= 0 ;
9020 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail
;
9027 wxString
* sptr
= wxString_in_helper(obj1
);
9028 if (sptr
== NULL
) SWIG_fail
;
9033 wxString
* sptr
= wxString_in_helper(obj2
);
9034 if (sptr
== NULL
) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9058 int arg2
= (int) -1 ;
9059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9061 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9062 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9063 bool temp3
= false ;
9064 bool temp4
= false ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 PyObject
* obj2
= 0 ;
9068 PyObject
* obj3
= 0 ;
9070 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9075 if (SWIG_arg_fail(1)) SWIG_fail
;
9078 arg2
= (int)(SWIG_As_int(obj1
));
9079 if (SWIG_arg_fail(2)) SWIG_fail
;
9084 arg3
= wxString_in_helper(obj2
);
9085 if (arg3
== NULL
) SWIG_fail
;
9091 arg4
= wxString_in_helper(obj3
);
9092 if (arg4
== NULL
) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 Py_INCREF(Py_None
); resultobj
= Py_None
;
9126 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9131 int arg4
= (int) 0 ;
9132 int arg5
= (int) false ;
9133 int arg6
= (int) INT_MAX
;
9134 int *arg7
= (int *) NULL
;
9135 int arg8
= (int) 0 ;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9139 PyObject
* obj2
= 0 ;
9140 PyObject
* obj3
= 0 ;
9141 PyObject
* obj4
= 0 ;
9142 PyObject
* obj5
= 0 ;
9143 PyObject
* obj6
= 0 ;
9144 PyObject
* obj7
= 0 ;
9146 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail
;
9153 arg2
= (int)(SWIG_As_int(obj1
));
9154 if (SWIG_arg_fail(2)) SWIG_fail
;
9157 arg3
= (int)(SWIG_As_int(obj2
));
9158 if (SWIG_arg_fail(3)) SWIG_fail
;
9162 arg4
= (int)(SWIG_As_int(obj3
));
9163 if (SWIG_arg_fail(4)) SWIG_fail
;
9168 arg5
= (int)(SWIG_As_int(obj4
));
9169 if (SWIG_arg_fail(5)) SWIG_fail
;
9174 arg6
= (int)(SWIG_As_int(obj5
));
9175 if (SWIG_arg_fail(6)) SWIG_fail
;
9179 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_int
, SWIG_POINTER_EXCEPTION
| 0);
9180 if (SWIG_arg_fail(7)) SWIG_fail
;
9184 arg8
= (int)(SWIG_As_int(obj7
));
9185 if (SWIG_arg_fail(8)) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_From_int((int)(result
));
9204 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9210 (char *) "self", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
9214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (int)(arg1
)->GetTotalHeight();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_From_int((int)(result
));
9232 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*, PyObject
*args
) {
9234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9235 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
9237 return Py_BuildValue((char *)"");
9239 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
9242 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
9243 wxHtmlPrintout
*result
;
9244 bool temp1
= false ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "title", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
9253 arg1
= wxString_in_helper(obj0
);
9254 if (arg1
== NULL
) SWIG_fail
;
9259 if (!wxPyCheckForApp()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlPrintout
, 1);
9281 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9284 wxString
*arg2
= 0 ;
9285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9287 bool arg4
= (bool) true ;
9288 bool temp2
= false ;
9289 bool temp3
= false ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9292 PyObject
* obj2
= 0 ;
9293 PyObject
* obj3
= 0 ;
9295 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail
;
9302 arg2
= wxString_in_helper(obj1
);
9303 if (arg2
== NULL
) SWIG_fail
;
9308 arg3
= wxString_in_helper(obj2
);
9309 if (arg3
== NULL
) SWIG_fail
;
9315 arg4
= (bool)(SWIG_As_bool(obj3
));
9316 if (SWIG_arg_fail(4)) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9349 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
;
9351 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9352 wxString
*arg2
= 0 ;
9353 bool temp2
= false ;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9357 (char *) "self",(char *) "htmlfile", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail
;
9364 arg2
= wxString_in_helper(obj1
);
9365 if (arg2
== NULL
) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9390 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9393 wxString
*arg2
= 0 ;
9394 int arg3
= (int) wxPAGE_ALL
;
9395 bool temp2
= false ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9400 (char *) "self",(char *) "header",(char *) "pg", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9405 if (SWIG_arg_fail(1)) SWIG_fail
;
9407 arg2
= wxString_in_helper(obj1
);
9408 if (arg2
== NULL
) SWIG_fail
;
9413 arg3
= (int)(SWIG_As_int(obj2
));
9414 if (SWIG_arg_fail(3)) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 Py_INCREF(Py_None
); resultobj
= Py_None
;
9439 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9442 wxString
*arg2
= 0 ;
9443 int arg3
= (int) wxPAGE_ALL
;
9444 bool temp2
= false ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 PyObject
* obj2
= 0 ;
9449 (char *) "self",(char *) "footer",(char *) "pg", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9456 arg2
= wxString_in_helper(obj1
);
9457 if (arg2
== NULL
) SWIG_fail
;
9462 arg3
= (int)(SWIG_As_int(obj2
));
9463 if (SWIG_arg_fail(3)) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 Py_INCREF(Py_None
); resultobj
= Py_None
;
9488 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9493 PyObject
*arg4
= (PyObject
*) NULL
;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9496 PyObject
* obj2
= 0 ;
9497 PyObject
* obj3
= 0 ;
9499 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 wxString
* sptr
= wxString_in_helper(obj1
);
9507 if (sptr
== NULL
) SWIG_fail
;
9512 wxString
* sptr
= wxString_in_helper(obj2
);
9513 if (sptr
== NULL
) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 Py_INCREF(Py_None
); resultobj
= Py_None
;
9534 static PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9537 int arg2
= (int) -1 ;
9538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9540 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9541 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9542 bool temp3
= false ;
9543 bool temp4
= false ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 PyObject
* obj2
= 0 ;
9547 PyObject
* obj3
= 0 ;
9549 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9554 if (SWIG_arg_fail(1)) SWIG_fail
;
9557 arg2
= (int)(SWIG_As_int(obj1
));
9558 if (SWIG_arg_fail(2)) SWIG_fail
;
9563 arg3
= wxString_in_helper(obj2
);
9564 if (arg3
== NULL
) SWIG_fail
;
9570 arg4
= wxString_in_helper(obj3
);
9571 if (arg4
== NULL
) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 Py_INCREF(Py_None
); resultobj
= Py_None
;
9605 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9608 float arg2
= (float) 25.2 ;
9609 float arg3
= (float) 25.2 ;
9610 float arg4
= (float) 25.2 ;
9611 float arg5
= (float) 25.2 ;
9612 float arg6
= (float) 5 ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 PyObject
* obj2
= 0 ;
9616 PyObject
* obj3
= 0 ;
9617 PyObject
* obj4
= 0 ;
9618 PyObject
* obj5
= 0 ;
9620 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail
;
9628 arg2
= (float)(SWIG_As_float(obj1
));
9629 if (SWIG_arg_fail(2)) SWIG_fail
;
9634 arg3
= (float)(SWIG_As_float(obj2
));
9635 if (SWIG_arg_fail(3)) SWIG_fail
;
9640 arg4
= (float)(SWIG_As_float(obj3
));
9641 if (SWIG_arg_fail(4)) SWIG_fail
;
9646 arg5
= (float)(SWIG_As_float(obj4
));
9647 if (SWIG_arg_fail(5)) SWIG_fail
;
9652 arg6
= (float)(SWIG_As_float(obj5
));
9653 if (SWIG_arg_fail(6)) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 Py_INCREF(Py_None
); resultobj
= Py_None
;
9670 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "filter", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
9679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
9680 if (SWIG_arg_fail(1)) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 wxHtmlPrintout::AddFilter(arg1
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 Py_INCREF(Py_None
); resultobj
= Py_None
;
9695 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 wxHtmlPrintout::CleanUpStatics();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 Py_INCREF(Py_None
); resultobj
= Py_None
;
9716 static PyObject
* HtmlPrintout_swigregister(PyObject
*, PyObject
*args
) {
9718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9719 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
9721 return Py_BuildValue((char *)"");
9723 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
9726 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
9727 wxWindow
*arg2
= (wxWindow
*) NULL
;
9728 wxHtmlEasyPrinting
*result
;
9729 bool temp1
= false ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9733 (char *) "name",(char *) "parentWindow", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
9739 arg1
= wxString_in_helper(obj0
);
9740 if (arg1
== NULL
) SWIG_fail
;
9745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9746 if (SWIG_arg_fail(2)) SWIG_fail
;
9749 if (!wxPyCheckForApp()) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
9771 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
9780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9781 if (SWIG_arg_fail(1)) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9799 wxString
*arg2
= 0 ;
9800 bool temp2
= false ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9804 (char *) "self",(char *) "htmlfile", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9809 if (SWIG_arg_fail(1)) SWIG_fail
;
9811 arg2
= wxString_in_helper(obj1
);
9812 if (arg2
== NULL
) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 (arg1
)->PreviewFile((wxString
const &)*arg2
);
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 Py_INCREF(Py_None
); resultobj
= Py_None
;
9837 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9840 wxString
*arg2
= 0 ;
9841 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9843 bool temp2
= false ;
9844 bool temp3
= false ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9849 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail
;
9856 arg2
= wxString_in_helper(obj1
);
9857 if (arg2
== NULL
) SWIG_fail
;
9862 arg3
= wxString_in_helper(obj2
);
9863 if (arg3
== NULL
) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 Py_INCREF(Py_None
); resultobj
= Py_None
;
9897 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9900 wxString
*arg2
= 0 ;
9901 bool temp2
= false ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9905 (char *) "self",(char *) "htmlfile", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail
;
9912 arg2
= wxString_in_helper(obj1
);
9913 if (arg2
== NULL
) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 (arg1
)->PrintFile((wxString
const &)*arg2
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 Py_INCREF(Py_None
); resultobj
= Py_None
;
9938 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9941 wxString
*arg2
= 0 ;
9942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9944 bool temp2
= false ;
9945 bool temp3
= false ;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9948 PyObject
* obj2
= 0 ;
9950 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail
;
9957 arg2
= wxString_in_helper(obj1
);
9958 if (arg2
== NULL
) SWIG_fail
;
9963 arg3
= wxString_in_helper(obj2
);
9964 if (arg3
== NULL
) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 Py_INCREF(Py_None
); resultobj
= Py_None
;
9998 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
10007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10008 if (SWIG_arg_fail(1)) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 (arg1
)->PageSetup();
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 Py_INCREF(Py_None
); resultobj
= Py_None
;
10023 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10026 wxString
*arg2
= 0 ;
10027 int arg3
= (int) wxPAGE_ALL
;
10028 bool temp2
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self",(char *) "header",(char *) "pg", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10038 if (SWIG_arg_fail(1)) SWIG_fail
;
10040 arg2
= wxString_in_helper(obj1
);
10041 if (arg2
== NULL
) SWIG_fail
;
10046 arg3
= (int)(SWIG_As_int(obj2
));
10047 if (SWIG_arg_fail(3)) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 Py_INCREF(Py_None
); resultobj
= Py_None
;
10072 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10075 wxString
*arg2
= 0 ;
10076 int arg3
= (int) wxPAGE_ALL
;
10077 bool temp2
= false ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 PyObject
* obj2
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self",(char *) "footer",(char *) "pg", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10087 if (SWIG_arg_fail(1)) SWIG_fail
;
10089 arg2
= wxString_in_helper(obj1
);
10090 if (arg2
== NULL
) SWIG_fail
;
10095 arg3
= (int)(SWIG_As_int(obj2
));
10096 if (SWIG_arg_fail(3)) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10126 PyObject
*arg4
= (PyObject
*) NULL
;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 PyObject
* obj2
= 0 ;
10130 PyObject
* obj3
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail
;
10139 wxString
* sptr
= wxString_in_helper(obj1
);
10140 if (sptr
== NULL
) SWIG_fail
;
10145 wxString
* sptr
= wxString_in_helper(obj2
);
10146 if (sptr
== NULL
) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10167 static PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10170 int arg2
= (int) -1 ;
10171 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10172 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10173 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10174 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10175 bool temp3
= false ;
10176 bool temp4
= false ;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 PyObject
* obj2
= 0 ;
10180 PyObject
* obj3
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10187 if (SWIG_arg_fail(1)) SWIG_fail
;
10190 arg2
= (int)(SWIG_As_int(obj1
));
10191 if (SWIG_arg_fail(2)) SWIG_fail
;
10196 arg3
= wxString_in_helper(obj2
);
10197 if (arg3
== NULL
) SWIG_fail
;
10203 arg4
= wxString_in_helper(obj3
);
10204 if (arg4
== NULL
) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10241 wxPrintData
*result
;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
10248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10249 if (SWIG_arg_fail(1)) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (wxPrintData
*)(arg1
)->GetPrintData();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
10264 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10267 wxPageSetupDialogData
*result
;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
10274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10275 if (SWIG_arg_fail(1)) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
10290 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*, PyObject
*args
) {
10292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10293 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
10295 return Py_BuildValue((char *)"");
10297 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxString
*arg1
= 0 ;
10300 wxString
*arg2
= 0 ;
10301 wxString
*arg3
= 0 ;
10302 wxString
*arg4
= 0 ;
10303 wxHtmlBookRecord
*result
;
10304 bool temp1
= false ;
10305 bool temp2
= false ;
10306 bool temp3
= false ;
10307 bool temp4
= false ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 PyObject
* obj2
= 0 ;
10311 PyObject
* obj3
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10318 arg1
= wxString_in_helper(obj0
);
10319 if (arg1
== NULL
) SWIG_fail
;
10323 arg2
= wxString_in_helper(obj1
);
10324 if (arg2
== NULL
) SWIG_fail
;
10328 arg3
= wxString_in_helper(obj2
);
10329 if (arg3
== NULL
) SWIG_fail
;
10333 arg4
= wxString_in_helper(obj3
);
10334 if (arg4
== NULL
) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
10383 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (arg1
)->GetBookFile();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10415 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
10425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (arg1
)->GetTitle();
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10447 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10451 PyObject
* obj0
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
10457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (arg1
)->GetStart();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10479 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
10489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10490 if (SWIG_arg_fail(1)) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (arg1
)->GetBasePath();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10511 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 PyObject
* obj1
= 0 ;
10518 PyObject
* obj2
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self",(char *) "start",(char *) "end", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10525 if (SWIG_arg_fail(1)) SWIG_fail
;
10527 arg2
= (int)(SWIG_As_int(obj1
));
10528 if (SWIG_arg_fail(2)) SWIG_fail
;
10531 arg3
= (int)(SWIG_As_int(obj2
));
10532 if (SWIG_arg_fail(3)) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 (arg1
)->SetContentsRange(arg2
,arg3
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 Py_INCREF(Py_None
); resultobj
= Py_None
;
10548 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "self", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
10558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10559 if (SWIG_arg_fail(1)) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (int)(arg1
)->GetContentsStart();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_From_int((int)(result
));
10576 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
10586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (int)(arg1
)->GetContentsEnd();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_From_int((int)(result
));
10604 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10607 wxString
*arg2
= 0 ;
10608 bool temp2
= false ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "title", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
10616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail
;
10619 arg2
= wxString_in_helper(obj1
);
10620 if (arg2
== NULL
) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->SetTitle((wxString
const &)*arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10648 wxString
*arg2
= 0 ;
10649 bool temp2
= false ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "path", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
10657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail
;
10660 arg2
= wxString_in_helper(obj1
);
10661 if (arg2
== NULL
) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 (arg1
)->SetBasePath((wxString
const &)*arg2
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10686 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10689 wxString
*arg2
= 0 ;
10690 bool temp2
= false ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self",(char *) "start", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
10698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10699 if (SWIG_arg_fail(1)) SWIG_fail
;
10701 arg2
= wxString_in_helper(obj1
);
10702 if (arg2
== NULL
) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 (arg1
)->SetStart((wxString
const &)*arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10730 wxString
*arg2
= 0 ;
10732 bool temp2
= false ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self",(char *) "page", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10741 if (SWIG_arg_fail(1)) SWIG_fail
;
10743 arg2
= wxString_in_helper(obj1
);
10744 if (arg2
== NULL
) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10775 static PyObject
* HtmlBookRecord_swigregister(PyObject
*, PyObject
*args
) {
10777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10778 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
10780 return Py_BuildValue((char *)"");
10782 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
*resultobj
;
10784 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10786 PyObject
* obj0
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
10792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_From_int((int)(result
));
10810 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
10820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10821 if (SWIG_arg_fail(1)) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (int)wxHtmlContentsItem_GetID(arg1
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_From_int((int)(result
));
10838 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
10848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= wxHtmlContentsItem_GetName(arg1
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10870 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
10880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= wxHtmlContentsItem_GetPage(arg1
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10902 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10905 wxHtmlBookRecord
*result
;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
10912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 0);
10928 static PyObject
* HtmlContentsItem_swigregister(PyObject
*, PyObject
*args
) {
10930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10931 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
10933 return Py_BuildValue((char *)"");
10935 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
10945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (bool)(arg1
)->Search();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10963 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10967 PyObject
* obj0
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
10973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 result
= (bool)(arg1
)->IsActive();
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10991 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
11001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (int)(arg1
)->GetCurIndex();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_From_int((int)(result
));
11019 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11023 PyObject
* obj0
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
11029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (int)(arg1
)->GetMaxIndex();
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= SWIG_From_int((int)(result
));
11047 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
11057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11058 if (SWIG_arg_fail(1)) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 wxString
const &_result_ref
= (arg1
)->GetName();
11063 result
= (wxString
*) &_result_ref
;
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11073 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11082 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11085 wxHtmlContentsItem
*result
;
11086 PyObject
* obj0
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
11092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
11108 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*, PyObject
*args
) {
11110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11111 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
11113 return Py_BuildValue((char *)"");
11115 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxHtmlHelpData
*result
;
11118 char *kwnames
[] = {
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
11137 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
11146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11165 wxString
*arg2
= 0 ;
11166 bool temp2
= false ;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self",(char *) "path", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
11174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11175 if (SWIG_arg_fail(1)) SWIG_fail
;
11177 arg2
= wxString_in_helper(obj1
);
11178 if (arg2
== NULL
) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetTempDir((wxString
const &)*arg2
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11206 wxString
*arg2
= 0 ;
11208 bool temp2
= false ;
11209 PyObject
* obj0
= 0 ;
11210 PyObject
* obj1
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self",(char *) "book", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
11216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11217 if (SWIG_arg_fail(1)) SWIG_fail
;
11219 arg2
= wxString_in_helper(obj1
);
11220 if (arg2
== NULL
) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11247 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11250 wxString
*arg2
= 0 ;
11252 bool temp2
= false ;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "self",(char *) "page", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
11260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail
;
11263 arg2
= wxString_in_helper(obj1
);
11264 if (arg2
== NULL
) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11295 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self",(char *) "id", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
11307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail
;
11310 arg2
= (int)(SWIG_As_int(obj1
));
11311 if (SWIG_arg_fail(2)) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (arg1
)->FindPageById(arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11333 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11336 wxHtmlBookRecArray
*result
;
11337 PyObject
* obj0
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
11343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
11349 result
= (wxHtmlBookRecArray
*) &_result_ref
;
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
11362 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11365 wxHtmlContentsItem
*result
;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
11372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
11388 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
11398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11399 if (SWIG_arg_fail(1)) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (int)(arg1
)->GetContentsCnt();
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= SWIG_From_int((int)(result
));
11416 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11418 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11419 wxHtmlContentsItem
*result
;
11420 PyObject
* obj0
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
11426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
11442 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11446 PyObject
* obj0
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
11452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (int)(arg1
)->GetIndexCnt();
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_From_int((int)(result
));
11470 static PyObject
* HtmlHelpData_swigregister(PyObject
*, PyObject
*args
) {
11472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11473 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
11475 return Py_BuildValue((char *)"");
11477 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxWindow
*arg1
= (wxWindow
*) 0 ;
11481 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11482 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11483 int arg4
= (int) wxHF_DEFAULTSTYLE
;
11484 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
11485 wxHtmlHelpFrame
*result
;
11486 bool temp3
= false ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 PyObject
* obj2
= 0 ;
11490 PyObject
* obj3
= 0 ;
11491 PyObject
* obj4
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11498 if (SWIG_arg_fail(1)) SWIG_fail
;
11500 arg2
= (int)(SWIG_As_int(obj1
));
11501 if (SWIG_arg_fail(2)) SWIG_fail
;
11505 arg3
= wxString_in_helper(obj2
);
11506 if (arg3
== NULL
) SWIG_fail
;
11512 arg4
= (int)(SWIG_As_int(obj3
));
11513 if (SWIG_arg_fail(4)) SWIG_fail
;
11517 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11518 if (SWIG_arg_fail(5)) SWIG_fail
;
11521 if (!wxPyCheckForApp()) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
11543 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11546 wxHtmlHelpData
*result
;
11547 PyObject
* obj0
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
11553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
11569 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11572 wxString
*arg2
= 0 ;
11573 bool temp2
= false ;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "format", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
11581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail
;
11584 arg2
= wxString_in_helper(obj1
);
11585 if (arg2
== NULL
) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 Py_INCREF(Py_None
); resultobj
= Py_None
;
11610 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11613 wxString
*arg2
= 0 ;
11614 bool temp2
= false ;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self",(char *) "x", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
11622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11623 if (SWIG_arg_fail(1)) SWIG_fail
;
11625 arg2
= wxString_in_helper(obj1
);
11626 if (arg2
== NULL
) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 (arg1
)->Display((wxString
const &)*arg2
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11651 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "id", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 arg2
= (int)(SWIG_As_int(obj1
));
11666 if (SWIG_arg_fail(2)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 (arg1
)->Display(arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 Py_INCREF(Py_None
); resultobj
= Py_None
;
11682 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
11691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11692 if (SWIG_arg_fail(1)) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 (arg1
)->DisplayContents();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
11716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11717 if (SWIG_arg_fail(1)) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 (arg1
)->DisplayIndex();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 Py_INCREF(Py_None
); resultobj
= Py_None
;
11732 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11735 wxString
*arg2
= 0 ;
11737 bool temp2
= false ;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "keyword", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
11745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail
;
11748 arg2
= wxString_in_helper(obj1
);
11749 if (arg2
== NULL
) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11776 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11779 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11780 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11781 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11782 bool temp3
= false ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 PyObject
* obj2
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11792 if (SWIG_arg_fail(1)) SWIG_fail
;
11793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11794 if (SWIG_arg_fail(2)) SWIG_fail
;
11797 arg3
= wxString_in_helper(obj2
);
11798 if (arg3
== NULL
) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11827 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11828 wxString arg3
= (wxString
) wxPyEmptyString
;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "cfg",(char *) "path", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11838 if (SWIG_arg_fail(1)) SWIG_fail
;
11839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11840 if (SWIG_arg_fail(2)) SWIG_fail
;
11843 wxString
* sptr
= wxString_in_helper(obj2
);
11844 if (sptr
== NULL
) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 (arg1
)->ReadCustomization(arg2
,arg3
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 Py_INCREF(Py_None
); resultobj
= Py_None
;
11863 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11866 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11867 wxString arg3
= (wxString
) wxPyEmptyString
;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 PyObject
* obj2
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self",(char *) "cfg",(char *) "path", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail
;
11878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11879 if (SWIG_arg_fail(2)) SWIG_fail
;
11882 wxString
* sptr
= wxString_in_helper(obj2
);
11883 if (sptr
== NULL
) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 (arg1
)->WriteCustomization(arg2
,arg3
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 Py_INCREF(Py_None
); resultobj
= Py_None
;
11902 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*, PyObject
*args
) {
11904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11905 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
11907 return Py_BuildValue((char *)"");
11909 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 int arg1
= (int) wxHF_DEFAULTSTYLE
;
11912 wxHtmlHelpController
*result
;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "style", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
11921 arg1
= (int)(SWIG_As_int(obj0
));
11922 if (SWIG_arg_fail(1)) SWIG_fail
;
11926 if (!wxPyCheckForApp()) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
11940 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
11949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 Py_INCREF(Py_None
); resultobj
= Py_None
;
11965 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11968 wxString
*arg2
= 0 ;
11969 bool temp2
= false ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "format", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
11977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail
;
11980 arg2
= wxString_in_helper(obj1
);
11981 if (arg2
== NULL
) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12006 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12009 wxString
*arg2
= 0 ;
12010 bool temp2
= false ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self",(char *) "path", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
12018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail
;
12021 arg2
= wxString_in_helper(obj1
);
12022 if (arg2
== NULL
) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->SetTempDir((wxString
const &)*arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 Py_INCREF(Py_None
); resultobj
= Py_None
;
12047 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12050 wxString
*arg2
= 0 ;
12051 int arg3
= (int) false ;
12053 bool temp2
= false ;
12054 PyObject
* obj0
= 0 ;
12055 PyObject
* obj1
= 0 ;
12056 PyObject
* obj2
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12063 if (SWIG_arg_fail(1)) SWIG_fail
;
12065 arg2
= wxString_in_helper(obj1
);
12066 if (arg2
== NULL
) SWIG_fail
;
12071 arg3
= (int)(SWIG_As_int(obj2
));
12072 if (SWIG_arg_fail(3)) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12099 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12102 wxString
*arg2
= 0 ;
12103 bool temp2
= false ;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self",(char *) "x", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
12111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail
;
12114 arg2
= wxString_in_helper(obj1
);
12115 if (arg2
== NULL
) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 (arg1
)->Display((wxString
const &)*arg2
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 Py_INCREF(Py_None
); resultobj
= Py_None
;
12140 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self",(char *) "id", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
12151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12152 if (SWIG_arg_fail(1)) SWIG_fail
;
12154 arg2
= (int)(SWIG_As_int(obj1
));
12155 if (SWIG_arg_fail(2)) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 (arg1
)->Display(arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 Py_INCREF(Py_None
); resultobj
= Py_None
;
12171 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
12180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 (arg1
)->DisplayContents();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 Py_INCREF(Py_None
); resultobj
= Py_None
;
12196 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
12205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12206 if (SWIG_arg_fail(1)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 (arg1
)->DisplayIndex();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 Py_INCREF(Py_None
); resultobj
= Py_None
;
12221 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12224 wxString
*arg2
= 0 ;
12226 bool temp2
= false ;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self",(char *) "keyword", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12237 arg2
= wxString_in_helper(obj1
);
12238 if (arg2
== NULL
) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12265 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12268 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12269 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12270 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12271 bool temp3
= false ;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 PyObject
* obj2
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail
;
12282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12283 if (SWIG_arg_fail(2)) SWIG_fail
;
12286 arg3
= wxString_in_helper(obj2
);
12287 if (arg3
== NULL
) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 Py_INCREF(Py_None
); resultobj
= Py_None
;
12313 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12316 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12317 wxString arg3
= (wxString
) wxPyEmptyString
;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 PyObject
* obj2
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "cfg",(char *) "path", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail
;
12328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12329 if (SWIG_arg_fail(2)) SWIG_fail
;
12332 wxString
* sptr
= wxString_in_helper(obj2
);
12333 if (sptr
== NULL
) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 (arg1
)->ReadCustomization(arg2
,arg3
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 Py_INCREF(Py_None
); resultobj
= Py_None
;
12352 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12355 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12356 wxString arg3
= (wxString
) wxPyEmptyString
;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 PyObject
* obj2
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "cfg",(char *) "path", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail
;
12367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12368 if (SWIG_arg_fail(2)) SWIG_fail
;
12371 wxString
* sptr
= wxString_in_helper(obj2
);
12372 if (sptr
== NULL
) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 (arg1
)->WriteCustomization(arg2
,arg3
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 Py_INCREF(Py_None
); resultobj
= Py_None
;
12391 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12394 wxHtmlHelpFrame
*result
;
12395 PyObject
* obj0
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
12401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12402 if (SWIG_arg_fail(1)) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 0);
12417 static PyObject
* HtmlHelpController_swigregister(PyObject
*, PyObject
*args
) {
12419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12420 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
12422 return Py_BuildValue((char *)"");
12424 static PyMethodDef SwigMethods
[] = {
12425 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12426 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12427 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12428 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12429 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12430 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12431 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12432 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
12433 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12434 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12435 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12436 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12437 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12438 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12439 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12440 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12441 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
12442 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12443 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12444 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12445 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12446 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12447 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12448 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12449 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12450 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12451 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12452 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12453 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
12454 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12455 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12456 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12457 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12458 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12459 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12460 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12461 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12462 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12463 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12464 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12465 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12466 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12467 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12468 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12469 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12470 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12471 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12472 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12473 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12474 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12475 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12476 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12477 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12478 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12479 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12480 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12481 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12482 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12483 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12484 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12485 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
12486 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12487 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12488 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12489 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12490 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12491 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
12492 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12493 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12494 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12495 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12496 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12497 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
12498 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12499 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12500 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12501 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12502 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12503 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12504 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12505 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12506 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12507 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12508 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12509 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12510 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12511 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12512 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12513 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
12514 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12515 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12516 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12517 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12518 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12519 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12520 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12521 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12522 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
12523 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12524 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12525 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
12526 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12527 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12528 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
12529 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12530 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12531 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12532 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12533 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12534 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12535 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12536 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
12537 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12538 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12539 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12540 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12541 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12542 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12543 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12544 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12545 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12546 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12547 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12548 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12549 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12550 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12551 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12552 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12553 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12554 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12555 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12556 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12557 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12558 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12559 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12560 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12561 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12562 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12563 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12564 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12565 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12566 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12567 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12568 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12569 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12570 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12571 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
12572 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12573 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
12574 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12575 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12576 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12577 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12578 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12579 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12580 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12581 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12582 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12583 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12584 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12585 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12586 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12587 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12588 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12589 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12590 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12591 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
12592 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12593 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
12594 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12595 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
12596 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12597 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
12598 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12599 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12600 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
12601 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12602 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12603 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12604 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12605 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12606 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12607 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12608 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12609 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12610 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12611 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12612 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12613 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12614 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12615 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12616 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12617 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12618 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12619 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12620 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12621 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12622 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12623 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12624 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12625 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12626 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12627 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12628 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12629 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12630 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12631 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12632 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12633 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12634 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12635 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12636 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12637 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12638 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12639 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12640 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12641 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12642 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
12643 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12644 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12645 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12646 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12647 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12648 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12649 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12650 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12651 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12652 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
12653 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12654 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12655 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12656 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12657 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12658 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12659 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12660 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12661 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12662 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12663 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
12664 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12665 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12666 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12667 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12668 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12669 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12670 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12671 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12672 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12673 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12674 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12675 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12676 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12677 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
12678 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12679 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12680 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12681 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12682 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12683 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12684 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12685 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12686 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12687 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12688 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12689 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12690 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
12691 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12692 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12693 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12694 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12695 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12696 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
, NULL
},
12697 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12698 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12699 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12700 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12701 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12702 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12703 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
12704 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12705 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12706 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12707 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12708 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12709 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12710 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12711 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12712 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12713 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12714 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12715 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
12716 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12717 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12718 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12719 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12720 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12721 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12722 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12723 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12724 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12725 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12726 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12727 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
12728 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12729 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12730 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12731 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12732 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12733 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12734 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12735 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12736 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12737 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12738 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12739 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12740 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12741 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12742 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
12743 { NULL
, NULL
, 0, NULL
}
12747 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12749 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
12750 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
12752 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
12753 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
12755 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
12756 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
12758 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
12759 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
12761 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
12762 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
12764 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
12765 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12767 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12770 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12773 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12776 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12777 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12779 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12780 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12782 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12783 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12785 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12786 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12788 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12791 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12794 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12797 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12800 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12803 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12806 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12809 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12812 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12815 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12816 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12818 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12821 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12824 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12827 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12828 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12830 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12833 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12834 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12836 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12839 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12842 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12843 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12845 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12848 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12849 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12851 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12852 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12854 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12857 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
12858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12860 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12861 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12863 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12866 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12869 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12872 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12873 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12875 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12878 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12879 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12881 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12884 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12887 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12890 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12893 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12896 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12897 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12899 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
12900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12902 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12905 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12908 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12911 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12914 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12917 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12920 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
12921 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
12923 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
12924 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
12926 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
12927 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
12929 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
12930 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
12932 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
12933 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12935 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
12936 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
12938 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
12939 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12941 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
12942 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
12944 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
12945 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
12947 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
12948 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
12950 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12951 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12953 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12954 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12956 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12959 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12962 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12963 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12965 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12966 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12968 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12971 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12972 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12974 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
12975 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
12977 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12978 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12980 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12981 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12983 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12984 return (void *)((wxObject
*) ((wxSizer
*) x
));
12986 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12987 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12989 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
12990 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12992 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12995 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12998 static void *_p_wxEventTo_p_wxObject(void *x
) {
12999 return (void *)((wxObject
*) ((wxEvent
*) x
));
13001 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
13002 return (void *)((wxObject
*) ((wxFontData
*) x
));
13004 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
13005 return (void *)((wxObject
*) ((wxPrintData
*) x
));
13007 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
13008 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
13010 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
13011 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
13013 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
13014 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
13016 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
13017 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
13019 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
13020 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
13022 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
13023 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
13025 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
13026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
13028 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
13029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13031 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
13032 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
13034 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
13035 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
13037 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
13038 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
13040 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
13041 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
13043 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
13044 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
13046 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
13047 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
13049 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
13050 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
13052 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
13053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13055 static void *_p_wxControlTo_p_wxObject(void *x
) {
13056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
13058 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
13059 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
13061 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
13062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
13064 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
13065 return (void *)((wxObject
*) ((wxFSFile
*) x
));
13067 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
13068 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
13070 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
13071 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
13073 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
13074 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
13076 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
13077 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
13079 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
13080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
13082 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
13083 return (void *)((wxObject
*) ((wxColourData
*) x
));
13085 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
13086 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
13088 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
13089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13091 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
13092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
13094 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
13095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
13097 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
13098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
13100 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
13101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13103 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
13104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13106 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
13107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
13109 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
13110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13112 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
13113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
13115 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
13116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
13118 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
13119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
13121 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
13122 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
13124 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
13125 return (void *)((wxObject
*) ((wxPrinter
*) x
));
13127 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
13128 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
13130 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
13131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
13133 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
13134 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
13136 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
13137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13139 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
13140 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
13142 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
13143 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
13145 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
13146 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
13148 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
13149 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
13151 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
13152 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
13154 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
13155 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
13157 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
13158 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
13160 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
13161 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
13163 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
13164 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
13166 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
13167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
13169 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
13170 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
13172 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
13173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
13175 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
13176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
13178 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
13179 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
13181 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
13182 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
13184 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
13185 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
13187 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
13188 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
13190 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
13191 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
13193 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
13194 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
13196 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
13197 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
13199 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
13200 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
13202 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
13203 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
13205 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
13206 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
13208 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
13209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13211 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
13212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13214 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
13215 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
13217 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
13218 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
13220 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
13221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
13223 static void *_p_wxImageTo_p_wxObject(void *x
) {
13224 return (void *)((wxObject
*) ((wxImage
*) x
));
13226 static void *_p_wxFrameTo_p_wxObject(void *x
) {
13227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
13229 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
13230 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
13232 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
13233 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
13235 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
13236 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
13238 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
13239 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
13241 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
13242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
13244 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
13245 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
13247 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
13248 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
13250 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
13251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13253 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
13254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13256 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
13257 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
13259 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
13260 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
13262 static void *_p_wxWindowTo_p_wxObject(void *x
) {
13263 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
13265 static void *_p_wxMenuTo_p_wxObject(void *x
) {
13266 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
13268 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
13269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
13271 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
13272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
13274 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
13275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
13277 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
13278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
13280 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
13281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
13283 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
13284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
13286 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
13287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
13289 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
13290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
13292 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
13293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
13295 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
13296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
13298 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
13299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13301 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
13302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
13304 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
13305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13307 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
13308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13310 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
13311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
13313 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
13314 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
13316 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
13317 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
13319 static void *_p_wxPanelTo_p_wxObject(void *x
) {
13320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
13322 static void *_p_wxDialogTo_p_wxObject(void *x
) {
13323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
13325 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
13326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13328 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
13329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13331 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
13332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13334 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
13335 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
13337 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
13338 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
13340 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
13341 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
13343 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
13344 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
13346 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
13347 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
13349 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
13350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13352 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
13353 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
13355 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
13356 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
13358 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
13359 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
13361 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
13362 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
13364 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
13365 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
13367 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
13368 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
13370 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
13371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13373 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
13374 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
13376 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
13377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
13379 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
13380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13382 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
13383 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
13385 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
13386 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
13388 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
13389 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
13391 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
13392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13394 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
13395 return (void *)((wxObject
*) ((wxHtmlHelpController
*) x
));
13397 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
13398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13400 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
13401 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
13403 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
13404 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
13406 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
13407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
13409 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
13410 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
13412 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
13413 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
13415 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
13416 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
13418 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
13419 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
13421 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
13422 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
13424 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
13425 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
13427 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
13428 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
13430 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
13431 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
13433 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
13434 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
13436 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
13437 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
13439 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
13440 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
13442 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
13443 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
13445 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
13446 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13448 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
13449 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
13451 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
13452 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13454 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
13455 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13457 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
13458 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
13460 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
13461 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
13463 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
13464 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13466 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
13467 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
13469 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
13470 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
13472 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
13473 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
13475 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
13476 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
13478 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
13479 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
13481 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
13482 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
13484 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
13485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
13487 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
13488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
13490 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
13491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
13493 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
13494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13496 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
13497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
13499 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
13500 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13502 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
13503 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13505 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
13506 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
13508 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
13509 return (void *)((wxWindow
*) ((wxPanel
*) x
));
13511 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
13512 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
13514 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
13515 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13517 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
13518 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
13520 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
13521 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
13523 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
13524 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
13526 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
13527 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
13529 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
13530 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
13532 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
13533 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
13535 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
13536 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
13538 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
13539 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
13541 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
13542 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
13544 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
13545 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
13547 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
13548 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13550 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
13551 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13553 static void *_p_wxControlTo_p_wxWindow(void *x
) {
13554 return (void *)((wxWindow
*) ((wxControl
*) x
));
13556 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
13557 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
13559 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
13560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
13562 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
13563 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
13565 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
13566 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
13568 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
13569 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
13571 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
13572 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13574 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
13575 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13577 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
13578 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13580 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
13581 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
13583 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
13584 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13586 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
13587 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13589 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
13590 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
13592 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
13593 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13595 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
13596 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13598 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
13599 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13601 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
13602 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
13604 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
13605 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13607 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
13608 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13610 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
13611 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13613 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
13614 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13616 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
13617 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
13619 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
13620 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13622 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
13623 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13625 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
13626 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13628 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
13629 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13631 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
13632 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13634 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
13635 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
13637 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
13638 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13640 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
13641 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
13643 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
13644 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13646 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
13647 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
13649 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}};
13650 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}};
13651 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}};
13652 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}};
13653 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}};
13654 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}};
13655 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}};
13656 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}};
13657 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}};
13658 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}};
13659 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}};
13660 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}};
13661 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}};
13662 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}};
13663 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}};
13664 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}};
13665 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}};
13666 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}};
13667 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}};
13668 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}};
13669 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}};
13670 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}};
13671 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}};
13672 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}};
13673 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}};
13674 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}};
13675 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}};
13676 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_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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}};
13677 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}};
13678 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}};
13679 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}};
13680 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}};
13681 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}};
13682 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}};
13683 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}};
13684 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}};
13685 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}};
13686 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}};
13687 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}};
13688 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}};
13689 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}};
13690 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}};
13691 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}};
13692 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}};
13693 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}};
13694 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}};
13695 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}};
13696 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}};
13697 static swig_type_info _swigt__p_wxHtmlContentsItem
[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0, 0, 0, 0},{"_p_wxHtmlContentsItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
13698 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}};
13699 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}};
13700 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}};
13701 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}};
13702 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}};
13703 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}};
13704 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}};
13705 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}};
13706 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}};
13707 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}};
13708 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}};
13709 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}};
13710 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}};
13711 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}};
13713 static swig_type_info
*swig_types_initial
[] = {
13714 _swigt__p_wxHtmlDCRenderer
,
13715 _swigt__p_wxColour
,
13716 _swigt__p_wxPageSetupDialogData
,
13718 _swigt__p_form_ops_t
,
13719 _swigt__p_wxHtmlRenderingStyle
,
13720 _swigt__p_wxMouseEvent
,
13721 _swigt__p_wxDuplexMode
,
13722 _swigt__p_wxDefaultHtmlRenderingStyle
,
13723 _swigt__p_wxHtmlWordCell
,
13724 _swigt__p_wxVisualAttributes
,
13725 _swigt__p_wxHtmlHelpData
,
13727 _swigt__p_wxHtmlWinParser
,
13728 _swigt__p_wxHtmlParser
,
13730 _swigt__p_wxPyHtmlWindow
,
13731 _swigt__p_wxScrolledWindow
,
13732 _swigt__p_wxWindow
,
13733 _swigt__p_wxTopLevelWindow
,
13735 _swigt__p_wxHtmlColourCell
,
13736 _swigt__p_wxHtmlFontCell
,
13737 _swigt__p_wxHtmlEasyPrinting
,
13738 _swigt__p_wxHtmlSelection
,
13739 _swigt__p_wxHtmlRenderingInfo
,
13740 _swigt__p_wxHtmlWidgetCell
,
13741 _swigt__p_wxObject
,
13742 _swigt__p_wxBitmap
,
13743 _swigt__p_wxPaperSize
,
13744 _swigt__p_wxString
,
13745 _swigt__p_unsigned_int
,
13746 _swigt__unsigned_int
,
13747 _swigt__p_wxHtmlTagHandler
,
13748 _swigt__p_wxPyHtmlTagHandler
,
13749 _swigt__p_wxEvtHandler
,
13750 _swigt__p_wxPyHtmlWinTagHandler
,
13752 _swigt__p_wxHtmlHelpController
,
13753 _swigt__p_wxCursor
,
13754 _swigt__p_wxFileSystem
,
13755 _swigt__p_wxHtmlBookRecArray
,
13756 _swigt__p_unsigned_char
,
13757 _swigt__p_wxPyPrintout
,
13758 _swigt__p_wxHtmlPrintout
,
13759 _swigt__p_wxHtmlSearchStatus
,
13760 _swigt__std__ptrdiff_t
,
13762 _swigt__p_wxHtmlContentsItem
,
13763 _swigt__p_wxConfigBase
,
13764 _swigt__p_wxPrintData
,
13765 _swigt__p_wxHtmlHelpFrame
,
13767 _swigt__p_wxHtmlRenderingState
,
13768 _swigt__p_wxPyHtmlFilter
,
13769 _swigt__p_wxHtmlFilter
,
13770 _swigt__p_wxHtmlCell
,
13771 _swigt__p_wxHtmlContainerCell
,
13772 _swigt__p_wxHtmlTag
,
13774 _swigt__p_wxHtmlLinkInfo
,
13775 _swigt__p_unsigned_long
,
13776 _swigt__p_wxHtmlBookRecord
,
13781 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13783 static swig_const_info swig_const_table
[] = {
13784 {0, 0, 0, 0.0, 0, 0}};
13795 /* Python-specific SWIG API */
13796 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13797 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13798 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13800 /* -----------------------------------------------------------------------------
13801 * global variable support code.
13802 * ----------------------------------------------------------------------------- */
13804 typedef struct swig_globalvar
{
13805 char *name
; /* Name of global variable */
13806 PyObject
*(*get_attr
)(); /* Return the current value */
13807 int (*set_attr
)(PyObject
*); /* Set the value */
13808 struct swig_globalvar
*next
;
13811 typedef struct swig_varlinkobject
{
13813 swig_globalvar
*vars
;
13814 } swig_varlinkobject
;
13817 swig_varlink_repr(swig_varlinkobject
*v
) {
13819 return PyString_FromString("<Swig global variables>");
13823 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
13824 swig_globalvar
*var
;
13826 fprintf(fp
,"Swig global variables { ");
13827 for (var
= v
->vars
; var
; var
=var
->next
) {
13828 fprintf(fp
,"%s", var
->name
);
13829 if (var
->next
) fprintf(fp
,", ");
13831 fprintf(fp
," }\n");
13836 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
13837 swig_globalvar
*var
= v
->vars
;
13839 if (strcmp(var
->name
,n
) == 0) {
13840 return (*var
->get_attr
)();
13844 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13849 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
13850 swig_globalvar
*var
= v
->vars
;
13852 if (strcmp(var
->name
,n
) == 0) {
13853 return (*var
->set_attr
)(p
);
13857 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13861 static PyTypeObject varlinktype
= {
13862 PyObject_HEAD_INIT(0)
13863 0, /* Number of items in variable part (ob_size) */
13864 (char *)"swigvarlink", /* Type name (tp_name) */
13865 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
13866 0, /* Itemsize (tp_itemsize) */
13867 0, /* Deallocator (tp_dealloc) */
13868 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
13869 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
13870 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
13871 0, /* tp_compare */
13872 (reprfunc
) swig_varlink_repr
, /* tp_repr */
13873 0, /* tp_as_number */
13874 0, /* tp_as_sequence */
13875 0, /* tp_as_mapping */
13879 0, /* tp_getattro */
13880 0, /* tp_setattro */
13881 0, /* tp_as_buffer */
13884 #if PY_VERSION_HEX >= 0x02000000
13885 0, /* tp_traverse */
13888 #if PY_VERSION_HEX >= 0x02010000
13889 0, /* tp_richcompare */
13890 0, /* tp_weaklistoffset */
13892 #if PY_VERSION_HEX >= 0x02020000
13893 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13895 #if PY_VERSION_HEX >= 0x02030000
13898 #ifdef COUNT_ALLOCS
13899 0,0,0,0 /* tp_alloc -> tp_next */
13903 /* Create a variable linking object for use later */
13905 SWIG_Python_newvarlink(void) {
13906 swig_varlinkobject
*result
= 0;
13907 result
= PyMem_NEW(swig_varlinkobject
,1);
13908 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
13909 result
->ob_type
= &varlinktype
;
13911 result
->ob_refcnt
= 0;
13912 Py_XINCREF((PyObject
*) result
);
13913 return ((PyObject
*) result
);
13917 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
13918 swig_varlinkobject
*v
;
13919 swig_globalvar
*gv
;
13920 v
= (swig_varlinkobject
*) p
;
13921 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
13922 gv
->name
= (char *) malloc(strlen(name
)+1);
13923 strcpy(gv
->name
,name
);
13924 gv
->get_attr
= get_attr
;
13925 gv
->set_attr
= set_attr
;
13926 gv
->next
= v
->vars
;
13930 /* -----------------------------------------------------------------------------
13931 * constants/methods manipulation
13932 * ----------------------------------------------------------------------------- */
13934 /* Install Constants */
13936 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
13939 for (i
= 0; constants
[i
].type
; i
++) {
13940 switch(constants
[i
].type
) {
13942 obj
= PyInt_FromLong(constants
[i
].lvalue
);
13944 case SWIG_PY_FLOAT
:
13945 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
13947 case SWIG_PY_STRING
:
13948 if (constants
[i
].pvalue
) {
13949 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
13951 Py_INCREF(Py_None
);
13955 case SWIG_PY_POINTER
:
13956 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
13958 case SWIG_PY_BINARY
:
13959 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
13966 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
13972 /* -----------------------------------------------------------------------------*/
13973 /* Fix SwigMethods to carry the callback ptrs when needed */
13974 /* -----------------------------------------------------------------------------*/
13977 SWIG_Python_FixMethods(PyMethodDef
*methods
,
13978 swig_const_info
*const_table
,
13979 swig_type_info
**types
,
13980 swig_type_info
**types_initial
) {
13982 for (i
= 0; methods
[i
].ml_name
; ++i
) {
13983 char *c
= methods
[i
].ml_doc
;
13984 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
13986 swig_const_info
*ci
= 0;
13987 char *name
= c
+ 10;
13988 for (j
= 0; const_table
[j
].type
; j
++) {
13989 if (strncmp(const_table
[j
].name
, name
,
13990 strlen(const_table
[j
].name
)) == 0) {
13991 ci
= &(const_table
[j
]);
13996 size_t shift
= (ci
->ptype
) - types
;
13997 swig_type_info
*ty
= types_initial
[shift
];
13998 size_t ldoc
= (c
- methods
[i
].ml_doc
);
13999 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
14000 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
14002 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
14003 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
14005 strncpy(buff
, "swig_ptr: ", 10);
14007 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
14008 methods
[i
].ml_doc
= ndoc
;
14014 /* -----------------------------------------------------------------------------*
14015 * Initialize type list
14016 * -----------------------------------------------------------------------------*/
14018 #if PY_MAJOR_VERSION < 2
14019 /* PyModule_AddObject function was introduced in Python 2.0. The following function
14020 is copied out of Python/modsupport.c in python version 2.3.4 */
14022 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
14025 if (!PyModule_Check(m
)) {
14026 PyErr_SetString(PyExc_TypeError
,
14027 "PyModule_AddObject() needs module as first arg");
14031 PyErr_SetString(PyExc_TypeError
,
14032 "PyModule_AddObject() needs non-NULL value");
14036 dict
= PyModule_GetDict(m
);
14037 if (dict
== NULL
) {
14038 /* Internal error -- modules must have a dict! */
14039 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
14040 PyModule_GetName(m
));
14043 if (PyDict_SetItemString(dict
, name
, o
))
14050 static swig_type_info
**
14051 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
14052 static PyMethodDef swig_empty_runtime_method_table
[] = {
14054 NULL
, NULL
, 0, NULL
14058 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
14059 swig_empty_runtime_method_table
);
14060 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
14061 if (pointer
&& module) {
14062 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
14064 return type_list_handle
;
14067 static swig_type_info
**
14068 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
14069 swig_type_info
**type_pointer
;
14071 /* first check if module already created */
14072 type_pointer
= SWIG_Python_GetTypeListHandle();
14073 if (type_pointer
) {
14074 return type_pointer
;
14076 /* create a new module and variable */
14077 return SWIG_Python_SetTypeListHandle(type_list_handle
);
14085 /* -----------------------------------------------------------------------------*
14086 * Partial Init method
14087 * -----------------------------------------------------------------------------*/
14089 #ifdef SWIG_LINK_RUNTIME
14093 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
14099 SWIGEXPORT(void) SWIG_init(void) {
14100 static PyObject
*SWIG_globals
= 0;
14101 static int typeinit
= 0;
14104 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
14106 /* Fix SwigMethods to carry the callback ptrs when needed */
14107 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
14109 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
14110 d
= PyModule_GetDict(m
);
14113 #ifdef SWIG_LINK_RUNTIME
14114 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
14116 # ifndef SWIG_STATIC_RUNTIME
14117 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
14120 for (i
= 0; swig_types_initial
[i
]; i
++) {
14121 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
14125 SWIG_InstallConstants(d
,swig_const_table
);
14127 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
14128 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
14129 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
14130 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
14132 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT
)));
14135 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER
)));
14138 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT
)));
14141 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM
)));
14144 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP
)));
14147 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND
)));
14150 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND
)));
14153 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS
)));
14156 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT
)));
14159 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT
)));
14162 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT
)));
14165 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP
)));
14168 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM
)));
14171 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL
)));
14174 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL
)));
14177 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL
)));
14180 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR
)));
14183 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP
)));
14186 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER
)));
14189 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1
)));
14192 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2
)));
14195 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3
)));
14198 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4
)));
14201 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5
)));
14204 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6
)));
14207 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7
)));
14210 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER
)));
14213 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO
)));
14216 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION
)));
14219 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE
)));
14222 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN
)));
14225 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK
)));
14228 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT
)));
14231 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE
)));
14234 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE
)));
14237 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER
)));
14240 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT
)));
14243 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN
)));
14246 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING
)));
14249 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT
)));
14252 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE
)));
14255 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER
)));
14258 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD
)));
14261 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN
)));
14264 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL
)));
14267 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR
)));
14270 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR
)));
14273 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS
)));
14276 PyDict_SetItemString(d
,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX
)));
14279 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH
)));
14282 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS
)));
14285 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES
)));
14288 PyDict_SetItemString(d
,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT
)));
14291 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE
)));
14294 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
14295 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14296 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14297 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");