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
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_bool swig_types[0]
1435 #define SWIGTYPE_p_char swig_types[1]
1436 #define SWIGTYPE_p_form_ops_t swig_types[2]
1437 #define SWIGTYPE_p_int swig_types[3]
1438 #define SWIGTYPE_p_unsigned_char swig_types[4]
1439 #define SWIGTYPE_p_unsigned_int swig_types[5]
1440 #define SWIGTYPE_p_unsigned_long swig_types[6]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[7]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451 #define SWIGTYPE_p_wxColour swig_types[17]
1452 #define SWIGTYPE_p_wxColourData swig_types[18]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455 #define SWIGTYPE_p_wxConfigBase swig_types[21]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
1457 #define SWIGTYPE_p_wxControl swig_types[23]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
1459 #define SWIGTYPE_p_wxCursor swig_types[25]
1460 #define SWIGTYPE_p_wxDC swig_types[26]
1461 #define SWIGTYPE_p_wxDateEvent swig_types[27]
1462 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28]
1463 #define SWIGTYPE_p_wxDialog swig_types[29]
1464 #define SWIGTYPE_p_wxDirDialog swig_types[30]
1465 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1466 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1467 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
1468 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
1469 #define SWIGTYPE_p_wxEvent swig_types[35]
1470 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
1471 #define SWIGTYPE_p_wxFSFile swig_types[37]
1472 #define SWIGTYPE_p_wxFileDialog swig_types[38]
1473 #define SWIGTYPE_p_wxFileSystem swig_types[39]
1474 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
1475 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
1476 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
1477 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
1478 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
1479 #define SWIGTYPE_p_wxFont swig_types[45]
1480 #define SWIGTYPE_p_wxFontData swig_types[46]
1481 #define SWIGTYPE_p_wxFontDialog swig_types[47]
1482 #define SWIGTYPE_p_wxFrame swig_types[48]
1483 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
1484 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
1485 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
1486 #define SWIGTYPE_p_wxGridSizer swig_types[52]
1487 #define SWIGTYPE_p_wxHelpControllerBase swig_types[53]
1488 #define SWIGTYPE_p_wxHelpSearchMode swig_types[54]
1489 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55]
1490 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[56]
1491 #define SWIGTYPE_p_wxHtmlCell swig_types[57]
1492 #define SWIGTYPE_p_wxHtmlColourCell swig_types[58]
1493 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[59]
1494 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60]
1495 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61]
1496 #define SWIGTYPE_p_wxHtmlFilter swig_types[62]
1497 #define SWIGTYPE_p_wxHtmlFontCell swig_types[63]
1498 #define SWIGTYPE_p_wxHtmlHelpController swig_types[64]
1499 #define SWIGTYPE_p_wxHtmlHelpData swig_types[65]
1500 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66]
1501 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67]
1502 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68]
1503 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69]
1504 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70]
1505 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[71]
1506 #define SWIGTYPE_p_wxHtmlParser swig_types[72]
1507 #define SWIGTYPE_p_wxHtmlPrintout swig_types[73]
1508 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74]
1509 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[75]
1510 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76]
1511 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77]
1512 #define SWIGTYPE_p_wxHtmlSelection swig_types[78]
1513 #define SWIGTYPE_p_wxHtmlTag swig_types[79]
1514 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[80]
1515 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81]
1516 #define SWIGTYPE_p_wxHtmlWinParser swig_types[82]
1517 #define SWIGTYPE_p_wxHtmlWindow swig_types[83]
1518 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84]
1519 #define SWIGTYPE_p_wxHtmlWordCell swig_types[85]
1520 #define SWIGTYPE_p_wxICOHandler swig_types[86]
1521 #define SWIGTYPE_p_wxIconizeEvent swig_types[87]
1522 #define SWIGTYPE_p_wxIdleEvent swig_types[88]
1523 #define SWIGTYPE_p_wxImage swig_types[89]
1524 #define SWIGTYPE_p_wxImageHandler swig_types[90]
1525 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91]
1526 #define SWIGTYPE_p_wxInitDialogEvent swig_types[92]
1527 #define SWIGTYPE_p_wxJPEGHandler swig_types[93]
1528 #define SWIGTYPE_p_wxKeyEvent swig_types[94]
1529 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95]
1530 #define SWIGTYPE_p_wxLayoutConstraints swig_types[96]
1531 #define SWIGTYPE_p_wxMDIChildFrame swig_types[97]
1532 #define SWIGTYPE_p_wxMDIClientWindow swig_types[98]
1533 #define SWIGTYPE_p_wxMDIParentFrame swig_types[99]
1534 #define SWIGTYPE_p_wxMaximizeEvent swig_types[100]
1535 #define SWIGTYPE_p_wxMenu swig_types[101]
1536 #define SWIGTYPE_p_wxMenuBar swig_types[102]
1537 #define SWIGTYPE_p_wxMenuEvent swig_types[103]
1538 #define SWIGTYPE_p_wxMenuItem swig_types[104]
1539 #define SWIGTYPE_p_wxMessageDialog swig_types[105]
1540 #define SWIGTYPE_p_wxMiniFrame swig_types[106]
1541 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107]
1542 #define SWIGTYPE_p_wxMouseEvent swig_types[108]
1543 #define SWIGTYPE_p_wxMoveEvent swig_types[109]
1544 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110]
1545 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111]
1546 #define SWIGTYPE_p_wxNcPaintEvent swig_types[112]
1547 #define SWIGTYPE_p_wxNotifyEvent swig_types[113]
1548 #define SWIGTYPE_p_wxObject swig_types[114]
1549 #define SWIGTYPE_p_wxPCXHandler swig_types[115]
1550 #define SWIGTYPE_p_wxPNGHandler swig_types[116]
1551 #define SWIGTYPE_p_wxPNMHandler swig_types[117]
1552 #define SWIGTYPE_p_wxPageSetupDialog swig_types[118]
1553 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[119]
1554 #define SWIGTYPE_p_wxPaintEvent swig_types[120]
1555 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121]
1556 #define SWIGTYPE_p_wxPanel swig_types[122]
1557 #define SWIGTYPE_p_wxPaperSize swig_types[123]
1558 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124]
1559 #define SWIGTYPE_p_wxPoint swig_types[125]
1560 #define SWIGTYPE_p_wxPopupWindow swig_types[126]
1561 #define SWIGTYPE_p_wxPreviewCanvas swig_types[127]
1562 #define SWIGTYPE_p_wxPreviewControlBar swig_types[128]
1563 #define SWIGTYPE_p_wxPreviewFrame swig_types[129]
1564 #define SWIGTYPE_p_wxPrintData swig_types[130]
1565 #define SWIGTYPE_p_wxPrintDialog swig_types[131]
1566 #define SWIGTYPE_p_wxPrintDialogData swig_types[132]
1567 #define SWIGTYPE_p_wxPrintPreview swig_types[133]
1568 #define SWIGTYPE_p_wxPrinter swig_types[134]
1569 #define SWIGTYPE_p_wxProgressDialog swig_types[135]
1570 #define SWIGTYPE_p_wxPyApp swig_types[136]
1571 #define SWIGTYPE_p_wxPyCommandEvent swig_types[137]
1572 #define SWIGTYPE_p_wxPyEvent swig_types[138]
1573 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[139]
1574 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[140]
1575 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141]
1576 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142]
1577 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[143]
1578 #define SWIGTYPE_p_wxPyImageHandler swig_types[144]
1579 #define SWIGTYPE_p_wxPyPanel swig_types[145]
1580 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146]
1581 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147]
1582 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[148]
1583 #define SWIGTYPE_p_wxPyPrintPreview swig_types[149]
1584 #define SWIGTYPE_p_wxPyPrintout swig_types[150]
1585 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[151]
1586 #define SWIGTYPE_p_wxPySizer swig_types[152]
1587 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153]
1588 #define SWIGTYPE_p_wxPyVListBox swig_types[154]
1589 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155]
1590 #define SWIGTYPE_p_wxPyValidator swig_types[156]
1591 #define SWIGTYPE_p_wxPyWindow swig_types[157]
1592 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158]
1593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159]
1594 #define SWIGTYPE_p_wxSashEvent swig_types[160]
1595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[161]
1596 #define SWIGTYPE_p_wxSashWindow swig_types[162]
1597 #define SWIGTYPE_p_wxScrollEvent swig_types[163]
1598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[164]
1599 #define SWIGTYPE_p_wxScrolledWindow swig_types[165]
1600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[166]
1601 #define SWIGTYPE_p_wxShowEvent swig_types[167]
1602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168]
1603 #define SWIGTYPE_p_wxSize swig_types[169]
1604 #define SWIGTYPE_p_wxSizeEvent swig_types[170]
1605 #define SWIGTYPE_p_wxSizer swig_types[171]
1606 #define SWIGTYPE_p_wxSizerItem swig_types[172]
1607 #define SWIGTYPE_p_wxSplashScreen swig_types[173]
1608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[174]
1609 #define SWIGTYPE_p_wxSplitterEvent swig_types[175]
1610 #define SWIGTYPE_p_wxSplitterWindow swig_types[176]
1611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[177]
1612 #define SWIGTYPE_p_wxStatusBar swig_types[178]
1613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179]
1614 #define SWIGTYPE_p_wxString swig_types[180]
1615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181]
1616 #define SWIGTYPE_p_wxTIFFHandler swig_types[182]
1617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183]
1618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[184]
1619 #define SWIGTYPE_p_wxTipWindow swig_types[185]
1620 #define SWIGTYPE_p_wxTopLevelWindow swig_types[186]
1621 #define SWIGTYPE_p_wxTreeCtrl swig_types[187]
1622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[188]
1623 #define SWIGTYPE_p_wxValidator swig_types[189]
1624 #define SWIGTYPE_p_wxVisualAttributes swig_types[190]
1625 #define SWIGTYPE_p_wxWindow swig_types[191]
1626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[192]
1627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193]
1628 #define SWIGTYPE_p_wxXPMHandler swig_types[194]
1629 #define SWIGTYPE_ptrdiff_t swig_types[195]
1630 #define SWIGTYPE_std__ptrdiff_t swig_types[196]
1631 #define SWIGTYPE_unsigned_int swig_types[197]
1632 static swig_type_info
*swig_types
[199];
1633 static swig_module_info swig_module
= {swig_types
, 198, 0, 0, 0, 0};
1634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1637 /* -------- TYPES TABLE (END) -------- */
1640 /*-----------------------------------------------
1641 @(target):= _html.so
1642 ------------------------------------------------*/
1643 #define SWIG_init init_html
1645 #define SWIG_name "_html"
1647 #include "wx/wxPython/wxPython.h"
1648 #include "wx/wxPython/pyclasses.h"
1649 #include "wx/wxPython/pyistream.h"
1650 #include "wx/wxPython/printfw.h"
1652 #include <wx/html/htmlwin.h>
1653 #include <wx/html/htmprint.h>
1654 #include <wx/html/helpctrl.h>
1655 #include <wx/html/helpwnd.h>
1656 #include <wx/html/helpfrm.h>
1657 #include <wx/html/helpdlg.h>
1660 static const wxString
wxPyEmptyString(wxEmptyString
);
1661 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
1662 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
1663 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
1665 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1666 #define SWIG_From_int PyInt_FromLong
1674 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1677 if (value
< min_value
) {
1679 PyErr_Format(PyExc_OverflowError
,
1680 "value %ld is less than '%s' minimum %ld",
1681 value
, errmsg
, min_value
);
1684 } else if (value
> max_value
) {
1686 PyErr_Format(PyExc_OverflowError
,
1687 "value %ld is greater than '%s' maximum %ld",
1688 value
, errmsg
, max_value
);
1697 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1699 if (PyNumber_Check(obj
)) {
1700 if (val
) *val
= PyInt_AsLong(obj
);
1704 SWIG_Python_TypeError("number", obj
);
1710 #if INT_MAX != LONG_MAX
1712 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1714 const char* errmsg
= val
? "int" : (char*)0;
1716 if (SWIG_AsVal_long(obj
, &v
)) {
1717 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1718 if (val
) *val
= static_cast<int >(v
);
1727 SWIG_type_error(errmsg
, obj
);
1732 SWIGINTERNINLINE
int
1733 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1735 return SWIG_AsVal_long(obj
,(long*)val
);
1740 SWIGINTERNINLINE
int
1741 SWIG_As_int(PyObject
* obj
)
1744 if (!SWIG_AsVal_int(obj
, &v
)) {
1746 this is needed to make valgrind/purify happier.
1748 memset((void*)&v
, 0, sizeof(int));
1754 SWIGINTERNINLINE
int
1755 SWIG_Check_int(PyObject
* obj
)
1757 return SWIG_AsVal_int(obj
, (int*)0);
1760 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
1762 if (sizes
) temp
= int_LIST_helper(sizes
);
1763 self
->SetFonts(normal_face
, fixed_face
, temp
);
1768 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
1769 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
1771 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
1773 wxHtmlParser
* GetParser() { return m_Parser
; }
1774 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
1776 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
1777 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
1782 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
1784 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
1785 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
1788 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
1789 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
1791 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
1793 wxHtmlWinParser
* GetParser() { return m_WParser
; }
1794 void ParseInner(const wxHtmlTag
& tag
)
1795 { wxHtmlWinTagHandler::ParseInner(tag
); }
1797 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
1798 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
1803 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
1805 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
1806 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
1810 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
1812 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
1813 m_tagHandlerClass
= thc
;
1814 Py_INCREF(m_tagHandlerClass
);
1815 RegisterModule(this);
1816 wxHtmlWinParser::AddModule(this);
1820 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1821 Py_DECREF(m_tagHandlerClass
);
1822 m_tagHandlerClass
= NULL
;
1823 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
1824 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
1827 wxPyEndBlockThreads(blocked
);
1830 void FillHandlersTable(wxHtmlWinParser
*parser
) {
1831 // Wave our magic wand... (if it works it's a miracle! ;-)
1833 // First, make a new instance of the tag handler
1834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1835 PyObject
* arg
= PyTuple_New(0);
1836 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
1839 // now figure out where it's C++ object is...
1840 wxPyHtmlWinTagHandler
* thPtr
;
1841 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
1842 wxPyEndBlockThreads(blocked
);
1845 wxPyEndBlockThreads(blocked
);
1848 parser
->AddTagHandler(thPtr
);
1851 m_objArray
.Add(obj
);
1855 PyObject
* m_tagHandlerClass
;
1856 wxArrayPtrVoid m_objArray
;
1861 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
1862 // Dynamically create a new wxModule. Refcounts tagHandlerClass
1863 // and adds itself to the wxModules list and to the wxHtmlWinParser.
1864 new wxPyHtmlTagsModule(tagHandlerClass
);
1868 SWIGINTERNINLINE PyObject
*
1869 SWIG_From_bool(bool value
)
1871 PyObject
*obj
= value
? Py_True
: Py_False
;
1877 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1883 } else if (result
== Py_None
) {
1887 if (!PyTuple_Check(result
)) {
1889 result
= PyTuple_New(1);
1890 PyTuple_SET_ITEM(result
, 0, o2
);
1892 o3
= PyTuple_New(1);
1893 PyTuple_SetItem(o3
, 0, obj
);
1895 result
= PySequence_Concat(o2
, o3
);
1905 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1907 if (obj
== Py_True
) {
1908 if (val
) *val
= true;
1911 if (obj
== Py_False
) {
1912 if (val
) *val
= false;
1916 if (SWIG_AsVal_int(obj
, &res
)) {
1917 if (val
) *val
= res
? true : false;
1923 SWIG_type_error("bool", obj
);
1929 SWIGINTERNINLINE
bool
1930 SWIG_As_bool(PyObject
* obj
)
1933 if (!SWIG_AsVal_bool(obj
, &v
)) {
1935 this is needed to make valgrind/purify happier.
1937 memset((void*)&v
, 0, sizeof(bool));
1943 SWIGINTERNINLINE
int
1944 SWIG_Check_bool(PyObject
* obj
)
1946 return SWIG_AsVal_bool(obj
, (bool*)0);
1950 SWIGINTERNINLINE
int
1951 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1952 unsigned long max_value
,
1955 if (value
> max_value
) {
1957 PyErr_Format(PyExc_OverflowError
,
1958 "value %lu is greater than '%s' minimum %lu",
1959 value
, errmsg
, max_value
);
1968 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1971 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1972 SWIG_Python_TypeError("unsigned number", obj
);
1975 *val
= (unsigned long)v
;
1980 #if UINT_MAX != ULONG_MAX
1982 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1984 const char* errmsg
= val
? "unsigned int" : (char*)0;
1986 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1987 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1988 if (val
) *val
= static_cast<unsigned int >(v
);
1995 SWIG_type_error(errmsg
, obj
);
2000 SWIGINTERNINLINE
unsigned int
2001 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2003 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2008 SWIGINTERNINLINE
unsigned int
2009 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2012 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2014 this is needed to make valgrind/purify happier.
2016 memset((void*)&v
, 0, sizeof(unsigned int));
2022 SWIGINTERNINLINE
int
2023 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2025 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2029 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2030 #define SWIG_From_long PyInt_FromLong
2034 SWIGINTERNINLINE PyObject
*
2035 SWIG_From_unsigned_SS_long(unsigned long value
)
2037 return (value
> LONG_MAX
) ?
2038 PyLong_FromUnsignedLong(value
)
2039 : PyInt_FromLong(static_cast<long >(value
));
2043 #if UINT_MAX < LONG_MAX
2044 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2045 #define SWIG_From_unsigned_SS_int SWIG_From_long
2048 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
2049 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2053 // here's the C++ version
2054 class wxPyHtmlFilter
: public wxHtmlFilter
{
2055 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
2057 wxPyHtmlFilter() : wxHtmlFilter() {}
2059 // returns True if this filter is able to open&read given file
2060 virtual bool CanRead(const wxFSFile
& file
) const {
2063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2064 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
2065 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
2066 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
2069 wxPyEndBlockThreads(blocked
);
2074 // Reads given file and returns HTML document.
2075 // Returns empty string if opening failed
2076 virtual wxString
ReadFile(const wxFSFile
& file
) const {
2079 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2080 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
2081 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
2083 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
2086 rval
= Py2wxString(ro
);
2090 wxPyEndBlockThreads(blocked
);
2097 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
2100 class wxPyHtmlWindow
: public wxHtmlWindow
{
2101 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
2103 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
2104 const wxPoint
& pos
= wxDefaultPosition
,
2105 const wxSize
& size
= wxDefaultSize
,
2106 long style
= wxHW_DEFAULT_STYLE
,
2107 const wxString
& name
= wxPyHtmlWindowNameStr
)
2108 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
2109 wxPyHtmlWindow() : wxHtmlWindow() {};
2111 bool ScrollToAnchor(const wxString
& anchor
) {
2112 return wxHtmlWindow::ScrollToAnchor(anchor
);
2115 bool HasAnchor(const wxString
& anchor
) {
2116 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
2120 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
2122 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
2123 const wxString
& url
,
2124 wxString
*redirect
) const;
2126 DEC_PYCALLBACK__STRING(OnSetTitle
);
2127 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
2128 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
2132 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
2133 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
2134 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
2135 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
2138 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
2140 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2141 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
2142 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
2143 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
2146 wxPyEndBlockThreads(blocked
);
2148 wxHtmlWindow::OnLinkClicked(link
);
2152 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
2153 const wxString
& url
,
2154 wxString
*redirect
) const {
2156 wxHtmlOpeningStatus rval
;
2157 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2158 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
2160 PyObject
* s
= wx2PyString(url
);
2161 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
2163 if (PyString_Check(ro
)
2164 #if PYTHON_API_VERSION >= 1009
2165 || PyUnicode_Check(ro
)
2168 *redirect
= Py2wxString(ro
);
2169 rval
= wxHTML_REDIRECT
;
2172 PyObject
* num
= PyNumber_Int(ro
);
2173 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
2178 wxPyEndBlockThreads(blocked
);
2180 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
2186 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2188 if (sizes
) temp
= int_LIST_helper(sizes
);
2189 self
->SetFonts(normal_face
, fixed_face
, temp
);
2193 static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2195 if (sizes
) temp
= int_LIST_helper(sizes
);
2196 self
->SetFonts(normal_face
, fixed_face
, temp
);
2200 static void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2202 if (sizes
) temp
= int_LIST_helper(sizes
);
2203 self
->SetFonts(normal_face
, fixed_face
, temp
);
2210 SWIG_CheckDoubleInRange(double value
, double min_value
,
2211 double max_value
, const char* errmsg
)
2213 if (value
< min_value
) {
2215 PyErr_Format(PyExc_OverflowError
,
2216 "value %g is less than %s minimum %g",
2217 value
, errmsg
, min_value
);
2220 } else if (value
> max_value
) {
2222 PyErr_Format(PyExc_OverflowError
,
2223 "value %g is greater than %s maximum %g",
2224 value
, errmsg
, max_value
);
2233 SWIG_AsVal_double(PyObject
*obj
, double* val
)
2235 if (PyNumber_Check(obj
)) {
2236 if (val
) *val
= PyFloat_AsDouble(obj
);
2240 SWIG_Python_TypeError("number", obj
);
2247 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2249 const char* errmsg
= val
? "float" : (char*)0;
2251 if (SWIG_AsVal_double(obj
, &v
)) {
2252 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2253 if (val
) *val
= static_cast<float >(v
);
2262 SWIG_type_error(errmsg
, obj
);
2268 SWIGINTERNINLINE
float
2269 SWIG_As_float(PyObject
* obj
)
2272 if (!SWIG_AsVal_float(obj
, &v
)) {
2274 this is needed to make valgrind/purify happier.
2276 memset((void*)&v
, 0, sizeof(float));
2282 SWIGINTERNINLINE
int
2283 SWIG_Check_float(PyObject
* obj
)
2285 return SWIG_AsVal_float(obj
, (float*)0);
2288 static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2290 if (sizes
) temp
= int_LIST_helper(sizes
);
2291 self
->SetFonts(normal_face
, fixed_face
, temp
);
2296 SWIGINTERNINLINE
long
2297 SWIG_As_long(PyObject
* obj
)
2300 if (!SWIG_AsVal_long(obj
, &v
)) {
2302 this is needed to make valgrind/purify happier.
2304 memset((void*)&v
, 0, sizeof(long));
2310 SWIGINTERNINLINE
int
2311 SWIG_Check_long(PyObject
* obj
)
2313 return SWIG_AsVal_long(obj
, (long*)0);
2319 static int _wrap_HtmlWindowNameStr_set(PyObject
*) {
2320 PyErr_SetString(PyExc_TypeError
,"Variable HtmlWindowNameStr is read-only.");
2325 static PyObject
*_wrap_HtmlWindowNameStr_get(void) {
2326 PyObject
*pyobj
= NULL
;
2330 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2332 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
2339 static int _wrap_HtmlPrintoutTitleStr_set(PyObject
*) {
2340 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintoutTitleStr is read-only.");
2345 static PyObject
*_wrap_HtmlPrintoutTitleStr_get(void) {
2346 PyObject
*pyobj
= NULL
;
2350 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2352 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
2359 static int _wrap_HtmlPrintingTitleStr_set(PyObject
*) {
2360 PyErr_SetString(PyExc_TypeError
,"Variable HtmlPrintingTitleStr is read-only.");
2365 static PyObject
*_wrap_HtmlPrintingTitleStr_get(void) {
2366 PyObject
*pyobj
= NULL
;
2370 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2372 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
2379 static PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
= NULL
;
2381 wxString
*arg1
= 0 ;
2382 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2383 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2384 wxHtmlLinkInfo
*result
;
2385 bool temp1
= false ;
2386 bool temp2
= false ;
2387 PyObject
* obj0
= 0 ;
2388 PyObject
* obj1
= 0 ;
2390 (char *) "href",(char *) "target", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2395 arg1
= wxString_in_helper(obj0
);
2396 if (arg1
== NULL
) SWIG_fail
;
2401 arg2
= wxString_in_helper(obj1
);
2402 if (arg2
== NULL
) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
2436 static PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
= NULL
;
2438 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2440 PyObject
* obj0
= 0 ;
2442 (char *) "self", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHref",kwnames
,&obj0
)) goto fail
;
2446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2447 if (SWIG_arg_fail(1)) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 result
= (arg1
)->GetHref();
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2468 static PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
= NULL
;
2470 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "self", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetTarget",kwnames
,&obj0
)) goto fail
;
2478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2479 if (SWIG_arg_fail(1)) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 result
= (arg1
)->GetTarget();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2500 static PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
= NULL
;
2502 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2503 wxMouseEvent
*result
;
2504 PyObject
* obj0
= 0 ;
2506 (char *) "self", NULL
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetEvent",kwnames
,&obj0
)) goto fail
;
2510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2511 if (SWIG_arg_fail(1)) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2520 resultobj
= wxPyMake_wxObject(result
, (bool)0);
2528 static PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
= NULL
;
2530 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2534 (char *) "self", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames
,&obj0
)) goto fail
;
2538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2539 if (SWIG_arg_fail(1)) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 0);
2554 static PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
= NULL
;
2556 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2557 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2559 PyObject
* obj1
= 0 ;
2561 (char *) "self",(char *) "e", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
2565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2566 if (SWIG_arg_fail(1)) SWIG_fail
;
2567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
2568 if (SWIG_arg_fail(2)) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
= NULL
;
2585 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
2586 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2588 PyObject
* obj1
= 0 ;
2590 (char *) "self",(char *) "e", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) goto fail
;
2594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
2595 if (SWIG_arg_fail(1)) SWIG_fail
;
2596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
2597 if (SWIG_arg_fail(2)) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2605 Py_INCREF(Py_None
); resultobj
= Py_None
;
2612 static PyObject
* HtmlLinkInfo_swigregister(PyObject
*, PyObject
*args
) {
2614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2615 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo
, obj
);
2617 return Py_BuildValue((char *)"");
2619 static PyObject
*_wrap_HtmlTag_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
= NULL
;
2621 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetName",kwnames
,&obj0
)) goto fail
;
2629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2630 if (SWIG_arg_fail(1)) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= (arg1
)->GetName();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2651 static PyObject
*_wrap_HtmlTag_HasParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
= NULL
;
2653 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2654 wxString
*arg2
= 0 ;
2656 bool temp2
= false ;
2657 PyObject
* obj0
= 0 ;
2658 PyObject
* obj1
= 0 ;
2660 (char *) "self",(char *) "par", NULL
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) goto fail
;
2664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2665 if (SWIG_arg_fail(1)) SWIG_fail
;
2667 arg2
= wxString_in_helper(obj1
);
2668 if (arg2
== NULL
) SWIG_fail
;
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2695 static PyObject
*_wrap_HtmlTag_GetParam(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
*resultobj
= NULL
;
2697 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2698 wxString
*arg2
= 0 ;
2699 int arg3
= (int) false ;
2701 bool temp2
= false ;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2704 PyObject
* obj2
= 0 ;
2706 (char *) "self",(char *) "par",(char *) "with_commas", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2711 if (SWIG_arg_fail(1)) SWIG_fail
;
2713 arg2
= wxString_in_helper(obj1
);
2714 if (arg2
== NULL
) SWIG_fail
;
2719 arg3
= static_cast<int >(SWIG_As_int(obj2
));
2720 if (SWIG_arg_fail(3)) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2751 static PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
= NULL
;
2753 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2755 PyObject
* obj0
= 0 ;
2757 (char *) "self", NULL
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetAllParams",kwnames
,&obj0
)) goto fail
;
2761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2762 if (SWIG_arg_fail(1)) SWIG_fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 result
= (arg1
)->GetAllParams();
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2783 static PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
= NULL
;
2785 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_HasEnding",kwnames
,&obj0
)) goto fail
;
2793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (bool)(arg1
)->HasEnding();
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2811 static PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
*resultobj
= NULL
;
2813 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2815 PyObject
* obj0
= 0 ;
2817 (char *) "self", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetBeginPos",kwnames
,&obj0
)) goto fail
;
2821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2822 if (SWIG_arg_fail(1)) SWIG_fail
;
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 result
= (int)(arg1
)->GetBeginPos();
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2831 resultobj
= SWIG_From_int(static_cast<int >(result
));
2839 static PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
= NULL
;
2841 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "self", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos1",kwnames
,&obj0
)) goto fail
;
2849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2850 if (SWIG_arg_fail(1)) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (int)(arg1
)->GetEndPos1();
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2859 resultobj
= SWIG_From_int(static_cast<int >(result
));
2867 static PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
= NULL
;
2869 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
2871 PyObject
* obj0
= 0 ;
2873 (char *) "self", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTag_GetEndPos2",kwnames
,&obj0
)) goto fail
;
2877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 result
= (int)(arg1
)->GetEndPos2();
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2887 resultobj
= SWIG_From_int(static_cast<int >(result
));
2895 static PyObject
* HtmlTag_swigregister(PyObject
*, PyObject
*args
) {
2897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2898 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag
, obj
);
2900 return Py_BuildValue((char *)"");
2902 static PyObject
*_wrap_HtmlParser_SetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
= NULL
;
2904 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2905 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
2906 PyObject
* obj0
= 0 ;
2907 PyObject
* obj1
= 0 ;
2909 (char *) "self",(char *) "fs", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) goto fail
;
2913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2914 if (SWIG_arg_fail(1)) SWIG_fail
;
2915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
2916 if (SWIG_arg_fail(2)) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 (arg1
)->SetFS(arg2
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 Py_INCREF(Py_None
); resultobj
= Py_None
;
2931 static PyObject
*_wrap_HtmlParser_GetFS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
= NULL
;
2933 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2934 wxFileSystem
*result
;
2935 PyObject
* obj0
= 0 ;
2937 (char *) "self", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetFS",kwnames
,&obj0
)) goto fail
;
2941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2942 if (SWIG_arg_fail(1)) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 result
= (wxFileSystem
*)(arg1
)->GetFS();
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2951 resultobj
= wxPyMake_wxObject(result
, (bool)0);
2959 static PyObject
*_wrap_HtmlParser_Parse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
= NULL
;
2961 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
2962 wxString
*arg2
= 0 ;
2964 bool temp2
= false ;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2968 (char *) "self",(char *) "source", NULL
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) goto fail
;
2972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
2973 if (SWIG_arg_fail(1)) SWIG_fail
;
2975 arg2
= wxString_in_helper(obj1
);
2976 if (arg2
== NULL
) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2987 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3003 static PyObject
*_wrap_HtmlParser_InitParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
= NULL
;
3005 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3006 wxString
*arg2
= 0 ;
3007 bool temp2
= false ;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3011 (char *) "self",(char *) "source", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) goto fail
;
3015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3016 if (SWIG_arg_fail(1)) SWIG_fail
;
3018 arg2
= wxString_in_helper(obj1
);
3019 if (arg2
== NULL
) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 (arg1
)->InitParser((wxString
const &)*arg2
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 static PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
= NULL
;
3046 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_DoneParser",kwnames
,&obj0
)) goto fail
;
3053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 (arg1
)->DoneParser();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3062 Py_INCREF(Py_None
); resultobj
= Py_None
;
3069 static PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
= NULL
;
3071 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 PyObject
* obj2
= 0 ;
3078 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3083 if (SWIG_arg_fail(1)) SWIG_fail
;
3085 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3086 if (SWIG_arg_fail(2)) SWIG_fail
;
3089 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3090 if (SWIG_arg_fail(3)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 (arg1
)->DoParsing(arg2
,arg3
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 Py_INCREF(Py_None
); resultobj
= Py_None
;
3106 static PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
= NULL
;
3108 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3109 PyObject
* obj0
= 0 ;
3111 (char *) "self", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_StopParsing",kwnames
,&obj0
)) goto fail
;
3115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3116 if (SWIG_arg_fail(1)) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 (arg1
)->StopParsing();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3124 Py_INCREF(Py_None
); resultobj
= Py_None
;
3131 static PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
= NULL
;
3133 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3134 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "handler", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3143 if (SWIG_arg_fail(1)) SWIG_fail
;
3144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
3145 if (SWIG_arg_fail(2)) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 (arg1
)->AddTagHandler(arg2
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_HtmlParser_GetSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
= NULL
;
3162 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3166 (char *) "self", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_GetSource",kwnames
,&obj0
)) goto fail
;
3170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3171 if (SWIG_arg_fail(1)) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= (wxString
*)(arg1
)->GetSource();
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3183 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3192 static PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
= NULL
;
3194 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3195 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3198 PyObject
* obj1
= 0 ;
3199 PyObject
* obj2
= 0 ;
3201 (char *) "self",(char *) "handler",(char *) "tags", NULL
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3206 if (SWIG_arg_fail(1)) SWIG_fail
;
3207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
3208 if (SWIG_arg_fail(2)) SWIG_fail
;
3210 wxString
* sptr
= wxString_in_helper(obj2
);
3211 if (sptr
== NULL
) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 (arg1
)->PushTagHandler(arg2
,arg3
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
= NULL
;
3231 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlParser_PopTagHandler",kwnames
,&obj0
)) goto fail
;
3238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
3239 if (SWIG_arg_fail(1)) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 (arg1
)->PopTagHandler();
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
* HtmlParser_swigregister(PyObject
*, PyObject
*args
) {
3256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3257 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser
, obj
);
3259 return Py_BuildValue((char *)"");
3261 static PyObject
*_wrap_new_HtmlWinParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
= NULL
;
3263 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
3264 wxHtmlWinParser
*result
;
3265 PyObject
* obj0
= 0 ;
3267 (char *) "wnd", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) goto fail
;
3272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
3273 if (SWIG_arg_fail(1)) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 1);
3289 static PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
= NULL
;
3291 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3292 wxDC
*arg2
= (wxDC
*) 0 ;
3293 PyObject
* obj0
= 0 ;
3294 PyObject
* obj1
= 0 ;
3296 (char *) "self",(char *) "dc", NULL
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3301 if (SWIG_arg_fail(1)) SWIG_fail
;
3302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3303 if (SWIG_arg_fail(2)) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 (arg1
)->SetDC(arg2
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3318 static PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
= NULL
;
3320 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3324 (char *) "self", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetDC",kwnames
,&obj0
)) goto fail
;
3328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3329 if (SWIG_arg_fail(1)) SWIG_fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 result
= (wxDC
*)(arg1
)->GetDC();
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3338 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3346 static PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
= NULL
;
3348 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3350 PyObject
* obj0
= 0 ;
3352 (char *) "self", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharHeight",kwnames
,&obj0
)) goto fail
;
3356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3357 if (SWIG_arg_fail(1)) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (int)(arg1
)->GetCharHeight();
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 resultobj
= SWIG_From_int(static_cast<int >(result
));
3374 static PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
= NULL
;
3376 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3380 (char *) "self", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetCharWidth",kwnames
,&obj0
)) goto fail
;
3384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3385 if (SWIG_arg_fail(1)) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (int)(arg1
)->GetCharWidth();
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3394 resultobj
= SWIG_From_int(static_cast<int >(result
));
3402 static PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
= NULL
;
3404 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3405 wxPyHtmlWindow
*result
;
3406 PyObject
* obj0
= 0 ;
3408 (char *) "self", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetWindow",kwnames
,&obj0
)) goto fail
;
3412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3413 if (SWIG_arg_fail(1)) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3430 static PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
= NULL
;
3432 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3435 PyObject
*arg4
= (PyObject
*) NULL
;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3438 PyObject
* obj2
= 0 ;
3439 PyObject
* obj3
= 0 ;
3441 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 wxString
* sptr
= wxString_in_helper(obj1
);
3449 if (sptr
== NULL
) SWIG_fail
;
3454 wxString
* sptr
= wxString_in_helper(obj2
);
3455 if (sptr
== NULL
) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
= NULL
;
3478 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3479 int arg2
= (int) -1 ;
3480 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3482 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3483 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3484 bool temp3
= false ;
3485 bool temp4
= false ;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3488 PyObject
* obj2
= 0 ;
3489 PyObject
* obj3
= 0 ;
3491 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3496 if (SWIG_arg_fail(1)) SWIG_fail
;
3499 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3500 if (SWIG_arg_fail(2)) SWIG_fail
;
3505 arg3
= wxString_in_helper(obj2
);
3506 if (arg3
== NULL
) SWIG_fail
;
3512 arg4
= wxString_in_helper(obj3
);
3513 if (arg4
== NULL
) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 static PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
= NULL
;
3549 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3550 wxHtmlContainerCell
*result
;
3551 PyObject
* obj0
= 0 ;
3553 (char *) "self", NULL
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetContainer",kwnames
,&obj0
)) goto fail
;
3557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3558 if (SWIG_arg_fail(1)) SWIG_fail
;
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3573 static PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
= NULL
;
3575 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3576 wxHtmlContainerCell
*result
;
3577 PyObject
* obj0
= 0 ;
3579 (char *) "self", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_OpenContainer",kwnames
,&obj0
)) goto fail
;
3583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3584 if (SWIG_arg_fail(1)) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3599 static PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
= NULL
;
3601 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3602 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
3603 wxHtmlContainerCell
*result
;
3604 PyObject
* obj0
= 0 ;
3605 PyObject
* obj1
= 0 ;
3607 (char *) "self",(char *) "c", NULL
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) goto fail
;
3611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail
;
3613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
3614 if (SWIG_arg_fail(2)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3629 static PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
= NULL
;
3631 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3632 wxHtmlContainerCell
*result
;
3633 PyObject
* obj0
= 0 ;
3635 (char *) "self", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CloseContainer",kwnames
,&obj0
)) goto fail
;
3639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3640 if (SWIG_arg_fail(1)) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
3655 static PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
= NULL
;
3657 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3659 PyObject
* obj0
= 0 ;
3661 (char *) "self", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontSize",kwnames
,&obj0
)) goto fail
;
3665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (int)(arg1
)->GetFontSize();
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3675 resultobj
= SWIG_From_int(static_cast<int >(result
));
3683 static PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
= NULL
;
3685 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3690 (char *) "self",(char *) "s", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3695 if (SWIG_arg_fail(1)) SWIG_fail
;
3697 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3698 if (SWIG_arg_fail(2)) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->SetFontSize(arg2
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
= NULL
;
3716 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3720 (char *) "self", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontBold",kwnames
,&obj0
)) goto fail
;
3724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3725 if (SWIG_arg_fail(1)) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (int)(arg1
)->GetFontBold();
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= SWIG_From_int(static_cast<int >(result
));
3742 static PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
= NULL
;
3744 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3746 PyObject
* obj0
= 0 ;
3747 PyObject
* obj1
= 0 ;
3749 (char *) "self",(char *) "x", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) goto fail
;
3753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3754 if (SWIG_arg_fail(1)) SWIG_fail
;
3756 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3757 if (SWIG_arg_fail(2)) SWIG_fail
;
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 (arg1
)->SetFontBold(arg2
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 Py_INCREF(Py_None
); resultobj
= Py_None
;
3773 static PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
= NULL
;
3775 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3779 (char *) "self", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontItalic",kwnames
,&obj0
)) goto fail
;
3783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (int)(arg1
)->GetFontItalic();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= SWIG_From_int(static_cast<int >(result
));
3801 static PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
= NULL
;
3803 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3805 PyObject
* obj0
= 0 ;
3806 PyObject
* obj1
= 0 ;
3808 (char *) "self",(char *) "x", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) goto fail
;
3812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail
;
3815 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3816 if (SWIG_arg_fail(2)) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 (arg1
)->SetFontItalic(arg2
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 Py_INCREF(Py_None
); resultobj
= Py_None
;
3832 static PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
= NULL
;
3834 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3836 PyObject
* obj0
= 0 ;
3838 (char *) "self", NULL
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames
,&obj0
)) goto fail
;
3842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3843 if (SWIG_arg_fail(1)) SWIG_fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (int)(arg1
)->GetFontUnderlined();
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_From_int(static_cast<int >(result
));
3860 static PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
= NULL
;
3862 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3864 PyObject
* obj0
= 0 ;
3865 PyObject
* obj1
= 0 ;
3867 (char *) "self",(char *) "x", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
3871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3872 if (SWIG_arg_fail(1)) SWIG_fail
;
3874 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3875 if (SWIG_arg_fail(2)) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 (arg1
)->SetFontUnderlined(arg2
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 Py_INCREF(Py_None
); resultobj
= Py_None
;
3891 static PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
= NULL
;
3893 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3897 (char *) "self", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetFontFixed",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (int)(arg1
)->GetFontFixed();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_From_int(static_cast<int >(result
));
3919 static PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
= NULL
;
3921 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3924 PyObject
* obj1
= 0 ;
3926 (char *) "self",(char *) "x", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) goto fail
;
3930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3931 if (SWIG_arg_fail(1)) SWIG_fail
;
3933 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3934 if (SWIG_arg_fail(2)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 (arg1
)->SetFontFixed(arg2
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 Py_INCREF(Py_None
); resultobj
= Py_None
;
3950 static PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
= NULL
;
3952 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "self", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetAlign",kwnames
,&obj0
)) goto fail
;
3960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3961 if (SWIG_arg_fail(1)) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (int)(arg1
)->GetAlign();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_From_int(static_cast<int >(result
));
3978 static PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
= NULL
;
3980 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3983 PyObject
* obj1
= 0 ;
3985 (char *) "self",(char *) "a", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
3989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail
;
3992 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3993 if (SWIG_arg_fail(2)) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 (arg1
)->SetAlign(arg2
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 Py_INCREF(Py_None
); resultobj
= Py_None
;
4009 static PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
= NULL
;
4011 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4013 PyObject
* obj0
= 0 ;
4015 (char *) "self", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLinkColor",kwnames
,&obj0
)) goto fail
;
4019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (arg1
)->GetLinkColor();
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4029 wxColour
* resultptr
;
4030 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
4031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4039 static PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
= NULL
;
4041 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4042 wxColour
*arg2
= 0 ;
4044 PyObject
* obj0
= 0 ;
4045 PyObject
* obj1
= 0 ;
4047 (char *) "self",(char *) "clr", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) goto fail
;
4051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
4052 if (SWIG_arg_fail(1)) SWIG_fail
;
4055 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
= NULL
;
4073 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetActualColor",kwnames
,&obj0
)) goto fail
;
4081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
4082 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (arg1
)->GetActualColor();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4091 wxColour
* resultptr
;
4092 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
4093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4101 static PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
= NULL
;
4103 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4104 wxColour
*arg2
= 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "clr", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
4114 if (SWIG_arg_fail(1)) SWIG_fail
;
4117 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
= NULL
;
4135 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4136 wxString
*arg2
= 0 ;
4137 bool temp2
= false ;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4141 (char *) "self",(char *) "link", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4148 arg2
= wxString_in_helper(obj1
);
4149 if (arg2
== NULL
) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 (arg1
)->SetLink((wxString
const &)*arg2
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
= NULL
;
4176 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4180 (char *) "self", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames
,&obj0
)) goto fail
;
4184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
4200 static PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
= NULL
;
4202 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4203 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
4204 PyObject
* obj0
= 0 ;
4206 (char *) "self", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_GetLink",kwnames
,&obj0
)) goto fail
;
4210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_EXCEPTION
| 0);
4211 if (SWIG_arg_fail(1)) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (arg1
)->GetLink();
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4220 wxHtmlLinkInfo
* resultptr
;
4221 resultptr
= new wxHtmlLinkInfo(static_cast<wxHtmlLinkInfo
& >(result
));
4222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxHtmlLinkInfo
, 1);
4230 static PyObject
* HtmlWinParser_swigregister(PyObject
*, PyObject
*args
) {
4232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4233 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser
, obj
);
4235 return Py_BuildValue((char *)"");
4237 static PyObject
*_wrap_new_HtmlTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= NULL
;
4239 wxPyHtmlTagHandler
*result
;
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlTagHandler",kwnames
)) goto fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, 1);
4259 static PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
= NULL
;
4261 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4262 PyObject
*arg2
= (PyObject
*) 0 ;
4263 PyObject
*arg3
= (PyObject
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4266 PyObject
* obj2
= 0 ;
4268 (char *) "self",(char *) "self",(char *) "_class", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4273 if (SWIG_arg_fail(1)) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 Py_INCREF(Py_None
); resultobj
= Py_None
;
4290 static PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
= NULL
;
4292 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4293 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj1
= 0 ;
4297 (char *) "self",(char *) "parser", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4302 if (SWIG_arg_fail(1)) SWIG_fail
;
4303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4304 if (SWIG_arg_fail(2)) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetParser(arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= NULL
;
4321 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4322 wxHtmlParser
*result
;
4323 PyObject
* obj0
= 0 ;
4325 (char *) "self", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4330 if (SWIG_arg_fail(1)) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (wxHtmlParser
*)(arg1
)->GetParser();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlParser
, 0);
4345 static PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= NULL
;
4347 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
4348 wxHtmlTag
*arg2
= 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4352 (char *) "self",(char *) "tag", NULL
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4357 if (SWIG_arg_fail(1)) SWIG_fail
;
4359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4360 if (SWIG_arg_fail(2)) SWIG_fail
;
4362 SWIG_null_ref("wxHtmlTag");
4364 if (SWIG_arg_fail(2)) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 Py_INCREF(Py_None
); resultobj
= Py_None
;
4380 static PyObject
* HtmlTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4383 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, obj
);
4385 return Py_BuildValue((char *)"");
4387 static PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= NULL
;
4389 wxPyHtmlWinTagHandler
*result
;
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlWinTagHandler",kwnames
)) goto fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, 1);
4409 static PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
= NULL
;
4411 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4412 PyObject
*arg2
= (PyObject
*) 0 ;
4413 PyObject
*arg3
= (PyObject
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4416 PyObject
* obj2
= 0 ;
4418 (char *) "self",(char *) "self",(char *) "_class", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4423 if (SWIG_arg_fail(1)) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= NULL
;
4442 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4443 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4447 (char *) "self",(char *) "parser", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) goto fail
;
4451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4452 if (SWIG_arg_fail(1)) SWIG_fail
;
4453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlParser
, SWIG_POINTER_EXCEPTION
| 0);
4454 if (SWIG_arg_fail(2)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 (arg1
)->SetParser(arg2
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
= NULL
;
4471 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4472 wxHtmlWinParser
*result
;
4473 PyObject
* obj0
= 0 ;
4475 (char *) "self", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinTagHandler_GetParser",kwnames
,&obj0
)) goto fail
;
4479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
4495 static PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= NULL
;
4497 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
4498 wxHtmlTag
*arg2
= 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4502 (char *) "self",(char *) "tag", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) goto fail
;
4506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_EXCEPTION
| 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail
;
4509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
4510 if (SWIG_arg_fail(2)) SWIG_fail
;
4512 SWIG_null_ref("wxHtmlTag");
4514 if (SWIG_arg_fail(2)) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
* HtmlWinTagHandler_swigregister(PyObject
*, PyObject
*args
) {
4532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4533 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, obj
);
4535 return Py_BuildValue((char *)"");
4537 static PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
= NULL
;
4539 PyObject
*arg1
= (PyObject
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "tagHandlerClass", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) goto fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxHtmlWinParser_AddTagHandler(arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 Py_INCREF(Py_None
); resultobj
= Py_None
;
4561 static PyObject
*_wrap_new_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= NULL
;
4563 wxHtmlSelection
*result
;
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlSelection",kwnames
)) goto fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (wxHtmlSelection
*)new wxHtmlSelection();
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 1);
4583 static PyObject
*_wrap_delete_HtmlSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
= NULL
;
4585 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "self", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlSelection",kwnames
,&obj0
)) goto fail
;
4592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_HtmlSelection_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= NULL
;
4610 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4612 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4614 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
4617 PyObject
* obj0
= 0 ;
4618 PyObject
* obj1
= 0 ;
4619 PyObject
* obj2
= 0 ;
4620 PyObject
* obj3
= 0 ;
4621 PyObject
* obj4
= 0 ;
4623 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4628 if (SWIG_arg_fail(1)) SWIG_fail
;
4631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4633 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4634 if (SWIG_arg_fail(3)) SWIG_fail
;
4637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4639 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4640 if (SWIG_arg_fail(5)) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 Py_INCREF(Py_None
); resultobj
= Py_None
;
4655 static PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
= NULL
;
4657 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4658 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
4659 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4661 PyObject
* obj1
= 0 ;
4662 PyObject
* obj2
= 0 ;
4664 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4671 if (SWIG_arg_fail(2)) SWIG_fail
;
4672 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
4673 if (SWIG_arg_fail(3)) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
= NULL
;
4690 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4694 (char *) "self", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromCell",kwnames
,&obj0
)) goto fail
;
4698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4699 if (SWIG_arg_fail(1)) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= wxPyMake_wxObject(result
, 0);
4716 static PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
= NULL
;
4718 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4722 (char *) "self", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToCell",kwnames
,&obj0
)) goto fail
;
4726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4727 if (SWIG_arg_fail(1)) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= wxPyMake_wxObject(result
, 0);
4744 static PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
= NULL
;
4746 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPos",kwnames
,&obj0
)) goto fail
;
4754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4755 if (SWIG_arg_fail(1)) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
4760 result
= (wxPoint
*) &_result_ref
;
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4773 static PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
= NULL
;
4775 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4779 (char *) "self", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPos",kwnames
,&obj0
)) goto fail
;
4783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4784 if (SWIG_arg_fail(1)) SWIG_fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
4789 result
= (wxPoint
*) &_result_ref
;
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4802 static PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
= NULL
;
4804 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4806 PyObject
* obj0
= 0 ;
4808 (char *) "self", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames
,&obj0
)) goto fail
;
4812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4813 if (SWIG_arg_fail(1)) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
4818 result
= (wxPoint
*) &_result_ref
;
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4831 static PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
= NULL
;
4833 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4837 (char *) "self", NULL
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_GetToPrivPos",kwnames
,&obj0
)) goto fail
;
4841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4842 if (SWIG_arg_fail(1)) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
4847 result
= (wxPoint
*) &_result_ref
;
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
4860 static PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
= NULL
;
4862 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4868 (char *) "self",(char *) "pos", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail
;
4876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 Py_INCREF(Py_None
); resultobj
= Py_None
;
4892 static PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
= NULL
;
4894 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4900 (char *) "self",(char *) "pos", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4905 if (SWIG_arg_fail(1)) SWIG_fail
;
4908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 Py_INCREF(Py_None
); resultobj
= Py_None
;
4924 static PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
= NULL
;
4926 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4929 (char *) "self", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_ClearPrivPos",kwnames
,&obj0
)) goto fail
;
4933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 (arg1
)->ClearPrivPos();
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 Py_INCREF(Py_None
); resultobj
= Py_None
;
4949 static PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
= NULL
;
4951 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4955 (char *) "self", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSelection_IsEmpty",kwnames
,&obj0
)) goto fail
;
4959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
4960 if (SWIG_arg_fail(1)) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_From_bool(static_cast<bool >(result
));
4977 static PyObject
* HtmlSelection_swigregister(PyObject
*, PyObject
*args
) {
4979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4980 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection
, obj
);
4982 return Py_BuildValue((char *)"");
4984 static PyObject
*_wrap_new_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
= NULL
;
4986 wxHtmlRenderingState
*result
;
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingState",kwnames
)) goto fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 1);
5006 static PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
= NULL
;
5008 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5011 (char *) "self", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingState",kwnames
,&obj0
)) goto fail
;
5015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
5016 if (SWIG_arg_fail(1)) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
= NULL
;
5033 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
5034 wxHtmlSelectionState arg2
;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5038 (char *) "self",(char *) "s", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) goto fail
;
5042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail
;
5045 arg2
= static_cast<wxHtmlSelectionState
>(SWIG_As_int(obj1
));
5046 if (SWIG_arg_fail(2)) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SetSelectionState(arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= NULL
;
5064 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
5065 wxHtmlSelectionState result
;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames
,&obj0
)) goto fail
;
5072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_From_int((result
));
5088 static PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
= NULL
;
5090 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
5091 wxColour
*arg2
= 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "c", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, 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 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 Py_INCREF(Py_None
); resultobj
= Py_None
;
5120 static PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= NULL
;
5122 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5126 (char *) "self", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetFgColour",kwnames
,&obj0
)) goto fail
;
5130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
5131 if (SWIG_arg_fail(1)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
5136 result
= (wxColour
*) &_result_ref
;
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
5149 static PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
= NULL
;
5151 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
5152 wxColour
*arg2
= 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5157 (char *) "self",(char *) "c", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail
;
5165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 static PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
= NULL
;
5183 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingState_GetBgColour",kwnames
,&obj0
)) goto fail
;
5191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_EXCEPTION
| 0);
5192 if (SWIG_arg_fail(1)) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
5197 result
= (wxColour
*) &_result_ref
;
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
5210 static PyObject
* HtmlRenderingState_swigregister(PyObject
*, PyObject
*args
) {
5212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5213 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState
, obj
);
5215 return Py_BuildValue((char *)"");
5217 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
= NULL
;
5219 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
5220 wxColour
*arg2
= 0 ;
5223 PyObject
* obj0
= 0 ;
5224 PyObject
* obj1
= 0 ;
5226 (char *) "self",(char *) "clr", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5234 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5244 wxColour
* resultptr
;
5245 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5254 static PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
= NULL
;
5256 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
5257 wxColour
*arg2
= 0 ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5263 (char *) "self",(char *) "clr", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 wxColour
* resultptr
;
5282 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5291 static PyObject
* HtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5294 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, obj
);
5296 return Py_BuildValue((char *)"");
5298 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
= NULL
;
5300 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5301 wxColour
*arg2
= 0 ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "clr", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5312 if (SWIG_arg_fail(1)) SWIG_fail
;
5315 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 wxColour
* resultptr
;
5326 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5335 static PyObject
*_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
= NULL
;
5337 wxDefaultHtmlRenderingStyle
*arg1
= (wxDefaultHtmlRenderingStyle
*) 0 ;
5338 wxColour
*arg2
= 0 ;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5344 (char *) "self",(char *) "clr", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5349 if (SWIG_arg_fail(1)) SWIG_fail
;
5352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 wxColour
* resultptr
;
5363 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
5364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
5372 static PyObject
* DefaultHtmlRenderingStyle_swigregister(PyObject
*, PyObject
*args
) {
5374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5375 SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, obj
);
5377 return Py_BuildValue((char *)"");
5379 static PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
= NULL
;
5381 wxHtmlRenderingInfo
*result
;
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlRenderingInfo",kwnames
)) goto fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, 1);
5401 static PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
= NULL
;
5403 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5406 (char *) "self", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlRenderingInfo",kwnames
,&obj0
)) goto fail
;
5410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5411 if (SWIG_arg_fail(1)) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 Py_INCREF(Py_None
); resultobj
= Py_None
;
5426 static PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= NULL
;
5428 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5429 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "self",(char *) "s", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail
;
5439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
5440 if (SWIG_arg_fail(2)) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->SetSelection(arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 Py_INCREF(Py_None
); resultobj
= Py_None
;
5455 static PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= NULL
;
5457 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5458 wxHtmlSelection
*result
;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames
,&obj0
)) goto fail
;
5465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlSelection
, 0);
5481 static PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
= NULL
;
5483 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5484 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5488 (char *) "self",(char *) "style", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5493 if (SWIG_arg_fail(1)) SWIG_fail
;
5494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_POINTER_EXCEPTION
| 0);
5495 if (SWIG_arg_fail(2)) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 (arg1
)->SetStyle(arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= NULL
;
5512 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5513 wxHtmlRenderingStyle
*result
;
5514 PyObject
* obj0
= 0 ;
5516 (char *) "self", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
5526 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0);
5539 static PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
= NULL
;
5541 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
5542 wxHtmlRenderingState
*result
;
5543 PyObject
* obj0
= 0 ;
5545 (char *) "self", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlRenderingInfo_GetState",kwnames
,&obj0
)) goto fail
;
5549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
5555 result
= (wxHtmlRenderingState
*) &_result_ref
;
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0);
5568 static PyObject
* HtmlRenderingInfo_swigregister(PyObject
*, PyObject
*args
) {
5570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5571 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, obj
);
5573 return Py_BuildValue((char *)"");
5575 static PyObject
*_wrap_new_HtmlCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
= NULL
;
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlCell",kwnames
)) goto fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (wxHtmlCell
*)new wxHtmlCell();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlCell
, 1);
5597 static PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= NULL
;
5599 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "self", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosX",kwnames
,&obj0
)) goto fail
;
5607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (int)(arg1
)->GetPosX();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_From_int(static_cast<int >(result
));
5625 static PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= NULL
;
5627 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetPosY",kwnames
,&obj0
)) goto fail
;
5635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (int)(arg1
)->GetPosY();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= SWIG_From_int(static_cast<int >(result
));
5653 static PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
= NULL
;
5655 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5659 (char *) "self", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetWidth",kwnames
,&obj0
)) goto fail
;
5663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5664 if (SWIG_arg_fail(1)) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (int)(arg1
)->GetWidth();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_From_int(static_cast<int >(result
));
5681 static PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
= NULL
;
5683 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5685 PyObject
* obj0
= 0 ;
5687 (char *) "self", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetHeight",kwnames
,&obj0
)) goto fail
;
5691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5692 if (SWIG_arg_fail(1)) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (int)(arg1
)->GetHeight();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_From_int(static_cast<int >(result
));
5709 static PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
= NULL
;
5711 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDescent",kwnames
,&obj0
)) goto fail
;
5719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (int)(arg1
)->GetDescent();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_From_int(static_cast<int >(result
));
5737 static PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
= NULL
;
5739 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5743 (char *) "self", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames
,&obj0
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= SWIG_From_int(static_cast<int >(result
));
5765 static PyObject
*_wrap_HtmlCell_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
= NULL
;
5767 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5771 (char *) "self", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetId",kwnames
,&obj0
)) goto fail
;
5775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
5781 result
= (wxString
*) &_result_ref
;
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5791 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5800 static PyObject
*_wrap_HtmlCell_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
= NULL
;
5802 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5803 wxString
*arg2
= 0 ;
5804 bool temp2
= false ;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5808 (char *) "self",(char *) "id", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5813 if (SWIG_arg_fail(1)) SWIG_fail
;
5815 arg2
= wxString_in_helper(obj1
);
5816 if (arg2
== NULL
) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetId((wxString
const &)*arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5841 static PyObject
*_wrap_HtmlCell_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
= NULL
;
5843 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5844 int arg2
= (int) 0 ;
5845 int arg3
= (int) 0 ;
5846 wxHtmlLinkInfo
*result
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5851 (char *) "self",(char *) "x",(char *) "y", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5859 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5860 if (SWIG_arg_fail(2)) SWIG_fail
;
5865 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5866 if (SWIG_arg_fail(3)) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0);
5883 static PyObject
*_wrap_HtmlCell_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
= NULL
;
5885 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetNext",kwnames
,&obj0
)) goto fail
;
5893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (wxHtmlCell
*)(arg1
)->GetNext();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= wxPyMake_wxObject(result
, 0);
5911 static PyObject
*_wrap_HtmlCell_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= NULL
;
5913 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5914 wxHtmlContainerCell
*result
;
5915 PyObject
* obj0
= 0 ;
5917 (char *) "self", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetParent",kwnames
,&obj0
)) goto fail
;
5921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5922 if (SWIG_arg_fail(1)) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
5937 static PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
= NULL
;
5939 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
5947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= wxPyMake_wxObject(result
, 0);
5965 static PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
= NULL
;
5967 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetCursor",kwnames
,&obj0
)) goto fail
;
5975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 wxCursor
* resultptr
;
5986 resultptr
= new wxCursor(static_cast<wxCursor
& >(result
));
5987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
5995 static PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= NULL
;
5997 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6001 (char *) "self", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsFormattingCell",kwnames
,&obj0
)) goto fail
;
6005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6006 if (SWIG_arg_fail(1)) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6023 static PyObject
*_wrap_HtmlCell_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
= NULL
;
6025 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6026 wxHtmlLinkInfo
*arg2
= 0 ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6030 (char *) "self",(char *) "link", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
6034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail
;
6037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
6038 if (SWIG_arg_fail(2)) SWIG_fail
;
6040 SWIG_null_ref("wxHtmlLinkInfo");
6042 if (SWIG_arg_fail(2)) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_HtmlCell_SetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
= NULL
;
6060 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6061 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6062 PyObject
* obj0
= 0 ;
6063 PyObject
* obj1
= 0 ;
6065 (char *) "self",(char *) "cell", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
6069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6070 if (SWIG_arg_fail(1)) SWIG_fail
;
6071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6072 if (SWIG_arg_fail(2)) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 (arg1
)->SetNext(arg2
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 Py_INCREF(Py_None
); resultobj
= Py_None
;
6087 static PyObject
*_wrap_HtmlCell_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= NULL
;
6089 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6090 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6094 (char *) "self",(char *) "p", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail
;
6100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6101 if (SWIG_arg_fail(2)) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 (arg1
)->SetParent(arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 Py_INCREF(Py_None
); resultobj
= Py_None
;
6116 static PyObject
*_wrap_HtmlCell_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
= NULL
;
6118 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 PyObject
* obj2
= 0 ;
6125 (char *) "self",(char *) "x",(char *) "y", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6130 if (SWIG_arg_fail(1)) SWIG_fail
;
6132 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6133 if (SWIG_arg_fail(2)) SWIG_fail
;
6136 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6137 if (SWIG_arg_fail(3)) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 (arg1
)->SetPos(arg2
,arg3
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 Py_INCREF(Py_None
); resultobj
= Py_None
;
6153 static PyObject
*_wrap_HtmlCell_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
= NULL
;
6155 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 (char *) "self",(char *) "w", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) goto fail
;
6164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6165 if (SWIG_arg_fail(1)) SWIG_fail
;
6167 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6168 if (SWIG_arg_fail(2)) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 (arg1
)->Layout(arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 Py_INCREF(Py_None
); resultobj
= Py_None
;
6184 static PyObject
*_wrap_HtmlCell_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
= NULL
;
6186 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6192 wxHtmlRenderingInfo
*arg7
= 0 ;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6195 PyObject
* obj2
= 0 ;
6196 PyObject
* obj3
= 0 ;
6197 PyObject
* obj4
= 0 ;
6198 PyObject
* obj5
= 0 ;
6199 PyObject
* obj6
= 0 ;
6201 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6206 if (SWIG_arg_fail(1)) SWIG_fail
;
6208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6209 if (SWIG_arg_fail(2)) SWIG_fail
;
6211 SWIG_null_ref("wxDC");
6213 if (SWIG_arg_fail(2)) SWIG_fail
;
6216 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6217 if (SWIG_arg_fail(3)) SWIG_fail
;
6220 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6221 if (SWIG_arg_fail(4)) SWIG_fail
;
6224 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6225 if (SWIG_arg_fail(5)) SWIG_fail
;
6228 arg6
= static_cast<int >(SWIG_As_int(obj5
));
6229 if (SWIG_arg_fail(6)) SWIG_fail
;
6232 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
6233 if (SWIG_arg_fail(7)) SWIG_fail
;
6235 SWIG_null_ref("wxHtmlRenderingInfo");
6237 if (SWIG_arg_fail(7)) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6253 static PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
= NULL
;
6255 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6259 wxHtmlRenderingInfo
*arg5
= 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6263 PyObject
* obj3
= 0 ;
6264 PyObject
* obj4
= 0 ;
6266 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail
;
6273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6274 if (SWIG_arg_fail(2)) SWIG_fail
;
6276 SWIG_null_ref("wxDC");
6278 if (SWIG_arg_fail(2)) SWIG_fail
;
6281 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6282 if (SWIG_arg_fail(3)) SWIG_fail
;
6285 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6286 if (SWIG_arg_fail(4)) SWIG_fail
;
6289 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_EXCEPTION
| 0);
6290 if (SWIG_arg_fail(5)) SWIG_fail
;
6292 SWIG_null_ref("wxHtmlRenderingInfo");
6294 if (SWIG_arg_fail(5)) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 Py_INCREF(Py_None
); resultobj
= Py_None
;
6310 static PyObject
*_wrap_HtmlCell_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
= NULL
;
6312 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6314 void *arg3
= (void *) 0 ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 PyObject
* obj2
= 0 ;
6320 (char *) "self",(char *) "condition",(char *) "param", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6327 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6328 if (SWIG_arg_fail(2)) SWIG_fail
;
6331 if ((SWIG_ConvertPtr(obj2
,reinterpret_cast<void ** >(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
6332 SWIG_arg_fail(3);SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= wxPyMake_wxObject(result
, 0);
6351 static PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
= NULL
;
6353 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6354 int *arg2
= (int *) 0 ;
6358 PyObject
* obj0
= 0 ;
6359 PyObject
* obj1
= 0 ;
6361 (char *) "self",(char *) "INOUT", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6366 if (SWIG_arg_fail(1)) SWIG_fail
;
6368 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
6369 temp2
= SWIG_As_int(obj1
);
6370 if (SWIG_arg_fail(2)) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6393 static PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
= NULL
;
6395 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6400 (char *) "self",(char *) "can", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) goto fail
;
6404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6405 if (SWIG_arg_fail(1)) SWIG_fail
;
6407 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
6408 if (SWIG_arg_fail(2)) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->SetCanLiveOnPagebreak(arg2
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 Py_INCREF(Py_None
); resultobj
= Py_None
;
6424 static PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
= NULL
;
6426 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
6434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6435 if (SWIG_arg_fail(1)) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6452 static PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
= NULL
;
6454 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6458 (char *) "self", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_IsTerminalCell",kwnames
,&obj0
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6480 static PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= NULL
;
6482 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6485 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
6487 PyObject
* obj0
= 0 ;
6488 PyObject
* obj1
= 0 ;
6489 PyObject
* obj2
= 0 ;
6490 PyObject
* obj3
= 0 ;
6492 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail
;
6499 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6500 if (SWIG_arg_fail(2)) SWIG_fail
;
6503 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6504 if (SWIG_arg_fail(3)) SWIG_fail
;
6508 arg4
= static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj3
));
6509 if (SWIG_arg_fail(4)) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= wxPyMake_wxObject(result
, 0);
6528 static PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
= NULL
;
6530 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6534 (char *) "self", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetAbsPos",kwnames
,&obj0
)) goto fail
;
6538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6539 if (SWIG_arg_fail(1)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 wxPoint
* resultptr
;
6549 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
6550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
6558 static PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
= NULL
;
6560 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6564 (char *) "self", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetFirstTerminal",kwnames
,&obj0
)) goto fail
;
6568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6569 if (SWIG_arg_fail(1)) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= wxPyMake_wxObject(result
, 0);
6586 static PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= NULL
;
6588 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6590 PyObject
* obj0
= 0 ;
6592 (char *) "self", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetLastTerminal",kwnames
,&obj0
)) goto fail
;
6596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6597 if (SWIG_arg_fail(1)) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= wxPyMake_wxObject(result
, 0);
6614 static PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
= NULL
;
6616 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6617 unsigned int result
;
6618 PyObject
* obj0
= 0 ;
6620 (char *) "self", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlCell_GetDepth",kwnames
,&obj0
)) goto fail
;
6624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6625 if (SWIG_arg_fail(1)) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result
));
6642 static PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= NULL
;
6644 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6645 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6650 (char *) "self",(char *) "cell", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
6654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6655 if (SWIG_arg_fail(1)) SWIG_fail
;
6656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(2)) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6674 static PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= NULL
;
6676 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6677 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "sel", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail
;
6688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
6689 if (SWIG_arg_fail(2)) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6710 static PyObject
* HtmlCell_swigregister(PyObject
*, PyObject
*args
) {
6712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6713 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell
, obj
);
6715 return Py_BuildValue((char *)"");
6717 static PyObject
*_wrap_new_HtmlWordCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
= NULL
;
6719 wxString
*arg1
= 0 ;
6721 wxHtmlWordCell
*result
;
6722 bool temp1
= false ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6726 (char *) "word",(char *) "dc", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6731 arg1
= wxString_in_helper(obj0
);
6732 if (arg1
== NULL
) SWIG_fail
;
6736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6737 if (SWIG_arg_fail(2)) SWIG_fail
;
6739 SWIG_null_ref("wxDC");
6741 if (SWIG_arg_fail(2)) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWordCell
, 1);
6765 static PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
= NULL
;
6767 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
6768 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "sel", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_EXCEPTION
| 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail
;
6779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_EXCEPTION
| 0);
6780 if (SWIG_arg_fail(2)) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6801 static PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
= NULL
;
6803 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "self", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWordCell_IsLinebreakAllowed",kwnames
,&obj0
)) goto fail
;
6811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_EXCEPTION
| 0);
6812 if (SWIG_arg_fail(1)) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6829 static PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
= NULL
;
6831 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
6832 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "cell", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail
;
6842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_EXCEPTION
| 0);
6843 if (SWIG_arg_fail(2)) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 (arg1
)->SetPreviousWord(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
* HtmlWordCell_swigregister(PyObject
*, PyObject
*args
) {
6860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6861 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell
, obj
);
6863 return Py_BuildValue((char *)"");
6865 static PyObject
*_wrap_new_HtmlContainerCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
= NULL
;
6867 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6868 wxHtmlContainerCell
*result
;
6869 PyObject
* obj0
= 0 ;
6871 (char *) "parent", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) goto fail
;
6875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 1);
6891 static PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= NULL
;
6893 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6894 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6898 (char *) "self",(char *) "cell", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) goto fail
;
6902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6903 if (SWIG_arg_fail(1)) SWIG_fail
;
6904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
6905 if (SWIG_arg_fail(2)) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 (arg1
)->InsertCell(arg2
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 Py_INCREF(Py_None
); resultobj
= Py_None
;
6920 static PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
= NULL
;
6922 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6927 (char *) "self",(char *) "al", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) goto fail
;
6931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6935 if (SWIG_arg_fail(2)) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 (arg1
)->SetAlignHor(arg2
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 Py_INCREF(Py_None
); resultobj
= Py_None
;
6951 static PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
= NULL
;
6953 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6955 PyObject
* obj0
= 0 ;
6957 (char *) "self", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames
,&obj0
)) goto fail
;
6961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6962 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (int)(arg1
)->GetAlignHor();
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_From_int(static_cast<int >(result
));
6979 static PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
= NULL
;
6981 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
6983 PyObject
* obj0
= 0 ;
6984 PyObject
* obj1
= 0 ;
6986 (char *) "self",(char *) "al", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) goto fail
;
6990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
6991 if (SWIG_arg_fail(1)) SWIG_fail
;
6993 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6994 if (SWIG_arg_fail(2)) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 (arg1
)->SetAlignVer(arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
= NULL
;
7012 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7016 (char *) "self", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames
,&obj0
)) goto fail
;
7020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (int)(arg1
)->GetAlignVer();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_From_int(static_cast<int >(result
));
7038 static PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= NULL
;
7040 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7043 int arg4
= (int) wxHTML_UNITS_PIXELS
;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 PyObject
* obj2
= 0 ;
7047 PyObject
* obj3
= 0 ;
7049 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7054 if (SWIG_arg_fail(1)) SWIG_fail
;
7056 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7057 if (SWIG_arg_fail(2)) SWIG_fail
;
7060 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7061 if (SWIG_arg_fail(3)) SWIG_fail
;
7065 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7066 if (SWIG_arg_fail(4)) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= NULL
;
7085 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "self",(char *) "ind", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7096 if (SWIG_arg_fail(1)) SWIG_fail
;
7098 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7099 if (SWIG_arg_fail(2)) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (int)(arg1
)->GetIndent(arg2
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_From_int(static_cast<int >(result
));
7117 static PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
= NULL
;
7119 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7122 PyObject
* obj0
= 0 ;
7123 PyObject
* obj1
= 0 ;
7125 (char *) "self",(char *) "ind", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) goto fail
;
7129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7130 if (SWIG_arg_fail(1)) SWIG_fail
;
7132 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7133 if (SWIG_arg_fail(2)) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (int)(arg1
)->GetIndentUnits(arg2
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_From_int(static_cast<int >(result
));
7151 static PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
= NULL
;
7153 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7154 wxHtmlTag
*arg2
= 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "tag", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail
;
7165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
7166 if (SWIG_arg_fail(2)) SWIG_fail
;
7168 SWIG_null_ref("wxHtmlTag");
7170 if (SWIG_arg_fail(2)) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 Py_INCREF(Py_None
); resultobj
= Py_None
;
7186 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
= NULL
;
7188 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7195 (char *) "self",(char *) "w",(char *) "units", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7200 if (SWIG_arg_fail(1)) SWIG_fail
;
7202 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7203 if (SWIG_arg_fail(2)) SWIG_fail
;
7206 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7207 if (SWIG_arg_fail(3)) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->SetWidthFloat(arg2
,arg3
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
= NULL
;
7225 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7226 wxHtmlTag
*arg2
= 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7230 (char *) "self",(char *) "tag", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) goto fail
;
7234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail
;
7237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlTag
, SWIG_POINTER_EXCEPTION
| 0);
7238 if (SWIG_arg_fail(2)) SWIG_fail
;
7240 SWIG_null_ref("wxHtmlTag");
7242 if (SWIG_arg_fail(2)) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 Py_INCREF(Py_None
); resultobj
= Py_None
;
7258 static PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
= NULL
;
7260 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7262 int arg3
= (int) wxHTML_ALIGN_TOP
;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 PyObject
* obj2
= 0 ;
7267 (char *) "self",(char *) "h",(char *) "align", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7275 if (SWIG_arg_fail(2)) SWIG_fail
;
7279 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7280 if (SWIG_arg_fail(3)) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 (arg1
)->SetMinHeight(arg2
,arg3
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
= NULL
;
7299 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7300 wxColour
*arg2
= 0 ;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7305 (char *) "self",(char *) "clr", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail
;
7313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7329 static PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
= NULL
;
7331 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7335 (char *) "self", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7340 if (SWIG_arg_fail(1)) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (arg1
)->GetBackgroundColour();
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 wxColour
* resultptr
;
7350 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
7351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
7359 static PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
= NULL
;
7361 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7362 wxColour
*arg2
= 0 ;
7363 wxColour
*arg3
= 0 ;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7368 PyObject
* obj2
= 0 ;
7370 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail
;
7378 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7382 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7398 static PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
= NULL
;
7400 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames
,&obj0
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= wxPyMake_wxObject(result
, 0);
7426 static PyObject
* HtmlContainerCell_swigregister(PyObject
*, PyObject
*args
) {
7428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7429 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell
, obj
);
7431 return Py_BuildValue((char *)"");
7433 static PyObject
*_wrap_new_HtmlColourCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
= NULL
;
7435 wxColour
*arg1
= 0 ;
7436 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
7437 wxHtmlColourCell
*result
;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7442 (char *) "clr",(char *) "flags", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7448 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7452 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7453 if (SWIG_arg_fail(2)) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlColourCell
, 1);
7470 static PyObject
* HtmlColourCell_swigregister(PyObject
*, PyObject
*args
) {
7472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7473 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell
, obj
);
7475 return Py_BuildValue((char *)"");
7477 static PyObject
*_wrap_new_HtmlFontCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
= NULL
;
7479 wxFont
*arg1
= (wxFont
*) 0 ;
7480 wxHtmlFontCell
*result
;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "font", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) goto fail
;
7487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
7488 if (SWIG_arg_fail(1)) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlFontCell
, 1);
7503 static PyObject
* HtmlFontCell_swigregister(PyObject
*, PyObject
*args
) {
7505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7506 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell
, obj
);
7508 return Py_BuildValue((char *)"");
7510 static PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= NULL
;
7512 wxWindow
*arg1
= (wxWindow
*) 0 ;
7513 int arg2
= (int) 0 ;
7514 wxHtmlWidgetCell
*result
;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7518 (char *) "wnd",(char *) "w", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) goto fail
;
7522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail
;
7526 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7527 if (SWIG_arg_fail(2)) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWidgetCell
, 1);
7544 static PyObject
* HtmlWidgetCell_swigregister(PyObject
*, PyObject
*args
) {
7546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7547 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell
, obj
);
7549 return Py_BuildValue((char *)"");
7551 static PyObject
*_wrap_new_HtmlFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
= NULL
;
7553 wxPyHtmlFilter
*result
;
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlFilter",kwnames
)) goto fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlFilter
, 1);
7573 static PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
= NULL
;
7575 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
7576 PyObject
*arg2
= (PyObject
*) 0 ;
7577 PyObject
*arg3
= (PyObject
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7579 PyObject
* obj1
= 0 ;
7580 PyObject
* obj2
= 0 ;
7582 (char *) "self",(char *) "self",(char *) "_class", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 Py_INCREF(Py_None
); resultobj
= Py_None
;
7604 static PyObject
* HtmlFilter_swigregister(PyObject
*, PyObject
*args
) {
7606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7607 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter
, obj
);
7609 return Py_BuildValue((char *)"");
7611 static PyObject
*_wrap_new_HtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
= NULL
;
7613 wxWindow
*arg1
= (wxWindow
*) 0 ;
7614 int arg2
= (int) -1 ;
7615 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7616 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7617 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7618 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7619 int arg5
= (int) wxHW_DEFAULT_STYLE
;
7620 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
7621 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7622 wxPyHtmlWindow
*result
;
7625 bool temp6
= false ;
7626 PyObject
* obj0
= 0 ;
7627 PyObject
* obj1
= 0 ;
7628 PyObject
* obj2
= 0 ;
7629 PyObject
* obj3
= 0 ;
7630 PyObject
* obj4
= 0 ;
7631 PyObject
* obj5
= 0 ;
7633 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail
;
7641 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7642 if (SWIG_arg_fail(2)) SWIG_fail
;
7648 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7654 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7659 arg5
= static_cast<int >(SWIG_As_int(obj4
));
7660 if (SWIG_arg_fail(5)) SWIG_fail
;
7665 arg6
= wxString_in_helper(obj5
);
7666 if (arg6
== NULL
) SWIG_fail
;
7671 if (!wxPyCheckForApp()) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7693 static PyObject
*_wrap_new_PreHtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= NULL
;
7695 wxPyHtmlWindow
*result
;
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlWindow",kwnames
)) goto fail
;
7702 if (!wxPyCheckForApp()) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlWindow
, 1);
7716 static PyObject
*_wrap_HtmlWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
= NULL
;
7718 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7719 wxWindow
*arg2
= (wxWindow
*) 0 ;
7720 int arg3
= (int) -1 ;
7721 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7722 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7723 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7724 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7725 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
7726 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
7727 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7731 bool temp7
= false ;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7734 PyObject
* obj2
= 0 ;
7735 PyObject
* obj3
= 0 ;
7736 PyObject
* obj4
= 0 ;
7737 PyObject
* obj5
= 0 ;
7738 PyObject
* obj6
= 0 ;
7740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail
;
7746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7747 if (SWIG_arg_fail(2)) SWIG_fail
;
7750 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7751 if (SWIG_arg_fail(3)) SWIG_fail
;
7757 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7763 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7768 arg6
= static_cast<int >(SWIG_As_int(obj5
));
7769 if (SWIG_arg_fail(6)) SWIG_fail
;
7774 arg7
= wxString_in_helper(obj6
);
7775 if (arg7
== NULL
) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7803 static PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= NULL
;
7805 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7806 PyObject
*arg2
= (PyObject
*) 0 ;
7807 PyObject
*arg3
= (PyObject
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7810 PyObject
* obj2
= 0 ;
7812 (char *) "self",(char *) "self",(char *) "_class", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
= NULL
;
7836 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7837 wxString
*arg2
= 0 ;
7839 bool temp2
= false ;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7843 (char *) "self",(char *) "source", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 arg2
= wxString_in_helper(obj1
);
7851 if (arg2
== NULL
) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7878 static PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
= NULL
;
7880 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7881 wxString
*arg2
= 0 ;
7883 bool temp2
= false ;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7887 (char *) "self",(char *) "location", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7892 if (SWIG_arg_fail(1)) SWIG_fail
;
7894 arg2
= wxString_in_helper(obj1
);
7895 if (arg2
== NULL
) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7922 static PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
= NULL
;
7924 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7925 wxString
*arg2
= 0 ;
7927 bool temp2
= false ;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "filename", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7936 if (SWIG_arg_fail(1)) SWIG_fail
;
7938 arg2
= wxString_in_helper(obj1
);
7939 if (arg2
== NULL
) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7966 static PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= NULL
;
7968 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
7969 wxString
*arg2
= 0 ;
7971 bool temp2
= false ;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7975 (char *) "self",(char *) "source", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
7979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail
;
7982 arg2
= wxString_in_helper(obj1
);
7983 if (arg2
== NULL
) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8010 static PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= NULL
;
8012 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPage",kwnames
,&obj0
)) goto fail
;
8020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8021 if (SWIG_arg_fail(1)) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (arg1
)->GetOpenedPage();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8042 static PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= NULL
;
8044 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames
,&obj0
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (arg1
)->GetOpenedAnchor();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8074 static PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
= NULL
;
8076 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames
,&obj0
)) goto fail
;
8084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (arg1
)->GetOpenedPageTitle();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8106 static PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
= NULL
;
8108 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8109 wxFrame
*arg2
= (wxFrame
*) 0 ;
8110 wxString
*arg3
= 0 ;
8111 bool temp3
= false ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8116 (char *) "self",(char *) "frame",(char *) "format", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail
;
8122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
8123 if (SWIG_arg_fail(2)) SWIG_fail
;
8125 arg3
= wxString_in_helper(obj2
);
8126 if (arg3
== NULL
) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 Py_INCREF(Py_None
); resultobj
= Py_None
;
8151 static PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
= NULL
;
8153 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames
,&obj0
)) goto fail
;
8161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= wxPyMake_wxObject(result
, 0);
8179 static PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
= NULL
;
8181 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8186 (char *) "self",(char *) "bar", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
8190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8191 if (SWIG_arg_fail(1)) SWIG_fail
;
8193 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8194 if (SWIG_arg_fail(2)) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 (arg1
)->SetRelatedStatusBar(arg2
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 Py_INCREF(Py_None
); resultobj
= Py_None
;
8210 static PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
= NULL
;
8212 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8215 PyObject
*arg4
= (PyObject
*) NULL
;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 PyObject
* obj2
= 0 ;
8219 PyObject
* obj3
= 0 ;
8221 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8226 if (SWIG_arg_fail(1)) SWIG_fail
;
8228 wxString
* sptr
= wxString_in_helper(obj1
);
8229 if (sptr
== NULL
) SWIG_fail
;
8234 wxString
* sptr
= wxString_in_helper(obj2
);
8235 if (sptr
== NULL
) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 Py_INCREF(Py_None
); resultobj
= Py_None
;
8256 static PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
= NULL
;
8258 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8259 int arg2
= (int) -1 ;
8260 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8261 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8262 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8263 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8264 bool temp3
= false ;
8265 bool temp4
= false ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 PyObject
* obj3
= 0 ;
8271 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail
;
8279 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8280 if (SWIG_arg_fail(2)) SWIG_fail
;
8285 arg3
= wxString_in_helper(obj2
);
8286 if (arg3
== NULL
) SWIG_fail
;
8292 arg4
= wxString_in_helper(obj3
);
8293 if (arg4
== NULL
) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_HtmlWindow_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
= NULL
;
8329 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8330 wxString
*arg2
= 0 ;
8331 bool temp2
= false ;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8335 (char *) "self",(char *) "title", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
8339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8340 if (SWIG_arg_fail(1)) SWIG_fail
;
8342 arg2
= wxString_in_helper(obj1
);
8343 if (arg2
== NULL
) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 (arg1
)->SetLabel((wxString
const &)*arg2
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
= NULL
;
8370 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8375 (char *) "self",(char *) "b", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) goto fail
;
8379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8380 if (SWIG_arg_fail(1)) SWIG_fail
;
8382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8383 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetBorders(arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
= NULL
;
8401 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8402 wxBitmap
*arg2
= 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8406 (char *) "self",(char *) "bmpBg", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail
;
8413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
8414 if (SWIG_arg_fail(2)) SWIG_fail
;
8416 SWIG_null_ref("wxBitmap");
8418 if (SWIG_arg_fail(2)) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 Py_INCREF(Py_None
); resultobj
= Py_None
;
8434 static PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
= NULL
;
8436 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8437 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8438 wxString arg3
= (wxString
) wxPyEmptyString
;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8441 PyObject
* obj2
= 0 ;
8443 (char *) "self",(char *) "cfg",(char *) "path", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(2)) SWIG_fail
;
8453 wxString
* sptr
= wxString_in_helper(obj2
);
8454 if (sptr
== NULL
) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 (arg1
)->ReadCustomization(arg2
,arg3
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 Py_INCREF(Py_None
); resultobj
= Py_None
;
8473 static PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
= NULL
;
8475 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8476 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
8477 wxString arg3
= (wxString
) wxPyEmptyString
;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8480 PyObject
* obj2
= 0 ;
8482 (char *) "self",(char *) "cfg",(char *) "path", NULL
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail
;
8488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
8489 if (SWIG_arg_fail(2)) SWIG_fail
;
8492 wxString
* sptr
= wxString_in_helper(obj2
);
8493 if (sptr
== NULL
) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 (arg1
)->WriteCustomization(arg2
,arg3
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
= NULL
;
8514 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryBack",kwnames
,&obj0
)) goto fail
;
8522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (bool)(arg1
)->HistoryBack();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8540 static PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
= NULL
;
8542 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8544 PyObject
* obj0
= 0 ;
8546 (char *) "self", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryForward",kwnames
,&obj0
)) goto fail
;
8550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8551 if (SWIG_arg_fail(1)) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (bool)(arg1
)->HistoryForward();
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8568 static PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
= NULL
;
8570 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8572 PyObject
* obj0
= 0 ;
8574 (char *) "self", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanBack",kwnames
,&obj0
)) goto fail
;
8578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8579 if (SWIG_arg_fail(1)) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (bool)(arg1
)->HistoryCanBack();
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 static PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= NULL
;
8598 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryCanForward",kwnames
,&obj0
)) goto fail
;
8606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8607 if (SWIG_arg_fail(1)) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (bool)(arg1
)->HistoryCanForward();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8624 static PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
= NULL
;
8626 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8629 (char *) "self", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_HistoryClear",kwnames
,&obj0
)) goto fail
;
8633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8634 if (SWIG_arg_fail(1)) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 (arg1
)->HistoryClear();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 Py_INCREF(Py_None
); resultobj
= Py_None
;
8649 static PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
= NULL
;
8651 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8652 wxHtmlContainerCell
*result
;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0);
8675 static PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
= NULL
;
8677 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8678 wxHtmlWinParser
*result
;
8679 PyObject
* obj0
= 0 ;
8681 (char *) "self", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetParser",kwnames
,&obj0
)) goto fail
;
8685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8686 if (SWIG_arg_fail(1)) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWinParser
, 0);
8701 static PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
= NULL
;
8703 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8704 wxString
*arg2
= 0 ;
8706 bool temp2
= false ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8710 (char *) "self",(char *) "anchor", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 arg2
= wxString_in_helper(obj1
);
8718 if (arg2
== NULL
) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8745 static PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
= NULL
;
8747 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8748 wxString
*arg2
= 0 ;
8750 bool temp2
= false ;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8754 (char *) "self",(char *) "anchor", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8759 if (SWIG_arg_fail(1)) SWIG_fail
;
8761 arg2
= wxString_in_helper(obj1
);
8762 if (arg2
== NULL
) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8789 static PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= NULL
;
8791 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8794 (char *) "filter", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) goto fail
;
8798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
8799 if (SWIG_arg_fail(1)) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 wxPyHtmlWindow::AddFilter(arg1
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 Py_INCREF(Py_None
); resultobj
= Py_None
;
8814 static PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
= NULL
;
8816 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "self",(char *) "pos", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) goto fail
;
8826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8827 if (SWIG_arg_fail(1)) SWIG_fail
;
8830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 Py_INCREF(Py_None
); resultobj
= Py_None
;
8846 static PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
= NULL
;
8848 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8852 PyObject
* obj1
= 0 ;
8854 (char *) "self",(char *) "pos", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail
;
8862 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8878 static PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
= NULL
;
8880 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8881 PyObject
* obj0
= 0 ;
8883 (char *) "self", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectAll",kwnames
,&obj0
)) goto fail
;
8887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 (arg1
)->SelectAll();
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
= NULL
;
8905 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "self", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_SelectionToText",kwnames
,&obj0
)) goto fail
;
8913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (arg1
)->SelectionToText();
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8935 static PyObject
*_wrap_HtmlWindow_ToText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
= NULL
;
8937 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8939 PyObject
* obj0
= 0 ;
8941 (char *) "self", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_ToText",kwnames
,&obj0
)) goto fail
;
8945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8946 if (SWIG_arg_fail(1)) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (arg1
)->ToText();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8967 static PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
= NULL
;
8969 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
8970 wxHtmlLinkInfo
*arg2
= 0 ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8974 (char *) "self",(char *) "link", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) goto fail
;
8978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
8979 if (SWIG_arg_fail(1)) SWIG_fail
;
8981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_EXCEPTION
| 0);
8982 if (SWIG_arg_fail(2)) SWIG_fail
;
8984 SWIG_null_ref("wxHtmlLinkInfo");
8986 if (SWIG_arg_fail(2)) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
= NULL
;
9004 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9005 wxString
*arg2
= 0 ;
9006 bool temp2
= false ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "title", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail
;
9017 arg2
= wxString_in_helper(obj1
);
9018 if (arg2
== NULL
) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= NULL
;
9045 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9046 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9052 PyObject
* obj3
= 0 ;
9054 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
9059 if (SWIG_arg_fail(1)) SWIG_fail
;
9060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
9061 if (SWIG_arg_fail(2)) SWIG_fail
;
9063 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9064 if (SWIG_arg_fail(3)) SWIG_fail
;
9067 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9068 if (SWIG_arg_fail(4)) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9084 static PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
= NULL
;
9086 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9087 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9090 wxMouseEvent
*arg5
= 0 ;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9093 PyObject
* obj2
= 0 ;
9094 PyObject
* obj3
= 0 ;
9095 PyObject
* obj4
= 0 ;
9097 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_EXCEPTION
| 0);
9102 if (SWIG_arg_fail(1)) SWIG_fail
;
9103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_EXCEPTION
| 0);
9104 if (SWIG_arg_fail(2)) SWIG_fail
;
9106 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9107 if (SWIG_arg_fail(3)) SWIG_fail
;
9110 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9111 if (SWIG_arg_fail(4)) SWIG_fail
;
9114 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
9115 if (SWIG_arg_fail(5)) SWIG_fail
;
9117 SWIG_null_ref("wxMouseEvent");
9119 if (SWIG_arg_fail(5)) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 (arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
= NULL
;
9137 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9138 wxVisualAttributes result
;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "variant", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9147 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
9148 if (SWIG_arg_fail(1)) SWIG_fail
;
9152 if (!wxPyCheckForApp()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 wxVisualAttributes
* resultptr
;
9161 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
9162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9170 static PyObject
* HtmlWindow_swigregister(PyObject
*, PyObject
*args
) {
9172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9173 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow
, obj
);
9175 return Py_BuildValue((char *)"");
9177 static PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
= NULL
;
9179 wxHtmlDCRenderer
*result
;
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlDCRenderer",kwnames
)) goto fail
;
9186 if (!wxPyCheckForApp()) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlDCRenderer
, 1);
9200 static PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
= NULL
;
9202 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "self", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlDCRenderer",kwnames
,&obj0
)) goto fail
;
9209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 Py_INCREF(Py_None
); resultobj
= Py_None
;
9225 static PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
= NULL
;
9227 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9228 wxDC
*arg2
= (wxDC
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 PyObject
* obj2
= 0 ;
9234 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9241 if (SWIG_arg_fail(2)) SWIG_fail
;
9243 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9244 if (SWIG_arg_fail(3)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 (arg1
)->SetDC(arg2
,arg3
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
= NULL
;
9262 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9267 PyObject
* obj2
= 0 ;
9269 (char *) "self",(char *) "width",(char *) "height", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail
;
9276 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9277 if (SWIG_arg_fail(2)) SWIG_fail
;
9280 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9281 if (SWIG_arg_fail(3)) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 (arg1
)->SetSize(arg2
,arg3
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 Py_INCREF(Py_None
); resultobj
= Py_None
;
9297 static PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
= NULL
;
9299 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9300 wxString
*arg2
= 0 ;
9301 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9302 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9303 bool arg4
= (bool) true ;
9304 bool temp2
= false ;
9305 bool temp3
= false ;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9308 PyObject
* obj2
= 0 ;
9309 PyObject
* obj3
= 0 ;
9311 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 arg2
= wxString_in_helper(obj1
);
9319 if (arg2
== NULL
) SWIG_fail
;
9324 arg3
= wxString_in_helper(obj2
);
9325 if (arg3
== NULL
) SWIG_fail
;
9331 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
9332 if (SWIG_arg_fail(4)) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 Py_INCREF(Py_None
); resultobj
= Py_None
;
9365 static PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
= NULL
;
9367 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9370 PyObject
*arg4
= (PyObject
*) NULL
;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 PyObject
* obj2
= 0 ;
9374 PyObject
* obj3
= 0 ;
9376 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9381 if (SWIG_arg_fail(1)) SWIG_fail
;
9383 wxString
* sptr
= wxString_in_helper(obj1
);
9384 if (sptr
== NULL
) SWIG_fail
;
9389 wxString
* sptr
= wxString_in_helper(obj2
);
9390 if (sptr
== NULL
) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 Py_INCREF(Py_None
); resultobj
= Py_None
;
9411 static PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= NULL
;
9413 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9414 int arg2
= (int) -1 ;
9415 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9416 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9417 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9418 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9419 bool temp3
= false ;
9420 bool temp4
= false ;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9423 PyObject
* obj2
= 0 ;
9424 PyObject
* obj3
= 0 ;
9426 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9431 if (SWIG_arg_fail(1)) SWIG_fail
;
9434 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9435 if (SWIG_arg_fail(2)) SWIG_fail
;
9440 arg3
= wxString_in_helper(obj2
);
9441 if (arg3
== NULL
) SWIG_fail
;
9447 arg4
= wxString_in_helper(obj3
);
9448 if (arg4
== NULL
) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9482 static PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
= NULL
;
9484 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9487 int arg4
= (int) 0 ;
9488 int arg5
= (int) false ;
9489 int arg6
= (int) INT_MAX
;
9490 int *arg7
= (int *) NULL
;
9491 int arg8
= (int) 0 ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 PyObject
* obj2
= 0 ;
9496 PyObject
* obj3
= 0 ;
9497 PyObject
* obj4
= 0 ;
9498 PyObject
* obj5
= 0 ;
9499 PyObject
* obj6
= 0 ;
9500 PyObject
* obj7
= 0 ;
9502 (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail
;
9509 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9510 if (SWIG_arg_fail(2)) SWIG_fail
;
9513 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9514 if (SWIG_arg_fail(3)) SWIG_fail
;
9518 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9519 if (SWIG_arg_fail(4)) SWIG_fail
;
9524 arg5
= static_cast<int >(SWIG_As_int(obj4
));
9525 if (SWIG_arg_fail(5)) SWIG_fail
;
9530 arg6
= static_cast<int >(SWIG_As_int(obj5
));
9531 if (SWIG_arg_fail(6)) SWIG_fail
;
9535 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_int
, SWIG_POINTER_EXCEPTION
| 0);
9536 if (SWIG_arg_fail(7)) SWIG_fail
;
9540 arg8
= static_cast<int >(SWIG_As_int(obj7
));
9541 if (SWIG_arg_fail(8)) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_From_int(static_cast<int >(result
));
9560 static PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
= NULL
;
9562 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames
,&obj0
)) goto fail
;
9570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_EXCEPTION
| 0);
9571 if (SWIG_arg_fail(1)) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (int)(arg1
)->GetTotalHeight();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_From_int(static_cast<int >(result
));
9588 static PyObject
* HtmlDCRenderer_swigregister(PyObject
*, PyObject
*args
) {
9590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9591 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer
, obj
);
9593 return Py_BuildValue((char *)"");
9595 static PyObject
*_wrap_new_HtmlPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= NULL
;
9597 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
9598 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
9599 wxHtmlPrintout
*result
;
9600 bool temp1
= false ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "title", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) goto fail
;
9609 arg1
= wxString_in_helper(obj0
);
9610 if (arg1
== NULL
) SWIG_fail
;
9615 if (!wxPyCheckForApp()) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlPrintout
, 1);
9637 static PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
= NULL
;
9639 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9640 wxString
*arg2
= 0 ;
9641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9643 bool arg4
= (bool) true ;
9644 bool temp2
= false ;
9645 bool temp3
= false ;
9646 PyObject
* obj0
= 0 ;
9647 PyObject
* obj1
= 0 ;
9648 PyObject
* obj2
= 0 ;
9649 PyObject
* obj3
= 0 ;
9651 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 arg2
= wxString_in_helper(obj1
);
9659 if (arg2
== NULL
) SWIG_fail
;
9664 arg3
= wxString_in_helper(obj2
);
9665 if (arg3
== NULL
) SWIG_fail
;
9671 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
9672 if (SWIG_arg_fail(4)) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 Py_INCREF(Py_None
); resultobj
= Py_None
;
9705 static PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= NULL
;
9707 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9708 wxString
*arg2
= 0 ;
9709 bool temp2
= false ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "htmlfile", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 arg2
= wxString_in_helper(obj1
);
9721 if (arg2
== NULL
) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 Py_INCREF(Py_None
); resultobj
= Py_None
;
9746 static PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
= NULL
;
9748 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9749 wxString
*arg2
= 0 ;
9750 int arg3
= (int) wxPAGE_ALL
;
9751 bool temp2
= false ;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9754 PyObject
* obj2
= 0 ;
9756 (char *) "self",(char *) "header",(char *) "pg", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9761 if (SWIG_arg_fail(1)) SWIG_fail
;
9763 arg2
= wxString_in_helper(obj1
);
9764 if (arg2
== NULL
) SWIG_fail
;
9769 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9770 if (SWIG_arg_fail(3)) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 Py_INCREF(Py_None
); resultobj
= Py_None
;
9795 static PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= NULL
;
9797 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9798 wxString
*arg2
= 0 ;
9799 int arg3
= (int) wxPAGE_ALL
;
9800 bool temp2
= false ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9805 (char *) "self",(char *) "footer",(char *) "pg", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail
;
9812 arg2
= wxString_in_helper(obj1
);
9813 if (arg2
== NULL
) SWIG_fail
;
9818 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9819 if (SWIG_arg_fail(3)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
= NULL
;
9846 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9849 PyObject
*arg4
= (PyObject
*) NULL
;
9850 PyObject
* obj0
= 0 ;
9851 PyObject
* obj1
= 0 ;
9852 PyObject
* obj2
= 0 ;
9853 PyObject
* obj3
= 0 ;
9855 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9860 if (SWIG_arg_fail(1)) SWIG_fail
;
9862 wxString
* sptr
= wxString_in_helper(obj1
);
9863 if (sptr
== NULL
) SWIG_fail
;
9868 wxString
* sptr
= wxString_in_helper(obj2
);
9869 if (sptr
== NULL
) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 Py_INCREF(Py_None
); resultobj
= Py_None
;
9890 static PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
= NULL
;
9892 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9893 int arg2
= (int) -1 ;
9894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9898 bool temp3
= false ;
9899 bool temp4
= false ;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9902 PyObject
* obj2
= 0 ;
9903 PyObject
* obj3
= 0 ;
9905 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail
;
9913 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9914 if (SWIG_arg_fail(2)) SWIG_fail
;
9919 arg3
= wxString_in_helper(obj2
);
9920 if (arg3
== NULL
) SWIG_fail
;
9926 arg4
= wxString_in_helper(obj3
);
9927 if (arg4
== NULL
) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 Py_INCREF(Py_None
); resultobj
= Py_None
;
9961 static PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
= NULL
;
9963 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
9964 float arg2
= (float) 25.2 ;
9965 float arg3
= (float) 25.2 ;
9966 float arg4
= (float) 25.2 ;
9967 float arg5
= (float) 25.2 ;
9968 float arg6
= (float) 5 ;
9969 PyObject
* obj0
= 0 ;
9970 PyObject
* obj1
= 0 ;
9971 PyObject
* obj2
= 0 ;
9972 PyObject
* obj3
= 0 ;
9973 PyObject
* obj4
= 0 ;
9974 PyObject
* obj5
= 0 ;
9976 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_EXCEPTION
| 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail
;
9984 arg2
= static_cast<float >(SWIG_As_float(obj1
));
9985 if (SWIG_arg_fail(2)) SWIG_fail
;
9990 arg3
= static_cast<float >(SWIG_As_float(obj2
));
9991 if (SWIG_arg_fail(3)) SWIG_fail
;
9996 arg4
= static_cast<float >(SWIG_As_float(obj3
));
9997 if (SWIG_arg_fail(4)) SWIG_fail
;
10002 arg5
= static_cast<float >(SWIG_As_float(obj4
));
10003 if (SWIG_arg_fail(5)) SWIG_fail
;
10008 arg6
= static_cast<float >(SWIG_As_float(obj5
));
10009 if (SWIG_arg_fail(6)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 Py_INCREF(Py_None
); resultobj
= Py_None
;
10026 static PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
= NULL
;
10028 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "filter", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) goto fail
;
10035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlFilter
, SWIG_POINTER_EXCEPTION
| 0);
10036 if (SWIG_arg_fail(1)) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 wxHtmlPrintout::AddFilter(arg1
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10051 static PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
= NULL
;
10053 char *kwnames
[] = {
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HtmlPrintout_CleanUpStatics",kwnames
)) goto fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 wxHtmlPrintout::CleanUpStatics();
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 Py_INCREF(Py_None
); resultobj
= Py_None
;
10072 static PyObject
* HtmlPrintout_swigregister(PyObject
*, PyObject
*args
) {
10074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10075 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout
, obj
);
10077 return Py_BuildValue((char *)"");
10079 static PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
= NULL
;
10081 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
10082 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
10083 wxWindow
*arg2
= (wxWindow
*) NULL
;
10084 wxHtmlEasyPrinting
*result
;
10085 bool temp1
= false ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "name",(char *) "parentWindow", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) goto fail
;
10095 arg1
= wxString_in_helper(obj0
);
10096 if (arg1
== NULL
) SWIG_fail
;
10101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10102 if (SWIG_arg_fail(2)) SWIG_fail
;
10105 if (!wxPyCheckForApp()) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, 1);
10127 static PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
= NULL
;
10129 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlEasyPrinting",kwnames
,&obj0
)) goto fail
;
10136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 Py_INCREF(Py_None
); resultobj
= Py_None
;
10152 static PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
= NULL
;
10154 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10155 wxString
*arg2
= 0 ;
10156 bool temp2
= false ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "htmlfile", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail
;
10167 arg2
= wxString_in_helper(obj1
);
10168 if (arg2
== NULL
) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 (arg1
)->PreviewFile((wxString
const &)*arg2
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 Py_INCREF(Py_None
); resultobj
= Py_None
;
10193 static PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
= NULL
;
10195 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10196 wxString
*arg2
= 0 ;
10197 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10199 bool temp2
= false ;
10200 bool temp3
= false ;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 PyObject
* obj2
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10210 if (SWIG_arg_fail(1)) SWIG_fail
;
10212 arg2
= wxString_in_helper(obj1
);
10213 if (arg2
== NULL
) SWIG_fail
;
10218 arg3
= wxString_in_helper(obj2
);
10219 if (arg3
== NULL
) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 Py_INCREF(Py_None
); resultobj
= Py_None
;
10253 static PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
= NULL
;
10255 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10256 wxString
*arg2
= 0 ;
10257 bool temp2
= false ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "htmlfile", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10266 if (SWIG_arg_fail(1)) SWIG_fail
;
10268 arg2
= wxString_in_helper(obj1
);
10269 if (arg2
== NULL
) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 (arg1
)->PrintFile((wxString
const &)*arg2
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
= NULL
;
10296 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10297 wxString
*arg2
= 0 ;
10298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10300 bool temp2
= false ;
10301 bool temp3
= false ;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 PyObject
* obj2
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10311 if (SWIG_arg_fail(1)) SWIG_fail
;
10313 arg2
= wxString_in_helper(obj1
);
10314 if (arg2
== NULL
) SWIG_fail
;
10319 arg3
= wxString_in_helper(obj2
);
10320 if (arg3
== NULL
) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10354 static PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= NULL
;
10356 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames
,&obj0
)) goto fail
;
10363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->PageSetup();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
= NULL
;
10381 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10382 wxString
*arg2
= 0 ;
10383 int arg3
= (int) wxPAGE_ALL
;
10384 bool temp2
= false ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 PyObject
* obj2
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "header",(char *) "pg", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 arg2
= wxString_in_helper(obj1
);
10397 if (arg2
== NULL
) SWIG_fail
;
10402 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10403 if (SWIG_arg_fail(3)) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 Py_INCREF(Py_None
); resultobj
= Py_None
;
10428 static PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= NULL
;
10430 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10431 wxString
*arg2
= 0 ;
10432 int arg3
= (int) wxPAGE_ALL
;
10433 bool temp2
= false ;
10434 PyObject
* obj0
= 0 ;
10435 PyObject
* obj1
= 0 ;
10436 PyObject
* obj2
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self",(char *) "footer",(char *) "pg", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10443 if (SWIG_arg_fail(1)) SWIG_fail
;
10445 arg2
= wxString_in_helper(obj1
);
10446 if (arg2
== NULL
) SWIG_fail
;
10451 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10452 if (SWIG_arg_fail(3)) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 Py_INCREF(Py_None
); resultobj
= Py_None
;
10477 static PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
= NULL
;
10479 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10482 PyObject
*arg4
= (PyObject
*) NULL
;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 PyObject
* obj2
= 0 ;
10486 PyObject
* obj3
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail
;
10495 wxString
* sptr
= wxString_in_helper(obj1
);
10496 if (sptr
== NULL
) SWIG_fail
;
10501 wxString
* sptr
= wxString_in_helper(obj2
);
10502 if (sptr
== NULL
) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
= NULL
;
10525 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10526 int arg2
= (int) -1 ;
10527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10529 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10530 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10531 bool temp3
= false ;
10532 bool temp4
= false ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 PyObject
* obj2
= 0 ;
10536 PyObject
* obj3
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail
;
10546 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10547 if (SWIG_arg_fail(2)) SWIG_fail
;
10552 arg3
= wxString_in_helper(obj2
);
10553 if (arg3
== NULL
) SWIG_fail
;
10559 arg4
= wxString_in_helper(obj3
);
10560 if (arg4
== NULL
) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 Py_INCREF(Py_None
); resultobj
= Py_None
;
10594 static PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
= NULL
;
10596 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10597 wxPrintData
*result
;
10598 PyObject
* obj0
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames
,&obj0
)) goto fail
;
10604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (wxPrintData
*)(arg1
)->GetPrintData();
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
10620 static PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
= NULL
;
10622 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
10623 wxPageSetupDialogData
*result
;
10624 PyObject
* obj0
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
10630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_EXCEPTION
| 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
10646 static PyObject
* HtmlEasyPrinting_swigregister(PyObject
*, PyObject
*args
) {
10648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, obj
);
10651 return Py_BuildValue((char *)"");
10653 static PyObject
*_wrap_new_HtmlBookRecord(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= NULL
;
10655 wxString
*arg1
= 0 ;
10656 wxString
*arg2
= 0 ;
10657 wxString
*arg3
= 0 ;
10658 wxString
*arg4
= 0 ;
10659 wxHtmlBookRecord
*result
;
10660 bool temp1
= false ;
10661 bool temp2
= false ;
10662 bool temp3
= false ;
10663 bool temp4
= false ;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 PyObject
* obj2
= 0 ;
10667 PyObject
* obj3
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10674 arg1
= wxString_in_helper(obj0
);
10675 if (arg1
== NULL
) SWIG_fail
;
10679 arg2
= wxString_in_helper(obj1
);
10680 if (arg2
== NULL
) SWIG_fail
;
10684 arg3
= wxString_in_helper(obj2
);
10685 if (arg3
== NULL
) SWIG_fail
;
10689 arg4
= wxString_in_helper(obj3
);
10690 if (arg4
== NULL
) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecord
, 1);
10739 static PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
= NULL
;
10741 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBookFile",kwnames
,&obj0
)) goto fail
;
10749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10750 if (SWIG_arg_fail(1)) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (arg1
)->GetBookFile();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10771 static PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
= NULL
;
10773 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetTitle",kwnames
,&obj0
)) goto fail
;
10781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (arg1
)->GetTitle();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10803 static PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
= NULL
;
10805 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetStart",kwnames
,&obj0
)) goto fail
;
10813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (arg1
)->GetStart();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10835 static PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= NULL
;
10837 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetBasePath",kwnames
,&obj0
)) goto fail
;
10845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (arg1
)->GetBasePath();
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10867 static PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
= NULL
;
10869 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 PyObject
* obj2
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "start",(char *) "end", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10881 if (SWIG_arg_fail(1)) SWIG_fail
;
10883 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10884 if (SWIG_arg_fail(2)) SWIG_fail
;
10887 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10888 if (SWIG_arg_fail(3)) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 (arg1
)->SetContentsRange(arg2
,arg3
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 Py_INCREF(Py_None
); resultobj
= Py_None
;
10904 static PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
= NULL
;
10906 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames
,&obj0
)) goto fail
;
10914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10915 if (SWIG_arg_fail(1)) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 result
= (int)(arg1
)->GetContentsStart();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= SWIG_From_int(static_cast<int >(result
));
10932 static PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
= NULL
;
10934 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames
,&obj0
)) goto fail
;
10942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (int)(arg1
)->GetContentsEnd();
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_From_int(static_cast<int >(result
));
10960 static PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
= NULL
;
10962 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
10963 wxString
*arg2
= 0 ;
10964 bool temp2
= false ;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self",(char *) "title", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
10972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
10973 if (SWIG_arg_fail(1)) SWIG_fail
;
10975 arg2
= wxString_in_helper(obj1
);
10976 if (arg2
== NULL
) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 (arg1
)->SetTitle((wxString
const &)*arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
= NULL
;
11003 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
11004 wxString
*arg2
= 0 ;
11005 bool temp2
= false ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "path", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail
;
11016 arg2
= wxString_in_helper(obj1
);
11017 if (arg2
== NULL
) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 (arg1
)->SetBasePath((wxString
const &)*arg2
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 Py_INCREF(Py_None
); resultobj
= Py_None
;
11042 static PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= NULL
;
11044 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
11045 wxString
*arg2
= 0 ;
11046 bool temp2
= false ;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self",(char *) "start", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
11054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail
;
11057 arg2
= wxString_in_helper(obj1
);
11058 if (arg2
== NULL
) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 (arg1
)->SetStart((wxString
const &)*arg2
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 Py_INCREF(Py_None
); resultobj
= Py_None
;
11083 static PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
= NULL
;
11085 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
11086 wxString
*arg2
= 0 ;
11088 bool temp2
= false ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self",(char *) "page", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_EXCEPTION
| 0);
11097 if (SWIG_arg_fail(1)) SWIG_fail
;
11099 arg2
= wxString_in_helper(obj1
);
11100 if (arg2
== NULL
) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11131 static PyObject
* HtmlBookRecord_swigregister(PyObject
*, PyObject
*args
) {
11133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11134 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord
, obj
);
11136 return Py_BuildValue((char *)"");
11138 static PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
= NULL
;
11140 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_Search",kwnames
,&obj0
)) goto fail
;
11148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)(arg1
)->Search();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 static PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
= NULL
;
11168 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 char *kwnames
[] = {
11172 (char *) "self", NULL
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_IsActive",kwnames
,&obj0
)) goto fail
;
11176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11177 if (SWIG_arg_fail(1)) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (bool)(arg1
)->IsActive();
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 static PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= NULL
;
11196 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames
,&obj0
)) goto fail
;
11204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (int)(arg1
)->GetCurIndex();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_From_int(static_cast<int >(result
));
11222 static PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
= NULL
;
11224 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames
,&obj0
)) goto fail
;
11232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (int)(arg1
)->GetMaxIndex();
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_From_int(static_cast<int >(result
));
11250 static PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= NULL
;
11252 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
11254 PyObject
* obj0
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "self", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlSearchStatus_GetName",kwnames
,&obj0
)) goto fail
;
11260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_POINTER_EXCEPTION
| 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 wxString
const &_result_ref
= (arg1
)->GetName();
11266 result
= (wxString
*) &_result_ref
;
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11276 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11285 static PyObject
* HtmlSearchStatus_swigregister(PyObject
*, PyObject
*args
) {
11287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11288 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus
, obj
);
11290 return Py_BuildValue((char *)"");
11292 static PyObject
*_wrap_new_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
= NULL
;
11294 wxHtmlHelpData
*result
;
11295 char *kwnames
[] = {
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_HtmlHelpData",kwnames
)) goto fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 1);
11314 static PyObject
*_wrap_delete_HtmlHelpData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
= NULL
;
11316 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpData",kwnames
,&obj0
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 Py_INCREF(Py_None
); resultobj
= Py_None
;
11339 static PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
= NULL
;
11341 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11342 wxString
*arg2
= 0 ;
11343 bool temp2
= false ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "path", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
11351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11352 if (SWIG_arg_fail(1)) SWIG_fail
;
11354 arg2
= wxString_in_helper(obj1
);
11355 if (arg2
== NULL
) SWIG_fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 (arg1
)->SetTempDir((wxString
const &)*arg2
);
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 Py_INCREF(Py_None
); resultobj
= Py_None
;
11380 static PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
= NULL
;
11382 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11383 wxString
*arg2
= 0 ;
11385 bool temp2
= false ;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "book", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) goto fail
;
11393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail
;
11396 arg2
= wxString_in_helper(obj1
);
11397 if (arg2
== NULL
) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11424 static PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= NULL
;
11426 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11427 wxString
*arg2
= 0 ;
11429 bool temp2
= false ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "page", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) goto fail
;
11437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail
;
11440 arg2
= wxString_in_helper(obj1
);
11441 if (arg2
== NULL
) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11472 static PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
= NULL
;
11474 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 PyObject
* obj1
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "self",(char *) "id", NULL
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) goto fail
;
11484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11485 if (SWIG_arg_fail(1)) SWIG_fail
;
11487 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11488 if (SWIG_arg_fail(2)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (arg1
)->FindPageById(arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11510 static PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
= NULL
;
11512 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
11513 wxHtmlBookRecArray
*result
;
11514 PyObject
* obj0
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames
,&obj0
)) goto fail
;
11520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
11526 result
= (wxHtmlBookRecArray
*) &_result_ref
;
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0);
11539 static PyObject
* HtmlHelpData_swigregister(PyObject
*, PyObject
*args
) {
11541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11542 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData
, obj
);
11544 return Py_BuildValue((char *)"");
11546 static PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
= NULL
;
11548 wxWindow
*arg1
= (wxWindow
*) 0 ;
11550 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11551 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11552 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11553 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11554 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
11555 int arg6
= (int) wxHF_DEFAULT_STYLE
;
11556 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
11557 wxHtmlHelpWindow
*result
;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 PyObject
* obj2
= 0 ;
11563 PyObject
* obj3
= 0 ;
11564 PyObject
* obj4
= 0 ;
11565 PyObject
* obj5
= 0 ;
11566 PyObject
* obj6
= 0 ;
11567 char *kwnames
[] = {
11568 (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11573 if (SWIG_arg_fail(1)) SWIG_fail
;
11575 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11576 if (SWIG_arg_fail(2)) SWIG_fail
;
11581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11592 arg5
= static_cast<int >(SWIG_As_int(obj4
));
11593 if (SWIG_arg_fail(5)) SWIG_fail
;
11598 arg6
= static_cast<int >(SWIG_As_int(obj5
));
11599 if (SWIG_arg_fail(6)) SWIG_fail
;
11603 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11604 if (SWIG_arg_fail(7)) SWIG_fail
;
11607 if (!wxPyCheckForApp()) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpWindow
, 1);
11621 static PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
= NULL
;
11623 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
11624 wxHtmlHelpWindow
*result
;
11625 PyObject
* obj0
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "data", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) goto fail
;
11632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail
;
11636 if (!wxPyCheckForApp()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpWindow
, 1);
11650 static PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= NULL
;
11652 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11653 wxWindow
*arg2
= (wxWindow
*) 0 ;
11655 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11656 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11657 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11658 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11659 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
11660 int arg7
= (int) wxHF_DEFAULT_STYLE
;
11664 PyObject
* obj0
= 0 ;
11665 PyObject
* obj1
= 0 ;
11666 PyObject
* obj2
= 0 ;
11667 PyObject
* obj3
= 0 ;
11668 PyObject
* obj4
= 0 ;
11669 PyObject
* obj5
= 0 ;
11670 PyObject
* obj6
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail
;
11678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11679 if (SWIG_arg_fail(2)) SWIG_fail
;
11681 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11682 if (SWIG_arg_fail(3)) SWIG_fail
;
11687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11698 arg6
= static_cast<int >(SWIG_As_int(obj5
));
11699 if (SWIG_arg_fail(6)) SWIG_fail
;
11704 arg7
= static_cast<int >(SWIG_As_int(obj6
));
11705 if (SWIG_arg_fail(7)) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11724 static PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
= NULL
;
11726 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11727 wxHtmlHelpData
*result
;
11728 PyObject
* obj0
= 0 ;
11729 char *kwnames
[] = {
11730 (char *) "self", NULL
11733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_GetData",kwnames
,&obj0
)) goto fail
;
11734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11735 if (SWIG_arg_fail(1)) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
11750 static PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
= NULL
;
11752 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11753 wxHtmlHelpController
*result
;
11754 PyObject
* obj0
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_GetController",kwnames
,&obj0
)) goto fail
;
11760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 0);
11776 static PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
= NULL
;
11778 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11779 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self",(char *) "controller", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) goto fail
;
11787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11788 if (SWIG_arg_fail(1)) SWIG_fail
;
11789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
11790 if (SWIG_arg_fail(2)) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 (arg1
)->SetController(arg2
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 Py_INCREF(Py_None
); resultobj
= Py_None
;
11805 static PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
= NULL
;
11807 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11808 wxString
*arg2
= 0 ;
11810 bool temp2
= false ;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self",(char *) "x", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
11818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail
;
11821 arg2
= wxString_in_helper(obj1
);
11822 if (arg2
== NULL
) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11849 static PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
= NULL
;
11851 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "id", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11862 if (SWIG_arg_fail(1)) SWIG_fail
;
11864 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11865 if (SWIG_arg_fail(2)) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (bool)(arg1
)->Display(arg2
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11883 static PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
= NULL
;
11885 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames
,&obj0
)) goto fail
;
11893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11894 if (SWIG_arg_fail(1)) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (bool)(arg1
)->DisplayContents();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11911 static PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
= NULL
;
11913 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames
,&obj0
)) goto fail
;
11921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11922 if (SWIG_arg_fail(1)) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (bool)(arg1
)->DisplayIndex();
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11939 static PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
= NULL
;
11941 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
11942 wxString
*arg2
= 0 ;
11943 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
11945 bool temp2
= false ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 PyObject
* obj2
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "keyword",(char *) "mode", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
11955 if (SWIG_arg_fail(1)) SWIG_fail
;
11957 arg2
= wxString_in_helper(obj1
);
11958 if (arg2
== NULL
) SWIG_fail
;
11963 wxHelpSearchMode
* argp
;
11964 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxHelpSearchMode
, SWIG_POINTER_EXCEPTION
);
11965 if (SWIG_arg_fail(3)) SWIG_fail
;
11966 if (argp
== NULL
) {
11967 SWIG_null_ref("wxHelpSearchMode");
11969 if (SWIG_arg_fail(3)) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11997 static PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
= NULL
;
11999 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12000 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12001 wxString
const &arg3_defvalue
= wxEmptyString
;
12002 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12003 bool temp3
= false ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 PyObject
* obj2
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "config",(char *) "rootpath", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12013 if (SWIG_arg_fail(1)) SWIG_fail
;
12014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12015 if (SWIG_arg_fail(2)) SWIG_fail
;
12018 arg3
= wxString_in_helper(obj2
);
12019 if (arg3
== NULL
) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 Py_INCREF(Py_None
); resultobj
= Py_None
;
12045 static PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
= NULL
;
12047 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12048 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12049 wxString
const &arg3_defvalue
= wxEmptyString
;
12050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12051 bool temp3
= false ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 PyObject
* obj2
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self",(char *) "cfg",(char *) "path", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12063 if (SWIG_arg_fail(2)) SWIG_fail
;
12066 arg3
= wxString_in_helper(obj2
);
12067 if (arg3
== NULL
) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
= NULL
;
12095 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12096 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
12097 wxString
const &arg3_defvalue
= wxEmptyString
;
12098 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12099 bool temp3
= false ;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 PyObject
* obj2
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self",(char *) "cfg",(char *) "path", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12109 if (SWIG_arg_fail(1)) SWIG_fail
;
12110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
12111 if (SWIG_arg_fail(2)) SWIG_fail
;
12114 arg3
= wxString_in_helper(obj2
);
12115 if (arg3
== NULL
) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12141 static PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
= NULL
;
12143 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames
,&obj0
)) goto fail
;
12150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->NotifyPageChanged();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
= NULL
;
12168 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames
,&obj0
)) goto fail
;
12175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->RefreshLists();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
= NULL
;
12193 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12194 wxHtmlWindow
*result
;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWindow
, 0);
12217 static PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
= NULL
;
12219 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12220 wxSplitterWindow
*result
;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames
,&obj0
)) goto fail
;
12227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12228 if (SWIG_arg_fail(1)) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 0);
12243 static PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
= NULL
;
12245 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames
,&obj0
)) goto fail
;
12253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12254 if (SWIG_arg_fail(1)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12271 static PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
= NULL
;
12273 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12274 wxHtmlHelpFrameCfg
*result
;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames
,&obj0
)) goto fail
;
12281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
12287 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0);
12300 static PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
= NULL
;
12302 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
12303 wxTreeCtrl
*result
;
12304 PyObject
* obj0
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
12310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (wxTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeCtrl
, 0);
12326 static PyObject
* HtmlHelpWindow_swigregister(PyObject
*, PyObject
*args
) {
12328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12329 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow
, obj
);
12331 return Py_BuildValue((char *)"");
12333 static PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
= NULL
;
12335 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12336 int arg2
= (int) 0 ;
12337 wxHtmlWindowEvent
*result
;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "commandType",(char *) "id", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12347 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
12348 if (SWIG_arg_fail(1)) SWIG_fail
;
12353 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12354 if (SWIG_arg_fail(2)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlWindowEvent
, 1);
12371 static PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= NULL
;
12373 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
12374 wxString
*arg2
= 0 ;
12375 bool temp2
= false ;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self",(char *) "url", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12386 arg2
= wxString_in_helper(obj1
);
12387 if (arg2
== NULL
) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 (arg1
)->SetURL((wxString
const &)*arg2
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 Py_INCREF(Py_None
); resultobj
= Py_None
;
12412 static PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= NULL
;
12414 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindowEvent_GetURL",kwnames
,&obj0
)) goto fail
;
12422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_EXCEPTION
| 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
12428 result
= (wxString
*) &_result_ref
;
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12438 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12447 static PyObject
* HtmlWindowEvent_swigregister(PyObject
*, PyObject
*args
) {
12449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12450 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent
, obj
);
12452 return Py_BuildValue((char *)"");
12454 static PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= NULL
;
12456 wxWindow
*arg1
= (wxWindow
*) 0 ;
12458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12460 int arg4
= (int) wxHF_DEFAULTSTYLE
;
12461 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
12462 wxHtmlHelpFrame
*result
;
12463 bool temp3
= false ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 PyObject
* obj2
= 0 ;
12467 PyObject
* obj3
= 0 ;
12468 PyObject
* obj4
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12475 if (SWIG_arg_fail(1)) SWIG_fail
;
12477 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12478 if (SWIG_arg_fail(2)) SWIG_fail
;
12482 arg3
= wxString_in_helper(obj2
);
12483 if (arg3
== NULL
) SWIG_fail
;
12489 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12490 if (SWIG_arg_fail(4)) SWIG_fail
;
12494 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
12495 if (SWIG_arg_fail(5)) SWIG_fail
;
12498 if (!wxPyCheckForApp()) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
12520 static PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
= NULL
;
12522 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
12523 wxHtmlHelpFrame
*result
;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "data", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) goto fail
;
12531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 if (!wxPyCheckForApp()) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpFrame
, 1);
12549 static PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
= NULL
;
12551 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
12552 wxWindow
*arg2
= (wxWindow
*) 0 ;
12554 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12555 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12556 int arg5
= (int) wxHF_DEFAULT_STYLE
;
12558 bool temp4
= false ;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 PyObject
* obj2
= 0 ;
12562 PyObject
* obj3
= 0 ;
12563 PyObject
* obj4
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
12570 if (SWIG_arg_fail(1)) SWIG_fail
;
12571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12572 if (SWIG_arg_fail(2)) SWIG_fail
;
12574 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12575 if (SWIG_arg_fail(3)) SWIG_fail
;
12579 arg4
= wxString_in_helper(obj3
);
12580 if (arg4
== NULL
) SWIG_fail
;
12586 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12587 if (SWIG_arg_fail(5)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12614 static PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
= NULL
;
12616 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
12617 wxHtmlHelpData
*result
;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetData",kwnames
,&obj0
)) goto fail
;
12624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
12625 if (SWIG_arg_fail(1)) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
12640 static PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
= NULL
;
12642 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
12643 wxString
*arg2
= 0 ;
12644 bool temp2
= false ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "format", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12655 arg2
= wxString_in_helper(obj1
);
12656 if (arg2
== NULL
) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12681 static PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
= NULL
;
12683 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames
,&obj0
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 (arg1
)->AddGrabIfNeeded();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
= NULL
;
12708 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
12709 wxHtmlHelpController
*result
;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetController",kwnames
,&obj0
)) goto fail
;
12716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
12717 if (SWIG_arg_fail(1)) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 0);
12732 static PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
= NULL
;
12734 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
12735 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "controller", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) goto fail
;
12743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail
;
12745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
12746 if (SWIG_arg_fail(2)) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->SetController(arg2
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 Py_INCREF(Py_None
); resultobj
= Py_None
;
12761 static PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= NULL
;
12763 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
12764 wxHtmlHelpWindow
*result
;
12765 PyObject
* obj0
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames
,&obj0
)) goto fail
;
12771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_EXCEPTION
| 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= wxPyMake_wxObject(result
, 0);
12789 static PyObject
* HtmlHelpFrame_swigregister(PyObject
*, PyObject
*args
) {
12791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12792 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame
, obj
);
12794 return Py_BuildValue((char *)"");
12796 static PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
= NULL
;
12798 wxWindow
*arg1
= (wxWindow
*) 0 ;
12800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12802 int arg4
= (int) wxHF_DEFAULT_STYLE
;
12803 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
12804 wxHtmlHelpDialog
*result
;
12805 bool temp3
= false ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 PyObject
* obj3
= 0 ;
12810 PyObject
* obj4
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12817 if (SWIG_arg_fail(1)) SWIG_fail
;
12819 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12820 if (SWIG_arg_fail(2)) SWIG_fail
;
12824 arg3
= wxString_in_helper(obj2
);
12825 if (arg3
== NULL
) SWIG_fail
;
12831 arg4
= static_cast<int >(SWIG_As_int(obj3
));
12832 if (SWIG_arg_fail(4)) SWIG_fail
;
12836 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
12837 if (SWIG_arg_fail(5)) SWIG_fail
;
12840 if (!wxPyCheckForApp()) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpDialog
, 1);
12862 static PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
= NULL
;
12864 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
12865 wxHtmlHelpDialog
*result
;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "data", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) goto fail
;
12873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_EXCEPTION
| 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail
;
12877 if (!wxPyCheckForApp()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpDialog
, 1);
12891 static PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
= NULL
;
12893 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
12894 wxWindow
*arg2
= (wxWindow
*) 0 ;
12896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12898 int arg5
= (int) wxHF_DEFAULT_STYLE
;
12900 bool temp4
= false ;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 PyObject
* obj2
= 0 ;
12904 PyObject
* obj3
= 0 ;
12905 PyObject
* obj4
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_EXCEPTION
| 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail
;
12913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12914 if (SWIG_arg_fail(2)) SWIG_fail
;
12916 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12917 if (SWIG_arg_fail(3)) SWIG_fail
;
12921 arg4
= wxString_in_helper(obj3
);
12922 if (arg4
== NULL
) SWIG_fail
;
12928 arg5
= static_cast<int >(SWIG_As_int(obj4
));
12929 if (SWIG_arg_fail(5)) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12956 static PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
= NULL
;
12958 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
12959 wxHtmlHelpData
*result
;
12960 PyObject
* obj0
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpDialog_GetData",kwnames
,&obj0
)) goto fail
;
12966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_EXCEPTION
| 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpData
, 0);
12982 static PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
= NULL
;
12984 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
12985 wxHtmlHelpController
*result
;
12986 PyObject
* obj0
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpDialog_GetController",kwnames
,&obj0
)) goto fail
;
12992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_EXCEPTION
| 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 0);
13008 static PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
= NULL
;
13010 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
13011 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "self",(char *) "controller", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) goto fail
;
13019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_EXCEPTION
| 0);
13020 if (SWIG_arg_fail(1)) SWIG_fail
;
13021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
13022 if (SWIG_arg_fail(2)) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 (arg1
)->SetController(arg2
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 Py_INCREF(Py_None
); resultobj
= Py_None
;
13037 static PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
= NULL
;
13039 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
13040 wxHtmlHelpWindow
*result
;
13041 PyObject
* obj0
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames
,&obj0
)) goto fail
;
13047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_EXCEPTION
| 0);
13048 if (SWIG_arg_fail(1)) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= wxPyMake_wxObject(result
, 0);
13065 static PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= NULL
;
13067 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
13068 wxString
*arg2
= 0 ;
13069 bool temp2
= false ;
13070 PyObject
* obj0
= 0 ;
13071 PyObject
* obj1
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self",(char *) "format", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
13077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_EXCEPTION
| 0);
13078 if (SWIG_arg_fail(1)) SWIG_fail
;
13080 arg2
= wxString_in_helper(obj1
);
13081 if (arg2
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
* HtmlHelpDialog_swigregister(PyObject
*, PyObject
*args
) {
13108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog
, obj
);
13111 return Py_BuildValue((char *)"");
13113 static PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*, PyObject
*args
) {
13114 PyObject
*resultobj
= NULL
;
13115 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13116 wxString
*arg2
= 0 ;
13119 bool temp2
= false ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 PyObject
* obj2
= 0 ;
13124 if(!PyArg_ParseTuple(args
,(char *)"OOO:HelpControllerBase_Initialize",&obj0
,&obj1
,&obj2
)) goto fail
;
13125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail
;
13128 arg2
= wxString_in_helper(obj1
);
13129 if (arg2
== NULL
) SWIG_fail
;
13133 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13134 if (SWIG_arg_fail(3)) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13160 static PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*, PyObject
*args
) {
13161 PyObject
*resultobj
= NULL
;
13162 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13163 wxString
*arg2
= 0 ;
13165 bool temp2
= false ;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13169 if(!PyArg_ParseTuple(args
,(char *)"OO:HelpControllerBase_Initialize",&obj0
,&obj1
)) goto fail
;
13170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail
;
13173 arg2
= wxString_in_helper(obj1
);
13174 if (arg2
== NULL
) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13201 static PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
13206 argc
= PyObject_Length(args
);
13207 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
13208 argv
[ii
] = PyTuple_GetItem(args
,ii
);
13214 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxHelpControllerBase
, 0) == -1) {
13223 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
13226 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
,args
);
13234 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxHelpControllerBase
, 0) == -1) {
13243 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
13246 _v
= SWIG_Check_int(argv
[2]);
13248 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
,args
);
13254 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
13259 static PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= NULL
;
13261 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13262 wxString
*arg2
= 0 ;
13263 long arg3
= (long) 0 ;
13264 bool temp2
= false ;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 PyObject
* obj2
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "viewer",(char *) "flags", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail
;
13276 arg2
= wxString_in_helper(obj1
);
13277 if (arg2
== NULL
) SWIG_fail
;
13282 arg3
= static_cast<long >(SWIG_As_long(obj2
));
13283 if (SWIG_arg_fail(3)) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13308 static PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
= NULL
;
13310 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13311 wxString
const &arg2_defvalue
= wxEmptyString
;
13312 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13314 bool temp2
= false ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "file", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail
;
13326 arg2
= wxString_in_helper(obj1
);
13327 if (arg2
== NULL
) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13355 static PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
= NULL
;
13357 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpControllerBase_DisplayContents",kwnames
,&obj0
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)(arg1
)->DisplayContents();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13383 static PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*, PyObject
*args
) {
13384 PyObject
*resultobj
= NULL
;
13385 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13391 if(!PyArg_ParseTuple(args
,(char *)"OO:HelpControllerBase_DisplaySection",&obj0
,&obj1
)) goto fail
;
13392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13393 if (SWIG_arg_fail(1)) SWIG_fail
;
13395 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13396 if (SWIG_arg_fail(2)) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (bool)(arg1
)->DisplaySection(arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13414 static PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
= NULL
;
13416 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "contextId", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13427 if (SWIG_arg_fail(1)) SWIG_fail
;
13429 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13430 if (SWIG_arg_fail(2)) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13448 static PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
= NULL
;
13450 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13451 wxString
*arg2
= 0 ;
13452 wxPoint
*arg3
= 0 ;
13454 bool temp2
= false ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 PyObject
* obj2
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "text",(char *) "pos", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail
;
13467 arg2
= wxString_in_helper(obj1
);
13468 if (arg2
== NULL
) SWIG_fail
;
13473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13499 static PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*, PyObject
*args
) {
13500 PyObject
*resultobj
= NULL
;
13501 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13502 wxString
*arg2
= 0 ;
13504 bool temp2
= false ;
13505 PyObject
* obj0
= 0 ;
13506 PyObject
* obj1
= 0 ;
13508 if(!PyArg_ParseTuple(args
,(char *)"OO:HelpControllerBase_DisplaySection",&obj0
,&obj1
)) goto fail
;
13509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail
;
13512 arg2
= wxString_in_helper(obj1
);
13513 if (arg2
== NULL
) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13540 static PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
13545 argc
= PyObject_Length(args
);
13546 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
13547 argv
[ii
] = PyTuple_GetItem(args
,ii
);
13553 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxHelpControllerBase
, 0) == -1) {
13562 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
13565 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
,args
);
13573 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxHelpControllerBase
, 0) == -1) {
13581 _v
= SWIG_Check_int(argv
[1]);
13583 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
,args
);
13588 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
13593 static PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
= NULL
;
13595 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "blockNo", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
13605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13606 if (SWIG_arg_fail(1)) SWIG_fail
;
13608 arg2
= static_cast<long >(SWIG_As_long(obj1
));
13609 if (SWIG_arg_fail(2)) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (bool)(arg1
)->DisplayBlock(arg2
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13627 static PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
= NULL
;
13629 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13630 wxString
*arg2
= 0 ;
13631 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
13633 bool temp2
= false ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 PyObject
* obj2
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self",(char *) "k",(char *) "mode", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13643 if (SWIG_arg_fail(1)) SWIG_fail
;
13645 arg2
= wxString_in_helper(obj1
);
13646 if (arg2
== NULL
) SWIG_fail
;
13651 wxHelpSearchMode
* argp
;
13652 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxHelpSearchMode
, SWIG_POINTER_EXCEPTION
);
13653 if (SWIG_arg_fail(3)) SWIG_fail
;
13654 if (argp
== NULL
) {
13655 SWIG_null_ref("wxHelpSearchMode");
13657 if (SWIG_arg_fail(3)) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13685 static PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
= NULL
;
13687 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13688 wxString
*arg2
= 0 ;
13690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13692 bool arg5
= (bool) false ;
13693 bool temp2
= false ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 PyObject
* obj2
= 0 ;
13699 PyObject
* obj3
= 0 ;
13700 PyObject
* obj4
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13707 if (SWIG_arg_fail(1)) SWIG_fail
;
13709 arg2
= wxString_in_helper(obj1
);
13710 if (arg2
== NULL
) SWIG_fail
;
13715 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13720 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13725 arg5
= static_cast<bool >(SWIG_As_bool(obj4
));
13726 if (SWIG_arg_fail(5)) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 Py_INCREF(Py_None
); resultobj
= Py_None
;
13751 static PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
= NULL
;
13753 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13754 wxSize
*arg2
= (wxSize
*) NULL
;
13755 wxPoint
*arg3
= (wxPoint
*) NULL
;
13756 bool *arg4
= (bool *) NULL
;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 PyObject
* obj2
= 0 ;
13761 PyObject
* obj3
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13768 if (SWIG_arg_fail(1)) SWIG_fail
;
13770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
13771 if (SWIG_arg_fail(2)) SWIG_fail
;
13774 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13775 if (SWIG_arg_fail(3)) SWIG_fail
;
13778 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_bool
, SWIG_POINTER_EXCEPTION
| 0);
13779 if (SWIG_arg_fail(4)) SWIG_fail
;
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= wxPyMake_wxObject(result
, 0);
13797 static PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= NULL
;
13799 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpControllerBase_Quit",kwnames
,&obj0
)) goto fail
;
13807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13808 if (SWIG_arg_fail(1)) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (bool)(arg1
)->Quit();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13825 static PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= NULL
;
13827 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpControllerBase_OnQuit",kwnames
,&obj0
)) goto fail
;
13834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13835 if (SWIG_arg_fail(1)) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 Py_INCREF(Py_None
); resultobj
= Py_None
;
13850 static PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= NULL
;
13852 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13853 wxWindow
*arg2
= (wxWindow
*) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 PyObject
* obj1
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self",(char *) "win", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
13861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13862 if (SWIG_arg_fail(1)) SWIG_fail
;
13863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13864 if (SWIG_arg_fail(2)) SWIG_fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 (arg1
)->SetParentWindow(arg2
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 Py_INCREF(Py_None
); resultobj
= Py_None
;
13879 static PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
= NULL
;
13881 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpControllerBase_GetParentWindow",kwnames
,&obj0
)) goto fail
;
13889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpControllerBase
, SWIG_POINTER_EXCEPTION
| 0);
13890 if (SWIG_arg_fail(1)) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= wxPyMake_wxObject(result
, 0);
13907 static PyObject
* HelpControllerBase_swigregister(PyObject
*, PyObject
*args
) {
13909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13910 SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase
, obj
);
13912 return Py_BuildValue((char *)"");
13914 static PyObject
*_wrap_new_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
= NULL
;
13916 int arg1
= (int) wxHF_DEFAULT_STYLE
;
13917 wxWindow
*arg2
= (wxWindow
*) NULL
;
13918 wxHtmlHelpController
*result
;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "style",(char *) "parentWindow", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) goto fail
;
13928 arg1
= static_cast<int >(SWIG_As_int(obj0
));
13929 if (SWIG_arg_fail(1)) SWIG_fail
;
13933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13934 if (SWIG_arg_fail(2)) SWIG_fail
;
13937 if (!wxPyCheckForApp()) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlHelpController
, 1);
13951 static PyObject
*_wrap_delete_HtmlHelpController(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
= NULL
;
13953 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
13954 PyObject
* obj0
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_HtmlHelpController",kwnames
,&obj0
)) goto fail
;
13960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
13961 if (SWIG_arg_fail(1)) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
= NULL
;
13978 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
13979 wxHtmlHelpWindow
*result
;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames
,&obj0
)) goto fail
;
13986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
13987 if (SWIG_arg_fail(1)) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= wxPyMake_wxObject(result
, 0);
14004 static PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
= NULL
;
14006 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14007 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "helpWindow", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_EXCEPTION
| 0);
14018 if (SWIG_arg_fail(2)) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 (arg1
)->SetHelpWindow(arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
= NULL
;
14035 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14036 wxHtmlHelpFrame
*result
;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetFrame",kwnames
,&obj0
)) goto fail
;
14043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14044 if (SWIG_arg_fail(1)) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= wxPyMake_wxObject(result
, 0);
14061 static PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
= NULL
;
14063 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14064 wxHtmlHelpDialog
*result
;
14065 PyObject
* obj0
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_GetDialog",kwnames
,&obj0
)) goto fail
;
14071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14072 if (SWIG_arg_fail(1)) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= wxPyMake_wxObject(result
, 0);
14089 static PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
= NULL
;
14091 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14092 wxString
*arg2
= 0 ;
14093 bool temp2
= false ;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "format", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14102 if (SWIG_arg_fail(1)) SWIG_fail
;
14104 arg2
= wxString_in_helper(obj1
);
14105 if (arg2
== NULL
) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 Py_INCREF(Py_None
); resultobj
= Py_None
;
14130 static PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
= NULL
;
14132 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14133 wxString
*arg2
= 0 ;
14134 bool temp2
= false ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self",(char *) "path", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) goto fail
;
14142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail
;
14145 arg2
= wxString_in_helper(obj1
);
14146 if (arg2
== NULL
) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 (arg1
)->SetTempDir((wxString
const &)*arg2
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 Py_INCREF(Py_None
); resultobj
= Py_None
;
14171 static PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= NULL
;
14173 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14174 wxString
*arg2
= 0 ;
14175 int arg3
= (int) false ;
14177 bool temp2
= false ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 PyObject
* obj2
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14187 if (SWIG_arg_fail(1)) SWIG_fail
;
14189 arg2
= wxString_in_helper(obj1
);
14190 if (arg2
== NULL
) SWIG_fail
;
14195 arg3
= static_cast<int >(SWIG_As_int(obj2
));
14196 if (SWIG_arg_fail(3)) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14223 static PyObject
*_wrap_HtmlHelpController_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
= NULL
;
14225 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14226 wxString
*arg2
= 0 ;
14227 bool temp2
= false ;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self",(char *) "x", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) goto fail
;
14235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14236 if (SWIG_arg_fail(1)) SWIG_fail
;
14238 arg2
= wxString_in_helper(obj1
);
14239 if (arg2
== NULL
) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 (arg1
)->Display((wxString
const &)*arg2
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 static PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
= NULL
;
14266 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 PyObject
* obj1
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self",(char *) "id", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) goto fail
;
14275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14276 if (SWIG_arg_fail(1)) SWIG_fail
;
14278 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14279 if (SWIG_arg_fail(2)) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 (arg1
)->Display(arg2
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 Py_INCREF(Py_None
); resultobj
= Py_None
;
14295 static PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
= NULL
;
14297 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayContents",kwnames
,&obj0
)) goto fail
;
14304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14305 if (SWIG_arg_fail(1)) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 (arg1
)->DisplayContents();
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 Py_INCREF(Py_None
); resultobj
= Py_None
;
14320 static PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
= NULL
;
14322 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_DisplayIndex",kwnames
,&obj0
)) goto fail
;
14329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 (arg1
)->DisplayIndex();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 Py_INCREF(Py_None
); resultobj
= Py_None
;
14345 static PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
= NULL
;
14347 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14348 wxString
*arg2
= 0 ;
14350 bool temp2
= false ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self",(char *) "keyword", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) goto fail
;
14358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail
;
14361 arg2
= wxString_in_helper(obj1
);
14362 if (arg2
== NULL
) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14389 static PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
= NULL
;
14391 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14392 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14393 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14394 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14395 bool temp3
= false ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 PyObject
* obj2
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail
;
14406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
14407 if (SWIG_arg_fail(2)) SWIG_fail
;
14410 arg3
= wxString_in_helper(obj2
);
14411 if (arg3
== NULL
) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14437 static PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
= NULL
;
14439 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14440 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14441 wxString arg3
= (wxString
) wxPyEmptyString
;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "cfg",(char *) "path", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail
;
14452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
14453 if (SWIG_arg_fail(2)) SWIG_fail
;
14456 wxString
* sptr
= wxString_in_helper(obj2
);
14457 if (sptr
== NULL
) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 (arg1
)->ReadCustomization(arg2
,arg3
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 Py_INCREF(Py_None
); resultobj
= Py_None
;
14476 static PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
= NULL
;
14478 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14479 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14480 wxString arg3
= (wxString
) wxPyEmptyString
;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 PyObject
* obj2
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self",(char *) "cfg",(char *) "path", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14490 if (SWIG_arg_fail(1)) SWIG_fail
;
14491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_EXCEPTION
| 0);
14492 if (SWIG_arg_fail(2)) SWIG_fail
;
14495 wxString
* sptr
= wxString_in_helper(obj2
);
14496 if (sptr
== NULL
) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 (arg1
)->WriteCustomization(arg2
,arg3
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 Py_INCREF(Py_None
); resultobj
= Py_None
;
14515 static PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
= NULL
;
14517 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames
,&obj0
)) goto fail
;
14524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 (arg1
)->MakeModalIfNeeded();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 Py_INCREF(Py_None
); resultobj
= Py_None
;
14540 static PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
= NULL
;
14542 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames
,&obj0
)) goto fail
;
14550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_EXCEPTION
| 0);
14551 if (SWIG_arg_fail(1)) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= wxPyMake_wxObject(result
, 0);
14568 static PyObject
* HtmlHelpController_swigregister(PyObject
*, PyObject
*args
) {
14570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController
, obj
);
14573 return Py_BuildValue((char *)"");
14575 static PyObject
*_wrap_new_HtmlModalHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
= NULL
;
14577 wxWindow
*arg1
= (wxWindow
*) 0 ;
14578 wxString
*arg2
= 0 ;
14579 wxString
const &arg3_defvalue
= wxEmptyString
;
14580 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14581 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
14582 wxHtmlModalHelp
*result
;
14583 bool temp2
= false ;
14584 bool temp3
= false ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 PyObject
* obj2
= 0 ;
14588 PyObject
* obj3
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail
;
14597 arg2
= wxString_in_helper(obj1
);
14598 if (arg2
== NULL
) SWIG_fail
;
14603 arg3
= wxString_in_helper(obj2
);
14604 if (arg3
== NULL
) SWIG_fail
;
14610 arg4
= static_cast<int >(SWIG_As_int(obj3
));
14611 if (SWIG_arg_fail(4)) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHtmlModalHelp
, 1);
14644 static PyObject
* HtmlModalHelp_swigregister(PyObject
*, PyObject
*args
) {
14646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14647 SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp
, obj
);
14649 return Py_BuildValue((char *)"");
14651 static PyMethodDef SwigMethods
[] = {
14652 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14653 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
) _wrap_HtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14654 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_HtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14655 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14656 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14657 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14658 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14659 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
14660 { (char *)"HtmlTag_GetName", (PyCFunction
) _wrap_HtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14661 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14662 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14663 { (char *)"HtmlTag_GetAllParams", (PyCFunction
) _wrap_HtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14664 { (char *)"HtmlTag_HasEnding", (PyCFunction
) _wrap_HtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14665 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
) _wrap_HtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14666 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
) _wrap_HtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14667 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
) _wrap_HtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14668 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
14669 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14670 { (char *)"HtmlParser_GetFS", (PyCFunction
) _wrap_HtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14671 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14672 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14673 { (char *)"HtmlParser_DoneParser", (PyCFunction
) _wrap_HtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14674 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14675 { (char *)"HtmlParser_StopParsing", (PyCFunction
) _wrap_HtmlParser_StopParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14676 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14677 { (char *)"HtmlParser_GetSource", (PyCFunction
) _wrap_HtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14678 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14679 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
) _wrap_HtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14680 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
14681 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14682 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14683 { (char *)"HtmlWinParser_GetDC", (PyCFunction
) _wrap_HtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14684 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_HtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14685 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_HtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14686 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
) _wrap_HtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14687 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14688 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14689 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
) _wrap_HtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14690 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
) _wrap_HtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14691 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14692 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
) _wrap_HtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14693 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
) _wrap_HtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14694 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14695 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
) _wrap_HtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14696 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14697 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14698 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14699 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14700 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14701 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14702 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14703 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
) _wrap_HtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14704 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14705 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14706 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14707 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
) _wrap_HtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14708 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14709 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14710 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_HtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14711 { (char *)"HtmlWinParser_GetLink", (PyCFunction
) _wrap_HtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14712 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
14713 { (char *)"new_HtmlTagHandler", (PyCFunction
) _wrap_new_HtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14714 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14715 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14716 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
) _wrap_HtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14717 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14718 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
14719 { (char *)"new_HtmlWinTagHandler", (PyCFunction
) _wrap_new_HtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14720 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14721 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14722 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14723 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14724 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
14725 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14726 { (char *)"new_HtmlSelection", (PyCFunction
) _wrap_new_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14727 { (char *)"delete_HtmlSelection", (PyCFunction
) _wrap_delete_HtmlSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14728 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14729 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14730 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
) _wrap_HtmlSelection_GetFromCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14731 { (char *)"HtmlSelection_GetToCell", (PyCFunction
) _wrap_HtmlSelection_GetToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14732 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14733 { (char *)"HtmlSelection_GetToPos", (PyCFunction
) _wrap_HtmlSelection_GetToPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14734 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14735 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_GetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14736 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14737 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14738 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
) _wrap_HtmlSelection_ClearPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14739 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
) _wrap_HtmlSelection_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14740 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
14741 { (char *)"new_HtmlRenderingState", (PyCFunction
) _wrap_new_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14742 { (char *)"delete_HtmlRenderingState", (PyCFunction
) _wrap_delete_HtmlRenderingState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14743 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14744 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_GetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14745 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14746 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14747 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14748 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_GetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14749 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
14750 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14751 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14752 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
14753 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14754 { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14755 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
14756 { (char *)"new_HtmlRenderingInfo", (PyCFunction
) _wrap_new_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14757 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
) _wrap_delete_HtmlRenderingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14758 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14759 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14760 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14761 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14762 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
) _wrap_HtmlRenderingInfo_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14763 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
14764 { (char *)"new_HtmlCell", (PyCFunction
) _wrap_new_HtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14765 { (char *)"HtmlCell_GetPosX", (PyCFunction
) _wrap_HtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14766 { (char *)"HtmlCell_GetPosY", (PyCFunction
) _wrap_HtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14767 { (char *)"HtmlCell_GetWidth", (PyCFunction
) _wrap_HtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14768 { (char *)"HtmlCell_GetHeight", (PyCFunction
) _wrap_HtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14769 { (char *)"HtmlCell_GetDescent", (PyCFunction
) _wrap_HtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14770 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
) _wrap_HtmlCell_GetMaxTotalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14771 { (char *)"HtmlCell_GetId", (PyCFunction
) _wrap_HtmlCell_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14772 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14773 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14774 { (char *)"HtmlCell_GetNext", (PyCFunction
) _wrap_HtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14775 { (char *)"HtmlCell_GetParent", (PyCFunction
) _wrap_HtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14776 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
) _wrap_HtmlCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14777 { (char *)"HtmlCell_GetCursor", (PyCFunction
) _wrap_HtmlCell_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14778 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
) _wrap_HtmlCell_IsFormattingCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14779 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14780 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14781 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14782 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14783 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14784 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14785 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14786 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14787 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14788 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14789 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14790 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
) _wrap_HtmlCell_IsTerminalCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14791 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14792 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14793 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
) _wrap_HtmlCell_GetFirstTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14794 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
) _wrap_HtmlCell_GetLastTerminal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14795 { (char *)"HtmlCell_GetDepth", (PyCFunction
) _wrap_HtmlCell_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14796 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14797 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14798 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
14799 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14800 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14801 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
) _wrap_HtmlWordCell_IsLinebreakAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14802 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14803 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
14804 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14805 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14806 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14807 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14808 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14809 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14810 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14811 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14812 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14813 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14814 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14815 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14816 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14817 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14818 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14819 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14820 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
) _wrap_HtmlContainerCell_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14821 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
14822 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14823 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
14824 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14825 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
14826 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14827 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
14828 { (char *)"new_HtmlFilter", (PyCFunction
) _wrap_new_HtmlFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14829 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14830 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
14831 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14832 { (char *)"new_PreHtmlWindow", (PyCFunction
) _wrap_new_PreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14833 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14834 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14835 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14836 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14837 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14838 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14839 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14840 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_HtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14841 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_HtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14842 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14843 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14844 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14845 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14846 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14847 { (char *)"HtmlWindow_SetLabel", (PyCFunction
) _wrap_HtmlWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14848 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14849 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14850 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14851 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14852 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
) _wrap_HtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14853 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
) _wrap_HtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14854 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_HtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14855 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_HtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14856 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
) _wrap_HtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14857 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_HtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14858 { (char *)"HtmlWindow_GetParser", (PyCFunction
) _wrap_HtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14859 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14860 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14861 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14862 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14863 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14864 { (char *)"HtmlWindow_SelectAll", (PyCFunction
) _wrap_HtmlWindow_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14865 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
) _wrap_HtmlWindow_SelectionToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14866 { (char *)"HtmlWindow_ToText", (PyCFunction
) _wrap_HtmlWindow_ToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14867 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14868 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14869 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14870 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14871 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14872 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
14873 { (char *)"new_HtmlDCRenderer", (PyCFunction
) _wrap_new_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14874 { (char *)"delete_HtmlDCRenderer", (PyCFunction
) _wrap_delete_HtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14875 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14876 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14877 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14878 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14879 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14880 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14881 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_HtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14882 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
14883 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14884 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14885 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14886 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14887 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14888 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14889 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14890 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14891 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14892 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
) _wrap_HtmlPrintout_CleanUpStatics
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14893 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
14894 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14895 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
) _wrap_delete_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14896 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14897 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14898 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14899 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14900 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_HtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14901 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14902 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14903 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14904 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14905 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14906 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_HtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14907 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
14908 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14909 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
) _wrap_HtmlBookRecord_GetBookFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14910 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
) _wrap_HtmlBookRecord_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14911 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
) _wrap_HtmlBookRecord_GetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14912 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_GetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14913 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14914 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14915 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
) _wrap_HtmlBookRecord_GetContentsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14916 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14917 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14918 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14919 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14920 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
14921 { (char *)"HtmlSearchStatus_Search", (PyCFunction
) _wrap_HtmlSearchStatus_Search
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14922 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
) _wrap_HtmlSearchStatus_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14923 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetCurIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14924 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
) _wrap_HtmlSearchStatus_GetMaxIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14925 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
) _wrap_HtmlSearchStatus_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14926 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
14927 { (char *)"new_HtmlHelpData", (PyCFunction
) _wrap_new_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14928 { (char *)"delete_HtmlHelpData", (PyCFunction
) _wrap_delete_HtmlHelpData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14929 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14930 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14931 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14932 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14933 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
) _wrap_HtmlHelpData_GetBookRecArray
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14934 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
14935 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14936 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14937 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14938 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
) _wrap_HtmlHelpWindow_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14939 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
) _wrap_HtmlHelpWindow_GetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14940 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14941 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14942 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14943 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14944 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14945 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14946 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14947 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14948 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14949 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
) _wrap_HtmlHelpWindow_NotifyPageChanged
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14950 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
) _wrap_HtmlHelpWindow_RefreshLists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14951 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
) _wrap_HtmlHelpWindow_GetHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14952 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
) _wrap_HtmlHelpWindow_GetSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14953 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
) _wrap_HtmlHelpWindow_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14954 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
) _wrap_HtmlHelpWindow_GetCfgData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14955 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
) _wrap_HtmlHelpWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14956 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
14957 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14958 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14959 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
) _wrap_HtmlWindowEvent_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14960 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
14961 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14962 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14963 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14964 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
) _wrap_HtmlHelpFrame_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14965 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14966 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
) _wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14967 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
) _wrap_HtmlHelpFrame_GetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14968 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14969 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
) _wrap_HtmlHelpFrame_GetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14970 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
14971 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14972 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14973 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14974 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
) _wrap_HtmlHelpDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14975 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
) _wrap_HtmlHelpDialog_GetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14976 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14977 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
) _wrap_HtmlHelpDialog_GetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14978 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14979 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
14980 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
14981 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14982 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14983 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
) _wrap_HelpControllerBase_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14984 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14985 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14986 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
14987 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14988 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14989 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14990 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14991 { (char *)"HelpControllerBase_Quit", (PyCFunction
) _wrap_HelpControllerBase_Quit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14992 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
) _wrap_HelpControllerBase_OnQuit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14993 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14994 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_GetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14995 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
14996 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14997 { (char *)"delete_HtmlHelpController", (PyCFunction
) _wrap_delete_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14998 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_GetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
14999 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15000 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
) _wrap_HtmlHelpController_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15001 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
) _wrap_HtmlHelpController_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15002 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15003 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15004 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15005 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15006 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15007 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
) _wrap_HtmlHelpController_DisplayContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15008 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
) _wrap_HtmlHelpController_DisplayIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15009 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15010 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15011 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15012 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15013 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
) _wrap_HtmlHelpController_MakeModalIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15014 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
) _wrap_HtmlHelpController_FindTopLevelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15015 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
15016 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15017 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
15018 { NULL
, NULL
, 0, NULL
}
15022 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15024 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
15025 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
15027 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
15028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15030 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
15031 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
15033 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
15034 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
15036 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
15037 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
15039 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
15040 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
15042 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
15043 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
15045 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
15046 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15048 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
15049 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
15051 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
15052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
15054 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
15055 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
15057 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
15058 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
15060 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
15061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
15063 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
15064 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
15066 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
15067 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
15069 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
15070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15072 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
15073 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
15075 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
15076 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
15078 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
15079 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
15081 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
15082 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
15084 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
15085 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
15087 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
15088 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
15090 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
15091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
15093 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
15094 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
15096 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
15097 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
15099 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
15100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
15102 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
15103 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
15105 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
15106 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
15108 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
15109 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
15111 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
15112 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
15114 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
15115 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
15117 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
15118 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
15120 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
15121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15123 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
15124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
15126 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
15127 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
15129 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
15130 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
15132 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
15133 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
15135 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
15136 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
15138 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
15139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15141 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
15142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15144 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
15145 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
15147 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
15148 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
15150 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
15151 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
15153 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
15154 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
15156 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
15157 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
15159 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
15160 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
15162 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
15163 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
15165 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
15166 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
15168 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
15169 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
15171 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
15172 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
15174 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
15175 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15177 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
15178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15180 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
15181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15183 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
15184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
15186 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
15187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
15189 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
15190 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
15192 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
15193 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
15195 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
15196 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
15198 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
15199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
15201 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
15202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15204 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
15205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15207 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
15208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15210 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
15211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15213 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
15214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15216 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
15217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15219 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
15220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15222 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
15223 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
15225 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
15226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
15228 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
15229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15231 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
15232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
15234 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
15235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15237 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
15238 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
15240 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
15241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15243 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
15244 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
15246 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
15247 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
15249 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
15250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
15252 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
15253 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
15255 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
15256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
15258 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
15259 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
15261 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
15262 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
15264 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
15265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
15267 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
15268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
15270 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
15271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
15273 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
15274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
15276 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
15277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15279 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
15280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15282 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
15283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15285 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
15286 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
15288 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
15289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15291 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
15292 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
15294 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
15295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15297 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
15298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15300 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
15301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15303 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15306 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15309 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
15310 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
15312 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
15313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
15315 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
15316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15318 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
15319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15321 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
15322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15324 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
15325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15327 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
15328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15330 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
15331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
15333 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
15334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15336 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
15337 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
15339 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
15340 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
15342 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
15343 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
15345 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
15346 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
15348 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
15349 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
15351 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
15352 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15354 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
15355 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
15357 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
15358 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
15360 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
15361 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
15363 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
15364 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
15366 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
15367 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
15369 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
15370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
15372 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
15373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15375 static void *_p_wxEventTo_p_wxObject(void *x
) {
15376 return (void *)((wxObject
*) ((wxEvent
*) x
));
15378 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
15379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
15381 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
15382 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
15384 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
15385 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
15387 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
15388 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
15390 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
15391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15393 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
15394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15396 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
15397 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
15399 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
15400 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
15402 static void *_p_wxImageTo_p_wxObject(void *x
) {
15403 return (void *)((wxObject
*) ((wxImage
*) x
));
15405 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
15406 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
15408 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
15409 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
15411 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
15412 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
15414 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
15415 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
15417 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
15418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
15420 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
15421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15423 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
15424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15426 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
15427 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
15429 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
15430 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
15432 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
15433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
15435 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
15436 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
15438 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
15439 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
15441 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
15442 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
15444 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
15445 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
15447 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
15448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
15450 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
15451 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
15453 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
15454 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
15456 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
15457 return (void *)((wxObject
*) ((wxPrinter
*) x
));
15459 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
15460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15462 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
15463 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
15465 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
15466 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
15468 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
15469 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
15471 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
15472 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
15474 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
15475 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
15477 static void *_p_wxControlTo_p_wxObject(void *x
) {
15478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
15480 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
15481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
15483 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
15484 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
15486 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
15487 return (void *)((wxObject
*) ((wxColourData
*) x
));
15489 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
15490 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
15492 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
15493 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
15495 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
15496 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
15498 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
15499 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
15501 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
15502 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
15504 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
15505 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
15507 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
15508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15510 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
15511 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
15513 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
15514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
15516 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
15517 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
15519 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
15520 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
15522 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
15523 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
15525 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
15526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15528 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
15529 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
15531 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
15532 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
15534 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
15535 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
15537 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
15538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15540 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
15541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
15543 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
15544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15546 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
15547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15549 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
15550 return (void *)((wxObject
*) ((wxPrintData
*) x
));
15552 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
15553 return (void *)((wxObject
*) ((wxFontData
*) x
));
15555 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
15556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15558 static void *_p_wxFrameTo_p_wxObject(void *x
) {
15559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15561 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
15562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
15564 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
15565 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
15567 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
15568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15570 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
15571 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
15573 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
15574 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
15576 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
15577 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
15579 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
15580 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
15582 static void *_p_wxSizerTo_p_wxObject(void *x
) {
15583 return (void *)((wxObject
*) ((wxSizer
*) x
));
15585 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
15586 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
15588 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
15589 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
15591 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
15592 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
15594 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
15595 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
15597 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
15598 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
15600 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
15601 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
15603 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
15604 return (void *)((wxObject
*) ((wxFSFile
*) x
));
15606 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
15607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15609 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
15610 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
15612 static void *_p_wxMenuTo_p_wxObject(void *x
) {
15613 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
15615 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
15616 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
15618 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
15619 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
15621 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
15622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
15624 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
15625 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
15627 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
15628 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
15630 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
15631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15633 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
15634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15636 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
15637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15639 static void *_p_wxDialogTo_p_wxObject(void *x
) {
15640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15642 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
15643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
15645 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
15646 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
15648 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
15649 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
15651 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
15652 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
15654 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
15655 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
15657 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
15658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
15660 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
15661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
15663 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
15664 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
15666 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
15667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
15669 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
15670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
15672 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
15673 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
15675 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
15676 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
15678 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
15679 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
15681 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
15682 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
15684 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
15685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
15687 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
15688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
15690 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
15691 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
15693 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
15694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
15696 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
15697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
15699 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
15700 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
15702 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
15703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
15705 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
15706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
15708 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
15709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
15711 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
15712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
15714 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
15715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15717 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
15718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
15720 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
15721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15723 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
15724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
15726 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
15727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15729 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
15730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
15732 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
15733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
15735 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
15736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
15738 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
15739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
15741 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
15742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
15744 static void *_p_wxWindowTo_p_wxObject(void *x
) {
15745 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
15747 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
15748 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
15750 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
15751 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
15753 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
15754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15756 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
15757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15759 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
15760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15762 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
15763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
15765 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
15766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15768 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
15769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15771 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
15772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15774 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
15775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15777 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
15778 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
15780 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
15781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
15783 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
15784 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
15786 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
15787 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
15789 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
15790 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
15792 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
15793 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
15795 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
15796 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
15798 static void *_p_wxPanelTo_p_wxObject(void *x
) {
15799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
15801 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
15802 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
15804 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
15805 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
15807 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
15808 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
15810 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
15811 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
15813 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
15814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15816 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
15817 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
15819 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
15820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15822 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
15823 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
15825 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
15826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
15828 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
15829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15831 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
15832 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
15834 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
15835 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
15837 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
15838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15840 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
15841 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
15843 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
15844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
15846 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
15847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15849 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
15850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15852 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
15853 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
15855 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
15856 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
15858 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
15859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15861 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
15862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15864 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
15865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15867 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
15868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
15870 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
15871 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15873 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
15874 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15876 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
15877 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15879 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
15880 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15882 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
15883 return (void *)((wxWindow
*) ((wxPanel
*) x
));
15885 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
15886 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
15888 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
15889 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15891 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
15892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
15894 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
15895 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15897 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
15898 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
15900 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
15901 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15903 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
15904 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
15906 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
15907 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
15909 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
15910 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
15912 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
15913 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
15915 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
15916 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
15918 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
15919 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
15921 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
15922 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
15924 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
15925 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
15927 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
15928 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
15930 static void *_p_wxControlTo_p_wxWindow(void *x
) {
15931 return (void *)((wxWindow
*) ((wxControl
*) x
));
15933 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
15934 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15936 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
15937 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15939 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
15940 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15942 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
15943 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
15945 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
15946 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
15948 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
15949 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15951 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
15952 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15954 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
15955 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15957 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
15958 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
15960 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
15961 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15963 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
15964 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
15966 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
15967 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
15969 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
15970 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15972 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
15973 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15975 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
15976 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15978 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
15979 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
15981 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
15982 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
15984 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
15985 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15987 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
15988 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
15990 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
15991 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
15993 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
15994 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15996 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
15997 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
15999 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
16000 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
16002 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
16003 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
16005 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
16006 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
16008 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
16009 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
16011 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
16012 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
16014 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
16015 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
16017 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
16018 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
16020 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
16021 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
16023 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
16024 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
16026 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
16027 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
16029 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
16030 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
16032 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
16033 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
16035 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
16036 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
16038 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
16039 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16041 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
16042 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16044 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
16045 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
16047 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
16048 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
16050 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
16051 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
16053 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
16054 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
16056 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
16057 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
16059 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
16060 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16062 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
16063 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
16065 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
16066 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
16068 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
16069 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
16071 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
16072 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
16074 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
16075 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
16077 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
16078 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16080 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
16081 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16083 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
16084 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
16086 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
16087 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
16089 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
16090 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
16092 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
16093 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
16095 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
16096 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
16098 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
16099 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16101 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
16102 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16104 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
16105 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
16107 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
16108 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16110 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
16111 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16113 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
16114 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
16116 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
16117 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16119 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
16120 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
16122 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
16123 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16125 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
16126 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
16128 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
16129 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
16131 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
16132 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16134 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
16135 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
16137 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
16138 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16140 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
16141 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
16143 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
16144 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
16146 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
16147 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16149 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
16150 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16152 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
16153 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16155 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
16156 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16158 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
16159 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16161 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
16162 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16164 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
16165 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16167 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
16168 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
16170 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, 0};
16171 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
16172 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
16173 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
16174 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
16175 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
16176 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
16177 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
16178 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
16179 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
16180 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0};
16181 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
16182 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0};
16183 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
16184 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
16185 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
16186 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
16187 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
16188 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
16189 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0};
16190 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
16191 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
16192 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, 0};
16193 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
16194 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0};
16195 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
16196 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0};
16197 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0};
16198 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0};
16199 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0};
16200 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0};
16201 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0};
16202 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0};
16203 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0};
16204 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0};
16205 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0};
16206 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
16207 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
16208 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
16209 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
16210 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
16211 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
16212 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
16213 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
16214 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0};
16215 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
16216 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
16217 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
16218 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
16219 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
16220 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
16221 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
16222 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
16223 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
16224 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
16225 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
16226 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
16227 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
16228 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
16229 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
16230 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0};
16231 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
16232 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
16233 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
16234 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0};
16235 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0};
16236 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
16237 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0};
16238 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0};
16239 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0};
16240 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0};
16241 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
16242 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
16243 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0};
16244 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0};
16245 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0};
16246 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0};
16247 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0};
16248 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0};
16249 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0};
16250 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0};
16251 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0};
16252 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0};
16253 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0};
16254 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0};
16255 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0};
16256 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
16257 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0};
16258 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
16259 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
16260 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0};
16261 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0};
16262 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0};
16263 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0};
16264 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0};
16265 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0};
16266 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0};
16267 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0};
16268 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0};
16269 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
16270 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
16271 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
16272 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0};
16273 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0};
16274 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0};
16275 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0};
16276 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0};
16277 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0};
16278 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0};
16279 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0};
16280 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0};
16281 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0};
16282 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0};
16283 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0};
16284 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0};
16285 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0};
16286 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0};
16287 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0};
16288 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0};
16289 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0};
16290 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0};
16291 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0};
16292 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0};
16293 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0};
16294 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0};
16295 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0};
16296 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0};
16297 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0};
16298 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0};
16299 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0};
16300 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0};
16301 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0};
16302 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0};
16303 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0};
16304 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0};
16305 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
16306 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
16307 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
16308 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
16309 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
16310 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
16311 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
16312 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0};
16313 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0};
16314 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0};
16315 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0};
16316 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
16317 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
16318 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
16319 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0};
16320 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
16321 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0};
16322 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0};
16323 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0};
16324 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
16325 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
16326 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
16327 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
16328 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
16329 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
16330 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
16331 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
16332 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0};
16333 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0};
16334 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
16335 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
16336 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
16337 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
16338 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
16339 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
16340 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
16341 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
16342 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
16343 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
16344 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
16345 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
16346 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
16347 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
16348 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
16349 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
16350 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
16351 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
16352 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0};
16353 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0};
16354 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0};
16355 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0};
16356 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
16357 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
16358 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
16359 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
16360 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
16361 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
16362 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, 0};
16363 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
16364 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
16365 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
16366 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
16367 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
16369 static swig_type_info
*swig_type_initial
[] = {
16372 &_swigt__p_form_ops_t
,
16374 &_swigt__p_unsigned_char
,
16375 &_swigt__p_unsigned_int
,
16376 &_swigt__p_unsigned_long
,
16377 &_swigt__p_wxANIHandler
,
16378 &_swigt__p_wxAcceleratorTable
,
16379 &_swigt__p_wxActivateEvent
,
16380 &_swigt__p_wxBMPHandler
,
16381 &_swigt__p_wxBitmap
,
16382 &_swigt__p_wxBoxSizer
,
16383 &_swigt__p_wxCURHandler
,
16384 &_swigt__p_wxCalculateLayoutEvent
,
16385 &_swigt__p_wxChildFocusEvent
,
16386 &_swigt__p_wxCloseEvent
,
16387 &_swigt__p_wxColour
,
16388 &_swigt__p_wxColourData
,
16389 &_swigt__p_wxColourDialog
,
16390 &_swigt__p_wxCommandEvent
,
16391 &_swigt__p_wxConfigBase
,
16392 &_swigt__p_wxContextMenuEvent
,
16393 &_swigt__p_wxControl
,
16394 &_swigt__p_wxControlWithItems
,
16395 &_swigt__p_wxCursor
,
16397 &_swigt__p_wxDateEvent
,
16398 &_swigt__p_wxDefaultHtmlRenderingStyle
,
16399 &_swigt__p_wxDialog
,
16400 &_swigt__p_wxDirDialog
,
16401 &_swigt__p_wxDisplayChangedEvent
,
16402 &_swigt__p_wxDropFilesEvent
,
16403 &_swigt__p_wxDuplexMode
,
16404 &_swigt__p_wxEraseEvent
,
16405 &_swigt__p_wxEvent
,
16406 &_swigt__p_wxEvtHandler
,
16407 &_swigt__p_wxFSFile
,
16408 &_swigt__p_wxFileDialog
,
16409 &_swigt__p_wxFileSystem
,
16410 &_swigt__p_wxFindDialogEvent
,
16411 &_swigt__p_wxFindReplaceData
,
16412 &_swigt__p_wxFindReplaceDialog
,
16413 &_swigt__p_wxFlexGridSizer
,
16414 &_swigt__p_wxFocusEvent
,
16416 &_swigt__p_wxFontData
,
16417 &_swigt__p_wxFontDialog
,
16418 &_swigt__p_wxFrame
,
16419 &_swigt__p_wxGBSizerItem
,
16420 &_swigt__p_wxGIFHandler
,
16421 &_swigt__p_wxGridBagSizer
,
16422 &_swigt__p_wxGridSizer
,
16423 &_swigt__p_wxHelpControllerBase
,
16424 &_swigt__p_wxHelpSearchMode
,
16425 &_swigt__p_wxHtmlBookRecArray
,
16426 &_swigt__p_wxHtmlBookRecord
,
16427 &_swigt__p_wxHtmlCell
,
16428 &_swigt__p_wxHtmlColourCell
,
16429 &_swigt__p_wxHtmlContainerCell
,
16430 &_swigt__p_wxHtmlDCRenderer
,
16431 &_swigt__p_wxHtmlEasyPrinting
,
16432 &_swigt__p_wxHtmlFilter
,
16433 &_swigt__p_wxHtmlFontCell
,
16434 &_swigt__p_wxHtmlHelpController
,
16435 &_swigt__p_wxHtmlHelpData
,
16436 &_swigt__p_wxHtmlHelpDialog
,
16437 &_swigt__p_wxHtmlHelpFrame
,
16438 &_swigt__p_wxHtmlHelpFrameCfg
,
16439 &_swigt__p_wxHtmlHelpWindow
,
16440 &_swigt__p_wxHtmlLinkInfo
,
16441 &_swigt__p_wxHtmlModalHelp
,
16442 &_swigt__p_wxHtmlParser
,
16443 &_swigt__p_wxHtmlPrintout
,
16444 &_swigt__p_wxHtmlRenderingInfo
,
16445 &_swigt__p_wxHtmlRenderingState
,
16446 &_swigt__p_wxHtmlRenderingStyle
,
16447 &_swigt__p_wxHtmlSearchStatus
,
16448 &_swigt__p_wxHtmlSelection
,
16449 &_swigt__p_wxHtmlTag
,
16450 &_swigt__p_wxHtmlTagHandler
,
16451 &_swigt__p_wxHtmlWidgetCell
,
16452 &_swigt__p_wxHtmlWinParser
,
16453 &_swigt__p_wxHtmlWindow
,
16454 &_swigt__p_wxHtmlWindowEvent
,
16455 &_swigt__p_wxHtmlWordCell
,
16456 &_swigt__p_wxICOHandler
,
16457 &_swigt__p_wxIconizeEvent
,
16458 &_swigt__p_wxIdleEvent
,
16459 &_swigt__p_wxImage
,
16460 &_swigt__p_wxImageHandler
,
16461 &_swigt__p_wxIndividualLayoutConstraint
,
16462 &_swigt__p_wxInitDialogEvent
,
16463 &_swigt__p_wxJPEGHandler
,
16464 &_swigt__p_wxKeyEvent
,
16465 &_swigt__p_wxLayoutAlgorithm
,
16466 &_swigt__p_wxLayoutConstraints
,
16467 &_swigt__p_wxMDIChildFrame
,
16468 &_swigt__p_wxMDIClientWindow
,
16469 &_swigt__p_wxMDIParentFrame
,
16470 &_swigt__p_wxMaximizeEvent
,
16472 &_swigt__p_wxMenuBar
,
16473 &_swigt__p_wxMenuEvent
,
16474 &_swigt__p_wxMenuItem
,
16475 &_swigt__p_wxMessageDialog
,
16476 &_swigt__p_wxMiniFrame
,
16477 &_swigt__p_wxMouseCaptureChangedEvent
,
16478 &_swigt__p_wxMouseEvent
,
16479 &_swigt__p_wxMoveEvent
,
16480 &_swigt__p_wxMultiChoiceDialog
,
16481 &_swigt__p_wxNavigationKeyEvent
,
16482 &_swigt__p_wxNcPaintEvent
,
16483 &_swigt__p_wxNotifyEvent
,
16484 &_swigt__p_wxObject
,
16485 &_swigt__p_wxPCXHandler
,
16486 &_swigt__p_wxPNGHandler
,
16487 &_swigt__p_wxPNMHandler
,
16488 &_swigt__p_wxPageSetupDialog
,
16489 &_swigt__p_wxPageSetupDialogData
,
16490 &_swigt__p_wxPaintEvent
,
16491 &_swigt__p_wxPaletteChangedEvent
,
16492 &_swigt__p_wxPanel
,
16493 &_swigt__p_wxPaperSize
,
16494 &_swigt__p_wxPasswordEntryDialog
,
16495 &_swigt__p_wxPoint
,
16496 &_swigt__p_wxPopupWindow
,
16497 &_swigt__p_wxPreviewCanvas
,
16498 &_swigt__p_wxPreviewControlBar
,
16499 &_swigt__p_wxPreviewFrame
,
16500 &_swigt__p_wxPrintData
,
16501 &_swigt__p_wxPrintDialog
,
16502 &_swigt__p_wxPrintDialogData
,
16503 &_swigt__p_wxPrintPreview
,
16504 &_swigt__p_wxPrinter
,
16505 &_swigt__p_wxProgressDialog
,
16506 &_swigt__p_wxPyApp
,
16507 &_swigt__p_wxPyCommandEvent
,
16508 &_swigt__p_wxPyEvent
,
16509 &_swigt__p_wxPyHtmlFilter
,
16510 &_swigt__p_wxPyHtmlListBox
,
16511 &_swigt__p_wxPyHtmlTagHandler
,
16512 &_swigt__p_wxPyHtmlWinTagHandler
,
16513 &_swigt__p_wxPyHtmlWindow
,
16514 &_swigt__p_wxPyImageHandler
,
16515 &_swigt__p_wxPyPanel
,
16516 &_swigt__p_wxPyPopupTransientWindow
,
16517 &_swigt__p_wxPyPreviewControlBar
,
16518 &_swigt__p_wxPyPreviewFrame
,
16519 &_swigt__p_wxPyPrintPreview
,
16520 &_swigt__p_wxPyPrintout
,
16521 &_swigt__p_wxPyScrolledWindow
,
16522 &_swigt__p_wxPySizer
,
16523 &_swigt__p_wxPyTaskBarIcon
,
16524 &_swigt__p_wxPyVListBox
,
16525 &_swigt__p_wxPyVScrolledWindow
,
16526 &_swigt__p_wxPyValidator
,
16527 &_swigt__p_wxPyWindow
,
16528 &_swigt__p_wxQueryLayoutInfoEvent
,
16529 &_swigt__p_wxQueryNewPaletteEvent
,
16530 &_swigt__p_wxSashEvent
,
16531 &_swigt__p_wxSashLayoutWindow
,
16532 &_swigt__p_wxSashWindow
,
16533 &_swigt__p_wxScrollEvent
,
16534 &_swigt__p_wxScrollWinEvent
,
16535 &_swigt__p_wxScrolledWindow
,
16536 &_swigt__p_wxSetCursorEvent
,
16537 &_swigt__p_wxShowEvent
,
16538 &_swigt__p_wxSingleChoiceDialog
,
16540 &_swigt__p_wxSizeEvent
,
16541 &_swigt__p_wxSizer
,
16542 &_swigt__p_wxSizerItem
,
16543 &_swigt__p_wxSplashScreen
,
16544 &_swigt__p_wxSplashScreenWindow
,
16545 &_swigt__p_wxSplitterEvent
,
16546 &_swigt__p_wxSplitterWindow
,
16547 &_swigt__p_wxStaticBoxSizer
,
16548 &_swigt__p_wxStatusBar
,
16549 &_swigt__p_wxStdDialogButtonSizer
,
16550 &_swigt__p_wxString
,
16551 &_swigt__p_wxSysColourChangedEvent
,
16552 &_swigt__p_wxTIFFHandler
,
16553 &_swigt__p_wxTaskBarIconEvent
,
16554 &_swigt__p_wxTextEntryDialog
,
16555 &_swigt__p_wxTipWindow
,
16556 &_swigt__p_wxTopLevelWindow
,
16557 &_swigt__p_wxTreeCtrl
,
16558 &_swigt__p_wxUpdateUIEvent
,
16559 &_swigt__p_wxValidator
,
16560 &_swigt__p_wxVisualAttributes
,
16561 &_swigt__p_wxWindow
,
16562 &_swigt__p_wxWindowCreateEvent
,
16563 &_swigt__p_wxWindowDestroyEvent
,
16564 &_swigt__p_wxXPMHandler
,
16565 &_swigt__ptrdiff_t
,
16566 &_swigt__std__ptrdiff_t
,
16567 &_swigt__unsigned_int
,
16570 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
16571 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
16572 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
16573 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
16574 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
16575 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
16576 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
16577 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
16578 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
16579 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
16580 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
16581 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
16582 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
16583 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
16584 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
16585 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
16586 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
16587 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
16588 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
16589 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
16590 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
16591 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
16592 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
16593 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
16594 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
16595 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
16596 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
16597 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
16598 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
16599 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
16600 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
16601 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
16602 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
16603 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
16604 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
16605 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
16606 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
16607 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
16608 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
16609 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
16610 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
16611 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
16612 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
16613 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
16614 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
16615 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
16616 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
16617 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
16618 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
16619 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
16620 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
16621 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
16622 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
16623 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
16624 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
16625 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
16626 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
16627 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
16628 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
16629 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
16630 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
16631 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
16632 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
16633 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
16634 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
16635 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
16636 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
16637 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
16638 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
16639 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
16640 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
16641 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
16642 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
16643 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
16644 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
16645 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
16646 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
16647 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
16648 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
16649 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
16650 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
16651 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
16652 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
16653 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
16654 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
16655 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
16656 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
16657 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
16658 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
16659 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
16660 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
16661 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
16662 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
16663 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
16664 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
16665 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
16666 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
16667 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
16668 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
16669 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
16670 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
16671 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
16672 static swig_cast_info _swigc__p_wxHelpControllerBase
[] = { {&_swigt__p_wxHelpControllerBase
, 0, 0, 0}, {&_swigt__p_wxHtmlHelpController
, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase
, 0, 0},{0, 0, 0, 0}};
16673 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
16674 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
16675 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
16676 static swig_cast_info _swigc__p_wxHtmlCell
[] = { {&_swigt__p_wxHtmlCell
, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell
, _p_wxHtmlContainerCellTo_p_wxHtmlCell
, 0, 0}, {&_swigt__p_wxHtmlWidgetCell
, _p_wxHtmlWidgetCellTo_p_wxHtmlCell
, 0, 0}, {&_swigt__p_wxHtmlColourCell
, _p_wxHtmlColourCellTo_p_wxHtmlCell
, 0, 0}, {&_swigt__p_wxHtmlWordCell
, _p_wxHtmlWordCellTo_p_wxHtmlCell
, 0, 0}, {&_swigt__p_wxHtmlFontCell
, _p_wxHtmlFontCellTo_p_wxHtmlCell
, 0, 0},{0, 0, 0, 0}};
16677 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
16678 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
16679 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
16680 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
16681 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
16682 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
16683 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
16684 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
16685 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
16686 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
16687 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
16688 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
16689 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
16690 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
16691 static swig_cast_info _swigc__p_wxHtmlParser
[] = { {&_swigt__p_wxHtmlParser
, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser
, _p_wxHtmlWinParserTo_p_wxHtmlParser
, 0, 0},{0, 0, 0, 0}};
16692 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
16693 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
16694 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
16695 static swig_cast_info _swigc__p_wxHtmlRenderingStyle
[] = { {&_swigt__p_wxHtmlRenderingStyle
, 0, 0, 0}, {&_swigt__p_wxDefaultHtmlRenderingStyle
, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle
, 0, 0},{0, 0, 0, 0}};
16696 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
16697 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
16698 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
16699 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
16700 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
16701 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
16702 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
16703 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
16704 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
16705 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
16706 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
16707 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
16708 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
16709 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
16710 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
16711 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
16712 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
16713 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
16714 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
16715 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
16716 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
16717 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
16718 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
16719 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
16720 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
16721 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
16722 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
16723 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
16724 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
16725 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
16726 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
16727 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
16728 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
16729 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
16730 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
16731 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
16732 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
16733 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
16734 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
16735 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
16736 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
16737 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
16738 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
16739 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
16740 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
16741 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
16742 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
16743 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
16744 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
16745 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
16746 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlFontCell
, _p_wxHtmlFontCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlTag
, _p_wxHtmlTagTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlFilter
, _p_wxPyHtmlFilterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting
, _p_wxHtmlEasyPrintingTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxHtmlParser
, _p_wxHtmlParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWinParser
, _p_wxHtmlWinParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWidgetCell
, _p_wxHtmlWidgetCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlPrintout
, _p_wxHtmlPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlContainerCell
, _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpControllerBase
, _p_wxHelpControllerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlDCRenderer
, _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkInfo
, _p_wxHtmlLinkInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpController
, _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlCell
, _p_wxHtmlCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlColourCell
, _p_wxHtmlColourCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWordCell
, _p_wxHtmlWordCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
16747 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
16748 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
16749 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
16750 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
16751 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
16752 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
16753 static swig_cast_info _swigc__p_wxPyHtmlTagHandler
[] = { {&_swigt__p_wxPyHtmlTagHandler
, 0, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler
, 0, 0},{0, 0, 0, 0}};
16754 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
16755 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
16756 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0}, {&_swigt__p_wxHtmlPrintout
, _p_wxHtmlPrintoutTo_p_wxPyPrintout
, 0, 0},{0, 0, 0, 0}};
16757 static swig_cast_info _swigc__p_wxScrolledWindow
[] = { {&_swigt__p_wxScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}};
16758 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
16759 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
16760 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
16761 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
16762 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
16763 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
16764 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
16765 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
16766 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
16767 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
16769 static swig_cast_info
*swig_cast_initial
[] = {
16772 _swigc__p_form_ops_t
,
16774 _swigc__p_unsigned_char
,
16775 _swigc__p_unsigned_int
,
16776 _swigc__p_unsigned_long
,
16777 _swigc__p_wxANIHandler
,
16778 _swigc__p_wxAcceleratorTable
,
16779 _swigc__p_wxActivateEvent
,
16780 _swigc__p_wxBMPHandler
,
16781 _swigc__p_wxBitmap
,
16782 _swigc__p_wxBoxSizer
,
16783 _swigc__p_wxCURHandler
,
16784 _swigc__p_wxCalculateLayoutEvent
,
16785 _swigc__p_wxChildFocusEvent
,
16786 _swigc__p_wxCloseEvent
,
16787 _swigc__p_wxColour
,
16788 _swigc__p_wxColourData
,
16789 _swigc__p_wxColourDialog
,
16790 _swigc__p_wxCommandEvent
,
16791 _swigc__p_wxConfigBase
,
16792 _swigc__p_wxContextMenuEvent
,
16793 _swigc__p_wxControl
,
16794 _swigc__p_wxControlWithItems
,
16795 _swigc__p_wxCursor
,
16797 _swigc__p_wxDateEvent
,
16798 _swigc__p_wxDefaultHtmlRenderingStyle
,
16799 _swigc__p_wxDialog
,
16800 _swigc__p_wxDirDialog
,
16801 _swigc__p_wxDisplayChangedEvent
,
16802 _swigc__p_wxDropFilesEvent
,
16803 _swigc__p_wxDuplexMode
,
16804 _swigc__p_wxEraseEvent
,
16806 _swigc__p_wxEvtHandler
,
16807 _swigc__p_wxFSFile
,
16808 _swigc__p_wxFileDialog
,
16809 _swigc__p_wxFileSystem
,
16810 _swigc__p_wxFindDialogEvent
,
16811 _swigc__p_wxFindReplaceData
,
16812 _swigc__p_wxFindReplaceDialog
,
16813 _swigc__p_wxFlexGridSizer
,
16814 _swigc__p_wxFocusEvent
,
16816 _swigc__p_wxFontData
,
16817 _swigc__p_wxFontDialog
,
16819 _swigc__p_wxGBSizerItem
,
16820 _swigc__p_wxGIFHandler
,
16821 _swigc__p_wxGridBagSizer
,
16822 _swigc__p_wxGridSizer
,
16823 _swigc__p_wxHelpControllerBase
,
16824 _swigc__p_wxHelpSearchMode
,
16825 _swigc__p_wxHtmlBookRecArray
,
16826 _swigc__p_wxHtmlBookRecord
,
16827 _swigc__p_wxHtmlCell
,
16828 _swigc__p_wxHtmlColourCell
,
16829 _swigc__p_wxHtmlContainerCell
,
16830 _swigc__p_wxHtmlDCRenderer
,
16831 _swigc__p_wxHtmlEasyPrinting
,
16832 _swigc__p_wxHtmlFilter
,
16833 _swigc__p_wxHtmlFontCell
,
16834 _swigc__p_wxHtmlHelpController
,
16835 _swigc__p_wxHtmlHelpData
,
16836 _swigc__p_wxHtmlHelpDialog
,
16837 _swigc__p_wxHtmlHelpFrame
,
16838 _swigc__p_wxHtmlHelpFrameCfg
,
16839 _swigc__p_wxHtmlHelpWindow
,
16840 _swigc__p_wxHtmlLinkInfo
,
16841 _swigc__p_wxHtmlModalHelp
,
16842 _swigc__p_wxHtmlParser
,
16843 _swigc__p_wxHtmlPrintout
,
16844 _swigc__p_wxHtmlRenderingInfo
,
16845 _swigc__p_wxHtmlRenderingState
,
16846 _swigc__p_wxHtmlRenderingStyle
,
16847 _swigc__p_wxHtmlSearchStatus
,
16848 _swigc__p_wxHtmlSelection
,
16849 _swigc__p_wxHtmlTag
,
16850 _swigc__p_wxHtmlTagHandler
,
16851 _swigc__p_wxHtmlWidgetCell
,
16852 _swigc__p_wxHtmlWinParser
,
16853 _swigc__p_wxHtmlWindow
,
16854 _swigc__p_wxHtmlWindowEvent
,
16855 _swigc__p_wxHtmlWordCell
,
16856 _swigc__p_wxICOHandler
,
16857 _swigc__p_wxIconizeEvent
,
16858 _swigc__p_wxIdleEvent
,
16860 _swigc__p_wxImageHandler
,
16861 _swigc__p_wxIndividualLayoutConstraint
,
16862 _swigc__p_wxInitDialogEvent
,
16863 _swigc__p_wxJPEGHandler
,
16864 _swigc__p_wxKeyEvent
,
16865 _swigc__p_wxLayoutAlgorithm
,
16866 _swigc__p_wxLayoutConstraints
,
16867 _swigc__p_wxMDIChildFrame
,
16868 _swigc__p_wxMDIClientWindow
,
16869 _swigc__p_wxMDIParentFrame
,
16870 _swigc__p_wxMaximizeEvent
,
16872 _swigc__p_wxMenuBar
,
16873 _swigc__p_wxMenuEvent
,
16874 _swigc__p_wxMenuItem
,
16875 _swigc__p_wxMessageDialog
,
16876 _swigc__p_wxMiniFrame
,
16877 _swigc__p_wxMouseCaptureChangedEvent
,
16878 _swigc__p_wxMouseEvent
,
16879 _swigc__p_wxMoveEvent
,
16880 _swigc__p_wxMultiChoiceDialog
,
16881 _swigc__p_wxNavigationKeyEvent
,
16882 _swigc__p_wxNcPaintEvent
,
16883 _swigc__p_wxNotifyEvent
,
16884 _swigc__p_wxObject
,
16885 _swigc__p_wxPCXHandler
,
16886 _swigc__p_wxPNGHandler
,
16887 _swigc__p_wxPNMHandler
,
16888 _swigc__p_wxPageSetupDialog
,
16889 _swigc__p_wxPageSetupDialogData
,
16890 _swigc__p_wxPaintEvent
,
16891 _swigc__p_wxPaletteChangedEvent
,
16893 _swigc__p_wxPaperSize
,
16894 _swigc__p_wxPasswordEntryDialog
,
16896 _swigc__p_wxPopupWindow
,
16897 _swigc__p_wxPreviewCanvas
,
16898 _swigc__p_wxPreviewControlBar
,
16899 _swigc__p_wxPreviewFrame
,
16900 _swigc__p_wxPrintData
,
16901 _swigc__p_wxPrintDialog
,
16902 _swigc__p_wxPrintDialogData
,
16903 _swigc__p_wxPrintPreview
,
16904 _swigc__p_wxPrinter
,
16905 _swigc__p_wxProgressDialog
,
16907 _swigc__p_wxPyCommandEvent
,
16908 _swigc__p_wxPyEvent
,
16909 _swigc__p_wxPyHtmlFilter
,
16910 _swigc__p_wxPyHtmlListBox
,
16911 _swigc__p_wxPyHtmlTagHandler
,
16912 _swigc__p_wxPyHtmlWinTagHandler
,
16913 _swigc__p_wxPyHtmlWindow
,
16914 _swigc__p_wxPyImageHandler
,
16915 _swigc__p_wxPyPanel
,
16916 _swigc__p_wxPyPopupTransientWindow
,
16917 _swigc__p_wxPyPreviewControlBar
,
16918 _swigc__p_wxPyPreviewFrame
,
16919 _swigc__p_wxPyPrintPreview
,
16920 _swigc__p_wxPyPrintout
,
16921 _swigc__p_wxPyScrolledWindow
,
16922 _swigc__p_wxPySizer
,
16923 _swigc__p_wxPyTaskBarIcon
,
16924 _swigc__p_wxPyVListBox
,
16925 _swigc__p_wxPyVScrolledWindow
,
16926 _swigc__p_wxPyValidator
,
16927 _swigc__p_wxPyWindow
,
16928 _swigc__p_wxQueryLayoutInfoEvent
,
16929 _swigc__p_wxQueryNewPaletteEvent
,
16930 _swigc__p_wxSashEvent
,
16931 _swigc__p_wxSashLayoutWindow
,
16932 _swigc__p_wxSashWindow
,
16933 _swigc__p_wxScrollEvent
,
16934 _swigc__p_wxScrollWinEvent
,
16935 _swigc__p_wxScrolledWindow
,
16936 _swigc__p_wxSetCursorEvent
,
16937 _swigc__p_wxShowEvent
,
16938 _swigc__p_wxSingleChoiceDialog
,
16940 _swigc__p_wxSizeEvent
,
16942 _swigc__p_wxSizerItem
,
16943 _swigc__p_wxSplashScreen
,
16944 _swigc__p_wxSplashScreenWindow
,
16945 _swigc__p_wxSplitterEvent
,
16946 _swigc__p_wxSplitterWindow
,
16947 _swigc__p_wxStaticBoxSizer
,
16948 _swigc__p_wxStatusBar
,
16949 _swigc__p_wxStdDialogButtonSizer
,
16950 _swigc__p_wxString
,
16951 _swigc__p_wxSysColourChangedEvent
,
16952 _swigc__p_wxTIFFHandler
,
16953 _swigc__p_wxTaskBarIconEvent
,
16954 _swigc__p_wxTextEntryDialog
,
16955 _swigc__p_wxTipWindow
,
16956 _swigc__p_wxTopLevelWindow
,
16957 _swigc__p_wxTreeCtrl
,
16958 _swigc__p_wxUpdateUIEvent
,
16959 _swigc__p_wxValidator
,
16960 _swigc__p_wxVisualAttributes
,
16961 _swigc__p_wxWindow
,
16962 _swigc__p_wxWindowCreateEvent
,
16963 _swigc__p_wxWindowDestroyEvent
,
16964 _swigc__p_wxXPMHandler
,
16966 _swigc__std__ptrdiff_t
,
16967 _swigc__unsigned_int
,
16971 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16973 static swig_const_info swig_const_table
[] = {
16974 {0, 0, 0, 0.0, 0, 0}};
16979 /*************************************************************************
16980 * Type initialization:
16981 * This problem is tough by the requirement that no dynamic
16982 * memory is used. Also, since swig_type_info structures store pointers to
16983 * swig_cast_info structures and swig_cast_info structures store pointers back
16984 * to swig_type_info structures, we need some lookup code at initialization.
16985 * The idea is that swig generates all the structures that are needed.
16986 * The runtime then collects these partially filled structures.
16987 * The SWIG_InitializeModule function takes these initial arrays out of
16988 * swig_module, and does all the lookup, filling in the swig_module.types
16989 * array with the correct data and linking the correct swig_cast_info
16990 * structures together.
16992 * The generated swig_type_info structures are assigned staticly to an initial
16993 * array. We just loop though that array, and handle each type individually.
16994 * First we lookup if this type has been already loaded, and if so, use the
16995 * loaded structure instead of the generated one. Then we have to fill in the
16996 * cast linked list. The cast data is initially stored in something like a
16997 * two-dimensional array. Each row corresponds to a type (there are the same
16998 * number of rows as there are in the swig_type_initial array). Each entry in
16999 * a column is one of the swig_cast_info structures for that type.
17000 * The cast_initial array is actually an array of arrays, because each row has
17001 * a variable number of columns. So to actually build the cast linked list,
17002 * we find the array of casts associated with the type, and loop through it
17003 * adding the casts to the list. The one last trick we need to do is making
17004 * sure the type pointer in the swig_cast_info struct is correct.
17006 * First off, we lookup the cast->type name to see if it is already loaded.
17007 * There are three cases to handle:
17008 * 1) If the cast->type has already been loaded AND the type we are adding
17009 * casting info to has not been loaded (it is in this module), THEN we
17010 * replace the cast->type pointer with the type pointer that has already
17012 * 2) If BOTH types (the one we are adding casting info to, and the
17013 * cast->type) are loaded, THEN the cast info has already been loaded by
17014 * the previous module so we just ignore it.
17015 * 3) Finally, if cast->type has not already been loaded, then we add that
17016 * swig_cast_info to the linked list (because the cast->type) pointer will
17028 #define SWIGRUNTIME_DEBUG
17032 SWIG_InitializeModule(void *clientdata
) {
17034 swig_module_info
*module_head
;
17035 static int init_run
= 0;
17037 clientdata
= clientdata
;
17039 if (init_run
) return;
17042 /* Initialize the swig_module */
17043 swig_module
.type_initial
= swig_type_initial
;
17044 swig_module
.cast_initial
= swig_cast_initial
;
17046 /* Try and load any already created modules */
17047 module_head
= SWIG_GetModule(clientdata
);
17049 swig_module
.next
= module_head
->next
;
17050 module_head
->next
= &swig_module
;
17052 /* This is the first module loaded */
17053 swig_module
.next
= &swig_module
;
17054 SWIG_SetModule(clientdata
, &swig_module
);
17057 /* Now work on filling in swig_module.types */
17058 #ifdef SWIGRUNTIME_DEBUG
17059 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
17061 for (i
= 0; i
< swig_module
.size
; ++i
) {
17062 swig_type_info
*type
= 0;
17063 swig_type_info
*ret
;
17064 swig_cast_info
*cast
;
17066 #ifdef SWIGRUNTIME_DEBUG
17067 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
17070 /* if there is another module already loaded */
17071 if (swig_module
.next
!= &swig_module
) {
17072 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
17075 /* Overwrite clientdata field */
17076 #ifdef SWIGRUNTIME_DEBUG
17077 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
17079 if (swig_module
.type_initial
[i
]->clientdata
) {
17080 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
17081 #ifdef SWIGRUNTIME_DEBUG
17082 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
17086 type
= swig_module
.type_initial
[i
];
17089 /* Insert casting types */
17090 cast
= swig_module
.cast_initial
[i
];
17091 while (cast
->type
) {
17092 /* Don't need to add information already in the list */
17094 #ifdef SWIGRUNTIME_DEBUG
17095 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
17097 if (swig_module
.next
!= &swig_module
) {
17098 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
17099 #ifdef SWIGRUNTIME_DEBUG
17100 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
17104 if (type
== swig_module
.type_initial
[i
]) {
17105 #ifdef SWIGRUNTIME_DEBUG
17106 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
17111 /* Check for casting already in the list */
17112 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
17113 #ifdef SWIGRUNTIME_DEBUG
17114 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
17116 if (!ocast
) ret
= 0;
17121 #ifdef SWIGRUNTIME_DEBUG
17122 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
17125 type
->cast
->prev
= cast
;
17126 cast
->next
= type
->cast
;
17132 /* Set entry in modules->types array equal to the type */
17133 swig_module
.types
[i
] = type
;
17135 swig_module
.types
[i
] = 0;
17137 #ifdef SWIGRUNTIME_DEBUG
17138 printf("**** SWIG_InitializeModule: Cast List ******\n");
17139 for (i
= 0; i
< swig_module
.size
; ++i
) {
17141 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
17142 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
17143 while (cast
->type
) {
17144 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
17148 printf("---- Total casts: %d\n",j
);
17150 printf("**** SWIG_InitializeModule: Cast List ******\n");
17154 /* This function will propagate the clientdata field of type to
17155 * any new swig_type_info structures that have been added into the list
17156 * of equivalent types. It is like calling
17157 * SWIG_TypeClientData(type, clientdata) a second time.
17160 SWIG_PropagateClientData(void) {
17162 swig_cast_info
*equiv
;
17163 static int init_run
= 0;
17165 if (init_run
) return;
17168 for (i
= 0; i
< swig_module
.size
; i
++) {
17169 if (swig_module
.types
[i
]->clientdata
) {
17170 equiv
= swig_module
.types
[i
]->cast
;
17172 if (!equiv
->converter
) {
17173 if (equiv
->type
&& !equiv
->type
->clientdata
)
17174 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
17176 equiv
= equiv
->next
;
17196 /* Python-specific SWIG API */
17197 #define SWIG_newvarlink() SWIG_Python_newvarlink()
17198 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17199 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17201 /* -----------------------------------------------------------------------------
17202 * global variable support code.
17203 * ----------------------------------------------------------------------------- */
17205 typedef struct swig_globalvar
{
17206 char *name
; /* Name of global variable */
17207 PyObject
*(*get_attr
)(void); /* Return the current value */
17208 int (*set_attr
)(PyObject
*); /* Set the value */
17209 struct swig_globalvar
*next
;
17212 typedef struct swig_varlinkobject
{
17214 swig_globalvar
*vars
;
17215 } swig_varlinkobject
;
17217 SWIGINTERN PyObject
*
17218 swig_varlink_repr(swig_varlinkobject
*v
) {
17220 return PyString_FromString("<Swig global variables>");
17224 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
17225 swig_globalvar
*var
;
17227 fprintf(fp
,"Swig global variables { ");
17228 for (var
= v
->vars
; var
; var
=var
->next
) {
17229 fprintf(fp
,"%s", var
->name
);
17230 if (var
->next
) fprintf(fp
,", ");
17232 fprintf(fp
," }\n");
17236 SWIGINTERN PyObject
*
17237 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
17238 swig_globalvar
*var
= v
->vars
;
17240 if (strcmp(var
->name
,n
) == 0) {
17241 return (*var
->get_attr
)();
17245 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
17250 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
17251 swig_globalvar
*var
= v
->vars
;
17253 if (strcmp(var
->name
,n
) == 0) {
17254 return (*var
->set_attr
)(p
);
17258 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
17262 SWIGINTERN PyTypeObject
*
17263 swig_varlink_type(void) {
17264 static char varlink__doc__
[] = "Swig var link object";
17265 static PyTypeObject varlink_type
17266 #if !defined(__cplusplus)
17268 static int type_init
= 0;
17273 PyObject_HEAD_INIT(&PyType_Type
)
17274 0, /* Number of items in variable part (ob_size) */
17275 (char *)"swigvarlink", /* Type name (tp_name) */
17276 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
17277 0, /* Itemsize (tp_itemsize) */
17278 0, /* Deallocator (tp_dealloc) */
17279 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
17280 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
17281 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
17282 0, /* tp_compare */
17283 (reprfunc
) swig_varlink_repr
, /* tp_repr */
17284 0, /* tp_as_number */
17285 0, /* tp_as_sequence */
17286 0, /* tp_as_mapping */
17290 0, /* tp_getattro */
17291 0, /* tp_setattro */
17292 0, /* tp_as_buffer */
17294 varlink__doc__
, /* tp_doc */
17295 #if PY_VERSION_HEX >= 0x02000000
17296 0, /* tp_traverse */
17299 #if PY_VERSION_HEX >= 0x02010000
17300 0, /* tp_richcompare */
17301 0, /* tp_weaklistoffset */
17303 #if PY_VERSION_HEX >= 0x02020000
17304 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
17306 #if PY_VERSION_HEX >= 0x02030000
17309 #ifdef COUNT_ALLOCS
17310 0,0,0,0 /* tp_alloc -> tp_next */
17313 #if !defined(__cplusplus)
17314 varlink_type
= tmp
;
17318 return &varlink_type
;
17321 /* Create a variable linking object for use later */
17322 SWIGINTERN PyObject
*
17323 SWIG_Python_newvarlink(void) {
17324 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
17328 return ((PyObject
*) result
);
17332 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
17333 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
17334 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
17336 size_t size
= strlen(name
)+1;
17337 gv
->name
= (char *)malloc(size
);
17339 strncpy(gv
->name
,name
,size
);
17340 gv
->get_attr
= get_attr
;
17341 gv
->set_attr
= set_attr
;
17342 gv
->next
= v
->vars
;
17348 /* -----------------------------------------------------------------------------
17349 * constants/methods manipulation
17350 * ----------------------------------------------------------------------------- */
17352 /* Install Constants */
17354 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
17357 for (i
= 0; constants
[i
].type
; ++i
) {
17358 switch(constants
[i
].type
) {
17360 obj
= PyInt_FromLong(constants
[i
].lvalue
);
17362 case SWIG_PY_FLOAT
:
17363 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
17365 case SWIG_PY_STRING
:
17366 if (constants
[i
].pvalue
) {
17367 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
17369 Py_INCREF(Py_None
);
17373 case SWIG_PY_POINTER
:
17374 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
17376 case SWIG_PY_BINARY
:
17377 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
17384 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
17390 /* -----------------------------------------------------------------------------*/
17391 /* Fix SwigMethods to carry the callback ptrs when needed */
17392 /* -----------------------------------------------------------------------------*/
17395 SWIG_Python_FixMethods(PyMethodDef
*methods
,
17396 swig_const_info
*const_table
,
17397 swig_type_info
**types
,
17398 swig_type_info
**types_initial
) {
17400 for (i
= 0; methods
[i
].ml_name
; ++i
) {
17401 char *c
= methods
[i
].ml_doc
;
17402 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
17404 swig_const_info
*ci
= 0;
17405 char *name
= c
+ 10;
17406 for (j
= 0; const_table
[j
].type
; ++j
) {
17407 if (strncmp(const_table
[j
].name
, name
,
17408 strlen(const_table
[j
].name
)) == 0) {
17409 ci
= &(const_table
[j
]);
17414 size_t shift
= (ci
->ptype
) - types
;
17415 swig_type_info
*ty
= types_initial
[shift
];
17416 size_t ldoc
= (c
- methods
[i
].ml_doc
);
17417 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
17418 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
17421 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
17423 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
17425 strncpy(buff
, "swig_ptr: ", 10);
17427 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
17428 methods
[i
].ml_doc
= ndoc
;
17436 /* -----------------------------------------------------------------------------*
17437 * Initialize type list
17438 * -----------------------------------------------------------------------------*/
17444 /* -----------------------------------------------------------------------------*
17445 * Partial Init method
17446 * -----------------------------------------------------------------------------*/
17451 SWIGEXPORT
void SWIG_init(void) {
17452 static PyObject
*SWIG_globals
= 0;
17454 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17456 /* Fix SwigMethods to carry the callback ptrs when needed */
17457 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
17459 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17460 d
= PyModule_GetDict(m
);
17462 SWIG_InitializeModule(0);
17463 SWIG_InstallConstants(d
,swig_const_table
);
17465 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17466 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get
, _wrap_HtmlWindowNameStr_set
);
17467 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get
, _wrap_HtmlPrintoutTitleStr_set
);
17468 SWIG_addvarlink(SWIG_globals
,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get
, _wrap_HtmlPrintingTitleStr_set
);
17470 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_LEFT
)));
17473 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_CENTER
)));
17476 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_RIGHT
)));
17479 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_BOTTOM
)));
17482 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", SWIG_From_int(static_cast<int >(wxHTML_ALIGN_TOP
)));
17485 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_FOREGROUND
)));
17488 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast<int >(wxHTML_CLR_BACKGROUND
)));
17491 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PIXELS
)));
17494 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast<int >(wxHTML_UNITS_PERCENT
)));
17497 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_LEFT
)));
17500 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast<int >(wxHTML_INDENT_RIGHT
)));
17503 PyDict_SetItemString(d
,"HTML_INDENT_TOP", SWIG_From_int(static_cast<int >(wxHTML_INDENT_TOP
)));
17506 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast<int >(wxHTML_INDENT_BOTTOM
)));
17509 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_HORIZONTAL
)));
17512 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_VERTICAL
)));
17515 PyDict_SetItemString(d
,"HTML_INDENT_ALL", SWIG_From_int(static_cast<int >(wxHTML_INDENT_ALL
)));
17518 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast<int >(wxHTML_COND_ISANCHOR
)));
17521 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast<int >(wxHTML_COND_ISIMAGEMAP
)));
17524 PyDict_SetItemString(d
,"HTML_COND_USER", SWIG_From_int(static_cast<int >(wxHTML_COND_USER
)));
17527 PyDict_SetItemString(d
,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_1
)));
17530 PyDict_SetItemString(d
,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_2
)));
17533 PyDict_SetItemString(d
,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_3
)));
17536 PyDict_SetItemString(d
,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_4
)));
17539 PyDict_SetItemString(d
,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_5
)));
17542 PyDict_SetItemString(d
,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_6
)));
17545 PyDict_SetItemString(d
,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast<int >(wxHTML_FONT_SIZE_7
)));
17548 PyDict_SetItemString(d
,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_NEVER
)));
17551 PyDict_SetItemString(d
,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast<int >(wxHW_SCROLLBAR_AUTO
)));
17554 PyDict_SetItemString(d
,"HW_NO_SELECTION", SWIG_From_int(static_cast<int >(wxHW_NO_SELECTION
)));
17557 PyDict_SetItemString(d
,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHW_DEFAULT_STYLE
)));
17560 PyDict_SetItemString(d
,"HTML_OPEN", SWIG_From_int(static_cast<int >(wxHTML_OPEN
)));
17563 PyDict_SetItemString(d
,"HTML_BLOCK", SWIG_From_int(static_cast<int >(wxHTML_BLOCK
)));
17566 PyDict_SetItemString(d
,"HTML_REDIRECT", SWIG_From_int(static_cast<int >(wxHTML_REDIRECT
)));
17569 PyDict_SetItemString(d
,"HTML_URL_PAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_PAGE
)));
17572 PyDict_SetItemString(d
,"HTML_URL_IMAGE", SWIG_From_int(static_cast<int >(wxHTML_URL_IMAGE
)));
17575 PyDict_SetItemString(d
,"HTML_URL_OTHER", SWIG_From_int(static_cast<int >(wxHTML_URL_OTHER
)));
17578 PyDict_SetItemString(d
,"HTML_SEL_OUT", SWIG_From_int(static_cast<int >(wxHTML_SEL_OUT
)));
17581 PyDict_SetItemString(d
,"HTML_SEL_IN", SWIG_From_int(static_cast<int >(wxHTML_SEL_IN
)));
17584 PyDict_SetItemString(d
,"HTML_SEL_CHANGING", SWIG_From_int(static_cast<int >(wxHTML_SEL_CHANGING
)));
17587 PyDict_SetItemString(d
,"HTML_FIND_EXACT", SWIG_From_int(static_cast<int >(wxHTML_FIND_EXACT
)));
17590 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_BEFORE
)));
17593 PyDict_SetItemString(d
,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast<int >(wxHTML_FIND_NEAREST_AFTER
)));
17596 PyDict_SetItemString(d
,"PAGE_ODD", SWIG_From_int(static_cast<int >(wxPAGE_ODD
)));
17599 PyDict_SetItemString(d
,"PAGE_EVEN", SWIG_From_int(static_cast<int >(wxPAGE_EVEN
)));
17602 PyDict_SetItemString(d
,"PAGE_ALL", SWIG_From_int(static_cast<int >(wxPAGE_ALL
)));
17605 PyDict_SetItemString(d
,"HF_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_TOOLBAR
)));
17608 PyDict_SetItemString(d
,"HF_CONTENTS", SWIG_From_int(static_cast<int >(wxHF_CONTENTS
)));
17611 PyDict_SetItemString(d
,"HF_INDEX", SWIG_From_int(static_cast<int >(wxHF_INDEX
)));
17614 PyDict_SetItemString(d
,"HF_SEARCH", SWIG_From_int(static_cast<int >(wxHF_SEARCH
)));
17617 PyDict_SetItemString(d
,"HF_BOOKMARKS", SWIG_From_int(static_cast<int >(wxHF_BOOKMARKS
)));
17620 PyDict_SetItemString(d
,"HF_OPEN_FILES", SWIG_From_int(static_cast<int >(wxHF_OPEN_FILES
)));
17623 PyDict_SetItemString(d
,"HF_PRINT", SWIG_From_int(static_cast<int >(wxHF_PRINT
)));
17626 PyDict_SetItemString(d
,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast<int >(wxHF_FLAT_TOOLBAR
)));
17629 PyDict_SetItemString(d
,"HF_MERGE_BOOKS", SWIG_From_int(static_cast<int >(wxHF_MERGE_BOOKS
)));
17632 PyDict_SetItemString(d
,"HF_ICONS_BOOK", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK
)));
17635 PyDict_SetItemString(d
,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast<int >(wxHF_ICONS_BOOK_CHAPTER
)));
17638 PyDict_SetItemString(d
,"HF_ICONS_FOLDER", SWIG_From_int(static_cast<int >(wxHF_ICONS_FOLDER
)));
17641 PyDict_SetItemString(d
,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxHF_DEFAULT_STYLE
)));
17644 PyDict_SetItemString(d
,"HF_EMBEDDED", SWIG_From_int(static_cast<int >(wxHF_EMBEDDED
)));
17647 PyDict_SetItemString(d
,"HF_DIALOG", SWIG_From_int(static_cast<int >(wxHF_DIALOG
)));
17650 PyDict_SetItemString(d
,"HF_FRAME", SWIG_From_int(static_cast<int >(wxHF_FRAME
)));
17653 PyDict_SetItemString(d
,"HF_MODAL", SWIG_From_int(static_cast<int >(wxHF_MODAL
)));
17656 PyDict_SetItemString(d
,"ID_HTML_PANEL", SWIG_From_int(static_cast<int >(wxID_HTML_PANEL
)));
17659 PyDict_SetItemString(d
,"ID_HTML_BACK", SWIG_From_int(static_cast<int >(wxID_HTML_BACK
)));
17662 PyDict_SetItemString(d
,"ID_HTML_FORWARD", SWIG_From_int(static_cast<int >(wxID_HTML_FORWARD
)));
17665 PyDict_SetItemString(d
,"ID_HTML_UPNODE", SWIG_From_int(static_cast<int >(wxID_HTML_UPNODE
)));
17668 PyDict_SetItemString(d
,"ID_HTML_UP", SWIG_From_int(static_cast<int >(wxID_HTML_UP
)));
17671 PyDict_SetItemString(d
,"ID_HTML_DOWN", SWIG_From_int(static_cast<int >(wxID_HTML_DOWN
)));
17674 PyDict_SetItemString(d
,"ID_HTML_PRINT", SWIG_From_int(static_cast<int >(wxID_HTML_PRINT
)));
17677 PyDict_SetItemString(d
,"ID_HTML_OPENFILE", SWIG_From_int(static_cast<int >(wxID_HTML_OPENFILE
)));
17680 PyDict_SetItemString(d
,"ID_HTML_OPTIONS", SWIG_From_int(static_cast<int >(wxID_HTML_OPTIONS
)));
17683 PyDict_SetItemString(d
,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSLIST
)));
17686 PyDict_SetItemString(d
,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSADD
)));
17689 PyDict_SetItemString(d
,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast<int >(wxID_HTML_BOOKMARKSREMOVE
)));
17692 PyDict_SetItemString(d
,"ID_HTML_TREECTRL", SWIG_From_int(static_cast<int >(wxID_HTML_TREECTRL
)));
17695 PyDict_SetItemString(d
,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXPAGE
)));
17698 PyDict_SetItemString(d
,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXLIST
)));
17701 PyDict_SetItemString(d
,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXTEXT
)));
17704 PyDict_SetItemString(d
,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTON
)));
17707 PyDict_SetItemString(d
,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast<int >(wxID_HTML_INDEXBUTTONALL
)));
17710 PyDict_SetItemString(d
,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast<int >(wxID_HTML_NOTEBOOK
)));
17713 PyDict_SetItemString(d
,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHPAGE
)));
17716 PyDict_SetItemString(d
,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHTEXT
)));
17719 PyDict_SetItemString(d
,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHLIST
)));
17722 PyDict_SetItemString(d
,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHBUTTON
)));
17725 PyDict_SetItemString(d
,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast<int >(wxID_HTML_SEARCHCHOICE
)));
17728 PyDict_SetItemString(d
,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast<int >(wxID_HTML_COUNTINFO
)));
17731 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
17732 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
17733 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
17734 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");