1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0]
1343 #define SWIGTYPE_p_wxColour swig_types[1]
1344 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2]
1345 #define SWIGTYPE_p_wxDC swig_types[3]
1346 #define SWIGTYPE_p_form_ops_t swig_types[4]
1347 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5]
1348 #define SWIGTYPE_p_wxMouseEvent swig_types[6]
1349 #define SWIGTYPE_p_wxDuplexMode swig_types[7]
1350 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8]
1351 #define SWIGTYPE_p_wxHtmlWordCell swig_types[9]
1352 #define SWIGTYPE_p_wxVisualAttributes swig_types[10]
1353 #define SWIGTYPE_p_wxHtmlHelpData swig_types[11]
1354 #define SWIGTYPE_p_char swig_types[12]
1355 #define SWIGTYPE_p_wxHtmlWinParser swig_types[13]
1356 #define SWIGTYPE_p_wxHtmlParser swig_types[14]
1357 #define SWIGTYPE_p_wxPanel swig_types[15]
1358 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16]
1359 #define SWIGTYPE_p_wxScrolledWindow swig_types[17]
1360 #define SWIGTYPE_p_wxWindow swig_types[18]
1361 #define SWIGTYPE_p_wxTopLevelWindow swig_types[19]
1362 #define SWIGTYPE_p_wxFont swig_types[20]
1363 #define SWIGTYPE_p_wxHtmlColourCell swig_types[21]
1364 #define SWIGTYPE_p_wxHtmlFontCell swig_types[22]
1365 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23]
1366 #define SWIGTYPE_p_wxHtmlSelection swig_types[24]
1367 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25]
1368 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26]
1369 #define SWIGTYPE_p_wxObject swig_types[27]
1370 #define SWIGTYPE_p_wxBitmap swig_types[28]
1371 #define SWIGTYPE_p_wxPaperSize swig_types[29]
1372 #define SWIGTYPE_p_wxString swig_types[30]
1373 #define SWIGTYPE_p_unsigned_int swig_types[31]
1374 #define SWIGTYPE_unsigned_int swig_types[32]
1375 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[33]
1376 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[34]
1377 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
1378 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[36]
1379 #define SWIGTYPE_p_wxPoint swig_types[37]
1380 #define SWIGTYPE_p_wxHtmlHelpController swig_types[38]
1381 #define SWIGTYPE_p_wxCursor swig_types[39]
1382 #define SWIGTYPE_p_wxFileSystem swig_types[40]
1383 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[41]
1384 #define SWIGTYPE_p_unsigned_char swig_types[42]
1385 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
1386 #define SWIGTYPE_p_wxHtmlPrintout swig_types[44]
1387 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[45]
1388 #define SWIGTYPE_std__ptrdiff_t swig_types[46]
1389 #define SWIGTYPE_ptrdiff_t swig_types[47]
1390 #define SWIGTYPE_p_wxHtmlContentsItem swig_types[48]
1391 #define SWIGTYPE_p_wxConfigBase swig_types[49]
1392 #define SWIGTYPE_p_wxPrintData swig_types[50]
1393 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[51]
1394 #define SWIGTYPE_p_wxFrame swig_types[52]
1395 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[53]
1396 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[54]
1397 #define SWIGTYPE_p_wxHtmlFilter swig_types[55]
1398 #define SWIGTYPE_p_wxHtmlCell swig_types[56]
1399 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[57]
1400 #define SWIGTYPE_p_wxHtmlTag swig_types[58]
1401 #define SWIGTYPE_p_int swig_types[59]
1402 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[60]
1403 #define SWIGTYPE_p_unsigned_long swig_types[61]
1404 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[62]
1405 static swig_type_info
*swig_types
[64];
1407 /* -------- TYPES TABLE (END) -------- */
1410 /*-----------------------------------------------
1411 @(target):= _html.so
1412 ------------------------------------------------*/
1413 #define SWIG_init init_html
1415 #define SWIG_name "_html"
1417 #include "wx/wxPython/wxPython.h"
1418 #include "wx/wxPython/pyclasses.h"
1419 #include "wx/wxPython/pyistream.h"
1420 #include "wx/wxPython/printfw.h"
1422 #include <wx/html/htmlwin.h>
1423 #include <wx/html/htmprint.h>
1424 #include <wx/html/helpctrl.h>
1427 static const wxString
wxPyEmptyString(wxEmptyString
);
1428 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1429 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1430 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
1432 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1433 #define SWIG_From_int PyInt_FromLong
1441 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1444 if (value
< min_value
) {
1446 PyErr_Format(PyExc_OverflowError
,
1447 "value %ld is less than '%s' minimum %ld",
1448 value
, errmsg
, min_value
);
1451 } else if (value
> max_value
) {
1453 PyErr_Format(PyExc_OverflowError
,
1454 "value %ld is greater than '%s' maximum %ld",
1455 value
, errmsg
, max_value
);
1464 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1466 if (PyNumber_Check(obj
)) {
1467 if (val
) *val
= PyInt_AsLong(obj
);
1471 SWIG_type_error("number", obj
);
1477 #if INT_MAX != LONG_MAX
1479 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1481 const char* errmsg
= val
? "int" : (char*)0;
1483 if (SWIG_AsVal_long(obj
, &v
)) {
1484 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1485 if (val
) *val
= (int)(v
);
1494 SWIG_type_error(errmsg
, obj
);
1500 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1502 return SWIG_AsVal_long(obj
,(long*)val
);
1508 SWIG_As_int(PyObject
* obj
)
1511 if (!SWIG_AsVal_int(obj
, &v
)) {
1513 this is needed to make valgrind/purify happier.
1515 memset((void*)&v
, 0, sizeof(int));
1522 SWIG_Check_int(PyObject
* obj
)
1524 return SWIG_AsVal_int(obj
, (int*)0);
1527 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1529 if (sizes
) temp
= int_LIST_helper(sizes
);
1530 self
->SetFonts(normal_face
, fixed_face
, temp
);
1535 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
1536 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
1538 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1540 wxHtmlParser
* GetParser() { return m_Parser
; }
1541 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
1543 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
1544 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
1549 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
1551 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
1552 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
1555 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
1556 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
1558 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1560 wxHtmlWinParser
* GetParser() { return m_WParser
; }
1561 void ParseInner(const wxHtmlTag
& tag
)
1562 { wxHtmlWinTagHandler::ParseInner(tag
); }
1564 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
1565 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
1570 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
1572 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
1573 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
1577 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
1579 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
1580 m_tagHandlerClass
= thc
;
1581 Py_INCREF(m_tagHandlerClass
);
1582 RegisterModule(this);
1583 wxHtmlWinParser::AddModule(this);
1587 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1588 Py_DECREF(m_tagHandlerClass
);
1589 m_tagHandlerClass
= NULL
;
1590 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
1591 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
1594 wxPyEndBlockThreads(blocked
);
1597 void FillHandlersTable(wxHtmlWinParser
*parser
) {
1598 // Wave our magic wand... (if it works it's a miracle! ;-)
1600 // First, make a new instance of the tag handler
1601 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1602 PyObject
* arg
= PyTuple_New(0);
1603 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
1606 // now figure out where it's C++ object is...
1607 wxPyHtmlWinTagHandler
* thPtr
;
1608 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
1609 wxPyEndBlockThreads(blocked
);
1612 wxPyEndBlockThreads(blocked
);
1615 parser
->AddTagHandler(thPtr
);
1618 m_objArray
.Add(obj
);
1622 PyObject
* m_tagHandlerClass
;
1623 wxArrayPtrVoid m_objArray
;
1628 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
1629 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1630 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1631 new wxPyHtmlTagsModule(tagHandlerClass
);
1635 SWIGINTERNSHORT PyObject
*
1636 SWIG_From_bool(bool value
)
1638 PyObject
*obj
= value
? Py_True
: Py_False
;
1644 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1650 } else if (target
== Py_None
) {
1654 if (!PyTuple_Check(target
)) {
1656 target
= PyTuple_New(1);
1657 PyTuple_SetItem(target
, 0, o2
);
1659 o3
= PyTuple_New(1);
1660 PyTuple_SetItem(o3
, 0, o
);
1663 target
= PySequence_Concat(o2
, o3
);
1673 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1675 if (obj
== Py_True
) {
1676 if (val
) *val
= true;
1679 if (obj
== Py_False
) {
1680 if (val
) *val
= false;
1684 if (SWIG_AsVal_int(obj
, &res
)) {
1685 if (val
) *val
= res
? true : false;
1691 SWIG_type_error("bool", obj
);
1697 SWIGINTERNSHORT
bool
1698 SWIG_As_bool(PyObject
* obj
)
1701 if (!SWIG_AsVal_bool(obj
, &v
)) {
1703 this is needed to make valgrind/purify happier.
1705 memset((void*)&v
, 0, sizeof(bool));
1712 SWIG_Check_bool(PyObject
* obj
)
1714 return SWIG_AsVal_bool(obj
, (bool*)0);
1719 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1720 unsigned long max_value
,
1723 if (value
> max_value
) {
1725 PyErr_Format(PyExc_OverflowError
,
1726 "value %lu is greater than '%s' minimum %lu",
1727 value
, errmsg
, max_value
);
1736 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1739 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1740 SWIG_type_error("unsigned number", obj
);
1743 *val
= (unsigned long)v
;
1748 #if UINT_MAX != ULONG_MAX
1750 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1752 const char* errmsg
= val
? "unsigned int" : (char*)0;
1754 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1755 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1756 if (val
) *val
= (unsigned int)(v
);
1763 SWIG_type_error(errmsg
, obj
);
1768 SWIGINTERNSHORT
unsigned int
1769 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1771 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1776 SWIGINTERNSHORT
unsigned int
1777 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1780 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1782 this is needed to make valgrind/purify happier.
1784 memset((void*)&v
, 0, sizeof(unsigned int));
1791 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1793 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1797 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1798 #define SWIG_From_long PyInt_FromLong
1802 SWIGINTERNSHORT PyObject
*
1803 SWIG_From_unsigned_SS_long(unsigned long value
)
1805 return (value
> LONG_MAX
) ?
1806 PyLong_FromUnsignedLong(value
)
1807 : PyInt_FromLong((long)(value
));
1811 #if UINT_MAX < LONG_MAX
1812 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1813 #define SWIG_From_unsigned_SS_int SWIG_From_long
1816 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1817 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1821 // here's the C++ version
1822 class wxPyHtmlFilter
: public wxHtmlFilter
{
1823 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
);
1825 wxPyHtmlFilter() : wxHtmlFilter() {}
1827 // returns True if this filter is able to open&read given file
1828 virtual bool CanRead(const wxFSFile
& file
) const {
1831 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1832 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
1833 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
1834 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
1837 wxPyEndBlockThreads(blocked
);
1842 // Reads given file and returns HTML document.
1843 // Returns empty string if opening failed
1844 virtual wxString
ReadFile(const wxFSFile
& file
) const {
1847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1848 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
1849 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
1851 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
1854 rval
= Py2wxString(ro
);
1858 wxPyEndBlockThreads(blocked
);
1865 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
1868 class wxPyHtmlWindow
: public wxHtmlWindow
{
1869 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
1871 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
1872 const wxPoint
& pos
= wxDefaultPosition
,
1873 const wxSize
& size
= wxDefaultSize
,
1874 long style
= wxHW_DEFAULT_STYLE
,
1875 const wxString
& name
= wxPyHtmlWindowNameStr
)
1876 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
1877 wxPyHtmlWindow() : wxHtmlWindow() {};
1879 bool ScrollToAnchor(const wxString
& anchor
) {
1880 return wxHtmlWindow::ScrollToAnchor(anchor
);
1883 bool HasAnchor(const wxString
& anchor
) {
1884 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
1888 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
1889 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
1891 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
1892 const wxString
& url
,
1893 wxString
*redirect
) const;
1895 DEC_PYCALLBACK__STRING(OnSetTitle
);
1896 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
1897 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
1901 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
1902 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
1903 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
1904 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
1907 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
1909 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1910 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
1911 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
1912 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
1915 wxPyEndBlockThreads(blocked
);
1917 wxHtmlWindow::OnLinkClicked(link
);
1919 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
1920 wxHtmlWindow::OnLinkClicked(link
);
1924 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
1925 const wxString
& url
,
1926 wxString
*redirect
) const {
1928 wxHtmlOpeningStatus rval
;
1929 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1930 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
1932 PyObject
* s
= wx2PyString(url
);
1933 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
1935 if (PyString_Check(ro
)
1936 #if PYTHON_API_VERSION >= 1009
1937 || PyUnicode_Check(ro
)
1940 *redirect
= Py2wxString(ro
);
1941 rval
= wxHTML_REDIRECT
;
1944 PyObject
* num
= PyNumber_Int(ro
);
1945 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
1950 wxPyEndBlockThreads(blocked
);
1952 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
1958 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1960 if (sizes
) temp
= int_LIST_helper(sizes
);
1961 self
->SetFonts(normal_face
, fixed_face
, temp
);
1965 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1967 if (sizes
) temp
= int_LIST_helper(sizes
);
1968 self
->SetFonts(normal_face
, fixed_face
, temp
);
1972 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1974 if (sizes
) temp
= int_LIST_helper(sizes
);
1975 self
->SetFonts(normal_face
, fixed_face
, temp
);
1982 SWIG_CheckDoubleInRange(double value
, double min_value
,
1983 double max_value
, const char* errmsg
)
1985 if (value
< min_value
) {
1987 PyErr_Format(PyExc_OverflowError
,
1988 "value %g is less than %s minimum %g",
1989 value
, errmsg
, min_value
);
1992 } else if (value
> max_value
) {
1994 PyErr_Format(PyExc_OverflowError
,
1995 "value %g is greater than %s maximum %g",
1996 value
, errmsg
, max_value
);
2005 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2007 if (PyNumber_Check(obj
)) {
2008 if (val
) *val
= PyFloat_AsDouble(obj
);
2012 SWIG_type_error("number", obj
);
2019 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2021 const char* errmsg
= val
? "float" : (char*)0;
2023 if (SWIG_AsVal_double(obj
, &v
)) {
2024 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2025 if (val
) *val
= (float)(v
);
2034 SWIG_type_error(errmsg
, obj
);
2040 SWIGINTERNSHORT
float
2041 SWIG_As_float(PyObject
* obj
)
2044 if (!SWIG_AsVal_float(obj
, &v
)) {
2046 this is needed to make valgrind/purify happier.
2048 memset((void*)&v
, 0, sizeof(float));
2055 SWIG_Check_float(PyObject
* obj
)
2057 return SWIG_AsVal_float(obj
, (float*)0);
2060 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2062 if (sizes
) temp
= int_LIST_helper(sizes
);
2063 self
->SetFonts(normal_face
, fixed_face
, temp
);
2067 static int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem
*self
){ return self
->m_Level
; }
2068 static int wxHtmlContentsItem_GetID(wxHtmlContentsItem
*self
){ return self
->m_ID
; }
2069 static wxString
wxHtmlContentsItem_GetName(wxHtmlContentsItem
*self
){ return self
->m_Name
; }
2070 static wxString
wxHtmlContentsItem_GetPage(wxHtmlContentsItem
*self
){ return self
->m_Page
; }
2071 static wxHtmlBookRecord
*wxHtmlContentsItem_GetBook(wxHtmlContentsItem
*self
){ return self
->m_Book
; }
2075 static int _wrap_HtmlWindowNameStr_set(PyObject
*) {
2076 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
2081 static PyObject
*_wrap_HtmlWindowNameStr_get(void) {
2086 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2088 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2095 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*) {
2096 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
2101 static PyObject
*_wrap_HtmlPrintoutTitleStr_get(void) {
2106 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2108 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2115 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*) {
2116 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
2121 static PyObject
*_wrap_HtmlPrintingTitleStr_get(void) {
2126 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2128 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2135 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxString
*arg1
= 0 ;
2138 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2139 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2140 wxHtmlLinkInfo
*result
;
2141 bool temp1
= false ;
2142 bool temp2
= false ;
2143 PyObject
* obj0
= 0 ;
2144 PyObject
* obj1
= 0 ;
2146 (char *) "href",(char *) "target", NULL
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2151 arg1
= wxString_in_helper(obj0
);
2152 if (arg1
== NULL
) SWIG_fail
;
2157 arg2
= wxString_in_helper(obj1
);
2158 if (arg2
== NULL
) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2192 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "self", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
2202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2203 if (SWIG_arg_fail(1)) SWIG_fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 result
= (arg1
)->GetHref();
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2224 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2228 PyObject
* obj0
= 0 ;
2230 (char *) "self", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
2234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2235 if (SWIG_arg_fail(1)) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 result
= (arg1
)->GetTarget();
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2256 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
*resultobj
;
2258 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2259 wxMouseEvent
*result
;
2260 PyObject
* obj0
= 0 ;
2262 (char *) "self", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
2266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2267 if (SWIG_arg_fail(1)) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2276 resultobj
= wxPyMake_wxObject(result
, 0);
2284 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2290 (char *) "self", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
2294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2295 if (SWIG_arg_fail(1)) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
2310 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2313 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
2314 PyObject
* obj0
= 0 ;
2315 PyObject
* obj1
= 0 ;
2317 (char *) "self",(char *) "e", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
2321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2322 if (SWIG_arg_fail(1)) SWIG_fail
;
2323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
2324 if (SWIG_arg_fail(2)) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 Py_INCREF(Py_None
); resultobj
= Py_None
;
2339 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2342 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2344 PyObject
* obj1
= 0 ;
2346 (char *) "self",(char *) "e", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
2350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2351 if (SWIG_arg_fail(1)) SWIG_fail
;
2352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
2353 if (SWIG_arg_fail(2)) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 Py_INCREF(Py_None
); resultobj
= Py_None
;
2368 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*, PyObject
*args
) {
2370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2371 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
2373 return Py_BuildValue((char *)"");
2375 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2377 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2379 PyObject
* obj0
= 0 ;
2381 (char *) "self", NULL
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
2385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2386 if (SWIG_arg_fail(1)) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 result
= (arg1
)->GetName();
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2407 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
*resultobj
;
2409 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2410 wxString
*arg2
= 0 ;
2412 bool temp2
= false ;
2413 PyObject
* obj0
= 0 ;
2414 PyObject
* obj1
= 0 ;
2416 (char *) "self",(char *) "par", NULL
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
2420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2421 if (SWIG_arg_fail(1)) SWIG_fail
;
2423 arg2
= wxString_in_helper(obj1
);
2424 if (arg2
== NULL
) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2451 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
*resultobj
;
2453 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2454 wxString
*arg2
= 0 ;
2455 int arg3
= (int) false ;
2457 bool temp2
= false ;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2460 PyObject
* obj2
= 0 ;
2462 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2467 if (SWIG_arg_fail(1)) SWIG_fail
;
2469 arg2
= wxString_in_helper(obj1
);
2470 if (arg2
== NULL
) SWIG_fail
;
2475 arg3
= (int)(SWIG_As_int(obj2
));
2476 if (SWIG_arg_fail(3)) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2507 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
*resultobj
;
2509 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2511 PyObject
* obj0
= 0 ;
2513 (char *) "self", NULL
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
2517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2518 if (SWIG_arg_fail(1)) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= (arg1
)->GetAllParams();
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2539 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2545 (char *) "self", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
2549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2550 if (SWIG_arg_fail(1)) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (bool)(arg1
)->HasEnding();
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2567 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2571 PyObject
* obj0
= 0 ;
2573 (char *) "self", NULL
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
2577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2578 if (SWIG_arg_fail(1)) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (int)(arg1
)->GetBeginPos();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_From_int((int)(result
));
2595 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2599 PyObject
* obj0
= 0 ;
2601 (char *) "self", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
2605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2606 if (SWIG_arg_fail(1)) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= (int)(arg1
)->GetEndPos1();
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= SWIG_From_int((int)(result
));
2623 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2627 PyObject
* obj0
= 0 ;
2629 (char *) "self", NULL
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
2633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2634 if (SWIG_arg_fail(1)) SWIG_fail
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 result
= (int)(arg1
)->GetEndPos2();
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2643 resultobj
= SWIG_From_int((int)(result
));
2651 static PyObject
* HtmlTag_swigregister(PyObject
*, PyObject
*args
) {
2653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2654 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
2656 return Py_BuildValue((char *)"");
2658 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
*resultobj
;
2660 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2661 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
2662 PyObject
* obj0
= 0 ;
2663 PyObject
* obj1
= 0 ;
2665 (char *) "self",(char *) "fs", NULL
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
2669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2670 if (SWIG_arg_fail(1)) SWIG_fail
;
2671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
2672 if (SWIG_arg_fail(2)) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 (arg1
)->SetFS(arg2
);
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 Py_INCREF(Py_None
); resultobj
= Py_None
;
2687 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2689 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2690 wxFileSystem
*result
;
2691 PyObject
* obj0
= 0 ;
2693 (char *) "self", NULL
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
2697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2698 if (SWIG_arg_fail(1)) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 result
= (wxFileSystem
*)(arg1
)->GetFS();
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2707 resultobj
= wxPyMake_wxObject(result
, 0);
2715 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
*resultobj
;
2717 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2718 wxString
*arg2
= 0 ;
2720 bool temp2
= false ;
2721 PyObject
* obj0
= 0 ;
2722 PyObject
* obj1
= 0 ;
2724 (char *) "self",(char *) "source", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
2728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2729 if (SWIG_arg_fail(1)) SWIG_fail
;
2731 arg2
= wxString_in_helper(obj1
);
2732 if (arg2
== NULL
) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2743 resultobj
= wxPyMake_wxObject(result
, 0);
2759 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2762 wxString
*arg2
= 0 ;
2763 bool temp2
= false ;
2764 PyObject
* obj0
= 0 ;
2765 PyObject
* obj1
= 0 ;
2767 (char *) "self",(char *) "source", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
2771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2772 if (SWIG_arg_fail(1)) SWIG_fail
;
2774 arg2
= wxString_in_helper(obj1
);
2775 if (arg2
== NULL
) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 (arg1
)->InitParser((wxString
const &)*arg2
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2785 Py_INCREF(Py_None
); resultobj
= Py_None
;
2800 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2803 PyObject
* obj0
= 0 ;
2805 (char *) "self", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
2809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2810 if (SWIG_arg_fail(1)) SWIG_fail
;
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 (arg1
)->DoneParser();
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 Py_INCREF(Py_None
); resultobj
= Py_None
;
2825 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
;
2827 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2830 PyObject
* obj0
= 0 ;
2831 PyObject
* obj1
= 0 ;
2832 PyObject
* obj2
= 0 ;
2834 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2839 if (SWIG_arg_fail(1)) SWIG_fail
;
2841 arg2
= (int)(SWIG_As_int(obj1
));
2842 if (SWIG_arg_fail(2)) SWIG_fail
;
2845 arg3
= (int)(SWIG_As_int(obj2
));
2846 if (SWIG_arg_fail(3)) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 (arg1
)->DoParsing(arg2
,arg3
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 Py_INCREF(Py_None
); resultobj
= Py_None
;
2862 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2865 PyObject
* obj0
= 0 ;
2867 (char *) "self", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
2871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2872 if (SWIG_arg_fail(1)) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 (arg1
)->StopParsing();
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 Py_INCREF(Py_None
); resultobj
= Py_None
;
2887 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2890 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2892 PyObject
* obj1
= 0 ;
2894 (char *) "self",(char *) "handler", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2899 if (SWIG_arg_fail(1)) SWIG_fail
;
2900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
2901 if (SWIG_arg_fail(2)) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 (arg1
)->AddTagHandler(arg2
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2909 Py_INCREF(Py_None
); resultobj
= Py_None
;
2916 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2922 (char *) "self", NULL
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
2926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2927 if (SWIG_arg_fail(1)) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= (wxString
*)(arg1
)->GetSource();
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
2939 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
2948 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2951 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
2953 PyObject
* obj0
= 0 ;
2954 PyObject
* obj1
= 0 ;
2955 PyObject
* obj2
= 0 ;
2957 (char *) "self",(char *) "handler",(char *) "tags", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2962 if (SWIG_arg_fail(1)) SWIG_fail
;
2963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
2964 if (SWIG_arg_fail(2)) SWIG_fail
;
2966 wxString
* sptr
= wxString_in_helper(obj2
);
2967 if (sptr
== NULL
) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 (arg1
)->PushTagHandler(arg2
,arg3
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 Py_INCREF(Py_None
); resultobj
= Py_None
;
2985 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "self", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
2994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 (arg1
)->PopTagHandler();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
* HtmlParser_swigregister(PyObject
*, PyObject
*args
) {
3012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
3015 return Py_BuildValue((char *)"");
3017 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
3020 wxHtmlWinParser
*result
;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "wnd", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
3028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
3029 if (SWIG_arg_fail(1)) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 1);
3045 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3048 wxDC
*arg2
= (wxDC
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3052 (char *) "self",(char *) "dc", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3057 if (SWIG_arg_fail(1)) SWIG_fail
;
3058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3059 if (SWIG_arg_fail(2)) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 (arg1
)->SetDC(arg2
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3067 Py_INCREF(Py_None
); resultobj
= Py_None
;
3074 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3078 PyObject
* obj0
= 0 ;
3080 (char *) "self", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
3084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (wxDC
*)(arg1
)->GetDC();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= wxPyMake_wxObject(result
, 0);
3102 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "self", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
3112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3113 if (SWIG_arg_fail(1)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (int)(arg1
)->GetCharHeight();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= SWIG_From_int((int)(result
));
3130 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3136 (char *) "self", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
3140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3141 if (SWIG_arg_fail(1)) SWIG_fail
;
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 result
= (int)(arg1
)->GetCharWidth();
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3150 resultobj
= SWIG_From_int((int)(result
));
3158 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3161 wxPyHtmlWindow
*result
;
3162 PyObject
* obj0
= 0 ;
3164 (char *) "self", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
3168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3169 if (SWIG_arg_fail(1)) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= wxPyMake_wxObject(result
, 0);
3186 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3191 PyObject
*arg4
= (PyObject
*) NULL
;
3192 PyObject
* obj0
= 0 ;
3193 PyObject
* obj1
= 0 ;
3194 PyObject
* obj2
= 0 ;
3195 PyObject
* obj3
= 0 ;
3197 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3202 if (SWIG_arg_fail(1)) SWIG_fail
;
3204 wxString
* sptr
= wxString_in_helper(obj1
);
3205 if (sptr
== NULL
) SWIG_fail
;
3210 wxString
* sptr
= wxString_in_helper(obj2
);
3211 if (sptr
== NULL
) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3225 Py_INCREF(Py_None
); resultobj
= Py_None
;
3232 static PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3235 int arg2
= (int) -1 ;
3236 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3237 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3238 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3239 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3240 bool temp3
= false ;
3241 bool temp4
= false ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3244 PyObject
* obj2
= 0 ;
3245 PyObject
* obj3
= 0 ;
3247 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3252 if (SWIG_arg_fail(1)) SWIG_fail
;
3255 arg2
= (int)(SWIG_As_int(obj1
));
3256 if (SWIG_arg_fail(2)) SWIG_fail
;
3261 arg3
= wxString_in_helper(obj2
);
3262 if (arg3
== NULL
) SWIG_fail
;
3268 arg4
= wxString_in_helper(obj3
);
3269 if (arg4
== NULL
) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 Py_INCREF(Py_None
); resultobj
= Py_None
;
3303 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3306 wxHtmlContainerCell
*result
;
3307 PyObject
* obj0
= 0 ;
3309 (char *) "self", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
3313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3329 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3332 wxHtmlContainerCell
*result
;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "self", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
3339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3340 if (SWIG_arg_fail(1)) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3355 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3358 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
3359 wxHtmlContainerCell
*result
;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "c", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3368 if (SWIG_arg_fail(1)) SWIG_fail
;
3369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
3370 if (SWIG_arg_fail(2)) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3385 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3388 wxHtmlContainerCell
*result
;
3389 PyObject
* obj0
= 0 ;
3391 (char *) "self", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
3395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3396 if (SWIG_arg_fail(1)) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3411 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "self", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
3421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3422 if (SWIG_arg_fail(1)) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (int)(arg1
)->GetFontSize();
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_From_int((int)(result
));
3439 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3443 PyObject
* obj0
= 0 ;
3444 PyObject
* obj1
= 0 ;
3446 (char *) "self",(char *) "s", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3451 if (SWIG_arg_fail(1)) SWIG_fail
;
3453 arg2
= (int)(SWIG_As_int(obj1
));
3454 if (SWIG_arg_fail(2)) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 (arg1
)->SetFontSize(arg2
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 Py_INCREF(Py_None
); resultobj
= Py_None
;
3470 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3474 PyObject
* obj0
= 0 ;
3476 (char *) "self", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
3480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3481 if (SWIG_arg_fail(1)) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (int)(arg1
)->GetFontBold();
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= SWIG_From_int((int)(result
));
3498 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3505 (char *) "self",(char *) "x", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
3509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3512 arg2
= (int)(SWIG_As_int(obj1
));
3513 if (SWIG_arg_fail(2)) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 (arg1
)->SetFontBold(arg2
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "self", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
3539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (int)(arg1
)->GetFontItalic();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= SWIG_From_int((int)(result
));
3557 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "x", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail
;
3571 arg2
= (int)(SWIG_As_int(obj1
));
3572 if (SWIG_arg_fail(2)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 (arg1
)->SetFontItalic(arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3588 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "self", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
3598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (int)(arg1
)->GetFontUnderlined();
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= SWIG_From_int((int)(result
));
3616 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3623 (char *) "self",(char *) "x", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
3627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail
;
3630 arg2
= (int)(SWIG_As_int(obj1
));
3631 if (SWIG_arg_fail(2)) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 (arg1
)->SetFontUnderlined(arg2
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3640 Py_INCREF(Py_None
); resultobj
= Py_None
;
3647 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3653 (char *) "self", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) goto fail
;
3657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3658 if (SWIG_arg_fail(1)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (int)(arg1
)->GetFontFixed();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= SWIG_From_int((int)(result
));
3675 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 (char *) "self",(char *) "x", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
3686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail
;
3689 arg2
= (int)(SWIG_As_int(obj1
));
3690 if (SWIG_arg_fail(2)) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetFontFixed(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
3716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3717 if (SWIG_arg_fail(1)) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (int)(arg1
)->GetAlign();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 resultobj
= SWIG_From_int((int)(result
));
3734 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3739 PyObject
* obj1
= 0 ;
3741 (char *) "self",(char *) "a", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
3745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3746 if (SWIG_arg_fail(1)) SWIG_fail
;
3748 arg2
= (int)(SWIG_As_int(obj1
));
3749 if (SWIG_arg_fail(2)) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 (arg1
)->SetAlign(arg2
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3771 (char *) "self", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
3775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3776 if (SWIG_arg_fail(1)) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (arg1
)->GetLinkColor();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 wxColour
* resultptr
;
3786 resultptr
= new wxColour((wxColour
&)(result
));
3787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3795 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3798 wxColour
*arg2
= 0 ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3803 (char *) "self",(char *) "clr", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
3807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3808 if (SWIG_arg_fail(1)) SWIG_fail
;
3811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 Py_INCREF(Py_None
); resultobj
= Py_None
;
3827 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3831 PyObject
* obj0
= 0 ;
3833 (char *) "self", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
3837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (arg1
)->GetActualColor();
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3847 wxColour
* resultptr
;
3848 resultptr
= new wxColour((wxColour
&)(result
));
3849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
3857 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3860 wxColour
*arg2
= 0 ;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3865 (char *) "self",(char *) "clr", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
3869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail
;
3873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 Py_INCREF(Py_None
); resultobj
= Py_None
;
3889 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3892 wxString
*arg2
= 0 ;
3893 bool temp2
= false ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3897 (char *) "self",(char *) "link", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
3901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3902 if (SWIG_arg_fail(1)) SWIG_fail
;
3904 arg2
= wxString_in_helper(obj1
);
3905 if (arg2
== NULL
) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 (arg1
)->SetLink((wxString
const &)*arg2
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
3940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3941 if (SWIG_arg_fail(1)) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
3956 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3959 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "self", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
3966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3967 if (SWIG_arg_fail(1)) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= (arg1
)->GetLink();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3976 wxHtmlLinkInfo
* resultptr
;
3977 resultptr
= new wxHtmlLinkInfo((wxHtmlLinkInfo
&)(result
));
3978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
3986 static PyObject
* HtmlWinParser_swigregister(PyObject
*, PyObject
*args
) {
3988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3989 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
3991 return Py_BuildValue((char *)"");
3993 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxPyHtmlTagHandler
*result
;
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
4015 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4018 PyObject
*arg2
= (PyObject
*) 0 ;
4019 PyObject
*arg3
= (PyObject
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4022 PyObject
* obj2
= 0 ;
4024 (char *) "self",(char *) "self",(char *) "_class", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4029 if (SWIG_arg_fail(1)) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4049 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4053 (char *) "self",(char *) "parser", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4058 if (SWIG_arg_fail(1)) SWIG_fail
;
4059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4060 if (SWIG_arg_fail(2)) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 (arg1
)->SetParser(arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4078 wxHtmlParser
*result
;
4079 PyObject
* obj0
= 0 ;
4081 (char *) "self", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4086 if (SWIG_arg_fail(1)) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (wxHtmlParser
*)(arg1
)->GetParser();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlParser
, 0);
4101 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4104 wxHtmlTag
*arg2
= 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "self",(char *) "tag", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4113 if (SWIG_arg_fail(1)) SWIG_fail
;
4115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4116 if (SWIG_arg_fail(2)) SWIG_fail
;
4118 SWIG_null_ref("wxHtmlTag");
4120 if (SWIG_arg_fail(2)) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
* HtmlTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4139 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
4141 return Py_BuildValue((char *)"");
4143 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4145 wxPyHtmlWinTagHandler
*result
;
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
4165 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4168 PyObject
*arg2
= (PyObject
*) 0 ;
4169 PyObject
*arg3
= (PyObject
*) 0 ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4172 PyObject
* obj2
= 0 ;
4174 (char *) "self",(char *) "self",(char *) "_class", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4179 if (SWIG_arg_fail(1)) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 Py_INCREF(Py_None
); resultobj
= Py_None
;
4196 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4199 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4201 PyObject
* obj1
= 0 ;
4203 (char *) "self",(char *) "parser", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4208 if (SWIG_arg_fail(1)) SWIG_fail
;
4209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4210 if (SWIG_arg_fail(2)) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 (arg1
)->SetParser(arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4225 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4228 wxHtmlWinParser
*result
;
4229 PyObject
* obj0
= 0 ;
4231 (char *) "self", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4236 if (SWIG_arg_fail(1)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
4251 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4254 wxHtmlTag
*arg2
= 0 ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4258 (char *) "self",(char *) "tag", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4263 if (SWIG_arg_fail(1)) SWIG_fail
;
4265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4266 if (SWIG_arg_fail(2)) SWIG_fail
;
4268 SWIG_null_ref("wxHtmlTag");
4270 if (SWIG_arg_fail(2)) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 Py_INCREF(Py_None
); resultobj
= Py_None
;
4286 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4289 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
4291 return Py_BuildValue((char *)"");
4293 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 PyObject
*arg1
= (PyObject
*) 0 ;
4296 PyObject
* obj0
= 0 ;
4298 (char *) "tagHandlerClass", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 wxHtmlWinParser_AddTagHandler(arg1
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 Py_INCREF(Py_None
); resultobj
= Py_None
;
4317 static PyObject
*_wrap_new_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxHtmlSelection
*result
;
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (wxHtmlSelection
*)new wxHtmlSelection();
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 1);
4339 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4342 PyObject
* obj0
= 0 ;
4344 (char *) "self", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
4348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4349 if (SWIG_arg_fail(1)) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 Py_INCREF(Py_None
); resultobj
= Py_None
;
4364 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4366 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4368 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4370 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4375 PyObject
* obj2
= 0 ;
4376 PyObject
* obj3
= 0 ;
4377 PyObject
* obj4
= 0 ;
4379 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4384 if (SWIG_arg_fail(1)) SWIG_fail
;
4387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4389 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4390 if (SWIG_arg_fail(3)) SWIG_fail
;
4393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4395 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4396 if (SWIG_arg_fail(5)) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 Py_INCREF(Py_None
); resultobj
= Py_None
;
4411 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4414 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4415 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4418 PyObject
* obj2
= 0 ;
4420 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail
;
4426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4427 if (SWIG_arg_fail(2)) SWIG_fail
;
4428 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4429 if (SWIG_arg_fail(3)) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4450 (char *) "self", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
4454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4455 if (SWIG_arg_fail(1)) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4470 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4476 (char *) "self", NULL
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
4480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4481 if (SWIG_arg_fail(1)) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
4496 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
;
4498 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4502 (char *) "self", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
4506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
4512 result
= (wxPoint
*) &_result_ref
;
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4525 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
4535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
4541 result
= (wxPoint
*) &_result_ref
;
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4554 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
4564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
4570 result
= (wxPoint
*) &_result_ref
;
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4583 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4589 (char *) "self", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
4593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
4599 result
= (wxPoint
*) &_result_ref
;
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4612 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4617 PyObject
* obj0
= 0 ;
4618 PyObject
* obj1
= 0 ;
4620 (char *) "self",(char *) "pos", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4625 if (SWIG_arg_fail(1)) SWIG_fail
;
4628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 Py_INCREF(Py_None
); resultobj
= Py_None
;
4644 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4650 PyObject
* obj1
= 0 ;
4652 (char *) "self",(char *) "pos", NULL
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4657 if (SWIG_arg_fail(1)) SWIG_fail
;
4660 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 Py_INCREF(Py_None
); resultobj
= Py_None
;
4676 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4678 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4681 (char *) "self", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
4685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 (arg1
)->ClearPrivPos();
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4694 Py_INCREF(Py_None
); resultobj
= Py_None
;
4701 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4705 PyObject
* obj0
= 0 ;
4707 (char *) "self", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
4711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4712 if (SWIG_arg_fail(1)) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_From_bool((bool)(result
));
4729 static PyObject
* HtmlSelection_swigregister(PyObject
*, PyObject
*args
) {
4731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4732 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
4734 return Py_BuildValue((char *)"");
4736 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxHtmlRenderingState
*result
;
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 1);
4758 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4761 PyObject
* obj0
= 0 ;
4763 (char *) "self", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
4767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4786 wxHtmlSelectionState arg2
;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4790 (char *) "self",(char *) "s", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
4794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4795 if (SWIG_arg_fail(1)) SWIG_fail
;
4797 arg2
= (wxHtmlSelectionState
)(SWIG_As_int(obj1
));
4798 if (SWIG_arg_fail(2)) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 (arg1
)->SetSelectionState((wxHtmlSelectionState
)arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 Py_INCREF(Py_None
); resultobj
= Py_None
;
4814 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4817 wxHtmlSelectionState result
;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "self", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
4824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4825 if (SWIG_arg_fail(1)) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_From_int((result
));
4840 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4842 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4843 wxColour
*arg2
= 0 ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4848 (char *) "self",(char *) "c", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4853 if (SWIG_arg_fail(1)) SWIG_fail
;
4856 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 Py_INCREF(Py_None
); resultobj
= Py_None
;
4872 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4878 (char *) "self", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
4882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4883 if (SWIG_arg_fail(1)) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
4888 result
= (wxColour
*) &_result_ref
;
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
4901 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
;
4903 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4904 wxColour
*arg2
= 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "c", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail
;
4917 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 Py_INCREF(Py_None
); resultobj
= Py_None
;
4933 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4939 (char *) "self", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
4943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
4944 if (SWIG_arg_fail(1)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
4949 result
= (wxColour
*) &_result_ref
;
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
4962 static PyObject
* HtmlRenderingState_swigregister(PyObject
*, PyObject
*args
) {
4964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4965 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
4967 return Py_BuildValue((char *)"");
4969 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
4972 wxColour
*arg2
= 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4978 (char *) "self",(char *) "clr", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
4983 if (SWIG_arg_fail(1)) SWIG_fail
;
4986 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4996 wxColour
* resultptr
;
4997 resultptr
= new wxColour((wxColour
&)(result
));
4998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5006 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
5009 wxColour
*arg2
= 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5015 (char *) "self",(char *) "clr", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail
;
5023 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 wxColour
* resultptr
;
5034 resultptr
= new wxColour((wxColour
&)(result
));
5035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5043 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5046 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
5048 return Py_BuildValue((char *)"");
5050 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5053 wxColour
*arg2
= 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5059 (char *) "self",(char *) "clr", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail
;
5067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 wxColour
* resultptr
;
5078 resultptr
= new wxColour((wxColour
&)(result
));
5079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5087 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5090 wxColour
*arg2
= 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "clr", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5114 wxColour
* resultptr
;
5115 resultptr
= new wxColour((wxColour
&)(result
));
5116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5124 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5127 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
5129 return Py_BuildValue((char *)"");
5131 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxHtmlRenderingInfo
*result
;
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
5153 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
5162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5163 if (SWIG_arg_fail(1)) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5178 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5181 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "s", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail
;
5191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
5192 if (SWIG_arg_fail(2)) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 (arg1
)->SetSelection(arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 Py_INCREF(Py_None
); resultobj
= Py_None
;
5207 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5210 wxHtmlSelection
*result
;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "self", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
5217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5218 if (SWIG_arg_fail(1)) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 0);
5233 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5236 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "self",(char *) "style", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5245 if (SWIG_arg_fail(1)) SWIG_fail
;
5246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5247 if (SWIG_arg_fail(2)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 (arg1
)->SetStyle(arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5265 wxHtmlRenderingStyle
*result
;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5273 if (SWIG_arg_fail(1)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
5278 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
5291 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5294 wxHtmlRenderingState
*result
;
5295 PyObject
* obj0
= 0 ;
5297 (char *) "self", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
5301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5302 if (SWIG_arg_fail(1)) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
5307 result
= (wxHtmlRenderingState
*) &_result_ref
;
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0);
5320 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*, PyObject
*args
) {
5322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5323 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
5325 return Py_BuildValue((char *)"");
5327 static PyObject
*_wrap_new_HtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (wxHtmlCell
*)new wxHtmlCell();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 1);
5349 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5353 PyObject
* obj0
= 0 ;
5355 (char *) "self", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
5359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5360 if (SWIG_arg_fail(1)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (int)(arg1
)->GetPosX();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_From_int((int)(result
));
5377 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5381 PyObject
* obj0
= 0 ;
5383 (char *) "self", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
5387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5388 if (SWIG_arg_fail(1)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (int)(arg1
)->GetPosY();
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_From_int((int)(result
));
5405 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5411 (char *) "self", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
5415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5416 if (SWIG_arg_fail(1)) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (int)(arg1
)->GetWidth();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= SWIG_From_int((int)(result
));
5433 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5439 (char *) "self", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
5443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5444 if (SWIG_arg_fail(1)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (int)(arg1
)->GetHeight();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_From_int((int)(result
));
5461 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
5471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (int)(arg1
)->GetDescent();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_From_int((int)(result
));
5489 static PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5495 (char *) "self", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames
,&obj0
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int((int)(result
));
5517 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
5527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5528 if (SWIG_arg_fail(1)) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
5533 result
= (wxString
*) &_result_ref
;
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5543 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5552 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5555 wxString
*arg2
= 0 ;
5556 bool temp2
= false ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "id", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5565 if (SWIG_arg_fail(1)) SWIG_fail
;
5567 arg2
= wxString_in_helper(obj1
);
5568 if (arg2
== NULL
) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 (arg1
)->SetId((wxString
const &)*arg2
);
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5596 int arg2
= (int) 0 ;
5597 int arg3
= (int) 0 ;
5598 wxHtmlLinkInfo
*result
;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5601 PyObject
* obj2
= 0 ;
5603 (char *) "self",(char *) "x",(char *) "y", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail
;
5611 arg2
= (int)(SWIG_As_int(obj1
));
5612 if (SWIG_arg_fail(2)) SWIG_fail
;
5617 arg3
= (int)(SWIG_As_int(obj2
));
5618 if (SWIG_arg_fail(3)) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0);
5635 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
5645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (wxHtmlCell
*)(arg1
)->GetNext();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5661 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5664 wxHtmlContainerCell
*result
;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
5671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
5687 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
5713 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5719 (char *) "self", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
5723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5724 if (SWIG_arg_fail(1)) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 wxCursor
* resultptr
;
5734 resultptr
= new wxCursor((wxCursor
&)(result
));
5735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
5743 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "self", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
5753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5774 wxHtmlLinkInfo
*arg2
= 0 ;
5775 PyObject
* obj0
= 0 ;
5776 PyObject
* obj1
= 0 ;
5778 (char *) "self",(char *) "link", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
5782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5783 if (SWIG_arg_fail(1)) SWIG_fail
;
5785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
5786 if (SWIG_arg_fail(2)) SWIG_fail
;
5788 SWIG_null_ref("wxHtmlLinkInfo");
5790 if (SWIG_arg_fail(2)) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 Py_INCREF(Py_None
); resultobj
= Py_None
;
5806 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5809 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5813 (char *) "self",(char *) "cell", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
5817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5818 if (SWIG_arg_fail(1)) SWIG_fail
;
5819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5820 if (SWIG_arg_fail(2)) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 (arg1
)->SetNext(arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 Py_INCREF(Py_None
); resultobj
= Py_None
;
5835 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5838 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5842 (char *) "self",(char *) "p", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
5846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5847 if (SWIG_arg_fail(1)) SWIG_fail
;
5848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
5849 if (SWIG_arg_fail(2)) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 (arg1
)->SetParent(arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 Py_INCREF(Py_None
); resultobj
= Py_None
;
5864 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 PyObject
* obj2
= 0 ;
5873 (char *) "self",(char *) "x",(char *) "y", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5878 if (SWIG_arg_fail(1)) SWIG_fail
;
5880 arg2
= (int)(SWIG_As_int(obj1
));
5881 if (SWIG_arg_fail(2)) SWIG_fail
;
5884 arg3
= (int)(SWIG_As_int(obj2
));
5885 if (SWIG_arg_fail(3)) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 (arg1
)->SetPos(arg2
,arg3
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5908 (char *) "self",(char *) "w", NULL
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
5912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5913 if (SWIG_arg_fail(1)) SWIG_fail
;
5915 arg2
= (int)(SWIG_As_int(obj1
));
5916 if (SWIG_arg_fail(2)) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 (arg1
)->Layout(arg2
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 Py_INCREF(Py_None
); resultobj
= Py_None
;
5932 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5940 wxHtmlRenderingInfo
*arg7
= 0 ;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 PyObject
* obj2
= 0 ;
5944 PyObject
* obj3
= 0 ;
5945 PyObject
* obj4
= 0 ;
5946 PyObject
* obj5
= 0 ;
5947 PyObject
* obj6
= 0 ;
5949 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5954 if (SWIG_arg_fail(1)) SWIG_fail
;
5956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
5957 if (SWIG_arg_fail(2)) SWIG_fail
;
5959 SWIG_null_ref("wxDC");
5961 if (SWIG_arg_fail(2)) SWIG_fail
;
5964 arg3
= (int)(SWIG_As_int(obj2
));
5965 if (SWIG_arg_fail(3)) SWIG_fail
;
5968 arg4
= (int)(SWIG_As_int(obj3
));
5969 if (SWIG_arg_fail(4)) SWIG_fail
;
5972 arg5
= (int)(SWIG_As_int(obj4
));
5973 if (SWIG_arg_fail(5)) SWIG_fail
;
5976 arg6
= (int)(SWIG_As_int(obj5
));
5977 if (SWIG_arg_fail(6)) SWIG_fail
;
5980 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5981 if (SWIG_arg_fail(7)) SWIG_fail
;
5983 SWIG_null_ref("wxHtmlRenderingInfo");
5985 if (SWIG_arg_fail(7)) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 Py_INCREF(Py_None
); resultobj
= Py_None
;
6001 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6007 wxHtmlRenderingInfo
*arg5
= 0 ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6010 PyObject
* obj2
= 0 ;
6011 PyObject
* obj3
= 0 ;
6012 PyObject
* obj4
= 0 ;
6014 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail
;
6021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6022 if (SWIG_arg_fail(2)) SWIG_fail
;
6024 SWIG_null_ref("wxDC");
6026 if (SWIG_arg_fail(2)) SWIG_fail
;
6029 arg3
= (int)(SWIG_As_int(obj2
));
6030 if (SWIG_arg_fail(3)) SWIG_fail
;
6033 arg4
= (int)(SWIG_As_int(obj3
));
6034 if (SWIG_arg_fail(4)) SWIG_fail
;
6037 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
6038 if (SWIG_arg_fail(5)) SWIG_fail
;
6040 SWIG_null_ref("wxHtmlRenderingInfo");
6042 if (SWIG_arg_fail(5)) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_HtmlCell_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6062 void *arg3
= (void *) 0 ;
6064 PyObject
* obj0
= 0 ;
6065 PyObject
* obj1
= 0 ;
6066 PyObject
* obj2
= 0 ;
6068 (char *) "self",(char *) "condition",(char *) "param", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6073 if (SWIG_arg_fail(1)) SWIG_fail
;
6075 arg2
= (int)(SWIG_As_int(obj1
));
6076 if (SWIG_arg_fail(2)) SWIG_fail
;
6079 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
6080 SWIG_arg_fail(3);SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6097 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6100 int *arg2
= (int *) 0 ;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6107 (char *) "self",(char *) "INOUT", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6112 if (SWIG_arg_fail(1)) SWIG_fail
;
6114 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
6115 temp2
= SWIG_As_int(obj1
);
6116 if (SWIG_arg_fail(2)) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6131 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6132 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6139 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6146 (char *) "self",(char *) "can", NULL
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6151 if (SWIG_arg_fail(1)) SWIG_fail
;
6153 arg2
= (bool)(SWIG_As_bool(obj1
));
6154 if (SWIG_arg_fail(2)) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 (arg1
)->SetCanLiveOnPagebreak(arg2
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 Py_INCREF(Py_None
); resultobj
= Py_None
;
6170 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "self", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
6180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6181 if (SWIG_arg_fail(1)) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6198 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6204 (char *) "self", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
6208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6226 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6231 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6235 PyObject
* obj2
= 0 ;
6236 PyObject
* obj3
= 0 ;
6238 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail
;
6245 arg2
= (int)(SWIG_As_int(obj1
));
6246 if (SWIG_arg_fail(2)) SWIG_fail
;
6249 arg3
= (int)(SWIG_As_int(obj2
));
6250 if (SWIG_arg_fail(3)) SWIG_fail
;
6254 arg4
= (unsigned int)(SWIG_As_unsigned_SS_int(obj3
));
6255 if (SWIG_arg_fail(4)) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6272 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
6282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6283 if (SWIG_arg_fail(1)) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6292 wxPoint
* resultptr
;
6293 resultptr
= new wxPoint((wxPoint
&)(result
));
6294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6302 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6308 (char *) "self", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
6312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6313 if (SWIG_arg_fail(1)) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6328 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
6338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6339 if (SWIG_arg_fail(1)) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
6354 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6357 unsigned int result
;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
6364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6365 if (SWIG_arg_fail(1)) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
6382 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6385 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6390 (char *) "self",(char *) "cell", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
6394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6395 if (SWIG_arg_fail(1)) SWIG_fail
;
6396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6397 if (SWIG_arg_fail(2)) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6414 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6417 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6422 (char *) "self",(char *) "sel", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
6426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail
;
6428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
6429 if (SWIG_arg_fail(2)) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6450 static PyObject
* HtmlCell_swigregister(PyObject
*, PyObject
*args
) {
6452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
6455 return Py_BuildValue((char *)"");
6457 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxString
*arg1
= 0 ;
6461 wxHtmlWordCell
*result
;
6462 bool temp1
= false ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6466 (char *) "word",(char *) "dc", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6471 arg1
= wxString_in_helper(obj0
);
6472 if (arg1
== NULL
) SWIG_fail
;
6476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6477 if (SWIG_arg_fail(2)) SWIG_fail
;
6479 SWIG_null_ref("wxDC");
6481 if (SWIG_arg_fail(2)) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWordCell
, 1);
6505 static PyObject
* HtmlWordCell_swigregister(PyObject
*, PyObject
*args
) {
6507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6508 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
6510 return Py_BuildValue((char *)"");
6512 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6515 wxHtmlContainerCell
*result
;
6516 PyObject
* obj0
= 0 ;
6518 (char *) "parent", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
6522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6523 if (SWIG_arg_fail(1)) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 1);
6538 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6541 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6545 (char *) "self",(char *) "cell", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6550 if (SWIG_arg_fail(1)) SWIG_fail
;
6551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6552 if (SWIG_arg_fail(2)) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 (arg1
)->InsertCell(arg2
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6560 Py_INCREF(Py_None
); resultobj
= Py_None
;
6567 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6574 (char *) "self",(char *) "al", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
6578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6579 if (SWIG_arg_fail(1)) SWIG_fail
;
6581 arg2
= (int)(SWIG_As_int(obj1
));
6582 if (SWIG_arg_fail(2)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 (arg1
)->SetAlignHor(arg2
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 Py_INCREF(Py_None
); resultobj
= Py_None
;
6598 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6604 (char *) "self", NULL
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
6608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6609 if (SWIG_arg_fail(1)) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (int)(arg1
)->GetAlignHor();
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_From_int((int)(result
));
6626 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
;
6628 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6633 (char *) "self",(char *) "al", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
6637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6638 if (SWIG_arg_fail(1)) SWIG_fail
;
6640 arg2
= (int)(SWIG_As_int(obj1
));
6641 if (SWIG_arg_fail(2)) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 (arg1
)->SetAlignVer(arg2
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
6667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6668 if (SWIG_arg_fail(1)) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (int)(arg1
)->GetAlignVer();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= SWIG_From_int((int)(result
));
6685 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6690 int arg4
= (int) wxHTML_UNITS_PIXELS
;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6693 PyObject
* obj2
= 0 ;
6694 PyObject
* obj3
= 0 ;
6696 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6701 if (SWIG_arg_fail(1)) SWIG_fail
;
6703 arg2
= (int)(SWIG_As_int(obj1
));
6704 if (SWIG_arg_fail(2)) SWIG_fail
;
6707 arg3
= (int)(SWIG_As_int(obj2
));
6708 if (SWIG_arg_fail(3)) SWIG_fail
;
6712 arg4
= (int)(SWIG_As_int(obj3
));
6713 if (SWIG_arg_fail(4)) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6738 (char *) "self",(char *) "ind", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6743 if (SWIG_arg_fail(1)) SWIG_fail
;
6745 arg2
= (int)(SWIG_As_int(obj1
));
6746 if (SWIG_arg_fail(2)) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (int)(arg1
)->GetIndent(arg2
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= SWIG_From_int((int)(result
));
6764 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6769 PyObject
* obj0
= 0 ;
6770 PyObject
* obj1
= 0 ;
6772 (char *) "self",(char *) "ind", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
6776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6777 if (SWIG_arg_fail(1)) SWIG_fail
;
6779 arg2
= (int)(SWIG_As_int(obj1
));
6780 if (SWIG_arg_fail(2)) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (int)(arg1
)->GetIndentUnits(arg2
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= SWIG_From_int((int)(result
));
6798 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6801 wxHtmlTag
*arg2
= 0 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "tag", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6810 if (SWIG_arg_fail(1)) SWIG_fail
;
6812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
6813 if (SWIG_arg_fail(2)) SWIG_fail
;
6815 SWIG_null_ref("wxHtmlTag");
6817 if (SWIG_arg_fail(2)) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 Py_INCREF(Py_None
); resultobj
= Py_None
;
6833 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6840 PyObject
* obj2
= 0 ;
6842 (char *) "self",(char *) "w",(char *) "units", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6847 if (SWIG_arg_fail(1)) SWIG_fail
;
6849 arg2
= (int)(SWIG_As_int(obj1
));
6850 if (SWIG_arg_fail(2)) SWIG_fail
;
6853 arg3
= (int)(SWIG_As_int(obj2
));
6854 if (SWIG_arg_fail(3)) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 (arg1
)->SetWidthFloat(arg2
,arg3
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6873 wxHtmlTag
*arg2
= 0 ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6877 (char *) "self",(char *) "tag", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
6881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6882 if (SWIG_arg_fail(1)) SWIG_fail
;
6884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
6885 if (SWIG_arg_fail(2)) SWIG_fail
;
6887 SWIG_null_ref("wxHtmlTag");
6889 if (SWIG_arg_fail(2)) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 Py_INCREF(Py_None
); resultobj
= Py_None
;
6905 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6909 int arg3
= (int) wxHTML_ALIGN_TOP
;
6910 PyObject
* obj0
= 0 ;
6911 PyObject
* obj1
= 0 ;
6912 PyObject
* obj2
= 0 ;
6914 (char *) "self",(char *) "h",(char *) "align", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6919 if (SWIG_arg_fail(1)) SWIG_fail
;
6921 arg2
= (int)(SWIG_As_int(obj1
));
6922 if (SWIG_arg_fail(2)) SWIG_fail
;
6926 arg3
= (int)(SWIG_As_int(obj2
));
6927 if (SWIG_arg_fail(3)) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 (arg1
)->SetMinHeight(arg2
,arg3
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 Py_INCREF(Py_None
); resultobj
= Py_None
;
6944 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6947 wxColour
*arg2
= 0 ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6952 (char *) "self",(char *) "clr", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6957 if (SWIG_arg_fail(1)) SWIG_fail
;
6960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 Py_INCREF(Py_None
); resultobj
= Py_None
;
6976 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6982 (char *) "self", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6987 if (SWIG_arg_fail(1)) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (arg1
)->GetBackgroundColour();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6996 wxColour
* resultptr
;
6997 resultptr
= new wxColour((wxColour
&)(result
));
6998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
7006 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7009 wxColour
*arg2
= 0 ;
7010 wxColour
*arg3
= 0 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7015 PyObject
* obj2
= 0 ;
7017 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7022 if (SWIG_arg_fail(1)) SWIG_fail
;
7025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7029 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7038 Py_INCREF(Py_None
); resultobj
= Py_None
;
7045 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7051 (char *) "self", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
7055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7056 if (SWIG_arg_fail(1)) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
7071 static PyObject
* HtmlContainerCell_swigregister(PyObject
*, PyObject
*args
) {
7073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7074 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
7076 return Py_BuildValue((char *)"");
7078 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxColour
*arg1
= 0 ;
7081 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
7082 wxHtmlColourCell
*result
;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "clr",(char *) "flags", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7093 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7097 arg2
= (int)(SWIG_As_int(obj1
));
7098 if (SWIG_arg_fail(2)) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlColourCell
, 1);
7115 static PyObject
* HtmlColourCell_swigregister(PyObject
*, PyObject
*args
) {
7117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7118 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
7120 return Py_BuildValue((char *)"");
7122 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxFont
*arg1
= (wxFont
*) 0 ;
7125 wxHtmlFontCell
*result
;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "font", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
7132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlFontCell
, 1);
7148 static PyObject
* HtmlFontCell_swigregister(PyObject
*, PyObject
*args
) {
7150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7151 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
7153 return Py_BuildValue((char *)"");
7155 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxWindow
*arg1
= (wxWindow
*) 0 ;
7158 int arg2
= (int) 0 ;
7159 wxHtmlWidgetCell
*result
;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7163 (char *) "wnd",(char *) "w", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7168 if (SWIG_arg_fail(1)) SWIG_fail
;
7171 arg2
= (int)(SWIG_As_int(obj1
));
7172 if (SWIG_arg_fail(2)) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWidgetCell
, 1);
7189 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*, PyObject
*args
) {
7191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7192 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
7194 return Py_BuildValue((char *)"");
7196 static PyObject
*_wrap_new_HtmlFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxPyHtmlFilter
*result
;
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlFilter
, 1);
7218 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
7221 PyObject
*arg2
= (PyObject
*) 0 ;
7222 PyObject
*arg3
= (PyObject
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7225 PyObject
* obj2
= 0 ;
7227 (char *) "self",(char *) "self",(char *) "_class", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
* HtmlFilter_swigregister(PyObject
*, PyObject
*args
) {
7251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7252 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
7254 return Py_BuildValue((char *)"");
7256 static PyObject
*_wrap_new_HtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxWindow
*arg1
= (wxWindow
*) 0 ;
7259 int arg2
= (int) -1 ;
7260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7264 int arg5
= (int) wxHW_DEFAULT_STYLE
;
7265 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
7266 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7267 wxPyHtmlWindow
*result
;
7270 bool temp6
= false ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7273 PyObject
* obj2
= 0 ;
7274 PyObject
* obj3
= 0 ;
7275 PyObject
* obj4
= 0 ;
7276 PyObject
* obj5
= 0 ;
7278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail
;
7286 arg2
= (int)(SWIG_As_int(obj1
));
7287 if (SWIG_arg_fail(2)) SWIG_fail
;
7293 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7299 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7304 arg5
= (int)(SWIG_As_int(obj4
));
7305 if (SWIG_arg_fail(5)) SWIG_fail
;
7310 arg6
= wxString_in_helper(obj5
);
7311 if (arg6
== NULL
) SWIG_fail
;
7316 if (!wxPyCheckForApp()) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7338 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxPyHtmlWindow
*result
;
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
7347 if (!wxPyCheckForApp()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7361 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7364 wxWindow
*arg2
= (wxWindow
*) 0 ;
7365 int arg3
= (int) -1 ;
7366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7370 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
7371 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
7372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7376 bool temp7
= false ;
7377 PyObject
* obj0
= 0 ;
7378 PyObject
* obj1
= 0 ;
7379 PyObject
* obj2
= 0 ;
7380 PyObject
* obj3
= 0 ;
7381 PyObject
* obj4
= 0 ;
7382 PyObject
* obj5
= 0 ;
7383 PyObject
* obj6
= 0 ;
7385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7392 if (SWIG_arg_fail(2)) SWIG_fail
;
7395 arg3
= (int)(SWIG_As_int(obj2
));
7396 if (SWIG_arg_fail(3)) SWIG_fail
;
7402 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7408 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7413 arg6
= (int)(SWIG_As_int(obj5
));
7414 if (SWIG_arg_fail(6)) SWIG_fail
;
7419 arg7
= wxString_in_helper(obj6
);
7420 if (arg7
== NULL
) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7448 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7451 PyObject
*arg2
= (PyObject
*) 0 ;
7452 PyObject
*arg3
= (PyObject
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7455 PyObject
* obj2
= 0 ;
7457 (char *) "self",(char *) "self",(char *) "_class", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7479 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7482 wxString
*arg2
= 0 ;
7484 bool temp2
= false ;
7485 PyObject
* obj0
= 0 ;
7486 PyObject
* obj1
= 0 ;
7488 (char *) "self",(char *) "source", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7493 if (SWIG_arg_fail(1)) SWIG_fail
;
7495 arg2
= wxString_in_helper(obj1
);
7496 if (arg2
== NULL
) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7523 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7526 wxString
*arg2
= 0 ;
7528 bool temp2
= false ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7532 (char *) "self",(char *) "location", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail
;
7539 arg2
= wxString_in_helper(obj1
);
7540 if (arg2
== NULL
) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7567 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7570 wxString
*arg2
= 0 ;
7572 bool temp2
= false ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7576 (char *) "self",(char *) "filename", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail
;
7583 arg2
= wxString_in_helper(obj1
);
7584 if (arg2
== NULL
) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7611 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7614 wxString
*arg2
= 0 ;
7616 bool temp2
= false ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7620 (char *) "self",(char *) "source", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail
;
7627 arg2
= wxString_in_helper(obj1
);
7628 if (arg2
== NULL
) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7655 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7661 (char *) "self", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
7665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (arg1
)->GetOpenedPage();
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7687 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
7697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (arg1
)->GetOpenedAnchor();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7719 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7723 PyObject
* obj0
= 0 ;
7725 (char *) "self", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
7729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7730 if (SWIG_arg_fail(1)) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (arg1
)->GetOpenedPageTitle();
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7751 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7754 wxFrame
*arg2
= (wxFrame
*) 0 ;
7755 wxString
*arg3
= 0 ;
7756 bool temp3
= false ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 PyObject
* obj2
= 0 ;
7761 (char *) "self",(char *) "frame",(char *) "format", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail
;
7767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
7768 if (SWIG_arg_fail(2)) SWIG_fail
;
7770 arg3
= wxString_in_helper(obj2
);
7771 if (arg3
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 Py_INCREF(Py_None
); resultobj
= Py_None
;
7796 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
7806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7807 if (SWIG_arg_fail(1)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= wxPyMake_wxObject(result
, 0);
7824 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7831 (char *) "self",(char *) "bar", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
7835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail
;
7838 arg2
= (int)(SWIG_As_int(obj1
));
7839 if (SWIG_arg_fail(2)) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 (arg1
)->SetRelatedStatusBar(arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7860 PyObject
*arg4
= (PyObject
*) NULL
;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 PyObject
* obj2
= 0 ;
7864 PyObject
* obj3
= 0 ;
7866 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail
;
7873 wxString
* sptr
= wxString_in_helper(obj1
);
7874 if (sptr
== NULL
) SWIG_fail
;
7879 wxString
* sptr
= wxString_in_helper(obj2
);
7880 if (sptr
== NULL
) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7901 static PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7904 int arg2
= (int) -1 ;
7905 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7907 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7908 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7909 bool temp3
= false ;
7910 bool temp4
= false ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 PyObject
* obj2
= 0 ;
7914 PyObject
* obj3
= 0 ;
7916 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7921 if (SWIG_arg_fail(1)) SWIG_fail
;
7924 arg2
= (int)(SWIG_As_int(obj1
));
7925 if (SWIG_arg_fail(2)) SWIG_fail
;
7930 arg3
= wxString_in_helper(obj2
);
7931 if (arg3
== NULL
) SWIG_fail
;
7937 arg4
= wxString_in_helper(obj3
);
7938 if (arg4
== NULL
) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 Py_INCREF(Py_None
); resultobj
= Py_None
;
7972 static PyObject
*_wrap_HtmlWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7975 wxString
*arg2
= 0 ;
7976 bool temp2
= false ;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7980 (char *) "self",(char *) "title", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7985 if (SWIG_arg_fail(1)) SWIG_fail
;
7987 arg2
= wxString_in_helper(obj1
);
7988 if (arg2
== NULL
) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->SetTitle((wxString
const &)*arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8020 (char *) "self",(char *) "b", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
8024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8025 if (SWIG_arg_fail(1)) SWIG_fail
;
8027 arg2
= (int)(SWIG_As_int(obj1
));
8028 if (SWIG_arg_fail(2)) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 (arg1
)->SetBorders(arg2
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8047 wxBitmap
*arg2
= 0 ;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8051 (char *) "self",(char *) "bmpBg", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8056 if (SWIG_arg_fail(1)) SWIG_fail
;
8058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(2)) SWIG_fail
;
8061 SWIG_null_ref("wxBitmap");
8063 if (SWIG_arg_fail(2)) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8082 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8083 wxString arg3
= (wxString
) wxPyEmptyString
;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 PyObject
* obj2
= 0 ;
8088 (char *) "self",(char *) "cfg",(char *) "path", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8095 if (SWIG_arg_fail(2)) SWIG_fail
;
8098 wxString
* sptr
= wxString_in_helper(obj2
);
8099 if (sptr
== NULL
) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->ReadCustomization(arg2
,arg3
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8121 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8122 wxString arg3
= (wxString
) wxPyEmptyString
;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 PyObject
* obj2
= 0 ;
8127 (char *) "self",(char *) "cfg",(char *) "path", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8132 if (SWIG_arg_fail(1)) SWIG_fail
;
8133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8134 if (SWIG_arg_fail(2)) SWIG_fail
;
8137 wxString
* sptr
= wxString_in_helper(obj2
);
8138 if (sptr
== NULL
) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 (arg1
)->WriteCustomization(arg2
,arg3
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "self", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
8167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8168 if (SWIG_arg_fail(1)) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (bool)(arg1
)->HistoryBack();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8185 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
8195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8196 if (SWIG_arg_fail(1)) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (bool)(arg1
)->HistoryForward();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8213 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8219 (char *) "self", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
8223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8224 if (SWIG_arg_fail(1)) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (bool)(arg1
)->HistoryCanBack();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8241 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "self", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
8251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8252 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= (bool)(arg1
)->HistoryCanForward();
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8269 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8274 (char *) "self", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
8278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 (arg1
)->HistoryClear();
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 Py_INCREF(Py_None
); resultobj
= Py_None
;
8294 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8297 wxHtmlContainerCell
*result
;
8298 PyObject
* obj0
= 0 ;
8300 (char *) "self", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) goto fail
;
8304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
8320 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8323 wxHtmlWinParser
*result
;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
8330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
8346 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8349 wxString
*arg2
= 0 ;
8351 bool temp2
= false ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "anchor", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 arg2
= wxString_in_helper(obj1
);
8363 if (arg2
== NULL
) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8390 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8393 wxString
*arg2
= 0 ;
8395 bool temp2
= false ;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8399 (char *) "self",(char *) "anchor", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8404 if (SWIG_arg_fail(1)) SWIG_fail
;
8406 arg2
= wxString_in_helper(obj1
);
8407 if (arg2
== NULL
) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8434 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "filter", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
8443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 wxPyHtmlWindow::AddFilter(arg1
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 Py_INCREF(Py_None
); resultobj
= Py_None
;
8459 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8467 (char *) "self",(char *) "pos", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
8471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail
;
8475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 Py_INCREF(Py_None
); resultobj
= Py_None
;
8491 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "pos", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8504 if (SWIG_arg_fail(1)) SWIG_fail
;
8507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 Py_INCREF(Py_None
); resultobj
= Py_None
;
8523 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
8532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 (arg1
)->SelectAll();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectionToText",kwnames
,&obj0
)) goto fail
;
8558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (arg1
)->SelectionToText();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8580 static PyObject
*_wrap_HtmlWindow_ToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8584 PyObject
* obj0
= 0 ;
8586 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_ToText",kwnames
,&obj0
)) goto fail
;
8590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (arg1
)->ToText();
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8612 static PyObject
*_wrap_HtmlWindow_base_OnLinkClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8615 wxHtmlLinkInfo
*arg2
= 0 ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8619 (char *) "self",(char *) "link", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
8623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8624 if (SWIG_arg_fail(1)) SWIG_fail
;
8626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
8627 if (SWIG_arg_fail(2)) SWIG_fail
;
8629 SWIG_null_ref("wxHtmlLinkInfo");
8631 if (SWIG_arg_fail(2)) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 (arg1
)->base_OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 Py_INCREF(Py_None
); resultobj
= Py_None
;
8647 static PyObject
*_wrap_HtmlWindow_base_OnSetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8650 wxString
*arg2
= 0 ;
8651 bool temp2
= false ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8655 (char *) "self",(char *) "title", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail
;
8662 arg2
= wxString_in_helper(obj1
);
8663 if (arg2
== NULL
) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 (arg1
)->base_OnSetTitle((wxString
const &)*arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
*_wrap_HtmlWindow_base_OnCellMouseHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8691 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 PyObject
* obj2
= 0 ;
8697 PyObject
* obj3
= 0 ;
8699 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8704 if (SWIG_arg_fail(1)) SWIG_fail
;
8705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
8706 if (SWIG_arg_fail(2)) SWIG_fail
;
8708 arg3
= (int)(SWIG_As_int(obj2
));
8709 if (SWIG_arg_fail(3)) SWIG_fail
;
8712 arg4
= (int)(SWIG_As_int(obj3
));
8713 if (SWIG_arg_fail(4)) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->base_OnCellMouseHover(arg2
,arg3
,arg4
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_HtmlWindow_base_OnCellClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8732 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8735 wxMouseEvent
*arg5
= 0 ;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8739 PyObject
* obj3
= 0 ;
8740 PyObject
* obj4
= 0 ;
8742 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
8749 if (SWIG_arg_fail(2)) SWIG_fail
;
8751 arg3
= (int)(SWIG_As_int(obj2
));
8752 if (SWIG_arg_fail(3)) SWIG_fail
;
8755 arg4
= (int)(SWIG_As_int(obj3
));
8756 if (SWIG_arg_fail(4)) SWIG_fail
;
8759 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
8760 if (SWIG_arg_fail(5)) SWIG_fail
;
8762 SWIG_null_ref("wxMouseEvent");
8764 if (SWIG_arg_fail(5)) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 (arg1
)->base_OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 Py_INCREF(Py_None
); resultobj
= Py_None
;
8780 static PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8783 wxVisualAttributes result
;
8784 PyObject
* obj0
= 0 ;
8786 (char *) "variant", NULL
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8792 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8793 if (SWIG_arg_fail(1)) SWIG_fail
;
8797 if (!wxPyCheckForApp()) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8805 wxVisualAttributes
* resultptr
;
8806 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8815 static PyObject
* HtmlWindow_swigregister(PyObject
*, PyObject
*args
) {
8817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8818 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
8820 return Py_BuildValue((char *)"");
8822 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxHtmlDCRenderer
*result
;
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
8831 if (!wxPyCheckForApp()) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlDCRenderer
, 1);
8845 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8848 PyObject
* obj0
= 0 ;
8850 (char *) "self", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
8854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8855 if (SWIG_arg_fail(1)) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 Py_INCREF(Py_None
); resultobj
= Py_None
;
8870 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
;
8872 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8873 wxDC
*arg2
= (wxDC
*) 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8879 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8884 if (SWIG_arg_fail(1)) SWIG_fail
;
8885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8886 if (SWIG_arg_fail(2)) SWIG_fail
;
8888 arg3
= (int)(SWIG_As_int(obj2
));
8889 if (SWIG_arg_fail(3)) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 (arg1
)->SetDC(arg2
,arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 PyObject
* obj2
= 0 ;
8914 (char *) "self",(char *) "width",(char *) "height", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8919 if (SWIG_arg_fail(1)) SWIG_fail
;
8921 arg2
= (int)(SWIG_As_int(obj1
));
8922 if (SWIG_arg_fail(2)) SWIG_fail
;
8925 arg3
= (int)(SWIG_As_int(obj2
));
8926 if (SWIG_arg_fail(3)) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->SetSize(arg2
,arg3
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8942 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
8945 wxString
*arg2
= 0 ;
8946 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8947 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8948 bool arg4
= (bool) true ;
8949 bool temp2
= false ;
8950 bool temp3
= false ;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8953 PyObject
* obj2
= 0 ;
8954 PyObject
* obj3
= 0 ;
8956 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
8961 if (SWIG_arg_fail(1)) SWIG_fail
;
8963 arg2
= wxString_in_helper(obj1
);
8964 if (arg2
== NULL
) SWIG_fail
;
8969 arg3
= wxString_in_helper(obj2
);
8970 if (arg3
== NULL
) SWIG_fail
;
8976 arg4
= (bool)(SWIG_As_bool(obj3
));
8977 if (SWIG_arg_fail(4)) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9015 PyObject
*arg4
= (PyObject
*) NULL
;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9018 PyObject
* obj2
= 0 ;
9019 PyObject
* obj3
= 0 ;
9021 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9026 if (SWIG_arg_fail(1)) SWIG_fail
;
9028 wxString
* sptr
= wxString_in_helper(obj1
);
9029 if (sptr
== NULL
) SWIG_fail
;
9034 wxString
* sptr
= wxString_in_helper(obj2
);
9035 if (sptr
== NULL
) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 Py_INCREF(Py_None
); resultobj
= Py_None
;
9056 static PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
;
9058 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9059 int arg2
= (int) -1 ;
9060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9062 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9063 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9064 bool temp3
= false ;
9065 bool temp4
= false ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9068 PyObject
* obj2
= 0 ;
9069 PyObject
* obj3
= 0 ;
9071 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9076 if (SWIG_arg_fail(1)) SWIG_fail
;
9079 arg2
= (int)(SWIG_As_int(obj1
));
9080 if (SWIG_arg_fail(2)) SWIG_fail
;
9085 arg3
= wxString_in_helper(obj2
);
9086 if (arg3
== NULL
) SWIG_fail
;
9092 arg4
= wxString_in_helper(obj3
);
9093 if (arg4
== NULL
) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 Py_INCREF(Py_None
); resultobj
= Py_None
;
9127 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9132 int arg4
= (int) 0 ;
9133 int arg5
= (int) false ;
9134 int arg6
= (int) INT_MAX
;
9135 int *arg7
= (int *) NULL
;
9136 int arg8
= (int) 0 ;
9138 PyObject
* obj0
= 0 ;
9139 PyObject
* obj1
= 0 ;
9140 PyObject
* obj2
= 0 ;
9141 PyObject
* obj3
= 0 ;
9142 PyObject
* obj4
= 0 ;
9143 PyObject
* obj5
= 0 ;
9144 PyObject
* obj6
= 0 ;
9145 PyObject
* obj7
= 0 ;
9147 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail
;
9154 arg2
= (int)(SWIG_As_int(obj1
));
9155 if (SWIG_arg_fail(2)) SWIG_fail
;
9158 arg3
= (int)(SWIG_As_int(obj2
));
9159 if (SWIG_arg_fail(3)) SWIG_fail
;
9163 arg4
= (int)(SWIG_As_int(obj3
));
9164 if (SWIG_arg_fail(4)) SWIG_fail
;
9169 arg5
= (int)(SWIG_As_int(obj4
));
9170 if (SWIG_arg_fail(5)) SWIG_fail
;
9175 arg6
= (int)(SWIG_As_int(obj5
));
9176 if (SWIG_arg_fail(6)) SWIG_fail
;
9180 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_int
, SWIG_POINTER_EXCEPTION
| 0);
9181 if (SWIG_arg_fail(7)) SWIG_fail
;
9185 arg8
= (int)(SWIG_As_int(obj7
));
9186 if (SWIG_arg_fail(8)) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_From_int((int)(result
));
9205 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "self", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
9215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (int)(arg1
)->GetTotalHeight();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_From_int((int)(result
));
9233 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*, PyObject
*args
) {
9235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9236 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
9238 return Py_BuildValue((char *)"");
9240 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
9243 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
9244 wxHtmlPrintout
*result
;
9245 bool temp1
= false ;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "title", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
9254 arg1
= wxString_in_helper(obj0
);
9255 if (arg1
== NULL
) SWIG_fail
;
9260 if (!wxPyCheckForApp()) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlPrintout
, 1);
9282 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9285 wxString
*arg2
= 0 ;
9286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9288 bool arg4
= (bool) true ;
9289 bool temp2
= false ;
9290 bool temp3
= false ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9293 PyObject
* obj2
= 0 ;
9294 PyObject
* obj3
= 0 ;
9296 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9301 if (SWIG_arg_fail(1)) SWIG_fail
;
9303 arg2
= wxString_in_helper(obj1
);
9304 if (arg2
== NULL
) SWIG_fail
;
9309 arg3
= wxString_in_helper(obj2
);
9310 if (arg3
== NULL
) SWIG_fail
;
9316 arg4
= (bool)(SWIG_As_bool(obj3
));
9317 if (SWIG_arg_fail(4)) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9350 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9353 wxString
*arg2
= 0 ;
9354 bool temp2
= false ;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9358 (char *) "self",(char *) "htmlfile", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9363 if (SWIG_arg_fail(1)) SWIG_fail
;
9365 arg2
= wxString_in_helper(obj1
);
9366 if (arg2
== NULL
) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9394 wxString
*arg2
= 0 ;
9395 int arg3
= (int) wxPAGE_ALL
;
9396 bool temp2
= false ;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9399 PyObject
* obj2
= 0 ;
9401 (char *) "self",(char *) "header",(char *) "pg", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9406 if (SWIG_arg_fail(1)) SWIG_fail
;
9408 arg2
= wxString_in_helper(obj1
);
9409 if (arg2
== NULL
) SWIG_fail
;
9414 arg3
= (int)(SWIG_As_int(obj2
));
9415 if (SWIG_arg_fail(3)) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 Py_INCREF(Py_None
); resultobj
= Py_None
;
9440 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9443 wxString
*arg2
= 0 ;
9444 int arg3
= (int) wxPAGE_ALL
;
9445 bool temp2
= false ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 PyObject
* obj2
= 0 ;
9450 (char *) "self",(char *) "footer",(char *) "pg", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail
;
9457 arg2
= wxString_in_helper(obj1
);
9458 if (arg2
== NULL
) SWIG_fail
;
9463 arg3
= (int)(SWIG_As_int(obj2
));
9464 if (SWIG_arg_fail(3)) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9494 PyObject
*arg4
= (PyObject
*) NULL
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9498 PyObject
* obj3
= 0 ;
9500 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail
;
9507 wxString
* sptr
= wxString_in_helper(obj1
);
9508 if (sptr
== NULL
) SWIG_fail
;
9513 wxString
* sptr
= wxString_in_helper(obj2
);
9514 if (sptr
== NULL
) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9538 int arg2
= (int) -1 ;
9539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9543 bool temp3
= false ;
9544 bool temp4
= false ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9548 PyObject
* obj3
= 0 ;
9550 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9555 if (SWIG_arg_fail(1)) SWIG_fail
;
9558 arg2
= (int)(SWIG_As_int(obj1
));
9559 if (SWIG_arg_fail(2)) SWIG_fail
;
9564 arg3
= wxString_in_helper(obj2
);
9565 if (arg3
== NULL
) SWIG_fail
;
9571 arg4
= wxString_in_helper(obj3
);
9572 if (arg4
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 Py_INCREF(Py_None
); resultobj
= Py_None
;
9606 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9609 float arg2
= (float) 25.2 ;
9610 float arg3
= (float) 25.2 ;
9611 float arg4
= (float) 25.2 ;
9612 float arg5
= (float) 25.2 ;
9613 float arg6
= (float) 5 ;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9616 PyObject
* obj2
= 0 ;
9617 PyObject
* obj3
= 0 ;
9618 PyObject
* obj4
= 0 ;
9619 PyObject
* obj5
= 0 ;
9621 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9626 if (SWIG_arg_fail(1)) SWIG_fail
;
9629 arg2
= (float)(SWIG_As_float(obj1
));
9630 if (SWIG_arg_fail(2)) SWIG_fail
;
9635 arg3
= (float)(SWIG_As_float(obj2
));
9636 if (SWIG_arg_fail(3)) SWIG_fail
;
9641 arg4
= (float)(SWIG_As_float(obj3
));
9642 if (SWIG_arg_fail(4)) SWIG_fail
;
9647 arg5
= (float)(SWIG_As_float(obj4
));
9648 if (SWIG_arg_fail(5)) SWIG_fail
;
9653 arg6
= (float)(SWIG_As_float(obj5
));
9654 if (SWIG_arg_fail(6)) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9664 Py_INCREF(Py_None
); resultobj
= Py_None
;
9671 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9676 (char *) "filter", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
9680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
9681 if (SWIG_arg_fail(1)) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxHtmlPrintout::AddFilter(arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 Py_INCREF(Py_None
); resultobj
= Py_None
;
9696 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 wxHtmlPrintout::CleanUpStatics();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 Py_INCREF(Py_None
); resultobj
= Py_None
;
9717 static PyObject
* HtmlPrintout_swigregister(PyObject
*, PyObject
*args
) {
9719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9720 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
9722 return Py_BuildValue((char *)"");
9724 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
9727 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
9728 wxWindow
*arg2
= (wxWindow
*) NULL
;
9729 wxHtmlEasyPrinting
*result
;
9730 bool temp1
= false ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9734 (char *) "name",(char *) "parentWindow", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
9740 arg1
= wxString_in_helper(obj0
);
9741 if (arg1
== NULL
) SWIG_fail
;
9746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(2)) SWIG_fail
;
9750 if (!wxPyCheckForApp()) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
9772 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
9781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9782 if (SWIG_arg_fail(1)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 Py_INCREF(Py_None
); resultobj
= Py_None
;
9797 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9800 wxString
*arg2
= 0 ;
9801 bool temp2
= false ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9805 (char *) "self",(char *) "htmlfile", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 arg2
= wxString_in_helper(obj1
);
9813 if (arg2
== NULL
) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 (arg1
)->PreviewFile((wxString
const &)*arg2
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9841 wxString
*arg2
= 0 ;
9842 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9843 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9844 bool temp2
= false ;
9845 bool temp3
= false ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 PyObject
* obj2
= 0 ;
9850 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9855 if (SWIG_arg_fail(1)) SWIG_fail
;
9857 arg2
= wxString_in_helper(obj1
);
9858 if (arg2
== NULL
) SWIG_fail
;
9863 arg3
= wxString_in_helper(obj2
);
9864 if (arg3
== NULL
) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 Py_INCREF(Py_None
); resultobj
= Py_None
;
9898 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9901 wxString
*arg2
= 0 ;
9902 bool temp2
= false ;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9906 (char *) "self",(char *) "htmlfile", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail
;
9913 arg2
= wxString_in_helper(obj1
);
9914 if (arg2
== NULL
) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 (arg1
)->PrintFile((wxString
const &)*arg2
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 Py_INCREF(Py_None
); resultobj
= Py_None
;
9939 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
9942 wxString
*arg2
= 0 ;
9943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9945 bool temp2
= false ;
9946 bool temp3
= false ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9949 PyObject
* obj2
= 0 ;
9951 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail
;
9958 arg2
= wxString_in_helper(obj1
);
9959 if (arg2
== NULL
) SWIG_fail
;
9964 arg3
= wxString_in_helper(obj2
);
9965 if (arg3
== NULL
) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 Py_INCREF(Py_None
); resultobj
= Py_None
;
9999 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
10008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->PageSetup();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10027 wxString
*arg2
= 0 ;
10028 int arg3
= (int) wxPAGE_ALL
;
10029 bool temp2
= false ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 PyObject
* obj2
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self",(char *) "header",(char *) "pg", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10039 if (SWIG_arg_fail(1)) SWIG_fail
;
10041 arg2
= wxString_in_helper(obj1
);
10042 if (arg2
== NULL
) SWIG_fail
;
10047 arg3
= (int)(SWIG_As_int(obj2
));
10048 if (SWIG_arg_fail(3)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 Py_INCREF(Py_None
); resultobj
= Py_None
;
10073 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10076 wxString
*arg2
= 0 ;
10077 int arg3
= (int) wxPAGE_ALL
;
10078 bool temp2
= false ;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 PyObject
* obj2
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "footer",(char *) "pg", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10088 if (SWIG_arg_fail(1)) SWIG_fail
;
10090 arg2
= wxString_in_helper(obj1
);
10091 if (arg2
== NULL
) SWIG_fail
;
10096 arg3
= (int)(SWIG_As_int(obj2
));
10097 if (SWIG_arg_fail(3)) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 Py_INCREF(Py_None
); resultobj
= Py_None
;
10122 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10127 PyObject
*arg4
= (PyObject
*) NULL
;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10131 PyObject
* obj3
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10138 if (SWIG_arg_fail(1)) SWIG_fail
;
10140 wxString
* sptr
= wxString_in_helper(obj1
);
10141 if (sptr
== NULL
) SWIG_fail
;
10146 wxString
* sptr
= wxString_in_helper(obj2
);
10147 if (sptr
== NULL
) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 Py_INCREF(Py_None
); resultobj
= Py_None
;
10168 static PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10171 int arg2
= (int) -1 ;
10172 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10173 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10174 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10175 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10176 bool temp3
= false ;
10177 bool temp4
= false ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 PyObject
* obj2
= 0 ;
10181 PyObject
* obj3
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail
;
10191 arg2
= (int)(SWIG_As_int(obj1
));
10192 if (SWIG_arg_fail(2)) SWIG_fail
;
10197 arg3
= wxString_in_helper(obj2
);
10198 if (arg3
== NULL
) SWIG_fail
;
10204 arg4
= wxString_in_helper(obj3
);
10205 if (arg4
== NULL
) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 Py_INCREF(Py_None
); resultobj
= Py_None
;
10239 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10242 wxPrintData
*result
;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
10249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10250 if (SWIG_arg_fail(1)) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (wxPrintData
*)(arg1
)->GetPrintData();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
10265 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10268 wxPageSetupDialogData
*result
;
10269 PyObject
* obj0
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
10275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10276 if (SWIG_arg_fail(1)) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
10291 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*, PyObject
*args
) {
10293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10294 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
10296 return Py_BuildValue((char *)"");
10298 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxString
*arg1
= 0 ;
10301 wxString
*arg2
= 0 ;
10302 wxString
*arg3
= 0 ;
10303 wxString
*arg4
= 0 ;
10304 wxHtmlBookRecord
*result
;
10305 bool temp1
= false ;
10306 bool temp2
= false ;
10307 bool temp3
= false ;
10308 bool temp4
= false ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 PyObject
* obj3
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10319 arg1
= wxString_in_helper(obj0
);
10320 if (arg1
== NULL
) SWIG_fail
;
10324 arg2
= wxString_in_helper(obj1
);
10325 if (arg2
== NULL
) SWIG_fail
;
10329 arg3
= wxString_in_helper(obj2
);
10330 if (arg3
== NULL
) SWIG_fail
;
10334 arg4
= wxString_in_helper(obj3
);
10335 if (arg4
== NULL
) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
10384 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
10394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10395 if (SWIG_arg_fail(1)) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (arg1
)->GetBookFile();
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10416 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
10426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10427 if (SWIG_arg_fail(1)) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 result
= (arg1
)->GetTitle();
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10448 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
10458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10459 if (SWIG_arg_fail(1)) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (arg1
)->GetStart();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10480 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
10490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10491 if (SWIG_arg_fail(1)) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (arg1
)->GetBasePath();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10512 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 PyObject
* obj2
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self",(char *) "start",(char *) "end", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10526 if (SWIG_arg_fail(1)) SWIG_fail
;
10528 arg2
= (int)(SWIG_As_int(obj1
));
10529 if (SWIG_arg_fail(2)) SWIG_fail
;
10532 arg3
= (int)(SWIG_As_int(obj2
));
10533 if (SWIG_arg_fail(3)) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 (arg1
)->SetContentsRange(arg2
,arg3
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
10559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (int)(arg1
)->GetContentsStart();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_From_int((int)(result
));
10577 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
10587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (int)(arg1
)->GetContentsEnd();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_From_int((int)(result
));
10605 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10608 wxString
*arg2
= 0 ;
10609 bool temp2
= false ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "title", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
10617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail
;
10620 arg2
= wxString_in_helper(obj1
);
10621 if (arg2
== NULL
) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->SetTitle((wxString
const &)*arg2
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10649 wxString
*arg2
= 0 ;
10650 bool temp2
= false ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "path", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
10658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail
;
10661 arg2
= wxString_in_helper(obj1
);
10662 if (arg2
== NULL
) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->SetBasePath((wxString
const &)*arg2
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 Py_INCREF(Py_None
); resultobj
= Py_None
;
10687 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10690 wxString
*arg2
= 0 ;
10691 bool temp2
= false ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "start", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
10699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail
;
10702 arg2
= wxString_in_helper(obj1
);
10703 if (arg2
== NULL
) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 (arg1
)->SetStart((wxString
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10731 wxString
*arg2
= 0 ;
10733 bool temp2
= false ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "page", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
10741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10742 if (SWIG_arg_fail(1)) SWIG_fail
;
10744 arg2
= wxString_in_helper(obj1
);
10745 if (arg2
== NULL
) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10776 static PyObject
* HtmlBookRecord_swigregister(PyObject
*, PyObject
*args
) {
10778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10779 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
10781 return Py_BuildValue((char *)"");
10783 static PyObject
*_wrap_HtmlContentsItem_GetLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetLevel",kwnames
,&obj0
)) goto fail
;
10793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10794 if (SWIG_arg_fail(1)) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (int)wxHtmlContentsItem_GetLevel(arg1
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_From_int((int)(result
));
10811 static PyObject
*_wrap_HtmlContentsItem_GetID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetID",kwnames
,&obj0
)) goto fail
;
10821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (int)wxHtmlContentsItem_GetID(arg1
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_From_int((int)(result
));
10839 static PyObject
*_wrap_HtmlContentsItem_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetName",kwnames
,&obj0
)) goto fail
;
10849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= wxHtmlContentsItem_GetName(arg1
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10871 static PyObject
*_wrap_HtmlContentsItem_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetPage",kwnames
,&obj0
)) goto fail
;
10881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= wxHtmlContentsItem_GetPage(arg1
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10903 static PyObject
*_wrap_HtmlContentsItem_GetBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxHtmlContentsItem
*arg1
= (wxHtmlContentsItem
*) 0 ;
10906 wxHtmlBookRecord
*result
;
10907 PyObject
* obj0
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContentsItem_GetBook",kwnames
,&obj0
)) goto fail
;
10913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContentsItem
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (wxHtmlBookRecord
*)wxHtmlContentsItem_GetBook(arg1
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 0);
10929 static PyObject
* HtmlContentsItem_swigregister(PyObject
*, PyObject
*args
) {
10931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10932 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem
, obj
);
10934 return Py_BuildValue((char *)"");
10936 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10940 PyObject
* obj0
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
10946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)(arg1
)->Search();
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10964 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
10974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
10975 if (SWIG_arg_fail(1)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (bool)(arg1
)->IsActive();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10992 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
11002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11003 if (SWIG_arg_fail(1)) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (int)(arg1
)->GetCurIndex();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_From_int((int)(result
));
11020 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
;
11022 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
11030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (int)(arg1
)->GetMaxIndex();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= SWIG_From_int((int)(result
));
11048 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11052 PyObject
* obj0
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
11058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 wxString
const &_result_ref
= (arg1
)->GetName();
11064 result
= (wxString
*) &_result_ref
;
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11083 static PyObject
*_wrap_HtmlSearchStatus_GetContentsItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11086 wxHtmlContentsItem
*result
;
11087 PyObject
* obj0
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames
,&obj0
)) goto fail
;
11093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (wxHtmlContentsItem
*)(arg1
)->GetContentsItem();
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
11109 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*, PyObject
*args
) {
11111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11112 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
11114 return Py_BuildValue((char *)"");
11116 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxHtmlHelpData
*result
;
11119 char *kwnames
[] = {
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
11138 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
11147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11148 if (SWIG_arg_fail(1)) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 Py_INCREF(Py_None
); resultobj
= Py_None
;
11163 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11166 wxString
*arg2
= 0 ;
11167 bool temp2
= false ;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "path", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
11175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11176 if (SWIG_arg_fail(1)) SWIG_fail
;
11178 arg2
= wxString_in_helper(obj1
);
11179 if (arg2
== NULL
) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 (arg1
)->SetTempDir((wxString
const &)*arg2
);
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11207 wxString
*arg2
= 0 ;
11209 bool temp2
= false ;
11210 PyObject
* obj0
= 0 ;
11211 PyObject
* obj1
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "self",(char *) "book", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
11217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11218 if (SWIG_arg_fail(1)) SWIG_fail
;
11220 arg2
= wxString_in_helper(obj1
);
11221 if (arg2
== NULL
) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11248 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11251 wxString
*arg2
= 0 ;
11253 bool temp2
= false ;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "page", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
11261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail
;
11264 arg2
= wxString_in_helper(obj1
);
11265 if (arg2
== NULL
) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11296 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "id", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail
;
11311 arg2
= (int)(SWIG_As_int(obj1
));
11312 if (SWIG_arg_fail(2)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (arg1
)->FindPageById(arg2
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11334 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11337 wxHtmlBookRecArray
*result
;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
11344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
11350 result
= (wxHtmlBookRecArray
*) &_result_ref
;
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
11363 static PyObject
*_wrap_HtmlHelpData_GetContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11366 wxHtmlContentsItem
*result
;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContents",kwnames
,&obj0
)) goto fail
;
11373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (wxHtmlContentsItem
*)(arg1
)->GetContents();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
11389 static PyObject
*_wrap_HtmlHelpData_GetContentsCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames
,&obj0
)) goto fail
;
11399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 result
= (int)(arg1
)->GetContentsCnt();
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_From_int((int)(result
));
11417 static PyObject
*_wrap_HtmlHelpData_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11420 wxHtmlContentsItem
*result
;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndex",kwnames
,&obj0
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (wxHtmlContentsItem
*)(arg1
)->GetIndex();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContentsItem
, 0);
11443 static PyObject
*_wrap_HtmlHelpData_GetIndexCnt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames
,&obj0
)) goto fail
;
11453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (int)(arg1
)->GetIndexCnt();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_From_int((int)(result
));
11471 static PyObject
* HtmlHelpData_swigregister(PyObject
*, PyObject
*args
) {
11473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11474 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
11476 return Py_BuildValue((char *)"");
11478 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxWindow
*arg1
= (wxWindow
*) 0 ;
11482 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11483 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11484 int arg4
= (int) wxHF_DEFAULTSTYLE
;
11485 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
11486 wxHtmlHelpFrame
*result
;
11487 bool temp3
= false ;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 PyObject
* obj2
= 0 ;
11491 PyObject
* obj3
= 0 ;
11492 PyObject
* obj4
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11499 if (SWIG_arg_fail(1)) SWIG_fail
;
11501 arg2
= (int)(SWIG_As_int(obj1
));
11502 if (SWIG_arg_fail(2)) SWIG_fail
;
11506 arg3
= wxString_in_helper(obj2
);
11507 if (arg3
== NULL
) SWIG_fail
;
11513 arg4
= (int)(SWIG_As_int(obj3
));
11514 if (SWIG_arg_fail(4)) SWIG_fail
;
11518 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11519 if (SWIG_arg_fail(5)) SWIG_fail
;
11522 if (!wxPyCheckForApp()) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
11544 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11547 wxHtmlHelpData
*result
;
11548 PyObject
* obj0
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
11554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail
;
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
11570 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11573 wxString
*arg2
= 0 ;
11574 bool temp2
= false ;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "self",(char *) "format", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
11582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11583 if (SWIG_arg_fail(1)) SWIG_fail
;
11585 arg2
= wxString_in_helper(obj1
);
11586 if (arg2
== NULL
) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11611 static PyObject
*_wrap_HtmlHelpFrame_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11614 wxString
*arg2
= 0 ;
11615 bool temp2
= false ;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "x", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
11623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11624 if (SWIG_arg_fail(1)) SWIG_fail
;
11626 arg2
= wxString_in_helper(obj1
);
11627 if (arg2
== NULL
) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 (arg1
)->Display((wxString
const &)*arg2
);
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 Py_INCREF(Py_None
); resultobj
= Py_None
;
11652 static PyObject
*_wrap_HtmlHelpFrame_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 PyObject
* obj1
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self",(char *) "id", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
11663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11664 if (SWIG_arg_fail(1)) SWIG_fail
;
11666 arg2
= (int)(SWIG_As_int(obj1
));
11667 if (SWIG_arg_fail(2)) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 (arg1
)->Display(arg2
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 Py_INCREF(Py_None
); resultobj
= Py_None
;
11683 static PyObject
*_wrap_HtmlHelpFrame_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11686 PyObject
* obj0
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames
,&obj0
)) goto fail
;
11692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 (arg1
)->DisplayContents();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 Py_INCREF(Py_None
); resultobj
= Py_None
;
11708 static PyObject
*_wrap_HtmlHelpFrame_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames
,&obj0
)) goto fail
;
11717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 (arg1
)->DisplayIndex();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 Py_INCREF(Py_None
); resultobj
= Py_None
;
11733 static PyObject
*_wrap_HtmlHelpFrame_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11736 wxString
*arg2
= 0 ;
11738 bool temp2
= false ;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "keyword", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
11746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11747 if (SWIG_arg_fail(1)) SWIG_fail
;
11749 arg2
= wxString_in_helper(obj1
);
11750 if (arg2
== NULL
) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11777 static PyObject
*_wrap_HtmlHelpFrame_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11780 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11783 bool temp3
= false ;
11784 PyObject
* obj0
= 0 ;
11785 PyObject
* obj1
= 0 ;
11786 PyObject
* obj2
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self",(char *) "config",(char *) "rootpath", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11793 if (SWIG_arg_fail(1)) SWIG_fail
;
11794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11795 if (SWIG_arg_fail(2)) SWIG_fail
;
11798 arg3
= wxString_in_helper(obj2
);
11799 if (arg3
== NULL
) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 Py_INCREF(Py_None
); resultobj
= Py_None
;
11825 static PyObject
*_wrap_HtmlHelpFrame_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11828 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11829 wxString arg3
= (wxString
) wxPyEmptyString
;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 PyObject
* obj2
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "self",(char *) "cfg",(char *) "path", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11839 if (SWIG_arg_fail(1)) SWIG_fail
;
11840 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11841 if (SWIG_arg_fail(2)) SWIG_fail
;
11844 wxString
* sptr
= wxString_in_helper(obj2
);
11845 if (sptr
== NULL
) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->ReadCustomization(arg2
,arg3
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 Py_INCREF(Py_None
); resultobj
= Py_None
;
11864 static PyObject
*_wrap_HtmlHelpFrame_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
11867 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
11868 wxString arg3
= (wxString
) wxPyEmptyString
;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self",(char *) "cfg",(char *) "path", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail
;
11879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
11880 if (SWIG_arg_fail(2)) SWIG_fail
;
11883 wxString
* sptr
= wxString_in_helper(obj2
);
11884 if (sptr
== NULL
) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 (arg1
)->WriteCustomization(arg2
,arg3
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 Py_INCREF(Py_None
); resultobj
= Py_None
;
11903 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*, PyObject
*args
) {
11905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11906 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
11908 return Py_BuildValue((char *)"");
11910 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 int arg1
= (int) wxHF_DEFAULTSTYLE
;
11913 wxHtmlHelpController
*result
;
11914 PyObject
* obj0
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "style", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
11922 arg1
= (int)(SWIG_As_int(obj0
));
11923 if (SWIG_arg_fail(1)) SWIG_fail
;
11927 if (!wxPyCheckForApp()) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
11941 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
11950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 Py_INCREF(Py_None
); resultobj
= Py_None
;
11966 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
11969 wxString
*arg2
= 0 ;
11970 bool temp2
= false ;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self",(char *) "format", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
11978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
11979 if (SWIG_arg_fail(1)) SWIG_fail
;
11981 arg2
= wxString_in_helper(obj1
);
11982 if (arg2
== NULL
) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12007 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12010 wxString
*arg2
= 0 ;
12011 bool temp2
= false ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self",(char *) "path", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 arg2
= wxString_in_helper(obj1
);
12023 if (arg2
== NULL
) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetTempDir((wxString
const &)*arg2
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 Py_INCREF(Py_None
); resultobj
= Py_None
;
12048 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12051 wxString
*arg2
= 0 ;
12052 int arg3
= (int) false ;
12054 bool temp2
= false ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 PyObject
* obj2
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 arg2
= wxString_in_helper(obj1
);
12067 if (arg2
== NULL
) SWIG_fail
;
12072 arg3
= (int)(SWIG_As_int(obj2
));
12073 if (SWIG_arg_fail(3)) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12100 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12103 wxString
*arg2
= 0 ;
12104 bool temp2
= false ;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "x", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
12112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail
;
12115 arg2
= wxString_in_helper(obj1
);
12116 if (arg2
== NULL
) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->Display((wxString
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12141 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self",(char *) "id", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
12152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail
;
12155 arg2
= (int)(SWIG_As_int(obj1
));
12156 if (SWIG_arg_fail(2)) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->Display(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
12181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12182 if (SWIG_arg_fail(1)) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->DisplayContents();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12200 PyObject
* obj0
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
12206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->DisplayIndex();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 Py_INCREF(Py_None
); resultobj
= Py_None
;
12222 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12225 wxString
*arg2
= 0 ;
12227 bool temp2
= false ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "keyword", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
12235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12236 if (SWIG_arg_fail(1)) SWIG_fail
;
12238 arg2
= wxString_in_helper(obj1
);
12239 if (arg2
== NULL
) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12266 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12269 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12270 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12272 bool temp3
= false ;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 PyObject
* obj2
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail
;
12283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12284 if (SWIG_arg_fail(2)) SWIG_fail
;
12287 arg3
= wxString_in_helper(obj2
);
12288 if (arg3
== NULL
) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12317 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12318 wxString arg3
= (wxString
) wxPyEmptyString
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 PyObject
* obj2
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "cfg",(char *) "path", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12330 if (SWIG_arg_fail(2)) SWIG_fail
;
12333 wxString
* sptr
= wxString_in_helper(obj2
);
12334 if (sptr
== NULL
) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 (arg1
)->ReadCustomization(arg2
,arg3
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 Py_INCREF(Py_None
); resultobj
= Py_None
;
12353 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12356 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12357 wxString arg3
= (wxString
) wxPyEmptyString
;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 PyObject
* obj2
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self",(char *) "cfg",(char *) "path", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12367 if (SWIG_arg_fail(1)) SWIG_fail
;
12368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12369 if (SWIG_arg_fail(2)) SWIG_fail
;
12372 wxString
* sptr
= wxString_in_helper(obj2
);
12373 if (sptr
== NULL
) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->WriteCustomization(arg2
,arg3
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
12395 wxHtmlHelpFrame
*result
;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
12402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
12403 if (SWIG_arg_fail(1)) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 0);
12418 static PyObject
* HtmlHelpController_swigregister(PyObject
*, PyObject
*args
) {
12420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12421 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
12423 return Py_BuildValue((char *)"");
12425 static PyMethodDef SwigMethods
[] = {
12426 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12427 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12428 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12429 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12430 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12431 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12432 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12433 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
12434 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12435 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12436 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12437 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12438 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12439 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12440 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12441 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12442 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
12443 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12444 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12445 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12446 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12447 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12448 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12449 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12450 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12451 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12452 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12453 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12454 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
12455 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12456 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12457 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12458 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12459 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12460 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12461 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12462 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12463 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12464 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12465 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12466 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12467 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12468 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12469 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12470 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12471 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12472 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12473 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12474 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12475 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12476 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12477 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12478 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12479 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12480 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12481 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12482 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12483 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12484 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12485 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12486 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
12487 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12488 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12489 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12490 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12491 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12492 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
12493 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12494 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12495 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12496 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12497 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12498 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
12499 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12500 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12501 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12502 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12503 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12504 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12505 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12506 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12507 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12508 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12509 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12510 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12511 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12512 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12513 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12514 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
12515 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12516 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12517 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12518 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12519 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12520 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12521 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12522 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12523 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
12524 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12525 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12526 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
12527 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12528 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12529 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
12530 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12531 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12532 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12533 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12534 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12535 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12536 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12537 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
12538 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12539 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12540 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12541 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12542 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12543 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12544 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12545 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12546 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12547 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12548 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12549 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12550 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12551 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12552 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12553 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12554 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12555 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12556 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12557 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12558 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12559 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12560 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12561 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12562 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12563 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12564 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12565 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12566 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12567 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12568 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12569 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12570 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12571 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12572 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
12573 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12574 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
12575 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12576 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12577 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12578 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12579 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12580 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12581 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12582 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12583 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12584 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12585 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12586 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12587 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12588 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12589 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12590 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12591 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12592 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
12593 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12594 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
12595 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12596 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
12597 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12598 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
12599 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12600 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12601 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
12602 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12603 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12604 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12605 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12606 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12607 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12608 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12609 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12610 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12611 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12612 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12613 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12614 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12615 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12616 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12617 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12618 { (char *)"HtmlWindow_SetTitle", (PyCFunction
) _wrap_HtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12619 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12620 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12621 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12622 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12623 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12624 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12625 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12626 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12627 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12628 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12629 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12630 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12631 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12632 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12633 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12634 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12635 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12636 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12637 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12638 { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12639 { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12640 { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12641 { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12642 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12643 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
12644 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12645 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12646 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12647 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12648 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12649 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12650 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12651 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12652 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12653 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
12654 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12655 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12656 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12657 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12658 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12659 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12660 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12661 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12662 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12663 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12664 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
12665 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12666 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12667 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12668 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12669 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12670 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12671 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12672 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12673 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12674 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12675 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12676 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12677 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12678 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
12679 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12680 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12681 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12682 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12683 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12684 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12685 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12686 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12687 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12688 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12689 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12690 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12691 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
12692 { (char *)"HtmlContentsItem_GetLevel", (PyCFunction
) _wrap_HtmlContentsItem_GetLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12693 { (char *)"HtmlContentsItem_GetID", (PyCFunction
) _wrap_HtmlContentsItem_GetID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12694 { (char *)"HtmlContentsItem_GetName", (PyCFunction
) _wrap_HtmlContentsItem_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12695 { (char *)"HtmlContentsItem_GetPage", (PyCFunction
) _wrap_HtmlContentsItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12696 { (char *)"HtmlContentsItem_GetBook", (PyCFunction
) _wrap_HtmlContentsItem_GetBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12697 { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister
, METH_VARARGS
, NULL
},
12698 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12699 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12700 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12701 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12702 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12703 { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction
) _wrap_HtmlSearchStatus_GetContentsItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12704 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
12705 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12706 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12707 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12708 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12709 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12710 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12711 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12712 { (char *)"HtmlHelpData_GetContents", (PyCFunction
) _wrap_HtmlHelpData_GetContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12713 { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction
) _wrap_HtmlHelpData_GetContentsCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12714 { (char *)"HtmlHelpData_GetIndex", (PyCFunction
) _wrap_HtmlHelpData_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12715 { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction
) _wrap_HtmlHelpData_GetIndexCnt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12716 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
12717 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12718 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12719 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12720 { (char *)"HtmlHelpFrame_Display", (PyCFunction
) _wrap_HtmlHelpFrame_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12721 { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12722 { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12723 { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpFrame_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12724 { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpFrame_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12725 { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction
) _wrap_HtmlHelpFrame_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12726 { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12727 { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpFrame_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12728 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
12729 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12730 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12731 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12732 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12733 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12734 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12735 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12736 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12737 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12738 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12739 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12740 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12741 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12742 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
12743 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
12744 { NULL
, NULL
, 0, NULL
}
12748 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12750 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
12751 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
12753 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
12754 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
12756 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
12757 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
12759 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
12760 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
12762 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
12763 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
12765 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
12766 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12768 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12771 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12774 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12777 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12778 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12780 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12781 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12783 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12784 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12786 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12787 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12789 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12792 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12795 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12798 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12801 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12804 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12807 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12810 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12813 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12814 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12816 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12817 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12819 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12822 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12825 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12828 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12829 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12831 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12834 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12835 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12837 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12838 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12840 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12841 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12843 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12844 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12846 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12849 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12850 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12852 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12853 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12855 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12858 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
12859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
12861 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12862 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12864 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12867 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12870 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12873 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12874 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12876 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12879 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12880 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12882 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12885 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12888 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12891 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12894 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12897 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12898 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12900 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
12901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12903 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12906 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12909 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12912 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12915 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12918 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12921 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
12922 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
12924 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
12925 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
12927 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
12928 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
12930 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
12931 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
12933 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
12934 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12936 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
12937 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
12939 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
12940 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
12942 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
12943 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
12945 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
12946 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
12948 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
12949 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
12951 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12952 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12954 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12955 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12957 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12960 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12963 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12964 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12966 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12967 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12969 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12972 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12973 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12975 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
12976 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
12978 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12979 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12981 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12982 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12984 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12985 return (void *)((wxObject
*) ((wxSizer
*) x
));
12987 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12988 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12990 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
12991 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
12993 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12996 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12999 static void *_p_wxEventTo_p_wxObject(void *x
) {
13000 return (void *)((wxObject
*) ((wxEvent
*) x
));
13002 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
13003 return (void *)((wxObject
*) ((wxFontData
*) x
));
13005 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
13006 return (void *)((wxObject
*) ((wxPrintData
*) x
));
13008 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
13009 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
13011 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
13012 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
13014 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
13015 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
13017 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
13018 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
13020 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
13021 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
13023 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
13024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
13026 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
13027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
13029 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
13030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13032 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
13033 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
13035 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
13036 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
13038 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
13039 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
13041 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
13042 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
13044 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
13045 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
13047 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
13048 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
13050 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
13051 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
13053 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
13054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13056 static void *_p_wxControlTo_p_wxObject(void *x
) {
13057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
13059 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
13060 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
13062 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
13063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
13065 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
13066 return (void *)((wxObject
*) ((wxFSFile
*) x
));
13068 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
13069 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
13071 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
13072 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
13074 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
13075 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
13077 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
13078 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
13080 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
13081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
13083 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
13084 return (void *)((wxObject
*) ((wxColourData
*) x
));
13086 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
13087 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
13089 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
13090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13092 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
13093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
13095 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
13096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
13098 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
13099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
13101 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
13102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13104 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
13105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13107 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
13108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
13110 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
13111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13113 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
13114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
13116 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
13117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
13119 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
13120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
13122 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
13123 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
13125 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
13126 return (void *)((wxObject
*) ((wxPrinter
*) x
));
13128 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
13129 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
13131 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
13132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
13134 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
13135 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
13137 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
13138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13140 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
13141 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
13143 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
13144 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
13146 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
13147 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
13149 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
13150 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
13152 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
13153 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
13155 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
13156 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
13158 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
13159 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
13161 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
13162 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
13164 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
13165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
13167 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
13168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
13170 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
13171 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
13173 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
13174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
13176 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
13177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
13179 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
13180 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
13182 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
13183 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
13185 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
13186 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
13188 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
13189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
13191 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
13192 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
13194 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
13195 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
13197 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
13198 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
13200 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
13201 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
13203 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
13204 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
13206 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
13207 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
13209 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
13210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13212 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
13213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13215 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
13216 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
13218 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
13219 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
13221 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
13222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
13224 static void *_p_wxImageTo_p_wxObject(void *x
) {
13225 return (void *)((wxObject
*) ((wxImage
*) x
));
13227 static void *_p_wxFrameTo_p_wxObject(void *x
) {
13228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
13230 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
13231 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
13233 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
13234 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
13236 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
13237 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
13239 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
13240 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
13242 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
13243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
13245 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
13246 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
13248 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
13249 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
13251 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
13252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13254 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
13255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13257 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
13258 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
13260 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
13261 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
13263 static void *_p_wxWindowTo_p_wxObject(void *x
) {
13264 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
13266 static void *_p_wxMenuTo_p_wxObject(void *x
) {
13267 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
13269 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
13270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
13272 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
13273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
13275 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
13276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
13278 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
13279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
13281 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
13282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
13284 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
13285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
13287 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
13288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
13290 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
13291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
13293 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
13294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
13296 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
13297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
13299 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
13300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13302 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
13303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
13305 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
13306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13308 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
13309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13311 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
13312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
13314 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
13315 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
13317 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
13318 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
13320 static void *_p_wxPanelTo_p_wxObject(void *x
) {
13321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
13323 static void *_p_wxDialogTo_p_wxObject(void *x
) {
13324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
13326 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
13327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13329 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
13330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13332 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
13333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13335 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
13336 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
13338 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
13339 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
13341 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
13342 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
13344 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
13345 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
13347 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
13348 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
13350 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
13351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13353 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
13354 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
13356 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
13357 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
13359 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
13360 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
13362 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
13363 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
13365 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
13366 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
13368 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
13369 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
13371 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
13372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13374 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
13375 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
13377 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
13378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
13380 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
13381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13383 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
13384 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
13386 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
13387 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
13389 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
13390 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
13392 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
13393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13395 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
13396 return (void *)((wxObject
*) ((wxHtmlHelpController
*) x
));
13398 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
13399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13401 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
13402 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
13404 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
13405 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
13407 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
13408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
13410 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
13411 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
13413 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
13414 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
13416 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
13417 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
13419 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
13420 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
13422 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
13423 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
13425 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
13426 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
13428 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
13429 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
13431 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
13432 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
13434 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
13435 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
13437 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
13438 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
13440 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
13441 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
13443 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
13444 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
13446 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
13447 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13449 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
13450 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
13452 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
13453 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13455 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
13456 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13458 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
13459 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
13461 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
13462 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
13464 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
13465 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13467 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
13468 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
13470 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
13471 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
13473 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
13474 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
13476 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
13477 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
13479 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
13480 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
13482 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
13483 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
13485 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
13486 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
13488 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
13489 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
13491 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
13492 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
13494 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
13495 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13497 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
13498 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
13500 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
13501 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13503 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
13504 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13506 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
13507 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
13509 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
13510 return (void *)((wxWindow
*) ((wxPanel
*) x
));
13512 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
13513 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
13515 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
13516 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13518 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
13519 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
13521 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
13522 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
13524 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
13525 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
13527 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
13528 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
13530 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
13531 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
13533 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
13534 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
13536 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
13537 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
13539 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
13540 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
13542 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
13543 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
13545 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
13546 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
13548 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
13549 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13551 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
13552 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13554 static void *_p_wxControlTo_p_wxWindow(void *x
) {
13555 return (void *)((wxWindow
*) ((wxControl
*) x
));
13557 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
13558 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
13560 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
13561 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
13563 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
13564 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
13566 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
13567 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
13569 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
13570 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
13572 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
13573 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13575 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
13576 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13578 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
13579 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13581 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
13582 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
13584 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
13585 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13587 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
13588 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
13590 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
13591 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
13593 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
13594 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13596 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
13597 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13599 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
13600 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13602 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
13603 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
13605 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
13606 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13608 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
13609 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13611 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
13612 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13614 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
13615 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13617 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
13618 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
13620 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
13621 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13623 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
13624 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13626 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
13627 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
13629 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
13630 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13632 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
13633 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13635 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
13636 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
13638 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
13639 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
13641 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
13642 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
13644 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
13645 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13647 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
13648 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
13650 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}};
13651 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}};
13652 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}};
13653 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}};
13654 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}};
13655 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}};
13656 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}};
13657 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}};
13658 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}};
13659 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}};
13660 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}};
13661 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}};
13662 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}};
13663 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}};
13664 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}};
13665 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}};
13666 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}};
13667 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}};
13668 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}};
13669 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}};
13670 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}};
13671 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}};
13672 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}};
13673 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}};
13674 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}};
13675 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}};
13676 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}};
13677 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}};
13678 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}};
13679 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}};
13680 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}};
13681 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}};
13682 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}};
13683 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}};
13684 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}};
13685 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}};
13686 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}};
13687 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}};
13688 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}};
13689 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}};
13690 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}};
13691 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}};
13692 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}};
13693 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}};
13694 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}};
13695 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}};
13696 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}};
13697 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}};
13698 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}};
13699 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}};
13700 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}};
13701 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}};
13702 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}};
13703 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}};
13704 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}};
13705 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}};
13706 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}};
13707 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}};
13708 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}};
13709 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}};
13710 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}};
13711 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}};
13712 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}};
13714 static swig_type_info
*swig_types_initial
[] = {
13715 _swigt__p_wxHtmlDCRenderer
,
13716 _swigt__p_wxColour
,
13717 _swigt__p_wxPageSetupDialogData
,
13719 _swigt__p_form_ops_t
,
13720 _swigt__p_wxHtmlRenderingStyle
,
13721 _swigt__p_wxMouseEvent
,
13722 _swigt__p_wxDuplexMode
,
13723 _swigt__p_wxDefaultHtmlRenderingStyle
,
13724 _swigt__p_wxHtmlWordCell
,
13725 _swigt__p_wxVisualAttributes
,
13726 _swigt__p_wxHtmlHelpData
,
13728 _swigt__p_wxHtmlWinParser
,
13729 _swigt__p_wxHtmlParser
,
13731 _swigt__p_wxPyHtmlWindow
,
13732 _swigt__p_wxScrolledWindow
,
13733 _swigt__p_wxWindow
,
13734 _swigt__p_wxTopLevelWindow
,
13736 _swigt__p_wxHtmlColourCell
,
13737 _swigt__p_wxHtmlFontCell
,
13738 _swigt__p_wxHtmlEasyPrinting
,
13739 _swigt__p_wxHtmlSelection
,
13740 _swigt__p_wxHtmlRenderingInfo
,
13741 _swigt__p_wxHtmlWidgetCell
,
13742 _swigt__p_wxObject
,
13743 _swigt__p_wxBitmap
,
13744 _swigt__p_wxPaperSize
,
13745 _swigt__p_wxString
,
13746 _swigt__p_unsigned_int
,
13747 _swigt__unsigned_int
,
13748 _swigt__p_wxHtmlTagHandler
,
13749 _swigt__p_wxPyHtmlTagHandler
,
13750 _swigt__p_wxEvtHandler
,
13751 _swigt__p_wxPyHtmlWinTagHandler
,
13753 _swigt__p_wxHtmlHelpController
,
13754 _swigt__p_wxCursor
,
13755 _swigt__p_wxFileSystem
,
13756 _swigt__p_wxHtmlBookRecArray
,
13757 _swigt__p_unsigned_char
,
13758 _swigt__p_wxPyPrintout
,
13759 _swigt__p_wxHtmlPrintout
,
13760 _swigt__p_wxHtmlSearchStatus
,
13761 _swigt__std__ptrdiff_t
,
13763 _swigt__p_wxHtmlContentsItem
,
13764 _swigt__p_wxConfigBase
,
13765 _swigt__p_wxPrintData
,
13766 _swigt__p_wxHtmlHelpFrame
,
13768 _swigt__p_wxHtmlRenderingState
,
13769 _swigt__p_wxPyHtmlFilter
,
13770 _swigt__p_wxHtmlFilter
,
13771 _swigt__p_wxHtmlCell
,
13772 _swigt__p_wxHtmlContainerCell
,
13773 _swigt__p_wxHtmlTag
,
13775 _swigt__p_wxHtmlLinkInfo
,
13776 _swigt__p_unsigned_long
,
13777 _swigt__p_wxHtmlBookRecord
,
13782 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13784 static swig_const_info swig_const_table
[] = {
13785 {0, 0, 0, 0.0, 0, 0}};
13796 /* Python-specific SWIG API */
13797 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13798 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13799 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13801 /* -----------------------------------------------------------------------------
13802 * global variable support code.
13803 * ----------------------------------------------------------------------------- */
13805 typedef struct swig_globalvar
{
13806 char *name
; /* Name of global variable */
13807 PyObject
*(*get_attr
)(); /* Return the current value */
13808 int (*set_attr
)(PyObject
*); /* Set the value */
13809 struct swig_globalvar
*next
;
13812 typedef struct swig_varlinkobject
{
13814 swig_globalvar
*vars
;
13815 } swig_varlinkobject
;
13818 swig_varlink_repr(swig_varlinkobject
*v
) {
13820 return PyString_FromString("<Swig global variables>");
13824 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
13825 swig_globalvar
*var
;
13827 fprintf(fp
,"Swig global variables { ");
13828 for (var
= v
->vars
; var
; var
=var
->next
) {
13829 fprintf(fp
,"%s", var
->name
);
13830 if (var
->next
) fprintf(fp
,", ");
13832 fprintf(fp
," }\n");
13837 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
13838 swig_globalvar
*var
= v
->vars
;
13840 if (strcmp(var
->name
,n
) == 0) {
13841 return (*var
->get_attr
)();
13845 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13850 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
13851 swig_globalvar
*var
= v
->vars
;
13853 if (strcmp(var
->name
,n
) == 0) {
13854 return (*var
->set_attr
)(p
);
13858 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13862 static PyTypeObject varlinktype
= {
13863 PyObject_HEAD_INIT(0)
13864 0, /* Number of items in variable part (ob_size) */
13865 (char *)"swigvarlink", /* Type name (tp_name) */
13866 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
13867 0, /* Itemsize (tp_itemsize) */
13868 0, /* Deallocator (tp_dealloc) */
13869 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
13870 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
13871 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
13872 0, /* tp_compare */
13873 (reprfunc
) swig_varlink_repr
, /* tp_repr */
13874 0, /* tp_as_number */
13875 0, /* tp_as_sequence */
13876 0, /* tp_as_mapping */
13880 0, /* tp_getattro */
13881 0, /* tp_setattro */
13882 0, /* tp_as_buffer */
13885 #if PY_VERSION_HEX >= 0x02000000
13886 0, /* tp_traverse */
13889 #if PY_VERSION_HEX >= 0x02010000
13890 0, /* tp_richcompare */
13891 0, /* tp_weaklistoffset */
13893 #if PY_VERSION_HEX >= 0x02020000
13894 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13896 #if PY_VERSION_HEX >= 0x02030000
13899 #ifdef COUNT_ALLOCS
13900 0,0,0,0 /* tp_alloc -> tp_next */
13904 /* Create a variable linking object for use later */
13906 SWIG_Python_newvarlink(void) {
13907 swig_varlinkobject
*result
= 0;
13908 result
= PyMem_NEW(swig_varlinkobject
,1);
13909 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
13910 result
->ob_type
= &varlinktype
;
13912 result
->ob_refcnt
= 0;
13913 Py_XINCREF((PyObject
*) result
);
13914 return ((PyObject
*) result
);
13918 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
13919 swig_varlinkobject
*v
;
13920 swig_globalvar
*gv
;
13921 v
= (swig_varlinkobject
*) p
;
13922 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
13923 gv
->name
= (char *) malloc(strlen(name
)+1);
13924 strcpy(gv
->name
,name
);
13925 gv
->get_attr
= get_attr
;
13926 gv
->set_attr
= set_attr
;
13927 gv
->next
= v
->vars
;
13931 /* -----------------------------------------------------------------------------
13932 * constants/methods manipulation
13933 * ----------------------------------------------------------------------------- */
13935 /* Install Constants */
13937 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
13940 for (i
= 0; constants
[i
].type
; i
++) {
13941 switch(constants
[i
].type
) {
13943 obj
= PyInt_FromLong(constants
[i
].lvalue
);
13945 case SWIG_PY_FLOAT
:
13946 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
13948 case SWIG_PY_STRING
:
13949 if (constants
[i
].pvalue
) {
13950 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
13952 Py_INCREF(Py_None
);
13956 case SWIG_PY_POINTER
:
13957 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
13959 case SWIG_PY_BINARY
:
13960 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
13967 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
13973 /* -----------------------------------------------------------------------------*/
13974 /* Fix SwigMethods to carry the callback ptrs when needed */
13975 /* -----------------------------------------------------------------------------*/
13978 SWIG_Python_FixMethods(PyMethodDef
*methods
,
13979 swig_const_info
*const_table
,
13980 swig_type_info
**types
,
13981 swig_type_info
**types_initial
) {
13983 for (i
= 0; methods
[i
].ml_name
; ++i
) {
13984 char *c
= methods
[i
].ml_doc
;
13985 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
13987 swig_const_info
*ci
= 0;
13988 char *name
= c
+ 10;
13989 for (j
= 0; const_table
[j
].type
; j
++) {
13990 if (strncmp(const_table
[j
].name
, name
,
13991 strlen(const_table
[j
].name
)) == 0) {
13992 ci
= &(const_table
[j
]);
13997 size_t shift
= (ci
->ptype
) - types
;
13998 swig_type_info
*ty
= types_initial
[shift
];
13999 size_t ldoc
= (c
- methods
[i
].ml_doc
);
14000 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
14001 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
14003 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
14004 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
14006 strncpy(buff
, "swig_ptr: ", 10);
14008 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
14009 methods
[i
].ml_doc
= ndoc
;
14015 /* -----------------------------------------------------------------------------*
14016 * Initialize type list
14017 * -----------------------------------------------------------------------------*/
14019 #if PY_MAJOR_VERSION < 2
14020 /* PyModule_AddObject function was introduced in Python 2.0. The following function
14021 is copied out of Python/modsupport.c in python version 2.3.4 */
14023 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
14026 if (!PyModule_Check(m
)) {
14027 PyErr_SetString(PyExc_TypeError
,
14028 "PyModule_AddObject() needs module as first arg");
14032 PyErr_SetString(PyExc_TypeError
,
14033 "PyModule_AddObject() needs non-NULL value");
14037 dict
= PyModule_GetDict(m
);
14038 if (dict
== NULL
) {
14039 /* Internal error -- modules must have a dict! */
14040 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
14041 PyModule_GetName(m
));
14044 if (PyDict_SetItemString(dict
, name
, o
))
14051 static swig_type_info
**
14052 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
14053 static PyMethodDef swig_empty_runtime_method_table
[] = {
14055 NULL
, NULL
, 0, NULL
14059 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
14060 swig_empty_runtime_method_table
);
14061 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
14062 if (pointer
&& module) {
14063 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
14065 return type_list_handle
;
14068 static swig_type_info
**
14069 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
14070 swig_type_info
**type_pointer
;
14072 /* first check if module already created */
14073 type_pointer
= SWIG_Python_GetTypeListHandle();
14074 if (type_pointer
) {
14075 return type_pointer
;
14077 /* create a new module and variable */
14078 return SWIG_Python_SetTypeListHandle(type_list_handle
);
14086 /* -----------------------------------------------------------------------------*
14087 * Partial Init method
14088 * -----------------------------------------------------------------------------*/
14090 #ifdef SWIG_LINK_RUNTIME
14094 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
14100 SWIGEXPORT(void) SWIG_init(void) {
14101 static PyObject
*SWIG_globals
= 0;
14102 static int typeinit
= 0;
14105 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
14107 /* Fix SwigMethods to carry the callback ptrs when needed */
14108 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
14110 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
14111 d
= PyModule_GetDict(m
);
14114 #ifdef SWIG_LINK_RUNTIME
14115 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
14117 # ifndef SWIG_STATIC_RUNTIME
14118 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
14121 for (i
= 0; swig_types_initial
[i
]; i
++) {
14122 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
14126 SWIG_InstallConstants(d
,swig_const_table
);
14128 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
14129 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
14130 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
14131 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
14133 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT
)));
14136 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER
)));
14139 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT
)));
14142 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM
)));
14145 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP
)));
14148 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND
)));
14151 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND
)));
14154 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS
)));
14157 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT
)));
14160 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT
)));
14163 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT
)));
14166 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP
)));
14169 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM
)));
14172 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL
)));
14175 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL
)));
14178 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL
)));
14181 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR
)));
14184 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP
)));
14187 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER
)));
14190 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1
)));
14193 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2
)));
14196 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3
)));
14199 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4
)));
14202 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5
)));
14205 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6
)));
14208 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7
)));
14211 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER
)));
14214 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO
)));
14217 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION
)));
14220 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE
)));
14223 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN
)));
14226 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK
)));
14229 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT
)));
14232 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE
)));
14235 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE
)));
14238 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER
)));
14241 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT
)));
14244 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN
)));
14247 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING
)));
14250 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT
)));
14253 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE
)));
14256 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER
)));
14259 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD
)));
14262 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN
)));
14265 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL
)));
14268 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR
)));
14271 PyDict_SetItemString(d
,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR
)));
14274 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS
)));
14277 PyDict_SetItemString(d
,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX
)));
14280 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH
)));
14283 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS
)));
14286 PyDict_SetItemString(d
,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES
)));
14289 PyDict_SetItemString(d
,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT
)));
14292 PyDict_SetItemString(d
,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE
)));
14295 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
14296 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
14297 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
14298 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");