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 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxCursor swig_types[27]
2494 #define SWIGTYPE_p_wxDC swig_types[28]
2495 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2497 #define SWIGTYPE_p_wxDialog swig_types[31]
2498 #define SWIGTYPE_p_wxDirDialog swig_types[32]
2499 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2505 #define SWIGTYPE_p_wxFSFile swig_types[39]
2506 #define SWIGTYPE_p_wxFileDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceData swig_types[43]
2510 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
2511 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFontData swig_types[48]
2515 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2516 #define SWIGTYPE_p_wxFrame swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2519 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2520 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
2522 #define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
2523 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
2524 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
2525 #define SWIGTYPE_p_wxHtmlCell swig_types[59]
2526 #define SWIGTYPE_p_wxHtmlColourCell swig_types[60]
2527 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[61]
2528 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[62]
2529 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[63]
2530 #define SWIGTYPE_p_wxHtmlFilter swig_types[64]
2531 #define SWIGTYPE_p_wxHtmlFontCell swig_types[65]
2532 #define SWIGTYPE_p_wxHtmlHelpController swig_types[66]
2533 #define SWIGTYPE_p_wxHtmlHelpData swig_types[67]
2534 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[68]
2535 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[69]
2536 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[70]
2537 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[71]
2538 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[72]
2539 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[73]
2540 #define SWIGTYPE_p_wxHtmlParser swig_types[74]
2541 #define SWIGTYPE_p_wxHtmlPrintout swig_types[75]
2542 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[76]
2543 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[77]
2544 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[78]
2545 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[79]
2546 #define SWIGTYPE_p_wxHtmlSelection swig_types[80]
2547 #define SWIGTYPE_p_wxHtmlTag swig_types[81]
2548 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[82]
2549 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[83]
2550 #define SWIGTYPE_p_wxHtmlWinParser swig_types[84]
2551 #define SWIGTYPE_p_wxHtmlWindow swig_types[85]
2552 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[86]
2553 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
2554 #define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
2555 #define SWIGTYPE_p_wxICOHandler swig_types[89]
2556 #define SWIGTYPE_p_wxIconizeEvent swig_types[90]
2557 #define SWIGTYPE_p_wxIdleEvent swig_types[91]
2558 #define SWIGTYPE_p_wxImage swig_types[92]
2559 #define SWIGTYPE_p_wxImageHandler swig_types[93]
2560 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
2561 #define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
2562 #define SWIGTYPE_p_wxJPEGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
2565 #define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
2566 #define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
2567 #define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
2568 #define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMenu swig_types[104]
2571 #define SWIGTYPE_p_wxMenuBar swig_types[105]
2572 #define SWIGTYPE_p_wxMenuEvent swig_types[106]
2573 #define SWIGTYPE_p_wxMenuItem swig_types[107]
2574 #define SWIGTYPE_p_wxMessageDialog swig_types[108]
2575 #define SWIGTYPE_p_wxMiniFrame swig_types[109]
2576 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxMouseEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMoveEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[113]
2580 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[114]
2581 #define SWIGTYPE_p_wxNcPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxNotifyEvent swig_types[116]
2583 #define SWIGTYPE_p_wxObject swig_types[117]
2584 #define SWIGTYPE_p_wxPCXHandler swig_types[118]
2585 #define SWIGTYPE_p_wxPNGHandler swig_types[119]
2586 #define SWIGTYPE_p_wxPNMHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPageSetupDialog swig_types[121]
2588 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[122]
2589 #define SWIGTYPE_p_wxPaintEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[124]
2591 #define SWIGTYPE_p_wxPanel swig_types[125]
2592 #define SWIGTYPE_p_wxPaperSize swig_types[126]
2593 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[127]
2594 #define SWIGTYPE_p_wxPoint swig_types[128]
2595 #define SWIGTYPE_p_wxPopupWindow swig_types[129]
2596 #define SWIGTYPE_p_wxPreviewCanvas swig_types[130]
2597 #define SWIGTYPE_p_wxPreviewControlBar swig_types[131]
2598 #define SWIGTYPE_p_wxPreviewFrame swig_types[132]
2599 #define SWIGTYPE_p_wxPrintData swig_types[133]
2600 #define SWIGTYPE_p_wxPrintDialog swig_types[134]
2601 #define SWIGTYPE_p_wxPrintDialogData swig_types[135]
2602 #define SWIGTYPE_p_wxPrintPreview swig_types[136]
2603 #define SWIGTYPE_p_wxPrinter swig_types[137]
2604 #define SWIGTYPE_p_wxProgressDialog swig_types[138]
2605 #define SWIGTYPE_p_wxPyApp swig_types[139]
2606 #define SWIGTYPE_p_wxPyCommandEvent swig_types[140]
2607 #define SWIGTYPE_p_wxPyEvent swig_types[141]
2608 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[142]
2609 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[143]
2610 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[144]
2611 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[145]
2612 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[146]
2613 #define SWIGTYPE_p_wxPyImageHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPyPanel swig_types[148]
2615 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[149]
2616 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[150]
2617 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[151]
2618 #define SWIGTYPE_p_wxPyPrintPreview swig_types[152]
2619 #define SWIGTYPE_p_wxPyPrintout swig_types[153]
2620 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[154]
2621 #define SWIGTYPE_p_wxPySizer swig_types[155]
2622 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxPyVListBox swig_types[157]
2624 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[158]
2625 #define SWIGTYPE_p_wxPyValidator swig_types[159]
2626 #define SWIGTYPE_p_wxPyWindow swig_types[160]
2627 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[161]
2628 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[162]
2629 #define SWIGTYPE_p_wxSashEvent swig_types[163]
2630 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[164]
2631 #define SWIGTYPE_p_wxSashWindow swig_types[165]
2632 #define SWIGTYPE_p_wxScrollEvent swig_types[166]
2633 #define SWIGTYPE_p_wxScrollWinEvent swig_types[167]
2634 #define SWIGTYPE_p_wxScrolledWindow swig_types[168]
2635 #define SWIGTYPE_p_wxSetCursorEvent swig_types[169]
2636 #define SWIGTYPE_p_wxShowEvent swig_types[170]
2637 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[171]
2638 #define SWIGTYPE_p_wxSize swig_types[172]
2639 #define SWIGTYPE_p_wxSizeEvent swig_types[173]
2640 #define SWIGTYPE_p_wxSizer swig_types[174]
2641 #define SWIGTYPE_p_wxSizerItem swig_types[175]
2642 #define SWIGTYPE_p_wxSplashScreen swig_types[176]
2643 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[177]
2644 #define SWIGTYPE_p_wxSplitterEvent swig_types[178]
2645 #define SWIGTYPE_p_wxSplitterWindow swig_types[179]
2646 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[180]
2647 #define SWIGTYPE_p_wxStatusBar swig_types[181]
2648 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[182]
2649 #define SWIGTYPE_p_wxString swig_types[183]
2650 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[184]
2651 #define SWIGTYPE_p_wxTIFFHandler swig_types[185]
2652 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[186]
2653 #define SWIGTYPE_p_wxTextEntryDialog swig_types[187]
2654 #define SWIGTYPE_p_wxTipWindow swig_types[188]
2655 #define SWIGTYPE_p_wxTopLevelWindow swig_types[189]
2656 #define SWIGTYPE_p_wxTreeCtrl swig_types[190]
2657 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[191]
2658 #define SWIGTYPE_p_wxValidator swig_types[192]
2659 #define SWIGTYPE_p_wxVisualAttributes swig_types[193]
2660 #define SWIGTYPE_p_wxWindow swig_types[194]
2661 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[195]
2662 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[196]
2663 #define SWIGTYPE_p_wxXPMHandler swig_types[197]
2664 static swig_type_info
*swig_types
[199];
2665 static swig_module_info swig_module
= {swig_types
, 198, 0, 0, 0, 0};
2666 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2667 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2669 /* -------- TYPES TABLE (END) -------- */
2671 #if (PY_VERSION_HEX <= 0x02000000)
2672 # if !defined(SWIG_PYTHON_CLASSIC)
2673 # error "This python version requires to use swig with the '-classic' option"
2676 #if (PY_VERSION_HEX <= 0x02020000)
2677 # error "This python version requires to use swig with the '-nomodern' option"
2679 #if (PY_VERSION_HEX <= 0x02020000)
2680 # error "This python version requires to use swig with the '-nomodernargs' option"
2683 # error "This python version requires to use swig with the '-nofastunpack' option"
2686 /*-----------------------------------------------
2687 @(target):= _html.so
2688 ------------------------------------------------*/
2689 #define SWIG_init init_html
2691 #define SWIG_name "_html"
2693 #define SWIGVERSION 0x010329
2696 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2697 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2700 #include <stdexcept>
2704 class PyObject_ptr
{
2709 PyObject_ptr() :_obj(0)
2713 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2718 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2720 if (initial_ref
) Py_XINCREF(_obj
);
2723 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2725 Py_XINCREF(item
._obj
);
2736 operator PyObject
*() const
2741 PyObject
*operator->() const
2750 struct PyObject_var
: PyObject_ptr
{
2751 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2753 PyObject_var
& operator = (PyObject
* obj
)
2763 #include "wx/wxPython/wxPython.h"
2764 #include "wx/wxPython/pyclasses.h"
2765 #include "wx/wxPython/pyistream.h"
2766 #include "wx/wxPython/printfw.h"
2768 #include <wx/html/htmlwin.h>
2769 #include <wx/html/htmprint.h>
2770 #include <wx/html/helpctrl.h>
2771 #include <wx/html/helpwnd.h>
2772 #include <wx/html/helpfrm.h>
2773 #include <wx/html/helpdlg.h>
2776 static const wxString
wxPyEmptyString(wxEmptyString
);
2777 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2778 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2779 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2781 #define SWIG_From_long PyInt_FromLong
2784 SWIGINTERNINLINE PyObject
*
2785 SWIG_From_int (int value
)
2787 return SWIG_From_long (value
);
2793 # define LLONG_MIN LONG_LONG_MIN
2796 # define LLONG_MAX LONG_LONG_MAX
2799 # define ULLONG_MAX ULONG_LONG_MAX
2804 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2806 if (PyNumber_Check(obj
)) {
2807 if (val
) *val
= PyInt_AsLong(obj
);
2810 return SWIG_TypeError
;
2815 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2818 int res
= SWIG_AsVal_long (obj
, &v
);
2819 if (SWIG_IsOK(res
)) {
2820 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2821 return SWIG_OverflowError
;
2823 if (val
) *val
= static_cast< int >(v
);
2829 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2831 if (sizes
) temp
= int_LIST_helper(sizes
);
2832 self
->SetFonts(normal_face
, fixed_face
, temp
);
2837 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2838 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2840 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2842 wxHtmlParser
* GetParser() { return m_Parser
; }
2843 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2845 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2846 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2851 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2853 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2854 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2857 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2858 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2860 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2862 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2863 void ParseInner(const wxHtmlTag
& tag
)
2864 { wxHtmlWinTagHandler::ParseInner(tag
); }
2866 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2867 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2872 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2874 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2875 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2879 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2881 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2882 m_tagHandlerClass
= thc
;
2883 Py_INCREF(m_tagHandlerClass
);
2884 RegisterModule(this);
2885 wxHtmlWinParser::AddModule(this);
2889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2890 Py_DECREF(m_tagHandlerClass
);
2891 m_tagHandlerClass
= NULL
;
2892 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2893 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2896 wxPyEndBlockThreads(blocked
);
2899 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2900 // Wave our magic wand... (if it works it's a miracle! ;-)
2902 // First, make a new instance of the tag handler
2903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2904 PyObject
* arg
= PyTuple_New(0);
2905 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2908 // now figure out where it's C++ object is...
2909 wxPyHtmlWinTagHandler
* thPtr
;
2910 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2911 wxPyEndBlockThreads(blocked
);
2914 wxPyEndBlockThreads(blocked
);
2917 parser
->AddTagHandler(thPtr
);
2920 m_objArray
.Add(obj
);
2924 PyObject
* m_tagHandlerClass
;
2925 wxArrayPtrVoid m_objArray
;
2930 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2931 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2932 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2933 new wxPyHtmlTagsModule(tagHandlerClass
);
2937 SWIGINTERNINLINE PyObject
*
2938 SWIG_From_bool (bool value
)
2940 return PyBool_FromLong(value
? 1 : 0);
2945 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2947 if (obj
== Py_True
) {
2948 if (val
) *val
= true;
2950 } else if (obj
== Py_False
) {
2951 if (val
) *val
= false;
2955 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2956 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2963 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2966 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2967 return SWIG_TypeError
;
2970 *val
= (unsigned long)v
;
2976 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2979 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2980 if (SWIG_IsOK(res
)) {
2981 if ((v
> UINT_MAX
)) {
2982 return SWIG_OverflowError
;
2984 if (val
) *val
= static_cast< unsigned int >(v
);
2991 SWIGINTERNINLINE PyObject
*
2992 SWIG_From_unsigned_SS_long (unsigned long value
)
2994 return (value
> LONG_MAX
) ?
2995 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2999 SWIGINTERNINLINE PyObject
*
3000 SWIG_From_unsigned_SS_int (unsigned int value
)
3002 return SWIG_From_unsigned_SS_long (value
);
3005 // here's the C++ version
3006 class wxPyHtmlFilter
: public wxHtmlFilter
{
3007 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3009 wxPyHtmlFilter() : wxHtmlFilter() {}
3011 // returns True if this filter is able to open&read given file
3012 virtual bool CanRead(const wxFSFile
& file
) const {
3015 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3016 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3017 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3018 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3021 wxPyEndBlockThreads(blocked
);
3026 // Reads given file and returns HTML document.
3027 // Returns empty string if opening failed
3028 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3031 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3032 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3033 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3035 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3038 rval
= Py2wxString(ro
);
3042 wxPyEndBlockThreads(blocked
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3052 class wxPyHtmlWindow
: public wxHtmlWindow
{
3053 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3055 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3056 const wxPoint
& pos
= wxDefaultPosition
,
3057 const wxSize
& size
= wxDefaultSize
,
3058 long style
= wxHW_DEFAULT_STYLE
,
3059 const wxString
& name
= wxPyHtmlWindowNameStr
)
3060 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3061 wxPyHtmlWindow() : wxHtmlWindow() {};
3063 bool ScrollToAnchor(const wxString
& anchor
) {
3064 return wxHtmlWindow::ScrollToAnchor(anchor
);
3067 bool HasAnchor(const wxString
& anchor
) {
3068 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3072 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3074 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3075 const wxString
& url
,
3076 wxString
*redirect
) const;
3078 DEC_PYCALLBACK__STRING(OnSetTitle
);
3079 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3080 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3085 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3086 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3087 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3088 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3091 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3093 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3094 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3095 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3096 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3099 wxPyEndBlockThreads(blocked
);
3101 wxHtmlWindow::OnLinkClicked(link
);
3105 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3106 const wxString
& url
,
3107 wxString
*redirect
) const {
3109 wxHtmlOpeningStatus rval
;
3110 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3111 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3113 PyObject
* s
= wx2PyString(url
);
3114 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3116 if (PyString_Check(ro
)
3117 #if PYTHON_API_VERSION >= 1009
3118 || PyUnicode_Check(ro
)
3121 *redirect
= Py2wxString(ro
);
3122 rval
= wxHTML_REDIRECT
;
3125 PyObject
* num
= PyNumber_Int(ro
);
3126 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3131 wxPyEndBlockThreads(blocked
);
3133 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3139 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3141 if (sizes
) temp
= int_LIST_helper(sizes
);
3142 self
->SetFonts(normal_face
, fixed_face
, temp
);
3146 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3148 if (sizes
) temp
= int_LIST_helper(sizes
);
3149 self
->SetFonts(normal_face
, fixed_face
, temp
);
3153 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3155 if (sizes
) temp
= int_LIST_helper(sizes
);
3156 self
->SetFonts(normal_face
, fixed_face
, temp
);
3165 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3167 if (PyNumber_Check(obj
)) {
3168 if (val
) *val
= PyFloat_AsDouble(obj
);
3171 return SWIG_TypeError
;
3176 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3179 int res
= SWIG_AsVal_double (obj
, &v
);
3180 if (SWIG_IsOK(res
)) {
3181 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3182 return SWIG_OverflowError
;
3184 if (val
) *val
= static_cast< float >(v
);
3190 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3192 if (sizes
) temp
= int_LIST_helper(sizes
);
3193 self
->SetFonts(normal_face
, fixed_face
, temp
);
3200 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3201 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3206 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3207 PyObject
*pyobj
= 0;
3211 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3213 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3220 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3221 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3226 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3227 PyObject
*pyobj
= 0;
3231 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3233 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3240 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3241 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3246 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3247 PyObject
*pyobj
= 0;
3251 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3253 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3260 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
= 0;
3262 wxString
*arg1
= 0 ;
3263 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3264 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3265 wxHtmlLinkInfo
*result
= 0 ;
3266 bool temp1
= false ;
3267 bool temp2
= false ;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3270 char * kwnames
[] = {
3271 (char *) "href",(char *) "target", NULL
3274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3276 arg1
= wxString_in_helper(obj0
);
3277 if (arg1
== NULL
) SWIG_fail
;
3282 arg2
= wxString_in_helper(obj1
);
3283 if (arg2
== NULL
) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3316 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3317 PyObject
*resultobj
= 0;
3318 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3322 PyObject
*swig_obj
[1] ;
3324 if (!args
) SWIG_fail
;
3326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3327 if (!SWIG_IsOK(res1
)) {
3328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3330 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 result
= (arg1
)->GetHref();
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3350 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3351 PyObject
*resultobj
= 0;
3352 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3356 PyObject
*swig_obj
[1] ;
3358 if (!args
) SWIG_fail
;
3360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3361 if (!SWIG_IsOK(res1
)) {
3362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3364 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 result
= (arg1
)->GetTarget();
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3384 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3385 PyObject
*resultobj
= 0;
3386 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3387 wxMouseEvent
*result
= 0 ;
3390 PyObject
*swig_obj
[1] ;
3392 if (!args
) SWIG_fail
;
3394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3395 if (!SWIG_IsOK(res1
)) {
3396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3398 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3414 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3415 PyObject
*resultobj
= 0;
3416 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3417 wxHtmlCell
*result
= 0 ;
3420 PyObject
*swig_obj
[1] ;
3422 if (!args
) SWIG_fail
;
3424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3425 if (!SWIG_IsOK(res1
)) {
3426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3428 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3442 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
= 0;
3444 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3445 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3452 char * kwnames
[] = {
3453 (char *) "self",(char *) "e", NULL
3456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3458 if (!SWIG_IsOK(res1
)) {
3459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3461 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3463 if (!SWIG_IsOK(res2
)) {
3464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3466 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_Py_Void();
3480 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
= 0;
3482 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3483 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3490 char * kwnames
[] = {
3491 (char *) "self",(char *) "e", NULL
3494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3496 if (!SWIG_IsOK(res1
)) {
3497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3499 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3501 if (!SWIG_IsOK(res2
)) {
3502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3504 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= SWIG_Py_Void();
3518 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3521 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3522 return SWIG_Py_Void();
3525 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3526 return SWIG_Python_InitShadowInstance(args
);
3529 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3530 PyObject
*resultobj
= 0;
3531 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3535 PyObject
*swig_obj
[1] ;
3537 if (!args
) SWIG_fail
;
3539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3540 if (!SWIG_IsOK(res1
)) {
3541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3543 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 result
= (arg1
)->GetName();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3563 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
= 0;
3565 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3566 wxString
*arg2
= 0 ;
3570 bool temp2
= false ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3573 char * kwnames
[] = {
3574 (char *) "self",(char *) "par", NULL
3577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3579 if (!SWIG_IsOK(res1
)) {
3580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3582 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3584 arg2
= wxString_in_helper(obj1
);
3585 if (arg2
== NULL
) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3611 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
= 0;
3613 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3614 wxString
*arg2
= 0 ;
3615 int arg3
= (int) false ;
3619 bool temp2
= false ;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3624 PyObject
* obj2
= 0 ;
3625 char * kwnames
[] = {
3626 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3631 if (!SWIG_IsOK(res1
)) {
3632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3634 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3636 arg2
= wxString_in_helper(obj1
);
3637 if (arg2
== NULL
) SWIG_fail
;
3641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3642 if (!SWIG_IsOK(ecode3
)) {
3643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3645 arg3
= static_cast< int >(val3
);
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3674 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3675 PyObject
*resultobj
= 0;
3676 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3680 PyObject
*swig_obj
[1] ;
3682 if (!args
) SWIG_fail
;
3684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3685 if (!SWIG_IsOK(res1
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3688 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= (arg1
)->GetAllParams();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3708 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3709 PyObject
*resultobj
= 0;
3710 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3714 PyObject
*swig_obj
[1] ;
3716 if (!args
) SWIG_fail
;
3718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3719 if (!SWIG_IsOK(res1
)) {
3720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3722 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (bool)(arg1
)->HasEnding();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3738 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3739 PyObject
*resultobj
= 0;
3740 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3744 PyObject
*swig_obj
[1] ;
3746 if (!args
) SWIG_fail
;
3748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3749 if (!SWIG_IsOK(res1
)) {
3750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3752 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (int)(arg1
)->GetBeginPos();
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_From_int(static_cast< int >(result
));
3766 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3767 PyObject
*resultobj
= 0;
3768 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3772 PyObject
*swig_obj
[1] ;
3774 if (!args
) SWIG_fail
;
3776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3777 if (!SWIG_IsOK(res1
)) {
3778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3780 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= (int)(arg1
)->GetEndPos1();
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 resultobj
= SWIG_From_int(static_cast< int >(result
));
3794 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3795 PyObject
*resultobj
= 0;
3796 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3800 PyObject
*swig_obj
[1] ;
3802 if (!args
) SWIG_fail
;
3804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3805 if (!SWIG_IsOK(res1
)) {
3806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3808 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= (int)(arg1
)->GetEndPos2();
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= SWIG_From_int(static_cast< int >(result
));
3822 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3825 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3826 return SWIG_Py_Void();
3829 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
= 0;
3831 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3832 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3839 char * kwnames
[] = {
3840 (char *) "self",(char *) "fs", NULL
3843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3845 if (!SWIG_IsOK(res1
)) {
3846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3848 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3850 if (!SWIG_IsOK(res2
)) {
3851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3853 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 (arg1
)->SetFS(arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= SWIG_Py_Void();
3867 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3868 PyObject
*resultobj
= 0;
3869 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3870 wxFileSystem
*result
= 0 ;
3873 PyObject
*swig_obj
[1] ;
3875 if (!args
) SWIG_fail
;
3877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3878 if (!SWIG_IsOK(res1
)) {
3879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3881 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (wxFileSystem
*)(arg1
)->GetFS();
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3897 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
= 0;
3899 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3900 wxString
*arg2
= 0 ;
3901 wxObject
*result
= 0 ;
3904 bool temp2
= false ;
3905 PyObject
* obj0
= 0 ;
3906 PyObject
* obj1
= 0 ;
3907 char * kwnames
[] = {
3908 (char *) "self",(char *) "source", NULL
3911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3913 if (!SWIG_IsOK(res1
)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3916 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3918 arg2
= wxString_in_helper(obj1
);
3919 if (arg2
== NULL
) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3945 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
= 0;
3947 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3948 wxString
*arg2
= 0 ;
3951 bool temp2
= false ;
3952 PyObject
* obj0
= 0 ;
3953 PyObject
* obj1
= 0 ;
3954 char * kwnames
[] = {
3955 (char *) "self",(char *) "source", NULL
3958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3960 if (!SWIG_IsOK(res1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3963 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3965 arg2
= wxString_in_helper(obj1
);
3966 if (arg2
== NULL
) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 (arg1
)->InitParser((wxString
const &)*arg2
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= SWIG_Py_Void();
3990 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3991 PyObject
*resultobj
= 0;
3992 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3995 PyObject
*swig_obj
[1] ;
3997 if (!args
) SWIG_fail
;
3999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4000 if (!SWIG_IsOK(res1
)) {
4001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4003 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 (arg1
)->DoneParser();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_Py_Void();
4017 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
= 0;
4019 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4030 PyObject
* obj2
= 0 ;
4031 char * kwnames
[] = {
4032 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4037 if (!SWIG_IsOK(res1
)) {
4038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4040 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4042 if (!SWIG_IsOK(ecode2
)) {
4043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4045 arg2
= static_cast< int >(val2
);
4046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4047 if (!SWIG_IsOK(ecode3
)) {
4048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4050 arg3
= static_cast< int >(val3
);
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 (arg1
)->DoParsing(arg2
,arg3
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= SWIG_Py_Void();
4064 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4065 PyObject
*resultobj
= 0;
4066 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4069 PyObject
*swig_obj
[1] ;
4071 if (!args
) SWIG_fail
;
4073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4074 if (!SWIG_IsOK(res1
)) {
4075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4077 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 (arg1
)->StopParsing();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= SWIG_Py_Void();
4091 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
= 0;
4093 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4094 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4101 char * kwnames
[] = {
4102 (char *) "self",(char *) "handler", NULL
4105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4107 if (!SWIG_IsOK(res1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4110 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4112 if (!SWIG_IsOK(res2
)) {
4113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4115 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 (arg1
)->AddTagHandler(arg2
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 resultobj
= SWIG_Py_Void();
4129 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4130 PyObject
*resultobj
= 0;
4131 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4132 wxString
*result
= 0 ;
4135 PyObject
*swig_obj
[1] ;
4137 if (!args
) SWIG_fail
;
4139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4140 if (!SWIG_IsOK(res1
)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4143 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (wxString
*)(arg1
)->GetSource();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4163 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
= 0;
4165 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4166 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4174 PyObject
* obj2
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "self",(char *) "handler",(char *) "tags", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4184 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4186 if (!SWIG_IsOK(res2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4189 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4191 wxString
* sptr
= wxString_in_helper(obj2
);
4192 if (sptr
== NULL
) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 (arg1
)->PushTagHandler(arg2
,arg3
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 resultobj
= SWIG_Py_Void();
4209 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4210 PyObject
*resultobj
= 0;
4211 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4214 PyObject
*swig_obj
[1] ;
4216 if (!args
) SWIG_fail
;
4218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4219 if (!SWIG_IsOK(res1
)) {
4220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4222 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 (arg1
)->PopTagHandler();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_Py_Void();
4236 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4239 wxHtmlTag
*arg2
= 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "self",(char *) "tag", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4253 if (!SWIG_IsOK(res1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4256 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4258 if (!SWIG_IsOK(res2
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4264 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4284 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4287 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4288 return SWIG_Py_Void();
4291 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
= 0;
4293 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4294 wxHtmlWinParser
*result
= 0 ;
4297 PyObject
* obj0
= 0 ;
4298 char * kwnames
[] = {
4299 (char *) "wnd", NULL
4302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4308 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4323 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
= 0;
4325 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4326 wxDC
*arg2
= (wxDC
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4333 char * kwnames
[] = {
4334 (char *) "self",(char *) "dc", NULL
4337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4339 if (!SWIG_IsOK(res1
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4342 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4344 if (!SWIG_IsOK(res2
)) {
4345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4347 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 (arg1
)->SetDC(arg2
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_Py_Void();
4361 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4362 PyObject
*resultobj
= 0;
4363 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4367 PyObject
*swig_obj
[1] ;
4369 if (!args
) SWIG_fail
;
4371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4372 if (!SWIG_IsOK(res1
)) {
4373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4375 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (wxDC
*)(arg1
)->GetDC();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4391 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4392 PyObject
*resultobj
= 0;
4393 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4397 PyObject
*swig_obj
[1] ;
4399 if (!args
) SWIG_fail
;
4401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4402 if (!SWIG_IsOK(res1
)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4405 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (int)(arg1
)->GetCharHeight();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= SWIG_From_int(static_cast< int >(result
));
4419 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4420 PyObject
*resultobj
= 0;
4421 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4425 PyObject
*swig_obj
[1] ;
4427 if (!args
) SWIG_fail
;
4429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4430 if (!SWIG_IsOK(res1
)) {
4431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4433 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (int)(arg1
)->GetCharWidth();
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_From_int(static_cast< int >(result
));
4447 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4448 PyObject
*resultobj
= 0;
4449 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4450 wxPyHtmlWindow
*result
= 0 ;
4453 PyObject
*swig_obj
[1] ;
4455 if (!args
) SWIG_fail
;
4457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4458 if (!SWIG_IsOK(res1
)) {
4459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4461 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4477 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4478 PyObject
*resultobj
= 0;
4479 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4480 wxHtmlWindowInterface
*result
= 0 ;
4483 PyObject
*swig_obj
[1] ;
4485 if (!args
) SWIG_fail
;
4487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4488 if (!SWIG_IsOK(res1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4491 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4505 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
= 0;
4507 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4510 PyObject
*arg4
= (PyObject
*) NULL
;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4515 PyObject
* obj2
= 0 ;
4516 PyObject
* obj3
= 0 ;
4517 char * kwnames
[] = {
4518 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4523 if (!SWIG_IsOK(res1
)) {
4524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4526 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4528 wxString
* sptr
= wxString_in_helper(obj1
);
4529 if (sptr
== NULL
) SWIG_fail
;
4534 wxString
* sptr
= wxString_in_helper(obj2
);
4535 if (sptr
== NULL
) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= SWIG_Py_Void();
4555 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
= 0;
4557 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4558 int arg2
= (int) -1 ;
4559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4561 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4562 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4567 bool temp3
= false ;
4568 bool temp4
= false ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 PyObject
* obj2
= 0 ;
4572 PyObject
* obj3
= 0 ;
4573 char * kwnames
[] = {
4574 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4579 if (!SWIG_IsOK(res1
)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4582 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4585 if (!SWIG_IsOK(ecode2
)) {
4586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4588 arg2
= static_cast< int >(val2
);
4592 arg3
= wxString_in_helper(obj2
);
4593 if (arg3
== NULL
) SWIG_fail
;
4599 arg4
= wxString_in_helper(obj3
);
4600 if (arg4
== NULL
) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= SWIG_Py_Void();
4633 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4634 PyObject
*resultobj
= 0;
4635 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4636 wxHtmlContainerCell
*result
= 0 ;
4639 PyObject
*swig_obj
[1] ;
4641 if (!args
) SWIG_fail
;
4643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4644 if (!SWIG_IsOK(res1
)) {
4645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4647 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4661 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4662 PyObject
*resultobj
= 0;
4663 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4664 wxHtmlContainerCell
*result
= 0 ;
4667 PyObject
*swig_obj
[1] ;
4669 if (!args
) SWIG_fail
;
4671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4672 if (!SWIG_IsOK(res1
)) {
4673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4675 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4689 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
= 0;
4691 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4692 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4693 wxHtmlContainerCell
*result
= 0 ;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4700 char * kwnames
[] = {
4701 (char *) "self",(char *) "c", NULL
4704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4706 if (!SWIG_IsOK(res1
)) {
4707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4709 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4711 if (!SWIG_IsOK(res2
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4714 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4728 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 PyObject
*resultobj
= 0;
4730 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4731 wxHtmlContainerCell
*result
= 0 ;
4734 PyObject
*swig_obj
[1] ;
4736 if (!args
) SWIG_fail
;
4738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4739 if (!SWIG_IsOK(res1
)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4742 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4756 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4757 PyObject
*resultobj
= 0;
4758 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4762 PyObject
*swig_obj
[1] ;
4764 if (!args
) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4770 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (int)(arg1
)->GetFontSize();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_From_int(static_cast< int >(result
));
4784 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
= 0;
4786 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4794 char * kwnames
[] = {
4795 (char *) "self",(char *) "s", NULL
4798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4800 if (!SWIG_IsOK(res1
)) {
4801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4803 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4805 if (!SWIG_IsOK(ecode2
)) {
4806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4808 arg2
= static_cast< int >(val2
);
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 (arg1
)->SetFontSize(arg2
);
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= SWIG_Py_Void();
4822 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4823 PyObject
*resultobj
= 0;
4824 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4828 PyObject
*swig_obj
[1] ;
4830 if (!args
) SWIG_fail
;
4832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4833 if (!SWIG_IsOK(res1
)) {
4834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4836 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (int)(arg1
)->GetFontBold();
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_From_int(static_cast< int >(result
));
4850 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
= 0;
4852 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 char * kwnames
[] = {
4861 (char *) "self",(char *) "x", NULL
4864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4869 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4871 if (!SWIG_IsOK(ecode2
)) {
4872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4874 arg2
= static_cast< int >(val2
);
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 (arg1
)->SetFontBold(arg2
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_Py_Void();
4888 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4889 PyObject
*resultobj
= 0;
4890 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4894 PyObject
*swig_obj
[1] ;
4896 if (!args
) SWIG_fail
;
4898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4899 if (!SWIG_IsOK(res1
)) {
4900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4902 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (int)(arg1
)->GetFontItalic();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_From_int(static_cast< int >(result
));
4916 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
= 0;
4918 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4926 char * kwnames
[] = {
4927 (char *) "self",(char *) "x", NULL
4930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4932 if (!SWIG_IsOK(res1
)) {
4933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4935 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4937 if (!SWIG_IsOK(ecode2
)) {
4938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4940 arg2
= static_cast< int >(val2
);
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 (arg1
)->SetFontItalic(arg2
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_Py_Void();
4954 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4955 PyObject
*resultobj
= 0;
4956 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4960 PyObject
*swig_obj
[1] ;
4962 if (!args
) SWIG_fail
;
4964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4965 if (!SWIG_IsOK(res1
)) {
4966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4968 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (int)(arg1
)->GetFontUnderlined();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 resultobj
= SWIG_From_int(static_cast< int >(result
));
4982 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
= 0;
4984 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj1
= 0 ;
4992 char * kwnames
[] = {
4993 (char *) "self",(char *) "x", NULL
4996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4998 if (!SWIG_IsOK(res1
)) {
4999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5001 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5003 if (!SWIG_IsOK(ecode2
)) {
5004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5006 arg2
= static_cast< int >(val2
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->SetFontUnderlined(arg2
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5021 PyObject
*resultobj
= 0;
5022 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5026 PyObject
*swig_obj
[1] ;
5028 if (!args
) SWIG_fail
;
5030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5031 if (!SWIG_IsOK(res1
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5034 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (int)(arg1
)->GetFontFixed();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_From_int(static_cast< int >(result
));
5048 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
= 0;
5050 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5058 char * kwnames
[] = {
5059 (char *) "self",(char *) "x", NULL
5062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5064 if (!SWIG_IsOK(res1
)) {
5065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5067 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5069 if (!SWIG_IsOK(ecode2
)) {
5070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5072 arg2
= static_cast< int >(val2
);
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 (arg1
)->SetFontFixed(arg2
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= SWIG_Py_Void();
5086 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5087 PyObject
*resultobj
= 0;
5088 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5092 PyObject
*swig_obj
[1] ;
5094 if (!args
) SWIG_fail
;
5096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5097 if (!SWIG_IsOK(res1
)) {
5098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5100 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (int)(arg1
)->GetAlign();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_From_int(static_cast< int >(result
));
5114 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
= 0;
5116 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "self",(char *) "a", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5133 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5135 if (!SWIG_IsOK(ecode2
)) {
5136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5138 arg2
= static_cast< int >(val2
);
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->SetAlign(arg2
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_Py_Void();
5152 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5153 PyObject
*resultobj
= 0;
5154 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5158 PyObject
*swig_obj
[1] ;
5160 if (!args
) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5166 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (arg1
)->GetLinkColor();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5180 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
= 0;
5182 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5183 wxColour
*arg2
= 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5189 char * kwnames
[] = {
5190 (char *) "self",(char *) "clr", NULL
5193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5195 if (!SWIG_IsOK(res1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5198 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5201 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_Py_Void();
5216 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5217 PyObject
*resultobj
= 0;
5218 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5222 PyObject
*swig_obj
[1] ;
5224 if (!args
) SWIG_fail
;
5226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5227 if (!SWIG_IsOK(res1
)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5230 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (arg1
)->GetActualColor();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5247 wxColour
*arg2
= 0 ;
5251 PyObject
* obj0
= 0 ;
5252 PyObject
* obj1
= 0 ;
5253 char * kwnames
[] = {
5254 (char *) "self",(char *) "clr", NULL
5257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5262 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_Py_Void();
5280 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
= 0;
5282 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5283 wxString
*arg2
= 0 ;
5286 bool temp2
= false ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 char * kwnames
[] = {
5290 (char *) "self",(char *) "link", NULL
5293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5295 if (!SWIG_IsOK(res1
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5298 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5300 arg2
= wxString_in_helper(obj1
);
5301 if (arg2
== NULL
) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 (arg1
)->SetLink((wxString
const &)*arg2
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_Py_Void();
5325 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5326 PyObject
*resultobj
= 0;
5327 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5328 wxFont
*result
= 0 ;
5331 PyObject
*swig_obj
[1] ;
5333 if (!args
) SWIG_fail
;
5335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5336 if (!SWIG_IsOK(res1
)) {
5337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5339 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5353 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5354 PyObject
*resultobj
= 0;
5355 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5356 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5359 PyObject
*swig_obj
[1] ;
5361 if (!args
) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5367 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (arg1
)->GetLink();
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5381 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5384 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5385 return SWIG_Py_Void();
5388 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5389 return SWIG_Python_InitShadowInstance(args
);
5392 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5394 wxPyHtmlTagHandler
*result
= 0 ;
5396 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5410 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
= 0;
5412 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5413 PyObject
*arg2
= (PyObject
*) 0 ;
5414 PyObject
*arg3
= (PyObject
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5418 PyObject
* obj1
= 0 ;
5419 PyObject
* obj2
= 0 ;
5420 char * kwnames
[] = {
5421 (char *) "self",(char *) "self",(char *) "_class", NULL
5424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5426 if (!SWIG_IsOK(res1
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5429 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_Py_Void();
5445 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5448 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 char * kwnames
[] = {
5456 (char *) "self",(char *) "parser", NULL
5459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5461 if (!SWIG_IsOK(res1
)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5464 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5466 if (!SWIG_IsOK(res2
)) {
5467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5469 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->SetParser(arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_Py_Void();
5483 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5484 PyObject
*resultobj
= 0;
5485 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5486 wxHtmlParser
*result
= 0 ;
5489 PyObject
*swig_obj
[1] ;
5491 if (!args
) SWIG_fail
;
5493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5494 if (!SWIG_IsOK(res1
)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5497 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5511 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
= 0;
5513 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5514 wxHtmlTag
*arg2
= 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "self",(char *) "tag", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5530 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5532 if (!SWIG_IsOK(res2
)) {
5533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5538 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= SWIG_Py_Void();
5552 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5555 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5556 return SWIG_Py_Void();
5559 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5560 return SWIG_Python_InitShadowInstance(args
);
5563 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5564 PyObject
*resultobj
= 0;
5565 wxPyHtmlWinTagHandler
*result
= 0 ;
5567 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5581 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
= 0;
5583 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5584 PyObject
*arg2
= (PyObject
*) 0 ;
5585 PyObject
*arg3
= (PyObject
*) 0 ;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5590 PyObject
* obj2
= 0 ;
5591 char * kwnames
[] = {
5592 (char *) "self",(char *) "self",(char *) "_class", NULL
5595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5597 if (!SWIG_IsOK(res1
)) {
5598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5600 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_Py_Void();
5616 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
= 0;
5618 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5619 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5626 char * kwnames
[] = {
5627 (char *) "self",(char *) "parser", NULL
5630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5635 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5637 if (!SWIG_IsOK(res2
)) {
5638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5640 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 (arg1
)->SetParser(arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= SWIG_Py_Void();
5654 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5655 PyObject
*resultobj
= 0;
5656 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5657 wxHtmlWinParser
*result
= 0 ;
5660 PyObject
*swig_obj
[1] ;
5662 if (!args
) SWIG_fail
;
5664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5665 if (!SWIG_IsOK(res1
)) {
5666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5668 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5682 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
= 0;
5684 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5685 wxHtmlTag
*arg2
= 0 ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 char * kwnames
[] = {
5693 (char *) "self",(char *) "tag", NULL
5696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5698 if (!SWIG_IsOK(res1
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5701 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5703 if (!SWIG_IsOK(res2
)) {
5704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5709 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_Py_Void();
5723 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5726 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5727 return SWIG_Py_Void();
5730 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 return SWIG_Python_InitShadowInstance(args
);
5734 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
= 0;
5736 PyObject
*arg1
= (PyObject
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5738 char * kwnames
[] = {
5739 (char *) "tagHandlerClass", NULL
5742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 wxHtmlWinParser_AddTagHandler(arg1
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= SWIG_Py_Void();
5757 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5758 PyObject
*resultobj
= 0;
5759 wxHtmlSelection
*result
= 0 ;
5761 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5775 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5776 PyObject
*resultobj
= 0;
5777 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5780 PyObject
*swig_obj
[1] ;
5782 if (!args
) SWIG_fail
;
5784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5785 if (!SWIG_IsOK(res1
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5788 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_Py_Void();
5803 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
= 0;
5805 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5807 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5809 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5819 PyObject
* obj1
= 0 ;
5820 PyObject
* obj2
= 0 ;
5821 PyObject
* obj3
= 0 ;
5822 PyObject
* obj4
= 0 ;
5823 char * kwnames
[] = {
5824 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5829 if (!SWIG_IsOK(res1
)) {
5830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5832 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5837 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5838 if (!SWIG_IsOK(res3
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5841 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5846 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5847 if (!SWIG_IsOK(res5
)) {
5848 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5850 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_Py_Void();
5864 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
= 0;
5866 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5867 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5868 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 PyObject
* obj2
= 0 ;
5878 char * kwnames
[] = {
5879 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5887 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5889 if (!SWIG_IsOK(res2
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5892 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5893 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5894 if (!SWIG_IsOK(res3
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5897 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5912 PyObject
*resultobj
= 0;
5913 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5914 wxHtmlCell
*result
= 0 ;
5917 PyObject
*swig_obj
[1] ;
5919 if (!args
) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5925 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= wxPyMake_wxObject(result
, 0);
5941 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5942 PyObject
*resultobj
= 0;
5943 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5944 wxHtmlCell
*result
= 0 ;
5947 PyObject
*swig_obj
[1] ;
5949 if (!args
) SWIG_fail
;
5951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5952 if (!SWIG_IsOK(res1
)) {
5953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5955 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= wxPyMake_wxObject(result
, 0);
5971 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5972 PyObject
*resultobj
= 0;
5973 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5974 wxPoint
*result
= 0 ;
5977 PyObject
*swig_obj
[1] ;
5979 if (!args
) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5985 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5990 result
= (wxPoint
*) &_result_ref
;
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6002 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6003 PyObject
*resultobj
= 0;
6004 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6005 wxPoint
*result
= 0 ;
6008 PyObject
*swig_obj
[1] ;
6010 if (!args
) SWIG_fail
;
6012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6013 if (!SWIG_IsOK(res1
)) {
6014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6016 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6021 result
= (wxPoint
*) &_result_ref
;
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6033 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6034 PyObject
*resultobj
= 0;
6035 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6036 wxPoint
*result
= 0 ;
6039 PyObject
*swig_obj
[1] ;
6041 if (!args
) SWIG_fail
;
6043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6044 if (!SWIG_IsOK(res1
)) {
6045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6047 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6052 result
= (wxPoint
*) &_result_ref
;
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6064 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6065 PyObject
*resultobj
= 0;
6066 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6067 wxPoint
*result
= 0 ;
6070 PyObject
*swig_obj
[1] ;
6072 if (!args
) SWIG_fail
;
6074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6075 if (!SWIG_IsOK(res1
)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6078 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6083 result
= (wxPoint
*) &_result_ref
;
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6095 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
= 0;
6097 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 char * kwnames
[] = {
6105 (char *) "self",(char *) "pos", NULL
6108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6110 if (!SWIG_IsOK(res1
)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6113 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_Py_Void();
6131 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
= 0;
6133 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 char * kwnames
[] = {
6141 (char *) "self",(char *) "pos", NULL
6144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6146 if (!SWIG_IsOK(res1
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6149 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= SWIG_Py_Void();
6167 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6168 PyObject
*resultobj
= 0;
6169 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6172 PyObject
*swig_obj
[1] ;
6174 if (!args
) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6180 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 (arg1
)->ClearPrivPos();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_Py_Void();
6194 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6195 PyObject
*resultobj
= 0;
6196 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6200 PyObject
*swig_obj
[1] ;
6202 if (!args
) SWIG_fail
;
6204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6205 if (!SWIG_IsOK(res1
)) {
6206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6208 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6222 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6225 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6226 return SWIG_Py_Void();
6229 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6230 return SWIG_Python_InitShadowInstance(args
);
6233 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxHtmlRenderingState
*result
= 0 ;
6237 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6251 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6252 PyObject
*resultobj
= 0;
6253 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6256 PyObject
*swig_obj
[1] ;
6258 if (!args
) SWIG_fail
;
6260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6261 if (!SWIG_IsOK(res1
)) {
6262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6264 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_Py_Void();
6279 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
= 0;
6281 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6282 wxHtmlSelectionState arg2
;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 char * kwnames
[] = {
6290 (char *) "self",(char *) "s", NULL
6293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6295 if (!SWIG_IsOK(res1
)) {
6296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6298 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6300 if (!SWIG_IsOK(ecode2
)) {
6301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6303 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 (arg1
)->SetSelectionState(arg2
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= SWIG_Py_Void();
6317 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6318 PyObject
*resultobj
= 0;
6319 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6320 wxHtmlSelectionState result
;
6323 PyObject
*swig_obj
[1] ;
6325 if (!args
) SWIG_fail
;
6327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6328 if (!SWIG_IsOK(res1
)) {
6329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6331 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_From_int(static_cast< int >(result
));
6345 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= 0;
6347 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6348 wxColour
*arg2
= 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "self",(char *) "c", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6363 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= SWIG_Py_Void();
6381 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6382 PyObject
*resultobj
= 0;
6383 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6384 wxColour
*result
= 0 ;
6387 PyObject
*swig_obj
[1] ;
6389 if (!args
) SWIG_fail
;
6391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6392 if (!SWIG_IsOK(res1
)) {
6393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6395 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6400 result
= (wxColour
*) &_result_ref
;
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6412 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
= 0;
6414 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6415 wxColour
*arg2
= 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6421 char * kwnames
[] = {
6422 (char *) "self",(char *) "c", NULL
6425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6430 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6433 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= SWIG_Py_Void();
6448 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6449 PyObject
*resultobj
= 0;
6450 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6451 wxColour
*result
= 0 ;
6454 PyObject
*swig_obj
[1] ;
6456 if (!args
) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6462 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6467 result
= (wxColour
*) &_result_ref
;
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6479 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6482 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6483 return SWIG_Py_Void();
6486 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6487 return SWIG_Python_InitShadowInstance(args
);
6490 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
= 0;
6492 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6493 wxColour
*arg2
= 0 ;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6500 char * kwnames
[] = {
6501 (char *) "self",(char *) "clr", NULL
6504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6509 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6527 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
= 0;
6529 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6530 wxColour
*arg2
= 0 ;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6537 char * kwnames
[] = {
6538 (char *) "self",(char *) "clr", NULL
6541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6543 if (!SWIG_IsOK(res1
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6546 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6564 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6567 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6568 return SWIG_Py_Void();
6571 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6574 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6575 return SWIG_Py_Void();
6578 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxHtmlRenderingInfo
*result
= 0 ;
6582 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6596 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6597 PyObject
*resultobj
= 0;
6598 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6601 PyObject
*swig_obj
[1] ;
6603 if (!args
) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6609 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_Py_Void();
6624 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
= 0;
6626 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6627 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6634 char * kwnames
[] = {
6635 (char *) "self",(char *) "s", NULL
6638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6640 if (!SWIG_IsOK(res1
)) {
6641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6643 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6645 if (!SWIG_IsOK(res2
)) {
6646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6648 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 (arg1
)->SetSelection(arg2
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_Py_Void();
6662 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6663 PyObject
*resultobj
= 0;
6664 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6665 wxHtmlSelection
*result
= 0 ;
6668 PyObject
*swig_obj
[1] ;
6670 if (!args
) SWIG_fail
;
6672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6673 if (!SWIG_IsOK(res1
)) {
6674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6676 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6690 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
= 0;
6692 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6693 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6700 char * kwnames
[] = {
6701 (char *) "self",(char *) "style", NULL
6704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6706 if (!SWIG_IsOK(res1
)) {
6707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6709 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6711 if (!SWIG_IsOK(res2
)) {
6712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6714 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 (arg1
)->SetStyle(arg2
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= SWIG_Py_Void();
6728 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 PyObject
*resultobj
= 0;
6730 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6731 wxHtmlRenderingStyle
*result
= 0 ;
6734 PyObject
*swig_obj
[1] ;
6736 if (!args
) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6742 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6747 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6759 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6760 PyObject
*resultobj
= 0;
6761 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6762 wxHtmlRenderingState
*result
= 0 ;
6765 PyObject
*swig_obj
[1] ;
6767 if (!args
) SWIG_fail
;
6769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6770 if (!SWIG_IsOK(res1
)) {
6771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6773 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6778 result
= (wxHtmlRenderingState
*) &_result_ref
;
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6790 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6793 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6794 return SWIG_Py_Void();
6797 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6798 return SWIG_Python_InitShadowInstance(args
);
6801 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6802 PyObject
*resultobj
= 0;
6803 wxHtmlCell
*result
= 0 ;
6805 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (wxHtmlCell
*)new wxHtmlCell();
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6819 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6821 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6824 PyObject
*swig_obj
[1] ;
6826 if (!args
) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6832 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_Py_Void();
6847 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6848 PyObject
*resultobj
= 0;
6849 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6853 PyObject
*swig_obj
[1] ;
6855 if (!args
) SWIG_fail
;
6857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6858 if (!SWIG_IsOK(res1
)) {
6859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6861 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (int)(arg1
)->GetPosX();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= SWIG_From_int(static_cast< int >(result
));
6875 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6876 PyObject
*resultobj
= 0;
6877 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6881 PyObject
*swig_obj
[1] ;
6883 if (!args
) SWIG_fail
;
6885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6886 if (!SWIG_IsOK(res1
)) {
6887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6889 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (int)(arg1
)->GetPosY();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_From_int(static_cast< int >(result
));
6903 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6904 PyObject
*resultobj
= 0;
6905 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6909 PyObject
*swig_obj
[1] ;
6911 if (!args
) SWIG_fail
;
6913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6914 if (!SWIG_IsOK(res1
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6917 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (int)(arg1
)->GetWidth();
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_From_int(static_cast< int >(result
));
6931 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6932 PyObject
*resultobj
= 0;
6933 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6937 PyObject
*swig_obj
[1] ;
6939 if (!args
) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6945 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (int)(arg1
)->GetHeight();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_From_int(static_cast< int >(result
));
6959 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6960 PyObject
*resultobj
= 0;
6961 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6965 PyObject
*swig_obj
[1] ;
6967 if (!args
) SWIG_fail
;
6969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6970 if (!SWIG_IsOK(res1
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6973 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (int)(arg1
)->GetDescent();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_From_int(static_cast< int >(result
));
6987 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6988 PyObject
*resultobj
= 0;
6989 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6993 PyObject
*swig_obj
[1] ;
6995 if (!args
) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7001 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_From_int(static_cast< int >(result
));
7015 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7016 PyObject
*resultobj
= 0;
7017 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7018 wxString
*result
= 0 ;
7021 PyObject
*swig_obj
[1] ;
7023 if (!args
) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7029 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7034 result
= (wxString
*) &_result_ref
;
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7052 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
= 0;
7054 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7055 wxString
*arg2
= 0 ;
7058 bool temp2
= false ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 char * kwnames
[] = {
7062 (char *) "self",(char *) "id", NULL
7065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7067 if (!SWIG_IsOK(res1
)) {
7068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7070 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7072 arg2
= wxString_in_helper(obj1
);
7073 if (arg2
== NULL
) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 (arg1
)->SetId((wxString
const &)*arg2
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_Py_Void();
7097 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
= 0;
7099 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7100 int arg2
= (int) 0 ;
7101 int arg3
= (int) 0 ;
7102 wxHtmlLinkInfo
*result
= 0 ;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7111 PyObject
* obj2
= 0 ;
7112 char * kwnames
[] = {
7113 (char *) "self",(char *) "x",(char *) "y", NULL
7116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7118 if (!SWIG_IsOK(res1
)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7121 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7124 if (!SWIG_IsOK(ecode2
)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7127 arg2
= static_cast< int >(val2
);
7130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7131 if (!SWIG_IsOK(ecode3
)) {
7132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7134 arg3
= static_cast< int >(val3
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7149 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7152 wxHtmlCell
*result
= 0 ;
7155 PyObject
*swig_obj
[1] ;
7157 if (!args
) SWIG_fail
;
7159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7160 if (!SWIG_IsOK(res1
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7163 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= wxPyMake_wxObject(result
, 0);
7179 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7180 PyObject
*resultobj
= 0;
7181 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7182 wxHtmlContainerCell
*result
= 0 ;
7185 PyObject
*swig_obj
[1] ;
7187 if (!args
) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7193 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7207 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7208 PyObject
*resultobj
= 0;
7209 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7210 wxHtmlCell
*result
= 0 ;
7213 PyObject
*swig_obj
[1] ;
7215 if (!args
) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7221 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= wxPyMake_wxObject(result
, 0);
7237 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
= 0;
7239 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7240 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7248 char * kwnames
[] = {
7249 (char *) "self",(char *) "window", NULL
7252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7254 if (!SWIG_IsOK(res1
)) {
7255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7257 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7259 if (!SWIG_IsOK(res2
)) {
7260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7262 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7276 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7277 PyObject
*resultobj
= 0;
7278 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7282 PyObject
*swig_obj
[1] ;
7284 if (!args
) SWIG_fail
;
7286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7287 if (!SWIG_IsOK(res1
)) {
7288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7290 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7304 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7305 PyObject
*resultobj
= 0;
7306 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7310 PyObject
*swig_obj
[1] ;
7312 if (!args
) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7318 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7334 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
= 0;
7336 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7337 wxHtmlLinkInfo
*arg2
= 0 ;
7342 PyObject
* obj0
= 0 ;
7343 PyObject
* obj1
= 0 ;
7344 char * kwnames
[] = {
7345 (char *) "self",(char *) "link", NULL
7348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7350 if (!SWIG_IsOK(res1
)) {
7351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7353 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7355 if (!SWIG_IsOK(res2
)) {
7356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7361 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= SWIG_Py_Void();
7375 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
= 0;
7377 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7378 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7382 PyObject
* obj1
= 0 ;
7383 char * kwnames
[] = {
7384 (char *) "self",(char *) "cell", NULL
7387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7388 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7389 if (!SWIG_IsOK(res1
)) {
7390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7392 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7393 if (!SWIG_IsOK(res2
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->SetNext(arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_Py_Void();
7409 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
= 0;
7411 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7412 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "self",(char *) "p", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7428 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7430 if (!SWIG_IsOK(res2
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7433 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 (arg1
)->SetParent(arg2
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_Py_Void();
7447 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
= 0;
7449 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7460 PyObject
* obj2
= 0 ;
7461 char * kwnames
[] = {
7462 (char *) "self",(char *) "x",(char *) "y", NULL
7465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7467 if (!SWIG_IsOK(res1
)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7470 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7472 if (!SWIG_IsOK(ecode2
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7475 arg2
= static_cast< int >(val2
);
7476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7477 if (!SWIG_IsOK(ecode3
)) {
7478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7480 arg3
= static_cast< int >(val3
);
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->SetPos(arg2
,arg3
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_Py_Void();
7494 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
= 0;
7496 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 char * kwnames
[] = {
7505 (char *) "self",(char *) "w", NULL
7508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7513 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7515 if (!SWIG_IsOK(ecode2
)) {
7516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7518 arg2
= static_cast< int >(val2
);
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 (arg1
)->Layout(arg2
);
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_Py_Void();
7532 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
= 0;
7534 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7540 wxHtmlRenderingInfo
*arg7
= 0 ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7558 PyObject
* obj3
= 0 ;
7559 PyObject
* obj4
= 0 ;
7560 PyObject
* obj5
= 0 ;
7561 PyObject
* obj6
= 0 ;
7562 char * kwnames
[] = {
7563 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7568 if (!SWIG_IsOK(res1
)) {
7569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7571 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7573 if (!SWIG_IsOK(res2
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7579 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7581 if (!SWIG_IsOK(ecode3
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7584 arg3
= static_cast< int >(val3
);
7585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7586 if (!SWIG_IsOK(ecode4
)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7589 arg4
= static_cast< int >(val4
);
7590 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7591 if (!SWIG_IsOK(ecode5
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7594 arg5
= static_cast< int >(val5
);
7595 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7596 if (!SWIG_IsOK(ecode6
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7599 arg6
= static_cast< int >(val6
);
7600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7601 if (!SWIG_IsOK(res7
)) {
7602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7607 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_Py_Void();
7621 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= 0;
7623 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7627 wxHtmlRenderingInfo
*arg5
= 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 PyObject
* obj2
= 0 ;
7641 PyObject
* obj3
= 0 ;
7642 PyObject
* obj4
= 0 ;
7643 char * kwnames
[] = {
7644 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7649 if (!SWIG_IsOK(res1
)) {
7650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7652 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7654 if (!SWIG_IsOK(res2
)) {
7655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7660 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7662 if (!SWIG_IsOK(ecode3
)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7665 arg3
= static_cast< int >(val3
);
7666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7667 if (!SWIG_IsOK(ecode4
)) {
7668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7670 arg4
= static_cast< int >(val4
);
7671 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7672 if (!SWIG_IsOK(res5
)) {
7673 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7678 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_Py_Void();
7692 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
= 0;
7694 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7696 void *arg3
= (void *) 0 ;
7697 wxHtmlCell
*result
= 0 ;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7705 PyObject
* obj2
= 0 ;
7706 char * kwnames
[] = {
7707 (char *) "self",(char *) "condition",(char *) "param", NULL
7710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7712 if (!SWIG_IsOK(res1
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7715 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7717 if (!SWIG_IsOK(ecode2
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7720 arg2
= static_cast< int >(val2
);
7721 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7722 if (!SWIG_IsOK(res3
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= wxPyMake_wxObject(result
, 0);
7740 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
= 0;
7742 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7743 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7745 wxMouseEvent
*arg4
= 0 ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 PyObject
* obj2
= 0 ;
7757 PyObject
* obj3
= 0 ;
7758 char * kwnames
[] = {
7759 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7767 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7769 if (!SWIG_IsOK(res2
)) {
7770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7772 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7777 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7778 if (!SWIG_IsOK(res4
)) {
7779 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7784 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7800 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7810 char * kwnames
[] = {
7811 (char *) "self",(char *) "can", NULL
7814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7816 if (!SWIG_IsOK(res1
)) {
7817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7819 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7820 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7821 if (!SWIG_IsOK(ecode2
)) {
7822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7824 arg2
= static_cast< bool >(val2
);
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_Py_Void();
7838 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7844 PyObject
*swig_obj
[1] ;
7846 if (!args
) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7852 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7868 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7869 PyObject
*resultobj
= 0;
7870 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7874 PyObject
*swig_obj
[1] ;
7876 if (!args
) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7882 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7898 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7903 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7904 wxHtmlCell
*result
= 0 ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 PyObject
* obj2
= 0 ;
7916 PyObject
* obj3
= 0 ;
7917 char * kwnames
[] = {
7918 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7923 if (!SWIG_IsOK(res1
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7926 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7928 if (!SWIG_IsOK(ecode2
)) {
7929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7931 arg2
= static_cast< int >(val2
);
7932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7933 if (!SWIG_IsOK(ecode3
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7936 arg3
= static_cast< int >(val3
);
7938 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7939 if (!SWIG_IsOK(ecode4
)) {
7940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7942 arg4
= static_cast< unsigned int >(val4
);
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= wxPyMake_wxObject(result
, 0);
7959 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
= 0;
7961 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7962 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7970 char * kwnames
[] = {
7971 (char *) "self",(char *) "rootCell", NULL
7974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7976 if (!SWIG_IsOK(res1
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7979 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7981 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7982 if (!SWIG_IsOK(res2
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7985 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8000 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8002 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8003 wxHtmlCell
*result
= 0 ;
8006 PyObject
*swig_obj
[1] ;
8008 if (!args
) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8014 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= wxPyMake_wxObject(result
, 0);
8030 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8031 PyObject
*resultobj
= 0;
8032 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8033 wxHtmlCell
*result
= 0 ;
8036 PyObject
*swig_obj
[1] ;
8038 if (!args
) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8044 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= wxPyMake_wxObject(result
, 0);
8060 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 PyObject
*resultobj
= 0;
8062 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8063 wxHtmlCell
*result
= 0 ;
8066 PyObject
*swig_obj
[1] ;
8068 if (!args
) SWIG_fail
;
8070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8071 if (!SWIG_IsOK(res1
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8074 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= wxPyMake_wxObject(result
, 0);
8090 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8091 PyObject
*resultobj
= 0;
8092 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8093 unsigned int result
;
8096 PyObject
*swig_obj
[1] ;
8098 if (!args
) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8104 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8118 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
= 0;
8120 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8121 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8128 PyObject
* obj1
= 0 ;
8129 char * kwnames
[] = {
8130 (char *) "self",(char *) "cell", NULL
8133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8135 if (!SWIG_IsOK(res1
)) {
8136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8138 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8140 if (!SWIG_IsOK(res2
)) {
8141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8143 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8159 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
= 0;
8161 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8162 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8170 char * kwnames
[] = {
8171 (char *) "self",(char *) "sel", NULL
8174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8176 if (!SWIG_IsOK(res1
)) {
8177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8179 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8181 if (!SWIG_IsOK(res2
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8184 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8204 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8207 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8208 return SWIG_Py_Void();
8211 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8212 return SWIG_Python_InitShadowInstance(args
);
8215 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
= 0;
8217 wxString
*arg1
= 0 ;
8219 wxHtmlWordCell
*result
= 0 ;
8220 bool temp1
= false ;
8223 PyObject
* obj0
= 0 ;
8224 PyObject
* obj1
= 0 ;
8225 char * kwnames
[] = {
8226 (char *) "word",(char *) "dc", NULL
8229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8231 arg1
= wxString_in_helper(obj0
);
8232 if (arg1
== NULL
) SWIG_fail
;
8235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8236 if (!SWIG_IsOK(res2
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8242 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8264 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
= 0;
8266 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8267 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8275 char * kwnames
[] = {
8276 (char *) "self",(char *) "sel", NULL
8279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8284 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8286 if (!SWIG_IsOK(res2
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8289 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8309 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8310 PyObject
*resultobj
= 0;
8311 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8315 PyObject
*swig_obj
[1] ;
8317 if (!args
) SWIG_fail
;
8319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8320 if (!SWIG_IsOK(res1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8323 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= 0;
8341 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8342 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 char * kwnames
[] = {
8350 (char *) "self",(char *) "cell", NULL
8353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8355 if (!SWIG_IsOK(res1
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8358 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8359 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8360 if (!SWIG_IsOK(res2
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8363 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 (arg1
)->SetPreviousWord(arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_Py_Void();
8377 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8380 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8381 return SWIG_Py_Void();
8384 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 return SWIG_Python_InitShadowInstance(args
);
8388 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
= 0;
8390 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8391 wxHtmlContainerCell
*result
= 0 ;
8394 PyObject
* obj0
= 0 ;
8395 char * kwnames
[] = {
8396 (char *) "parent", NULL
8399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8404 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8418 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
= 0;
8420 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8421 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "self",(char *) "cell", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8436 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8437 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8438 if (!SWIG_IsOK(res2
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->InsertCell(arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_Py_Void();
8454 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
= 0;
8456 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8464 char * kwnames
[] = {
8465 (char *) "self",(char *) "al", NULL
8468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8473 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8475 if (!SWIG_IsOK(ecode2
)) {
8476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8478 arg2
= static_cast< int >(val2
);
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 (arg1
)->SetAlignHor(arg2
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_Py_Void();
8492 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8493 PyObject
*resultobj
= 0;
8494 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8498 PyObject
*swig_obj
[1] ;
8500 if (!args
) SWIG_fail
;
8502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8503 if (!SWIG_IsOK(res1
)) {
8504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8506 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (int)(arg1
)->GetAlignHor();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_From_int(static_cast< int >(result
));
8520 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8528 PyObject
* obj0
= 0 ;
8529 PyObject
* obj1
= 0 ;
8530 char * kwnames
[] = {
8531 (char *) "self",(char *) "al", NULL
8534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8536 if (!SWIG_IsOK(res1
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8539 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8541 if (!SWIG_IsOK(ecode2
)) {
8542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8544 arg2
= static_cast< int >(val2
);
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 (arg1
)->SetAlignVer(arg2
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_Py_Void();
8558 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8559 PyObject
*resultobj
= 0;
8560 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8564 PyObject
*swig_obj
[1] ;
8566 if (!args
) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8572 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (int)(arg1
)->GetAlignVer();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_From_int(static_cast< int >(result
));
8586 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
= 0;
8588 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8591 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8602 PyObject
* obj2
= 0 ;
8603 PyObject
* obj3
= 0 ;
8604 char * kwnames
[] = {
8605 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8613 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8615 if (!SWIG_IsOK(ecode2
)) {
8616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8618 arg2
= static_cast< int >(val2
);
8619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8620 if (!SWIG_IsOK(ecode3
)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8623 arg3
= static_cast< int >(val3
);
8625 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8626 if (!SWIG_IsOK(ecode4
)) {
8627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8629 arg4
= static_cast< int >(val4
);
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_Py_Void();
8644 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
= 0;
8646 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 char * kwnames
[] = {
8656 (char *) "self",(char *) "ind", NULL
8659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8664 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8666 if (!SWIG_IsOK(ecode2
)) {
8667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8669 arg2
= static_cast< int >(val2
);
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (int)(arg1
)->GetIndent(arg2
);
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= SWIG_From_int(static_cast< int >(result
));
8683 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
= 0;
8685 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8694 char * kwnames
[] = {
8695 (char *) "self",(char *) "ind", NULL
8698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8700 if (!SWIG_IsOK(res1
)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8703 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8705 if (!SWIG_IsOK(ecode2
)) {
8706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8708 arg2
= static_cast< int >(val2
);
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_From_int(static_cast< int >(result
));
8722 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
= 0;
8724 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8725 wxHtmlTag
*arg2
= 0 ;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8732 char * kwnames
[] = {
8733 (char *) "self",(char *) "tag", NULL
8736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8738 if (!SWIG_IsOK(res1
)) {
8739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8741 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8743 if (!SWIG_IsOK(res2
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8749 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_Py_Void();
8763 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
= 0;
8765 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8776 PyObject
* obj2
= 0 ;
8777 char * kwnames
[] = {
8778 (char *) "self",(char *) "w",(char *) "units", NULL
8781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8783 if (!SWIG_IsOK(res1
)) {
8784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8786 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8788 if (!SWIG_IsOK(ecode2
)) {
8789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8791 arg2
= static_cast< int >(val2
);
8792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8793 if (!SWIG_IsOK(ecode3
)) {
8794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8796 arg3
= static_cast< int >(val3
);
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 (arg1
)->SetWidthFloat(arg2
,arg3
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= SWIG_Py_Void();
8810 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
= 0;
8812 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8813 wxHtmlTag
*arg2
= 0 ;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8820 char * kwnames
[] = {
8821 (char *) "self",(char *) "tag", NULL
8824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8826 if (!SWIG_IsOK(res1
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8829 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8831 if (!SWIG_IsOK(res2
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8837 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= SWIG_Py_Void();
8851 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
= 0;
8853 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8855 int arg3
= (int) wxHTML_ALIGN_TOP
;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8865 char * kwnames
[] = {
8866 (char *) "self",(char *) "h",(char *) "align", NULL
8869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8871 if (!SWIG_IsOK(res1
)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8874 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8876 if (!SWIG_IsOK(ecode2
)) {
8877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8879 arg2
= static_cast< int >(val2
);
8881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8882 if (!SWIG_IsOK(ecode3
)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8885 arg3
= static_cast< int >(val3
);
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 (arg1
)->SetMinHeight(arg2
,arg3
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_Py_Void();
8900 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
= 0;
8902 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8903 wxColour
*arg2
= 0 ;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8909 char * kwnames
[] = {
8910 (char *) "self",(char *) "clr", NULL
8913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8915 if (!SWIG_IsOK(res1
)) {
8916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8918 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_Py_Void();
8936 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8937 PyObject
*resultobj
= 0;
8938 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8942 PyObject
*swig_obj
[1] ;
8944 if (!args
) SWIG_fail
;
8946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8947 if (!SWIG_IsOK(res1
)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8950 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (arg1
)->GetBackgroundColour();
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8964 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8966 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8967 wxColour
*arg2
= 0 ;
8968 wxColour
*arg3
= 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 PyObject
* obj2
= 0 ;
8976 char * kwnames
[] = {
8977 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8982 if (!SWIG_IsOK(res1
)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8985 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8992 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= SWIG_Py_Void();
9007 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9008 PyObject
*resultobj
= 0;
9009 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9010 wxHtmlCell
*result
= 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9021 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= wxPyMake_wxObject(result
, 0);
9037 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9040 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9041 return SWIG_Py_Void();
9044 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9045 return SWIG_Python_InitShadowInstance(args
);
9048 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
= 0;
9050 wxColour
*arg1
= 0 ;
9051 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9052 wxHtmlColourCell
*result
= 0 ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 char * kwnames
[] = {
9059 (char *) "clr",(char *) "flags", NULL
9062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9065 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9069 if (!SWIG_IsOK(ecode2
)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9072 arg2
= static_cast< int >(val2
);
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9087 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9090 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9091 return SWIG_Py_Void();
9094 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9095 return SWIG_Python_InitShadowInstance(args
);
9098 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
= 0;
9100 wxFont
*arg1
= (wxFont
*) 0 ;
9101 wxHtmlFontCell
*result
= 0 ;
9104 PyObject
* obj0
= 0 ;
9105 char * kwnames
[] = {
9106 (char *) "font", NULL
9109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9111 if (!SWIG_IsOK(res1
)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9114 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9128 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9131 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9132 return SWIG_Py_Void();
9135 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9136 return SWIG_Python_InitShadowInstance(args
);
9139 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
= 0;
9141 wxWindow
*arg1
= (wxWindow
*) 0 ;
9142 int arg2
= (int) 0 ;
9143 wxHtmlWidgetCell
*result
= 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 char * kwnames
[] = {
9151 (char *) "wnd",(char *) "w", NULL
9154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9156 if (!SWIG_IsOK(res1
)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9162 if (!SWIG_IsOK(ecode2
)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9165 arg2
= static_cast< int >(val2
);
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9180 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9183 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9184 return SWIG_Py_Void();
9187 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 return SWIG_Python_InitShadowInstance(args
);
9191 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9192 PyObject
*resultobj
= 0;
9193 wxPyHtmlFilter
*result
= 0 ;
9195 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9209 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
= 0;
9211 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9212 PyObject
*arg2
= (PyObject
*) 0 ;
9213 PyObject
*arg3
= (PyObject
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 PyObject
* obj2
= 0 ;
9219 char * kwnames
[] = {
9220 (char *) "self",(char *) "self",(char *) "_class", NULL
9223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9225 if (!SWIG_IsOK(res1
)) {
9226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9228 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_Py_Void();
9244 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9247 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9248 return SWIG_Py_Void();
9251 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9252 return SWIG_Python_InitShadowInstance(args
);
9255 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 PyObject
*resultobj
= 0;
9257 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9260 PyObject
*swig_obj
[1] ;
9262 if (!args
) SWIG_fail
;
9264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9265 if (!SWIG_IsOK(res1
)) {
9266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9268 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_Py_Void();
9283 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
= 0;
9285 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9286 wxString
*arg2
= 0 ;
9289 bool temp2
= false ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9292 char * kwnames
[] = {
9293 (char *) "self",(char *) "title", NULL
9296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9298 if (!SWIG_IsOK(res1
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9301 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9303 arg2
= wxString_in_helper(obj1
);
9304 if (arg2
== NULL
) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= SWIG_Py_Void();
9328 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= 0;
9330 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9331 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9342 char * kwnames
[] = {
9343 (char *) "self",(char *) "cell",(char *) "pos", NULL
9346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9351 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9353 if (!SWIG_IsOK(res2
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9356 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9359 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9374 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9375 PyObject
*resultobj
= 0;
9376 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9377 wxWindow
*result
= 0 ;
9380 PyObject
*swig_obj
[1] ;
9382 if (!args
) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9388 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= wxPyMake_wxObject(result
, 0);
9404 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9405 PyObject
*resultobj
= 0;
9406 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9410 PyObject
*swig_obj
[1] ;
9412 if (!args
) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9418 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9432 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
= 0;
9434 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9435 wxColour
*arg2
= 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "self",(char *) "clr", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9447 if (!SWIG_IsOK(res1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9450 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_Py_Void();
9468 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
= 0;
9470 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9471 wxBitmap
*arg2
= 0 ;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 char * kwnames
[] = {
9479 (char *) "self",(char *) "bmpBg", NULL
9482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9484 if (!SWIG_IsOK(res1
)) {
9485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9487 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9489 if (!SWIG_IsOK(res2
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9495 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_Py_Void();
9509 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
= 0;
9511 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9512 wxString
*arg2
= 0 ;
9515 bool temp2
= false ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 char * kwnames
[] = {
9519 (char *) "self",(char *) "text", NULL
9522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9524 if (!SWIG_IsOK(res1
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9527 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9529 arg2
= wxString_in_helper(obj1
);
9530 if (arg2
== NULL
) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_Py_Void();
9554 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9557 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9558 return SWIG_Py_Void();
9561 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= 0;
9563 wxWindow
*arg1
= (wxWindow
*) 0 ;
9564 int arg2
= (int) -1 ;
9565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9569 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9570 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9571 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9572 wxPyHtmlWindow
*result
= 0 ;
9581 bool temp6
= false ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9584 PyObject
* obj2
= 0 ;
9585 PyObject
* obj3
= 0 ;
9586 PyObject
* obj4
= 0 ;
9587 PyObject
* obj5
= 0 ;
9588 char * kwnames
[] = {
9589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9600 if (!SWIG_IsOK(ecode2
)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9603 arg2
= static_cast< int >(val2
);
9608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9618 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9619 if (!SWIG_IsOK(ecode5
)) {
9620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9622 arg5
= static_cast< int >(val5
);
9626 arg6
= wxString_in_helper(obj5
);
9627 if (arg6
== NULL
) SWIG_fail
;
9632 if (!wxPyCheckForApp()) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9653 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxPyHtmlWindow
*result
= 0 ;
9657 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9659 if (!wxPyCheckForApp()) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9672 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
= 0;
9674 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9675 wxWindow
*arg2
= (wxWindow
*) 0 ;
9676 int arg3
= (int) -1 ;
9677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9681 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9682 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9683 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9695 bool temp7
= false ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 PyObject
* obj2
= 0 ;
9699 PyObject
* obj3
= 0 ;
9700 PyObject
* obj4
= 0 ;
9701 PyObject
* obj5
= 0 ;
9702 PyObject
* obj6
= 0 ;
9703 char * kwnames
[] = {
9704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9709 if (!SWIG_IsOK(res1
)) {
9710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9712 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res2
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9720 if (!SWIG_IsOK(ecode3
)) {
9721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9723 arg3
= static_cast< int >(val3
);
9728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9738 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9739 if (!SWIG_IsOK(ecode6
)) {
9740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9742 arg6
= static_cast< int >(val6
);
9746 arg7
= wxString_in_helper(obj6
);
9747 if (arg7
== NULL
) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9774 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9777 PyObject
*arg2
= (PyObject
*) 0 ;
9778 PyObject
*arg3
= (PyObject
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 PyObject
* obj2
= 0 ;
9784 char * kwnames
[] = {
9785 (char *) "self",(char *) "self",(char *) "_class", NULL
9788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9793 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_Py_Void();
9809 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
= 0;
9811 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9812 wxString
*arg2
= 0 ;
9816 bool temp2
= false ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 char * kwnames
[] = {
9820 (char *) "self",(char *) "source", NULL
9823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9825 if (!SWIG_IsOK(res1
)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9828 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9830 arg2
= wxString_in_helper(obj1
);
9831 if (arg2
== NULL
) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9857 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
= 0;
9859 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9860 wxString
*arg2
= 0 ;
9864 bool temp2
= false ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "self",(char *) "location", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9873 if (!SWIG_IsOK(res1
)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9876 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9878 arg2
= wxString_in_helper(obj1
);
9879 if (arg2
== NULL
) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9905 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9907 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9908 wxString
*arg2
= 0 ;
9912 bool temp2
= false ;
9913 PyObject
* obj0
= 0 ;
9914 PyObject
* obj1
= 0 ;
9915 char * kwnames
[] = {
9916 (char *) "self",(char *) "filename", NULL
9919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9921 if (!SWIG_IsOK(res1
)) {
9922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9924 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9926 arg2
= wxString_in_helper(obj1
);
9927 if (arg2
== NULL
) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9953 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9956 wxString
*arg2
= 0 ;
9960 bool temp2
= false ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "self",(char *) "source", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9969 if (!SWIG_IsOK(res1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9972 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9974 arg2
= wxString_in_helper(obj1
);
9975 if (arg2
== NULL
) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10001 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10002 PyObject
*resultobj
= 0;
10003 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10007 PyObject
*swig_obj
[1] ;
10009 if (!args
) SWIG_fail
;
10010 swig_obj
[0] = args
;
10011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10015 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (arg1
)->GetOpenedPage();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10035 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10036 PyObject
*resultobj
= 0;
10037 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10041 PyObject
*swig_obj
[1] ;
10043 if (!args
) SWIG_fail
;
10044 swig_obj
[0] = args
;
10045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10046 if (!SWIG_IsOK(res1
)) {
10047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10049 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (arg1
)->GetOpenedAnchor();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10069 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10070 PyObject
*resultobj
= 0;
10071 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10075 PyObject
*swig_obj
[1] ;
10077 if (!args
) SWIG_fail
;
10078 swig_obj
[0] = args
;
10079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10080 if (!SWIG_IsOK(res1
)) {
10081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10083 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (arg1
)->GetOpenedPageTitle();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10103 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
= 0;
10105 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10106 wxFrame
*arg2
= (wxFrame
*) 0 ;
10107 wxString
*arg3
= 0 ;
10112 bool temp3
= false ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 char * kwnames
[] = {
10117 (char *) "self",(char *) "frame",(char *) "format", NULL
10120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10122 if (!SWIG_IsOK(res1
)) {
10123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10125 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10127 if (!SWIG_IsOK(res2
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10130 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10132 arg3
= wxString_in_helper(obj2
);
10133 if (arg3
== NULL
) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_Py_Void();
10157 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10158 PyObject
*resultobj
= 0;
10159 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10160 wxFrame
*result
= 0 ;
10163 PyObject
*swig_obj
[1] ;
10165 if (!args
) SWIG_fail
;
10166 swig_obj
[0] = args
;
10167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10168 if (!SWIG_IsOK(res1
)) {
10169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10171 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= wxPyMake_wxObject(result
, 0);
10187 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
= 0;
10189 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 char * kwnames
[] = {
10198 (char *) "self",(char *) "bar", NULL
10201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10203 if (!SWIG_IsOK(res1
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10206 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10208 if (!SWIG_IsOK(ecode2
)) {
10209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10211 arg2
= static_cast< int >(val2
);
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 (arg1
)->SetRelatedStatusBar(arg2
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= SWIG_Py_Void();
10225 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
= 0;
10227 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10230 PyObject
*arg4
= (PyObject
*) NULL
;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 PyObject
* obj2
= 0 ;
10236 PyObject
* obj3
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10246 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10248 wxString
* sptr
= wxString_in_helper(obj1
);
10249 if (sptr
== NULL
) SWIG_fail
;
10254 wxString
* sptr
= wxString_in_helper(obj2
);
10255 if (sptr
== NULL
) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_Py_Void();
10275 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10278 int arg2
= (int) -1 ;
10279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10281 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10282 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10287 bool temp3
= false ;
10288 bool temp4
= false ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 PyObject
* obj3
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10302 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10305 if (!SWIG_IsOK(ecode2
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10308 arg2
= static_cast< int >(val2
);
10312 arg3
= wxString_in_helper(obj2
);
10313 if (arg3
== NULL
) SWIG_fail
;
10319 arg4
= wxString_in_helper(obj3
);
10320 if (arg4
== NULL
) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_Py_Void();
10353 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
= 0;
10355 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char * kwnames
[] = {
10364 (char *) "self",(char *) "b", NULL
10367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10369 if (!SWIG_IsOK(res1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10372 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10374 if (!SWIG_IsOK(ecode2
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10377 arg2
= static_cast< int >(val2
);
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->SetBorders(arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_Py_Void();
10391 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
= 0;
10393 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10394 wxBitmap
*arg2
= 0 ;
10399 PyObject
* obj0
= 0 ;
10400 PyObject
* obj1
= 0 ;
10401 char * kwnames
[] = {
10402 (char *) "self",(char *) "bmpBg", NULL
10405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10407 if (!SWIG_IsOK(res1
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10410 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10412 if (!SWIG_IsOK(res2
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10418 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_Py_Void();
10432 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
= 0;
10434 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10435 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10436 wxString arg3
= (wxString
) wxPyEmptyString
;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "self",(char *) "cfg",(char *) "path", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10453 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10455 if (!SWIG_IsOK(res2
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10458 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10461 wxString
* sptr
= wxString_in_helper(obj2
);
10462 if (sptr
== NULL
) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->ReadCustomization(arg2
,arg3
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_Py_Void();
10480 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
= 0;
10482 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10483 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10484 wxString arg3
= (wxString
) wxPyEmptyString
;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 PyObject
* obj2
= 0 ;
10492 char * kwnames
[] = {
10493 (char *) "self",(char *) "cfg",(char *) "path", NULL
10496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10498 if (!SWIG_IsOK(res1
)) {
10499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10501 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10503 if (!SWIG_IsOK(res2
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10506 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10509 wxString
* sptr
= wxString_in_helper(obj2
);
10510 if (sptr
== NULL
) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 (arg1
)->WriteCustomization(arg2
,arg3
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= SWIG_Py_Void();
10528 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10529 PyObject
*resultobj
= 0;
10530 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10534 PyObject
*swig_obj
[1] ;
10536 if (!args
) SWIG_fail
;
10537 swig_obj
[0] = args
;
10538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10539 if (!SWIG_IsOK(res1
)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10542 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (bool)(arg1
)->HistoryBack();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10558 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10559 PyObject
*resultobj
= 0;
10560 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10564 PyObject
*swig_obj
[1] ;
10566 if (!args
) SWIG_fail
;
10567 swig_obj
[0] = args
;
10568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10572 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (bool)(arg1
)->HistoryForward();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10588 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10589 PyObject
*resultobj
= 0;
10590 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10594 PyObject
*swig_obj
[1] ;
10596 if (!args
) SWIG_fail
;
10597 swig_obj
[0] = args
;
10598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10602 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (bool)(arg1
)->HistoryCanBack();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10618 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10619 PyObject
*resultobj
= 0;
10620 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10624 PyObject
*swig_obj
[1] ;
10626 if (!args
) SWIG_fail
;
10627 swig_obj
[0] = args
;
10628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10629 if (!SWIG_IsOK(res1
)) {
10630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10632 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (bool)(arg1
)->HistoryCanForward();
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10648 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10649 PyObject
*resultobj
= 0;
10650 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10653 PyObject
*swig_obj
[1] ;
10655 if (!args
) SWIG_fail
;
10656 swig_obj
[0] = args
;
10657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10661 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 (arg1
)->HistoryClear();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_Py_Void();
10675 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10676 PyObject
*resultobj
= 0;
10677 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10678 wxHtmlContainerCell
*result
= 0 ;
10681 PyObject
*swig_obj
[1] ;
10683 if (!args
) SWIG_fail
;
10684 swig_obj
[0] = args
;
10685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10689 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10703 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10704 PyObject
*resultobj
= 0;
10705 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10706 wxHtmlWinParser
*result
= 0 ;
10709 PyObject
*swig_obj
[1] ;
10711 if (!args
) SWIG_fail
;
10712 swig_obj
[0] = args
;
10713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10714 if (!SWIG_IsOK(res1
)) {
10715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10717 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10731 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
= 0;
10733 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10734 wxString
*arg2
= 0 ;
10738 bool temp2
= false ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "anchor", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10750 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10752 arg2
= wxString_in_helper(obj1
);
10753 if (arg2
== NULL
) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10779 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
= 0;
10781 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10782 wxString
*arg2
= 0 ;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "anchor", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10798 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10800 arg2
= wxString_in_helper(obj1
);
10801 if (arg2
== NULL
) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10827 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
= 0;
10829 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10832 PyObject
* obj0
= 0 ;
10833 char * kwnames
[] = {
10834 (char *) "filter", NULL
10837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10839 if (!SWIG_IsOK(res1
)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10842 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 wxPyHtmlWindow::AddFilter(arg1
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_Py_Void();
10856 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
= 0;
10858 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10859 wxPoint
*arg2
= 0 ;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 char * kwnames
[] = {
10866 (char *) "self",(char *) "pos", NULL
10869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10871 if (!SWIG_IsOK(res1
)) {
10872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10874 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10877 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_Py_Void();
10892 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
= 0;
10894 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10895 wxPoint
*arg2
= 0 ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 char * kwnames
[] = {
10902 (char *) "self",(char *) "pos", NULL
10905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10907 if (!SWIG_IsOK(res1
)) {
10908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10910 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_Py_Void();
10928 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10929 PyObject
*resultobj
= 0;
10930 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10933 PyObject
*swig_obj
[1] ;
10935 if (!args
) SWIG_fail
;
10936 swig_obj
[0] = args
;
10937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10938 if (!SWIG_IsOK(res1
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10941 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SelectAll();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_Py_Void();
10955 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10956 PyObject
*resultobj
= 0;
10957 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10961 PyObject
*swig_obj
[1] ;
10963 if (!args
) SWIG_fail
;
10964 swig_obj
[0] = args
;
10965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10969 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (arg1
)->SelectionToText();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10989 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10990 PyObject
*resultobj
= 0;
10991 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10995 PyObject
*swig_obj
[1] ;
10997 if (!args
) SWIG_fail
;
10998 swig_obj
[0] = args
;
10999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11000 if (!SWIG_IsOK(res1
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11003 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (arg1
)->ToText();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11023 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11026 wxHtmlLinkInfo
*arg2
= 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 char * kwnames
[] = {
11034 (char *) "self",(char *) "link", NULL
11037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11039 if (!SWIG_IsOK(res1
)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11042 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11044 if (!SWIG_IsOK(res2
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11050 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_Py_Void();
11064 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
= 0;
11066 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11067 wxString
*arg2
= 0 ;
11070 bool temp2
= false ;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 char * kwnames
[] = {
11074 (char *) "self",(char *) "title", NULL
11077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11079 if (!SWIG_IsOK(res1
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11082 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11084 arg2
= wxString_in_helper(obj1
);
11085 if (arg2
== NULL
) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= SWIG_Py_Void();
11109 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
= 0;
11111 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11112 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 PyObject
* obj1
= 0 ;
11125 PyObject
* obj2
= 0 ;
11126 PyObject
* obj3
= 0 ;
11127 char * kwnames
[] = {
11128 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11133 if (!SWIG_IsOK(res1
)) {
11134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11136 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11138 if (!SWIG_IsOK(res2
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11141 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11143 if (!SWIG_IsOK(ecode3
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11146 arg3
= static_cast< int >(val3
);
11147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11148 if (!SWIG_IsOK(ecode4
)) {
11149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11151 arg4
= static_cast< int >(val4
);
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_Py_Void();
11165 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11168 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11171 wxMouseEvent
*arg5
= 0 ;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 PyObject
* obj2
= 0 ;
11186 PyObject
* obj3
= 0 ;
11187 PyObject
* obj4
= 0 ;
11188 char * kwnames
[] = {
11189 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11197 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11199 if (!SWIG_IsOK(res2
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11202 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11204 if (!SWIG_IsOK(ecode3
)) {
11205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11207 arg3
= static_cast< int >(val3
);
11208 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11209 if (!SWIG_IsOK(ecode4
)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11212 arg4
= static_cast< int >(val4
);
11213 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11214 if (!SWIG_IsOK(res5
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11220 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11236 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
= 0;
11238 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11239 wxHtmlURLType arg2
;
11240 wxString
*arg3
= 0 ;
11241 wxString
*arg4
= (wxString
*) 0 ;
11242 wxHtmlOpeningStatus result
;
11247 bool temp3
= false ;
11248 bool temp4
= false ;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 PyObject
* obj2
= 0 ;
11252 PyObject
* obj3
= 0 ;
11253 char * kwnames
[] = {
11254 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11259 if (!SWIG_IsOK(res1
)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11262 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11264 if (!SWIG_IsOK(ecode2
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11267 arg2
= static_cast< wxHtmlURLType
>(val2
);
11269 arg3
= wxString_in_helper(obj2
);
11270 if (arg3
== NULL
) SWIG_fail
;
11274 arg4
= wxString_in_helper(obj3
);
11275 if (arg4
== NULL
) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_From_int(static_cast< int >(result
));
11307 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
= 0;
11309 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11310 SwigValueWrapper
<wxVisualAttributes
> result
;
11313 PyObject
* obj0
= 0 ;
11314 char * kwnames
[] = {
11315 (char *) "variant", NULL
11318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11321 if (!SWIG_IsOK(ecode1
)) {
11322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11324 arg1
= static_cast< wxWindowVariant
>(val1
);
11327 if (!wxPyCheckForApp()) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11340 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= 0;
11342 wxPyHtmlWindow::HTMLCursor arg1
;
11346 PyObject
* obj0
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "type", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11352 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11353 if (!SWIG_IsOK(ecode1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11356 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11370 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11373 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11374 return SWIG_Py_Void();
11377 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11378 return SWIG_Python_InitShadowInstance(args
);
11381 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxHtmlDCRenderer
*result
= 0 ;
11385 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11387 if (!wxPyCheckForApp()) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11400 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11402 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11405 PyObject
*swig_obj
[1] ;
11407 if (!args
) SWIG_fail
;
11408 swig_obj
[0] = args
;
11409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11413 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_Py_Void();
11428 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
= 0;
11430 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11431 wxDC
*arg2
= (wxDC
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 PyObject
* obj2
= 0 ;
11442 char * kwnames
[] = {
11443 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11451 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11453 if (!SWIG_IsOK(res2
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11456 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11458 if (!SWIG_IsOK(ecode3
)) {
11459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11461 arg3
= static_cast< int >(val3
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 (arg1
)->SetDC(arg2
,arg3
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_Py_Void();
11475 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
= 0;
11477 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 PyObject
* obj2
= 0 ;
11489 char * kwnames
[] = {
11490 (char *) "self",(char *) "width",(char *) "height", NULL
11493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11495 if (!SWIG_IsOK(res1
)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11498 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11500 if (!SWIG_IsOK(ecode2
)) {
11501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11503 arg2
= static_cast< int >(val2
);
11504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11505 if (!SWIG_IsOK(ecode3
)) {
11506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11508 arg3
= static_cast< int >(val3
);
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 (arg1
)->SetSize(arg2
,arg3
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_Py_Void();
11522 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
= 0;
11524 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11525 wxString
*arg2
= 0 ;
11526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11528 bool arg4
= (bool) true ;
11531 bool temp2
= false ;
11532 bool temp3
= false ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11538 PyObject
* obj3
= 0 ;
11539 char * kwnames
[] = {
11540 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11548 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11550 arg2
= wxString_in_helper(obj1
);
11551 if (arg2
== NULL
) SWIG_fail
;
11556 arg3
= wxString_in_helper(obj2
);
11557 if (arg3
== NULL
) SWIG_fail
;
11562 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11563 if (!SWIG_IsOK(ecode4
)) {
11564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11566 arg4
= static_cast< bool >(val4
);
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_Py_Void();
11597 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
= 0;
11599 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11602 PyObject
*arg4
= (PyObject
*) NULL
;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 PyObject
* obj2
= 0 ;
11608 PyObject
* obj3
= 0 ;
11609 char * kwnames
[] = {
11610 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11615 if (!SWIG_IsOK(res1
)) {
11616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11618 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11620 wxString
* sptr
= wxString_in_helper(obj1
);
11621 if (sptr
== NULL
) SWIG_fail
;
11626 wxString
* sptr
= wxString_in_helper(obj2
);
11627 if (sptr
== NULL
) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_Py_Void();
11647 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
*resultobj
= 0;
11649 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11650 int arg2
= (int) -1 ;
11651 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11659 bool temp3
= false ;
11660 bool temp4
= false ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 PyObject
* obj2
= 0 ;
11664 PyObject
* obj3
= 0 ;
11665 char * kwnames
[] = {
11666 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11671 if (!SWIG_IsOK(res1
)) {
11672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11674 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11677 if (!SWIG_IsOK(ecode2
)) {
11678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11680 arg2
= static_cast< int >(val2
);
11684 arg3
= wxString_in_helper(obj2
);
11685 if (arg3
== NULL
) SWIG_fail
;
11691 arg4
= wxString_in_helper(obj3
);
11692 if (arg4
== NULL
) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_Py_Void();
11725 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
= 0;
11727 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11730 wxArrayInt
*arg4
= 0 ;
11731 int arg5
= (int) 0 ;
11732 int arg6
= (int) FALSE
;
11733 int arg7
= (int) INT_MAX
;
11741 bool temp4
= false ;
11748 PyObject
* obj0
= 0 ;
11749 PyObject
* obj1
= 0 ;
11750 PyObject
* obj2
= 0 ;
11751 PyObject
* obj3
= 0 ;
11752 PyObject
* obj4
= 0 ;
11753 PyObject
* obj5
= 0 ;
11754 PyObject
* obj6
= 0 ;
11755 char * kwnames
[] = {
11756 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11764 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11766 if (!SWIG_IsOK(ecode2
)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11769 arg2
= static_cast< int >(val2
);
11770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11771 if (!SWIG_IsOK(ecode3
)) {
11772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11774 arg3
= static_cast< int >(val3
);
11776 if (! PySequence_Check(obj3
)) {
11777 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11780 arg4
= new wxArrayInt
;
11782 int i
, len
=PySequence_Length(obj3
);
11783 for (i
=0; i
<len
; i
++) {
11784 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11785 PyObject
* number
= PyNumber_Int(item
);
11786 arg4
->Add(PyInt_AS_LONG(number
));
11792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11793 if (!SWIG_IsOK(ecode5
)) {
11794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11796 arg5
= static_cast< int >(val5
);
11799 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11800 if (!SWIG_IsOK(ecode6
)) {
11801 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11803 arg6
= static_cast< int >(val6
);
11806 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11807 if (!SWIG_IsOK(ecode7
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11810 arg7
= static_cast< int >(val7
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_From_int(static_cast< int >(result
));
11820 if (temp4
) delete arg4
;
11825 if (temp4
) delete arg4
;
11831 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11832 PyObject
*resultobj
= 0;
11833 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11837 PyObject
*swig_obj
[1] ;
11839 if (!args
) SWIG_fail
;
11840 swig_obj
[0] = args
;
11841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11845 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (int)(arg1
)->GetTotalHeight();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_From_int(static_cast< int >(result
));
11859 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11862 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11863 return SWIG_Py_Void();
11866 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 return SWIG_Python_InitShadowInstance(args
);
11870 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
= 0;
11872 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11873 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11874 wxHtmlPrintout
*result
= 0 ;
11875 bool temp1
= false ;
11876 PyObject
* obj0
= 0 ;
11877 char * kwnames
[] = {
11878 (char *) "title", NULL
11881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11884 arg1
= wxString_in_helper(obj0
);
11885 if (arg1
== NULL
) SWIG_fail
;
11890 if (!wxPyCheckForApp()) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11911 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
= 0;
11913 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11914 wxString
*arg2
= 0 ;
11915 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11917 bool arg4
= (bool) true ;
11920 bool temp2
= false ;
11921 bool temp3
= false ;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 PyObject
* obj2
= 0 ;
11927 PyObject
* obj3
= 0 ;
11928 char * kwnames
[] = {
11929 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11934 if (!SWIG_IsOK(res1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11937 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11939 arg2
= wxString_in_helper(obj1
);
11940 if (arg2
== NULL
) SWIG_fail
;
11945 arg3
= wxString_in_helper(obj2
);
11946 if (arg3
== NULL
) SWIG_fail
;
11951 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11952 if (!SWIG_IsOK(ecode4
)) {
11953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11955 arg4
= static_cast< bool >(val4
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_Py_Void();
11986 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= 0;
11988 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11989 wxString
*arg2
= 0 ;
11992 bool temp2
= false ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char * kwnames
[] = {
11996 (char *) "self",(char *) "htmlfile", NULL
11999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12001 if (!SWIG_IsOK(res1
)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12004 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12006 arg2
= wxString_in_helper(obj1
);
12007 if (arg2
== NULL
) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_Py_Void();
12031 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
= 0;
12033 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12034 wxString
*arg2
= 0 ;
12035 int arg3
= (int) wxPAGE_ALL
;
12038 bool temp2
= false ;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 PyObject
* obj2
= 0 ;
12044 char * kwnames
[] = {
12045 (char *) "self",(char *) "header",(char *) "pg", NULL
12048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12053 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12055 arg2
= wxString_in_helper(obj1
);
12056 if (arg2
== NULL
) SWIG_fail
;
12060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12061 if (!SWIG_IsOK(ecode3
)) {
12062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12064 arg3
= static_cast< int >(val3
);
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_Py_Void();
12087 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
= 0;
12089 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12090 wxString
*arg2
= 0 ;
12091 int arg3
= (int) wxPAGE_ALL
;
12094 bool temp2
= false ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 PyObject
* obj2
= 0 ;
12100 char * kwnames
[] = {
12101 (char *) "self",(char *) "footer",(char *) "pg", NULL
12104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12106 if (!SWIG_IsOK(res1
)) {
12107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12109 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12111 arg2
= wxString_in_helper(obj1
);
12112 if (arg2
== NULL
) SWIG_fail
;
12116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12117 if (!SWIG_IsOK(ecode3
)) {
12118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12120 arg3
= static_cast< int >(val3
);
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_Py_Void();
12143 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
= 0;
12145 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12148 PyObject
*arg4
= (PyObject
*) NULL
;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 PyObject
* obj2
= 0 ;
12154 PyObject
* obj3
= 0 ;
12155 char * kwnames
[] = {
12156 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12161 if (!SWIG_IsOK(res1
)) {
12162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12164 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12166 wxString
* sptr
= wxString_in_helper(obj1
);
12167 if (sptr
== NULL
) SWIG_fail
;
12172 wxString
* sptr
= wxString_in_helper(obj2
);
12173 if (sptr
== NULL
) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_Py_Void();
12193 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
= 0;
12195 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12196 int arg2
= (int) -1 ;
12197 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12205 bool temp3
= false ;
12206 bool temp4
= false ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 PyObject
* obj2
= 0 ;
12210 PyObject
* obj3
= 0 ;
12211 char * kwnames
[] = {
12212 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12217 if (!SWIG_IsOK(res1
)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12220 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12223 if (!SWIG_IsOK(ecode2
)) {
12224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12226 arg2
= static_cast< int >(val2
);
12230 arg3
= wxString_in_helper(obj2
);
12231 if (arg3
== NULL
) SWIG_fail
;
12237 arg4
= wxString_in_helper(obj3
);
12238 if (arg4
== NULL
) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_Py_Void();
12271 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
= 0;
12273 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12274 float arg2
= (float) 25.2 ;
12275 float arg3
= (float) 25.2 ;
12276 float arg4
= (float) 25.2 ;
12277 float arg5
= (float) 25.2 ;
12278 float arg6
= (float) 5 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 PyObject
* obj2
= 0 ;
12294 PyObject
* obj3
= 0 ;
12295 PyObject
* obj4
= 0 ;
12296 PyObject
* obj5
= 0 ;
12297 char * kwnames
[] = {
12298 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12303 if (!SWIG_IsOK(res1
)) {
12304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12306 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12308 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12309 if (!SWIG_IsOK(ecode2
)) {
12310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12312 arg2
= static_cast< float >(val2
);
12315 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12316 if (!SWIG_IsOK(ecode3
)) {
12317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12319 arg3
= static_cast< float >(val3
);
12322 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12323 if (!SWIG_IsOK(ecode4
)) {
12324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12326 arg4
= static_cast< float >(val4
);
12329 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12330 if (!SWIG_IsOK(ecode5
)) {
12331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12333 arg5
= static_cast< float >(val5
);
12336 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12337 if (!SWIG_IsOK(ecode6
)) {
12338 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12340 arg6
= static_cast< float >(val6
);
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_Py_Void();
12355 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
= 0;
12357 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char * kwnames
[] = {
12362 (char *) "filter", NULL
12365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12367 if (!SWIG_IsOK(res1
)) {
12368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12370 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 wxHtmlPrintout::AddFilter(arg1
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_Py_Void();
12384 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12385 PyObject
*resultobj
= 0;
12387 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 wxHtmlPrintout::CleanUpStatics();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= SWIG_Py_Void();
12401 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12404 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12405 return SWIG_Py_Void();
12408 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12409 return SWIG_Python_InitShadowInstance(args
);
12412 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= 0;
12414 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12415 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12416 wxWindow
*arg2
= (wxWindow
*) NULL
;
12417 wxHtmlEasyPrinting
*result
= 0 ;
12418 bool temp1
= false ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char * kwnames
[] = {
12424 (char *) "name",(char *) "parentWindow", NULL
12427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12430 arg1
= wxString_in_helper(obj0
);
12431 if (arg1
== NULL
) SWIG_fail
;
12436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12437 if (!SWIG_IsOK(res2
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12440 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12443 if (!wxPyCheckForApp()) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12464 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12465 PyObject
*resultobj
= 0;
12466 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12469 PyObject
*swig_obj
[1] ;
12471 if (!args
) SWIG_fail
;
12472 swig_obj
[0] = args
;
12473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12474 if (!SWIG_IsOK(res1
)) {
12475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12477 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_Py_Void();
12492 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= 0;
12494 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12495 wxString
*arg2
= 0 ;
12498 bool temp2
= false ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char * kwnames
[] = {
12502 (char *) "self",(char *) "htmlfile", NULL
12505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12510 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12512 arg2
= wxString_in_helper(obj1
);
12513 if (arg2
== NULL
) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= SWIG_Py_Void();
12537 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
= 0;
12539 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12540 wxString
*arg2
= 0 ;
12541 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12542 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12545 bool temp2
= false ;
12546 bool temp3
= false ;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 PyObject
* obj2
= 0 ;
12550 char * kwnames
[] = {
12551 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12559 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12561 arg2
= wxString_in_helper(obj1
);
12562 if (arg2
== NULL
) SWIG_fail
;
12567 arg3
= wxString_in_helper(obj2
);
12568 if (arg3
== NULL
) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= SWIG_Py_Void();
12601 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
= 0;
12603 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12604 wxString
*arg2
= 0 ;
12607 bool temp2
= false ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 char * kwnames
[] = {
12611 (char *) "self",(char *) "htmlfile", NULL
12614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12616 if (!SWIG_IsOK(res1
)) {
12617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12619 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12621 arg2
= wxString_in_helper(obj1
);
12622 if (arg2
== NULL
) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 (arg1
)->PrintFile((wxString
const &)*arg2
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12649 wxString
*arg2
= 0 ;
12650 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12651 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12654 bool temp2
= false ;
12655 bool temp3
= false ;
12656 PyObject
* obj0
= 0 ;
12657 PyObject
* obj1
= 0 ;
12658 PyObject
* obj2
= 0 ;
12659 char * kwnames
[] = {
12660 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12665 if (!SWIG_IsOK(res1
)) {
12666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12668 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12670 arg2
= wxString_in_helper(obj1
);
12671 if (arg2
== NULL
) SWIG_fail
;
12676 arg3
= wxString_in_helper(obj2
);
12677 if (arg3
== NULL
) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_Py_Void();
12710 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12711 PyObject
*resultobj
= 0;
12712 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12715 PyObject
*swig_obj
[1] ;
12717 if (!args
) SWIG_fail
;
12718 swig_obj
[0] = args
;
12719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12720 if (!SWIG_IsOK(res1
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12723 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 (arg1
)->PageSetup();
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= SWIG_Py_Void();
12737 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
= 0;
12739 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12740 wxString
*arg2
= 0 ;
12741 int arg3
= (int) wxPAGE_ALL
;
12744 bool temp2
= false ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 char * kwnames
[] = {
12751 (char *) "self",(char *) "header",(char *) "pg", NULL
12754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12756 if (!SWIG_IsOK(res1
)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12759 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12761 arg2
= wxString_in_helper(obj1
);
12762 if (arg2
== NULL
) SWIG_fail
;
12766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12767 if (!SWIG_IsOK(ecode3
)) {
12768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12770 arg3
= static_cast< int >(val3
);
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_Py_Void();
12793 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
= 0;
12795 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12796 wxString
*arg2
= 0 ;
12797 int arg3
= (int) wxPAGE_ALL
;
12800 bool temp2
= false ;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 PyObject
* obj2
= 0 ;
12806 char * kwnames
[] = {
12807 (char *) "self",(char *) "footer",(char *) "pg", NULL
12810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12812 if (!SWIG_IsOK(res1
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12815 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12817 arg2
= wxString_in_helper(obj1
);
12818 if (arg2
== NULL
) SWIG_fail
;
12822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12823 if (!SWIG_IsOK(ecode3
)) {
12824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12826 arg3
= static_cast< int >(val3
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_Py_Void();
12849 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
= 0;
12851 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12854 PyObject
*arg4
= (PyObject
*) NULL
;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 PyObject
* obj2
= 0 ;
12860 PyObject
* obj3
= 0 ;
12861 char * kwnames
[] = {
12862 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12867 if (!SWIG_IsOK(res1
)) {
12868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12870 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12872 wxString
* sptr
= wxString_in_helper(obj1
);
12873 if (sptr
== NULL
) SWIG_fail
;
12878 wxString
* sptr
= wxString_in_helper(obj2
);
12879 if (sptr
== NULL
) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= SWIG_Py_Void();
12899 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
= 0;
12901 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12902 int arg2
= (int) -1 ;
12903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12905 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12906 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12911 bool temp3
= false ;
12912 bool temp4
= false ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 PyObject
* obj2
= 0 ;
12916 PyObject
* obj3
= 0 ;
12917 char * kwnames
[] = {
12918 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12923 if (!SWIG_IsOK(res1
)) {
12924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12926 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12929 if (!SWIG_IsOK(ecode2
)) {
12930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12932 arg2
= static_cast< int >(val2
);
12936 arg3
= wxString_in_helper(obj2
);
12937 if (arg3
== NULL
) SWIG_fail
;
12943 arg4
= wxString_in_helper(obj3
);
12944 if (arg4
== NULL
) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_Py_Void();
12977 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12978 PyObject
*resultobj
= 0;
12979 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12980 wxPrintData
*result
= 0 ;
12983 PyObject
*swig_obj
[1] ;
12985 if (!args
) SWIG_fail
;
12986 swig_obj
[0] = args
;
12987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12988 if (!SWIG_IsOK(res1
)) {
12989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12991 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 result
= (wxPrintData
*)(arg1
)->GetPrintData();
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13005 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13006 PyObject
*resultobj
= 0;
13007 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13008 wxPageSetupDialogData
*result
= 0 ;
13011 PyObject
*swig_obj
[1] ;
13013 if (!args
) SWIG_fail
;
13014 swig_obj
[0] = args
;
13015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13016 if (!SWIG_IsOK(res1
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13019 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13033 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13036 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13037 return SWIG_Py_Void();
13040 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13041 return SWIG_Python_InitShadowInstance(args
);
13044 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
= 0;
13046 wxString
*arg1
= 0 ;
13047 wxString
*arg2
= 0 ;
13048 wxString
*arg3
= 0 ;
13049 wxString
*arg4
= 0 ;
13050 wxHtmlBookRecord
*result
= 0 ;
13051 bool temp1
= false ;
13052 bool temp2
= false ;
13053 bool temp3
= false ;
13054 bool temp4
= false ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 PyObject
* obj2
= 0 ;
13058 PyObject
* obj3
= 0 ;
13059 char * kwnames
[] = {
13060 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13065 arg1
= wxString_in_helper(obj0
);
13066 if (arg1
== NULL
) SWIG_fail
;
13070 arg2
= wxString_in_helper(obj1
);
13071 if (arg2
== NULL
) SWIG_fail
;
13075 arg3
= wxString_in_helper(obj2
);
13076 if (arg3
== NULL
) SWIG_fail
;
13080 arg4
= wxString_in_helper(obj3
);
13081 if (arg4
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13129 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13130 PyObject
*resultobj
= 0;
13131 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13135 PyObject
*swig_obj
[1] ;
13137 if (!args
) SWIG_fail
;
13138 swig_obj
[0] = args
;
13139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13140 if (!SWIG_IsOK(res1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13143 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (arg1
)->GetBookFile();
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13163 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13164 PyObject
*resultobj
= 0;
13165 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13169 PyObject
*swig_obj
[1] ;
13171 if (!args
) SWIG_fail
;
13172 swig_obj
[0] = args
;
13173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13174 if (!SWIG_IsOK(res1
)) {
13175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13177 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (arg1
)->GetTitle();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13197 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13198 PyObject
*resultobj
= 0;
13199 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13203 PyObject
*swig_obj
[1] ;
13205 if (!args
) SWIG_fail
;
13206 swig_obj
[0] = args
;
13207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13211 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (arg1
)->GetStart();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13231 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13232 PyObject
*resultobj
= 0;
13233 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13237 PyObject
*swig_obj
[1] ;
13239 if (!args
) SWIG_fail
;
13240 swig_obj
[0] = args
;
13241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13242 if (!SWIG_IsOK(res1
)) {
13243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13245 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (arg1
)->GetBasePath();
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13265 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
= 0;
13267 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 PyObject
* obj2
= 0 ;
13279 char * kwnames
[] = {
13280 (char *) "self",(char *) "start",(char *) "end", NULL
13283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13285 if (!SWIG_IsOK(res1
)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13288 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13290 if (!SWIG_IsOK(ecode2
)) {
13291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13293 arg2
= static_cast< int >(val2
);
13294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13295 if (!SWIG_IsOK(ecode3
)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13298 arg3
= static_cast< int >(val3
);
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 (arg1
)->SetContentsRange(arg2
,arg3
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_Py_Void();
13312 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13313 PyObject
*resultobj
= 0;
13314 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13318 PyObject
*swig_obj
[1] ;
13320 if (!args
) SWIG_fail
;
13321 swig_obj
[0] = args
;
13322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13326 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (int)(arg1
)->GetContentsStart();
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_From_int(static_cast< int >(result
));
13340 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13341 PyObject
*resultobj
= 0;
13342 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13346 PyObject
*swig_obj
[1] ;
13348 if (!args
) SWIG_fail
;
13349 swig_obj
[0] = args
;
13350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13351 if (!SWIG_IsOK(res1
)) {
13352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13354 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (int)(arg1
)->GetContentsEnd();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_From_int(static_cast< int >(result
));
13368 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
= 0;
13370 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13371 wxString
*arg2
= 0 ;
13374 bool temp2
= false ;
13375 PyObject
* obj0
= 0 ;
13376 PyObject
* obj1
= 0 ;
13377 char * kwnames
[] = {
13378 (char *) "self",(char *) "title", NULL
13381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13383 if (!SWIG_IsOK(res1
)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13386 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13388 arg2
= wxString_in_helper(obj1
);
13389 if (arg2
== NULL
) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 (arg1
)->SetTitle((wxString
const &)*arg2
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_Py_Void();
13413 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
= 0;
13415 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13416 wxString
*arg2
= 0 ;
13419 bool temp2
= false ;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj1
= 0 ;
13422 char * kwnames
[] = {
13423 (char *) "self",(char *) "path", NULL
13426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13428 if (!SWIG_IsOK(res1
)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13431 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13433 arg2
= wxString_in_helper(obj1
);
13434 if (arg2
== NULL
) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_Py_Void();
13458 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
= 0;
13460 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13461 wxString
*arg2
= 0 ;
13464 bool temp2
= false ;
13465 PyObject
* obj0
= 0 ;
13466 PyObject
* obj1
= 0 ;
13467 char * kwnames
[] = {
13468 (char *) "self",(char *) "start", NULL
13471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13473 if (!SWIG_IsOK(res1
)) {
13474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13476 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13478 arg2
= wxString_in_helper(obj1
);
13479 if (arg2
== NULL
) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 (arg1
)->SetStart((wxString
const &)*arg2
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= SWIG_Py_Void();
13503 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
= 0;
13505 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13506 wxString
*arg2
= 0 ;
13510 bool temp2
= false ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 char * kwnames
[] = {
13514 (char *) "self",(char *) "page", NULL
13517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13519 if (!SWIG_IsOK(res1
)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13522 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13524 arg2
= wxString_in_helper(obj1
);
13525 if (arg2
== NULL
) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13555 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13558 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13559 return SWIG_Py_Void();
13562 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13563 return SWIG_Python_InitShadowInstance(args
);
13566 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13567 PyObject
*resultobj
= 0;
13568 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13572 PyObject
*swig_obj
[1] ;
13574 if (!args
) SWIG_fail
;
13575 swig_obj
[0] = args
;
13576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13577 if (!SWIG_IsOK(res1
)) {
13578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13580 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 result
= (bool)(arg1
)->Search();
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13596 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13597 PyObject
*resultobj
= 0;
13598 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13602 PyObject
*swig_obj
[1] ;
13604 if (!args
) SWIG_fail
;
13605 swig_obj
[0] = args
;
13606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13607 if (!SWIG_IsOK(res1
)) {
13608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13610 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (bool)(arg1
)->IsActive();
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13626 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13627 PyObject
*resultobj
= 0;
13628 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13632 PyObject
*swig_obj
[1] ;
13634 if (!args
) SWIG_fail
;
13635 swig_obj
[0] = args
;
13636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13637 if (!SWIG_IsOK(res1
)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13640 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (int)(arg1
)->GetCurIndex();
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= SWIG_From_int(static_cast< int >(result
));
13654 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13655 PyObject
*resultobj
= 0;
13656 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13660 PyObject
*swig_obj
[1] ;
13662 if (!args
) SWIG_fail
;
13663 swig_obj
[0] = args
;
13664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13665 if (!SWIG_IsOK(res1
)) {
13666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13668 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (int)(arg1
)->GetMaxIndex();
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_From_int(static_cast< int >(result
));
13682 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13683 PyObject
*resultobj
= 0;
13684 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13685 wxString
*result
= 0 ;
13688 PyObject
*swig_obj
[1] ;
13690 if (!args
) SWIG_fail
;
13691 swig_obj
[0] = args
;
13692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13693 if (!SWIG_IsOK(res1
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13696 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 wxString
const &_result_ref
= (arg1
)->GetName();
13701 result
= (wxString
*) &_result_ref
;
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13710 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13719 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13722 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13723 return SWIG_Py_Void();
13726 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13727 PyObject
*resultobj
= 0;
13728 wxHtmlHelpData
*result
= 0 ;
13730 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13744 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13745 PyObject
*resultobj
= 0;
13746 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13749 PyObject
*swig_obj
[1] ;
13751 if (!args
) SWIG_fail
;
13752 swig_obj
[0] = args
;
13753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13754 if (!SWIG_IsOK(res1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13757 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= SWIG_Py_Void();
13772 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
= 0;
13774 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13775 wxString
*arg2
= 0 ;
13778 bool temp2
= false ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 char * kwnames
[] = {
13782 (char *) "self",(char *) "path", NULL
13785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13787 if (!SWIG_IsOK(res1
)) {
13788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13790 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13792 arg2
= wxString_in_helper(obj1
);
13793 if (arg2
== NULL
) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= SWIG_Py_Void();
13817 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
= 0;
13819 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13820 wxString
*arg2
= 0 ;
13824 bool temp2
= false ;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 char * kwnames
[] = {
13828 (char *) "self",(char *) "book", NULL
13831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13833 if (!SWIG_IsOK(res1
)) {
13834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13836 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13838 arg2
= wxString_in_helper(obj1
);
13839 if (arg2
== NULL
) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13865 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
= 0;
13867 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13868 wxString
*arg2
= 0 ;
13872 bool temp2
= false ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 char * kwnames
[] = {
13876 (char *) "self",(char *) "page", NULL
13879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13881 if (!SWIG_IsOK(res1
)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13884 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13886 arg2
= wxString_in_helper(obj1
);
13887 if (arg2
== NULL
) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13917 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
= 0;
13919 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 PyObject
* obj1
= 0 ;
13928 char * kwnames
[] = {
13929 (char *) "self",(char *) "id", NULL
13932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13934 if (!SWIG_IsOK(res1
)) {
13935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13937 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13939 if (!SWIG_IsOK(ecode2
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13942 arg2
= static_cast< int >(val2
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (arg1
)->FindPageById(arg2
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13962 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13963 PyObject
*resultobj
= 0;
13964 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13965 wxHtmlBookRecArray
*result
= 0 ;
13968 PyObject
*swig_obj
[1] ;
13970 if (!args
) SWIG_fail
;
13971 swig_obj
[0] = args
;
13972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13973 if (!SWIG_IsOK(res1
)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13976 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13981 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13993 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13996 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
13997 return SWIG_Py_Void();
14000 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 return SWIG_Python_InitShadowInstance(args
);
14004 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
= 0;
14006 wxWindow
*arg1
= (wxWindow
*) 0 ;
14008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14012 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14013 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14014 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14015 wxHtmlHelpWindow
*result
= 0 ;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 PyObject
* obj2
= 0 ;
14031 PyObject
* obj3
= 0 ;
14032 PyObject
* obj4
= 0 ;
14033 PyObject
* obj5
= 0 ;
14034 PyObject
* obj6
= 0 ;
14035 char * kwnames
[] = {
14036 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14041 if (!SWIG_IsOK(res1
)) {
14042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14046 if (!SWIG_IsOK(ecode2
)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14049 arg2
= static_cast< int >(val2
);
14053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14063 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14064 if (!SWIG_IsOK(ecode5
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14067 arg5
= static_cast< int >(val5
);
14070 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14071 if (!SWIG_IsOK(ecode6
)) {
14072 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14074 arg6
= static_cast< int >(val6
);
14077 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14078 if (!SWIG_IsOK(res7
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14081 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14084 if (!wxPyCheckForApp()) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14097 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
= 0;
14099 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14100 wxHtmlHelpWindow
*result
= 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char * kwnames
[] = {
14105 (char *) "data", NULL
14108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14114 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14117 if (!wxPyCheckForApp()) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14130 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
= 0;
14132 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14133 wxWindow
*arg2
= (wxWindow
*) 0 ;
14135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14139 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14140 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14154 PyObject
* obj0
= 0 ;
14155 PyObject
* obj1
= 0 ;
14156 PyObject
* obj2
= 0 ;
14157 PyObject
* obj3
= 0 ;
14158 PyObject
* obj4
= 0 ;
14159 PyObject
* obj5
= 0 ;
14160 PyObject
* obj6
= 0 ;
14161 char * kwnames
[] = {
14162 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14167 if (!SWIG_IsOK(res1
)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14170 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14172 if (!SWIG_IsOK(res2
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14175 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14177 if (!SWIG_IsOK(ecode3
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14180 arg3
= static_cast< int >(val3
);
14184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14194 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14195 if (!SWIG_IsOK(ecode6
)) {
14196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14198 arg6
= static_cast< int >(val6
);
14201 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14202 if (!SWIG_IsOK(ecode7
)) {
14203 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14205 arg7
= static_cast< int >(val7
);
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14223 PyObject
*resultobj
= 0;
14224 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14225 wxHtmlHelpData
*result
= 0 ;
14228 PyObject
*swig_obj
[1] ;
14230 if (!args
) SWIG_fail
;
14231 swig_obj
[0] = args
;
14232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14233 if (!SWIG_IsOK(res1
)) {
14234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14236 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14250 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14253 wxHtmlHelpController
*result
= 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14264 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14278 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
= 0;
14280 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14281 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char * kwnames
[] = {
14288 (char *) "self",(char *) "controller", NULL
14291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14293 if (!SWIG_IsOK(res1
)) {
14294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14296 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14297 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14298 if (!SWIG_IsOK(res2
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 (arg1
)->SetController(arg2
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_Py_Void();
14314 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
= 0;
14316 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14317 wxString
*arg2
= 0 ;
14321 bool temp2
= false ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 char * kwnames
[] = {
14325 (char *) "self",(char *) "x", NULL
14328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14330 if (!SWIG_IsOK(res1
)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14333 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14335 arg2
= wxString_in_helper(obj1
);
14336 if (arg2
== NULL
) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14362 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
= 0;
14364 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 char * kwnames
[] = {
14374 (char *) "self",(char *) "id", NULL
14377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14379 if (!SWIG_IsOK(res1
)) {
14380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14382 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14384 if (!SWIG_IsOK(ecode2
)) {
14385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14387 arg2
= static_cast< int >(val2
);
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (bool)(arg1
)->Display(arg2
);
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14403 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14404 PyObject
*resultobj
= 0;
14405 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14409 PyObject
*swig_obj
[1] ;
14411 if (!args
) SWIG_fail
;
14412 swig_obj
[0] = args
;
14413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14414 if (!SWIG_IsOK(res1
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14417 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (bool)(arg1
)->DisplayContents();
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14433 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14434 PyObject
*resultobj
= 0;
14435 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14439 PyObject
*swig_obj
[1] ;
14441 if (!args
) SWIG_fail
;
14442 swig_obj
[0] = args
;
14443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14444 if (!SWIG_IsOK(res1
)) {
14445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14447 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (bool)(arg1
)->DisplayIndex();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14463 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
= 0;
14465 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14466 wxString
*arg2
= 0 ;
14467 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14471 bool temp2
= false ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 char * kwnames
[] = {
14478 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14486 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14488 arg2
= wxString_in_helper(obj1
);
14489 if (arg2
== NULL
) SWIG_fail
;
14494 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14495 if (!SWIG_IsOK(res3
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14501 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14503 if (SWIG_IsNewObj(res3
)) delete temp
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
= 0;
14532 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14533 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14534 wxString
const &arg3_defvalue
= wxEmptyString
;
14535 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14540 bool temp3
= false ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 PyObject
* obj2
= 0 ;
14544 char * kwnames
[] = {
14545 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14550 if (!SWIG_IsOK(res1
)) {
14551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14553 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14555 if (!SWIG_IsOK(res2
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14558 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14561 arg3
= wxString_in_helper(obj2
);
14562 if (arg3
== NULL
) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= SWIG_Py_Void();
14587 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
= 0;
14589 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14590 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14591 wxString
const &arg3_defvalue
= wxEmptyString
;
14592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14597 bool temp3
= false ;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 PyObject
* obj2
= 0 ;
14601 char * kwnames
[] = {
14602 (char *) "self",(char *) "cfg",(char *) "path", NULL
14605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14607 if (!SWIG_IsOK(res1
)) {
14608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14610 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14612 if (!SWIG_IsOK(res2
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14615 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14618 arg3
= wxString_in_helper(obj2
);
14619 if (arg3
== NULL
) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_Py_Void();
14644 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
= 0;
14646 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14647 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14648 wxString
const &arg3_defvalue
= wxEmptyString
;
14649 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14654 bool temp3
= false ;
14655 PyObject
* obj0
= 0 ;
14656 PyObject
* obj1
= 0 ;
14657 PyObject
* obj2
= 0 ;
14658 char * kwnames
[] = {
14659 (char *) "self",(char *) "cfg",(char *) "path", NULL
14662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14667 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14669 if (!SWIG_IsOK(res2
)) {
14670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14672 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14675 arg3
= wxString_in_helper(obj2
);
14676 if (arg3
== NULL
) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= SWIG_Py_Void();
14701 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14702 PyObject
*resultobj
= 0;
14703 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14706 PyObject
*swig_obj
[1] ;
14708 if (!args
) SWIG_fail
;
14709 swig_obj
[0] = args
;
14710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14714 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->NotifyPageChanged();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= SWIG_Py_Void();
14728 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14729 PyObject
*resultobj
= 0;
14730 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14733 PyObject
*swig_obj
[1] ;
14735 if (!args
) SWIG_fail
;
14736 swig_obj
[0] = args
;
14737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14738 if (!SWIG_IsOK(res1
)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14741 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 (arg1
)->RefreshLists();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_Py_Void();
14755 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14756 PyObject
*resultobj
= 0;
14757 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14758 wxHtmlWindow
*result
= 0 ;
14761 PyObject
*swig_obj
[1] ;
14763 if (!args
) SWIG_fail
;
14764 swig_obj
[0] = args
;
14765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14766 if (!SWIG_IsOK(res1
)) {
14767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14769 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14783 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14784 PyObject
*resultobj
= 0;
14785 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14786 wxSplitterWindow
*result
= 0 ;
14789 PyObject
*swig_obj
[1] ;
14791 if (!args
) SWIG_fail
;
14792 swig_obj
[0] = args
;
14793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14794 if (!SWIG_IsOK(res1
)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14797 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14811 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14812 PyObject
*resultobj
= 0;
14813 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14814 wxToolBar
*result
= 0 ;
14817 PyObject
*swig_obj
[1] ;
14819 if (!args
) SWIG_fail
;
14820 swig_obj
[0] = args
;
14821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14822 if (!SWIG_IsOK(res1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14825 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14841 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14842 PyObject
*resultobj
= 0;
14843 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14844 wxHtmlHelpFrameCfg
*result
= 0 ;
14847 PyObject
*swig_obj
[1] ;
14849 if (!args
) SWIG_fail
;
14850 swig_obj
[0] = args
;
14851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14852 if (!SWIG_IsOK(res1
)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14855 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14860 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14872 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14873 PyObject
*resultobj
= 0;
14874 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14875 wxTreeCtrl
*result
= 0 ;
14878 PyObject
*swig_obj
[1] ;
14880 if (!args
) SWIG_fail
;
14881 swig_obj
[0] = args
;
14882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14883 if (!SWIG_IsOK(res1
)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14886 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (wxTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
14900 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14903 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14904 return SWIG_Py_Void();
14907 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14908 return SWIG_Python_InitShadowInstance(args
);
14911 SWIGINTERN PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
= 0;
14913 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14914 int arg2
= (int) 0 ;
14915 wxHtmlWindowEvent
*result
= 0 ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char * kwnames
[] = {
14923 (char *) "commandType",(char *) "id", NULL
14926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14929 if (!SWIG_IsOK(ecode1
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14932 arg1
= static_cast< wxEventType
>(val1
);
14935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14936 if (!SWIG_IsOK(ecode2
)) {
14937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14939 arg2
= static_cast< int >(val2
);
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_NEW
| 0 );
14954 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= 0;
14956 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14957 wxString
*arg2
= 0 ;
14960 bool temp2
= false ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char * kwnames
[] = {
14964 (char *) "self",(char *) "url", NULL
14967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
14969 if (!SWIG_IsOK(res1
)) {
14970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14972 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
14974 arg2
= wxString_in_helper(obj1
);
14975 if (arg2
== NULL
) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 (arg1
)->SetURL((wxString
const &)*arg2
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_Py_Void();
14999 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15000 PyObject
*resultobj
= 0;
15001 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
15002 wxString
*result
= 0 ;
15005 PyObject
*swig_obj
[1] ;
15007 if (!args
) SWIG_fail
;
15008 swig_obj
[0] = args
;
15009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
15010 if (!SWIG_IsOK(res1
)) {
15011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15013 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
15018 result
= (wxString
*) &_result_ref
;
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15027 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15036 SWIGINTERN PyObject
*HtmlWindowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15039 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_NewClientData(obj
));
15040 return SWIG_Py_Void();
15043 SWIGINTERN PyObject
*HtmlWindowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15044 return SWIG_Python_InitShadowInstance(args
);
15047 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
= 0;
15049 wxWindow
*arg1
= (wxWindow
*) 0 ;
15051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15053 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15054 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15055 wxHtmlHelpFrame
*result
= 0 ;
15060 bool temp3
= false ;
15065 PyObject
* obj0
= 0 ;
15066 PyObject
* obj1
= 0 ;
15067 PyObject
* obj2
= 0 ;
15068 PyObject
* obj3
= 0 ;
15069 PyObject
* obj4
= 0 ;
15070 char * kwnames
[] = {
15071 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15076 if (!SWIG_IsOK(res1
)) {
15077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15081 if (!SWIG_IsOK(ecode2
)) {
15082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15084 arg2
= static_cast< int >(val2
);
15087 arg3
= wxString_in_helper(obj2
);
15088 if (arg3
== NULL
) SWIG_fail
;
15093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15094 if (!SWIG_IsOK(ecode4
)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15097 arg4
= static_cast< int >(val4
);
15100 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15101 if (!SWIG_IsOK(res5
)) {
15102 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15104 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15107 if (!wxPyCheckForApp()) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15128 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15131 wxHtmlHelpFrame
*result
= 0 ;
15134 PyObject
* obj0
= 0 ;
15135 char * kwnames
[] = {
15136 (char *) "data", NULL
15139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15142 if (!SWIG_IsOK(res1
)) {
15143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15145 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15148 if (!wxPyCheckForApp()) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15161 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
= 0;
15163 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15164 wxWindow
*arg2
= (wxWindow
*) 0 ;
15166 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15167 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15168 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15176 bool temp4
= false ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 PyObject
* obj3
= 0 ;
15183 PyObject
* obj4
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15193 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15195 if (!SWIG_IsOK(res2
)) {
15196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15200 if (!SWIG_IsOK(ecode3
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15203 arg3
= static_cast< int >(val3
);
15206 arg4
= wxString_in_helper(obj3
);
15207 if (arg4
== NULL
) SWIG_fail
;
15212 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15213 if (!SWIG_IsOK(ecode5
)) {
15214 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15216 arg5
= static_cast< int >(val5
);
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15241 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15242 PyObject
*resultobj
= 0;
15243 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15244 wxHtmlHelpData
*result
= 0 ;
15247 PyObject
*swig_obj
[1] ;
15249 if (!args
) SWIG_fail
;
15250 swig_obj
[0] = args
;
15251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15252 if (!SWIG_IsOK(res1
)) {
15253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15255 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15269 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
= 0;
15271 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15272 wxString
*arg2
= 0 ;
15275 bool temp2
= false ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 char * kwnames
[] = {
15279 (char *) "self",(char *) "format", NULL
15282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15284 if (!SWIG_IsOK(res1
)) {
15285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15287 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15289 arg2
= wxString_in_helper(obj1
);
15290 if (arg2
== NULL
) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= SWIG_Py_Void();
15314 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15315 PyObject
*resultobj
= 0;
15316 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15319 PyObject
*swig_obj
[1] ;
15321 if (!args
) SWIG_fail
;
15322 swig_obj
[0] = args
;
15323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15324 if (!SWIG_IsOK(res1
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15327 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 (arg1
)->AddGrabIfNeeded();
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_Py_Void();
15341 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15342 PyObject
*resultobj
= 0;
15343 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15344 wxHtmlHelpController
*result
= 0 ;
15347 PyObject
*swig_obj
[1] ;
15349 if (!args
) SWIG_fail
;
15350 swig_obj
[0] = args
;
15351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15352 if (!SWIG_IsOK(res1
)) {
15353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15355 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15369 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
= 0;
15371 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15372 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char * kwnames
[] = {
15379 (char *) "self",(char *) "controller", NULL
15382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15384 if (!SWIG_IsOK(res1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15387 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15388 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15389 if (!SWIG_IsOK(res2
)) {
15390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 (arg1
)->SetController(arg2
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_Py_Void();
15405 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15406 PyObject
*resultobj
= 0;
15407 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15408 wxHtmlHelpWindow
*result
= 0 ;
15411 PyObject
*swig_obj
[1] ;
15413 if (!args
) SWIG_fail
;
15414 swig_obj
[0] = args
;
15415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15416 if (!SWIG_IsOK(res1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15419 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= wxPyMake_wxObject(result
, 0);
15435 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15438 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15439 return SWIG_Py_Void();
15442 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15443 return SWIG_Python_InitShadowInstance(args
);
15446 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
= 0;
15448 wxWindow
*arg1
= (wxWindow
*) 0 ;
15450 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15451 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15452 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15453 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15454 wxHtmlHelpDialog
*result
= 0 ;
15459 bool temp3
= false ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 PyObject
* obj3
= 0 ;
15468 PyObject
* obj4
= 0 ;
15469 char * kwnames
[] = {
15470 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15475 if (!SWIG_IsOK(res1
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15478 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15480 if (!SWIG_IsOK(ecode2
)) {
15481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15483 arg2
= static_cast< int >(val2
);
15486 arg3
= wxString_in_helper(obj2
);
15487 if (arg3
== NULL
) SWIG_fail
;
15492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15493 if (!SWIG_IsOK(ecode4
)) {
15494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15496 arg4
= static_cast< int >(val4
);
15499 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15500 if (!SWIG_IsOK(res5
)) {
15501 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15503 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15506 if (!wxPyCheckForApp()) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15527 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
= 0;
15529 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15530 wxHtmlHelpDialog
*result
= 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char * kwnames
[] = {
15535 (char *) "data", NULL
15538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15544 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15547 if (!wxPyCheckForApp()) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15560 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15563 wxWindow
*arg2
= (wxWindow
*) 0 ;
15565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15567 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15575 bool temp4
= false ;
15578 PyObject
* obj0
= 0 ;
15579 PyObject
* obj1
= 0 ;
15580 PyObject
* obj2
= 0 ;
15581 PyObject
* obj3
= 0 ;
15582 PyObject
* obj4
= 0 ;
15583 char * kwnames
[] = {
15584 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15592 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15594 if (!SWIG_IsOK(res2
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15599 if (!SWIG_IsOK(ecode3
)) {
15600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15602 arg3
= static_cast< int >(val3
);
15605 arg4
= wxString_in_helper(obj3
);
15606 if (arg4
== NULL
) SWIG_fail
;
15611 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15612 if (!SWIG_IsOK(ecode5
)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15615 arg5
= static_cast< int >(val5
);
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15640 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15641 PyObject
*resultobj
= 0;
15642 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15643 wxHtmlHelpData
*result
= 0 ;
15646 PyObject
*swig_obj
[1] ;
15648 if (!args
) SWIG_fail
;
15649 swig_obj
[0] = args
;
15650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15651 if (!SWIG_IsOK(res1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15654 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15668 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15669 PyObject
*resultobj
= 0;
15670 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15671 wxHtmlHelpController
*result
= 0 ;
15674 PyObject
*swig_obj
[1] ;
15676 if (!args
) SWIG_fail
;
15677 swig_obj
[0] = args
;
15678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15682 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15696 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
= 0;
15698 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15699 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char * kwnames
[] = {
15706 (char *) "self",(char *) "controller", NULL
15709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15714 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15715 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15716 if (!SWIG_IsOK(res2
)) {
15717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 (arg1
)->SetController(arg2
);
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_Py_Void();
15732 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 PyObject
*resultobj
= 0;
15734 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15735 wxHtmlHelpWindow
*result
= 0 ;
15738 PyObject
*swig_obj
[1] ;
15740 if (!args
) SWIG_fail
;
15741 swig_obj
[0] = args
;
15742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15746 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= wxPyMake_wxObject(result
, 0);
15762 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
= 0;
15764 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15765 wxString
*arg2
= 0 ;
15768 bool temp2
= false ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 char * kwnames
[] = {
15772 (char *) "self",(char *) "format", NULL
15775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15777 if (!SWIG_IsOK(res1
)) {
15778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15780 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15782 arg2
= wxString_in_helper(obj1
);
15783 if (arg2
== NULL
) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_Py_Void();
15807 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15810 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
15811 return SWIG_Py_Void();
15814 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 return SWIG_Python_InitShadowInstance(args
);
15818 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15819 PyObject
*resultobj
= 0;
15820 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15821 wxString
*arg2
= 0 ;
15826 bool temp2
= false ;
15830 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
15831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15835 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15837 arg2
= wxString_in_helper(swig_obj
[1]);
15838 if (arg2
== NULL
) SWIG_fail
;
15841 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
15842 if (!SWIG_IsOK(ecode3
)) {
15843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15845 arg3
= static_cast< int >(val3
);
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15870 PyObject
*resultobj
= 0;
15871 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15872 wxString
*arg2
= 0 ;
15876 bool temp2
= false ;
15878 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15883 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15885 arg2
= wxString_in_helper(swig_obj
[1]);
15886 if (arg2
== NULL
) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15912 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
15916 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
15919 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
15922 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
15926 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15931 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
= 0;
15933 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15934 wxString
*arg2
= 0 ;
15935 long arg3
= (long) 0 ;
15938 bool temp2
= false ;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 PyObject
* obj2
= 0 ;
15944 char * kwnames
[] = {
15945 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15950 if (!SWIG_IsOK(res1
)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15953 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15955 arg2
= wxString_in_helper(obj1
);
15956 if (arg2
== NULL
) SWIG_fail
;
15960 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15961 if (!SWIG_IsOK(ecode3
)) {
15962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15964 arg3
= static_cast< long >(val3
);
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_Py_Void();
15987 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= 0;
15989 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15990 wxString
const &arg2_defvalue
= wxEmptyString
;
15991 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15995 bool temp2
= false ;
15996 PyObject
* obj0
= 0 ;
15997 PyObject
* obj1
= 0 ;
15998 char * kwnames
[] = {
15999 (char *) "self",(char *) "file", NULL
16002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16004 if (!SWIG_IsOK(res1
)) {
16005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16007 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16010 arg2
= wxString_in_helper(obj1
);
16011 if (arg2
== NULL
) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16039 PyObject
*resultobj
= 0;
16040 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16044 PyObject
*swig_obj
[1] ;
16046 if (!args
) SWIG_fail
;
16047 swig_obj
[0] = args
;
16048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16049 if (!SWIG_IsOK(res1
)) {
16050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16052 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (bool)(arg1
)->DisplayContents();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16069 PyObject
*resultobj
= 0;
16070 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16078 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16080 if (!SWIG_IsOK(res1
)) {
16081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16083 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16084 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16085 if (!SWIG_IsOK(ecode2
)) {
16086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16088 arg2
= static_cast< int >(val2
);
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (bool)(arg1
)->DisplaySection(arg2
);
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16104 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16105 PyObject
*resultobj
= 0;
16106 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 char * kwnames
[] = {
16116 (char *) "self",(char *) "contextId", NULL
16119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16121 if (!SWIG_IsOK(res1
)) {
16122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16124 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16126 if (!SWIG_IsOK(ecode2
)) {
16127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16129 arg2
= static_cast< int >(val2
);
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16145 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
= 0;
16147 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16148 wxString
*arg2
= 0 ;
16149 wxPoint
*arg3
= 0 ;
16153 bool temp2
= false ;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 PyObject
* obj2
= 0 ;
16158 char * kwnames
[] = {
16159 (char *) "self",(char *) "text",(char *) "pos", NULL
16162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16164 if (!SWIG_IsOK(res1
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16167 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16169 arg2
= wxString_in_helper(obj1
);
16170 if (arg2
== NULL
) SWIG_fail
;
16175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16200 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16201 PyObject
*resultobj
= 0;
16202 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16203 wxString
*arg2
= 0 ;
16207 bool temp2
= false ;
16209 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16211 if (!SWIG_IsOK(res1
)) {
16212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16214 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16216 arg2
= wxString_in_helper(swig_obj
[1]);
16217 if (arg2
== NULL
) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16247 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16253 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16256 if (!_v
) goto check_1
;
16257 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16262 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16266 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16271 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
= 0;
16273 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 char * kwnames
[] = {
16283 (char *) "self",(char *) "blockNo", NULL
16286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16288 if (!SWIG_IsOK(res1
)) {
16289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16291 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16292 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16293 if (!SWIG_IsOK(ecode2
)) {
16294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16296 arg2
= static_cast< long >(val2
);
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16312 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
= 0;
16314 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16315 wxString
*arg2
= 0 ;
16316 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16320 bool temp2
= false ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 PyObject
* obj2
= 0 ;
16326 char * kwnames
[] = {
16327 (char *) "self",(char *) "k",(char *) "mode", NULL
16330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16332 if (!SWIG_IsOK(res1
)) {
16333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16335 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16337 arg2
= wxString_in_helper(obj1
);
16338 if (arg2
== NULL
) SWIG_fail
;
16343 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16344 if (!SWIG_IsOK(res3
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16350 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16352 if (SWIG_IsNewObj(res3
)) delete temp
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16379 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
= 0;
16381 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16382 wxString
*arg2
= 0 ;
16384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16386 bool arg5
= (bool) false ;
16389 bool temp2
= false ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 PyObject
* obj2
= 0 ;
16397 PyObject
* obj3
= 0 ;
16398 PyObject
* obj4
= 0 ;
16399 char * kwnames
[] = {
16400 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16405 if (!SWIG_IsOK(res1
)) {
16406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16408 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16410 arg2
= wxString_in_helper(obj1
);
16411 if (arg2
== NULL
) SWIG_fail
;
16416 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16421 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16425 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16426 if (!SWIG_IsOK(ecode5
)) {
16427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16429 arg5
= static_cast< bool >(val5
);
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_Py_Void();
16452 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
= 0;
16454 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16455 wxSize
*arg2
= (wxSize
*) NULL
;
16456 wxPoint
*arg3
= (wxPoint
*) NULL
;
16457 bool *arg4
= (bool *) NULL
;
16458 wxFrame
*result
= 0 ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 PyObject
* obj2
= 0 ;
16470 PyObject
* obj3
= 0 ;
16471 char * kwnames
[] = {
16472 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16477 if (!SWIG_IsOK(res1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16480 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16483 if (!SWIG_IsOK(res2
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16486 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16489 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16490 if (!SWIG_IsOK(res3
)) {
16491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16493 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16496 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16497 if (!SWIG_IsOK(res4
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16500 arg4
= reinterpret_cast< bool * >(argp4
);
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= wxPyMake_wxObject(result
, 0);
16517 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16518 PyObject
*resultobj
= 0;
16519 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16523 PyObject
*swig_obj
[1] ;
16525 if (!args
) SWIG_fail
;
16526 swig_obj
[0] = args
;
16527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16528 if (!SWIG_IsOK(res1
)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16531 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)(arg1
)->Quit();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16548 PyObject
*resultobj
= 0;
16549 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16552 PyObject
*swig_obj
[1] ;
16554 if (!args
) SWIG_fail
;
16555 swig_obj
[0] = args
;
16556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16557 if (!SWIG_IsOK(res1
)) {
16558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16560 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_Py_Void();
16574 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
= 0;
16576 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16577 wxWindow
*arg2
= (wxWindow
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char * kwnames
[] = {
16585 (char *) "self",(char *) "win", NULL
16588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16590 if (!SWIG_IsOK(res1
)) {
16591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16593 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16595 if (!SWIG_IsOK(res2
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 (arg1
)->SetParentWindow(arg2
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= SWIG_Py_Void();
16612 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16613 PyObject
*resultobj
= 0;
16614 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16615 wxWindow
*result
= 0 ;
16618 PyObject
*swig_obj
[1] ;
16620 if (!args
) SWIG_fail
;
16621 swig_obj
[0] = args
;
16622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16626 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= wxPyMake_wxObject(result
, 0);
16642 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16645 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16646 return SWIG_Py_Void();
16649 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
= 0;
16651 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16652 wxWindow
*arg2
= (wxWindow
*) NULL
;
16653 wxHtmlHelpController
*result
= 0 ;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 char * kwnames
[] = {
16661 (char *) "style",(char *) "parentWindow", NULL
16664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16667 if (!SWIG_IsOK(ecode1
)) {
16668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16670 arg1
= static_cast< int >(val1
);
16673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16674 if (!SWIG_IsOK(res2
)) {
16675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16680 if (!wxPyCheckForApp()) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16693 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 PyObject
*resultobj
= 0;
16695 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16698 PyObject
*swig_obj
[1] ;
16700 if (!args
) SWIG_fail
;
16701 swig_obj
[0] = args
;
16702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16703 if (!SWIG_IsOK(res1
)) {
16704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16706 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_Py_Void();
16721 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16722 PyObject
*resultobj
= 0;
16723 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16724 wxHtmlHelpWindow
*result
= 0 ;
16727 PyObject
*swig_obj
[1] ;
16729 if (!args
) SWIG_fail
;
16730 swig_obj
[0] = args
;
16731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16732 if (!SWIG_IsOK(res1
)) {
16733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16735 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= wxPyMake_wxObject(result
, 0);
16751 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
= 0;
16753 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16754 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 char * kwnames
[] = {
16762 (char *) "self",(char *) "helpWindow", NULL
16765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16767 if (!SWIG_IsOK(res1
)) {
16768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16770 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16772 if (!SWIG_IsOK(res2
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16775 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 (arg1
)->SetHelpWindow(arg2
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_Py_Void();
16789 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16790 PyObject
*resultobj
= 0;
16791 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16792 wxHtmlHelpFrame
*result
= 0 ;
16795 PyObject
*swig_obj
[1] ;
16797 if (!args
) SWIG_fail
;
16798 swig_obj
[0] = args
;
16799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16803 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= wxPyMake_wxObject(result
, 0);
16819 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16820 PyObject
*resultobj
= 0;
16821 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16822 wxHtmlHelpDialog
*result
= 0 ;
16825 PyObject
*swig_obj
[1] ;
16827 if (!args
) SWIG_fail
;
16828 swig_obj
[0] = args
;
16829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16833 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= wxPyMake_wxObject(result
, 0);
16849 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
= 0;
16851 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16852 wxString
*arg2
= 0 ;
16855 bool temp2
= false ;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 char * kwnames
[] = {
16859 (char *) "self",(char *) "format", NULL
16862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16864 if (!SWIG_IsOK(res1
)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16867 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16869 arg2
= wxString_in_helper(obj1
);
16870 if (arg2
== NULL
) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_Py_Void();
16894 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
= 0;
16896 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16897 wxString
*arg2
= 0 ;
16900 bool temp2
= false ;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 char * kwnames
[] = {
16904 (char *) "self",(char *) "path", NULL
16907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16909 if (!SWIG_IsOK(res1
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16912 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16914 arg2
= wxString_in_helper(obj1
);
16915 if (arg2
== NULL
) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 (arg1
)->SetTempDir((wxString
const &)*arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= SWIG_Py_Void();
16939 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= 0;
16941 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16942 wxString
*arg2
= 0 ;
16943 int arg3
= (int) false ;
16947 bool temp2
= false ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 PyObject
* obj2
= 0 ;
16953 char * kwnames
[] = {
16954 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16959 if (!SWIG_IsOK(res1
)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16962 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16964 arg2
= wxString_in_helper(obj1
);
16965 if (arg2
== NULL
) SWIG_fail
;
16969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16970 if (!SWIG_IsOK(ecode3
)) {
16971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16973 arg3
= static_cast< int >(val3
);
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16998 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= 0;
17000 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17001 wxString
*arg2
= 0 ;
17004 bool temp2
= false ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char * kwnames
[] = {
17008 (char *) "self",(char *) "x", NULL
17011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17013 if (!SWIG_IsOK(res1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17016 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17018 arg2
= wxString_in_helper(obj1
);
17019 if (arg2
== NULL
) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 (arg1
)->Display((wxString
const &)*arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= SWIG_Py_Void();
17043 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
= 0;
17045 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 char * kwnames
[] = {
17054 (char *) "self",(char *) "id", NULL
17057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17059 if (!SWIG_IsOK(res1
)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17062 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17064 if (!SWIG_IsOK(ecode2
)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17067 arg2
= static_cast< int >(val2
);
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 (arg1
)->Display(arg2
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= SWIG_Py_Void();
17081 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17082 PyObject
*resultobj
= 0;
17083 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17086 PyObject
*swig_obj
[1] ;
17088 if (!args
) SWIG_fail
;
17089 swig_obj
[0] = args
;
17090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17091 if (!SWIG_IsOK(res1
)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17094 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 (arg1
)->DisplayContents();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= SWIG_Py_Void();
17108 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17109 PyObject
*resultobj
= 0;
17110 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17113 PyObject
*swig_obj
[1] ;
17115 if (!args
) SWIG_fail
;
17116 swig_obj
[0] = args
;
17117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17118 if (!SWIG_IsOK(res1
)) {
17119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17121 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 (arg1
)->DisplayIndex();
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= SWIG_Py_Void();
17135 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
= 0;
17137 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17138 wxString
*arg2
= 0 ;
17142 bool temp2
= false ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 char * kwnames
[] = {
17146 (char *) "self",(char *) "keyword", NULL
17149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17151 if (!SWIG_IsOK(res1
)) {
17152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17154 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17156 arg2
= wxString_in_helper(obj1
);
17157 if (arg2
== NULL
) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17183 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
= 0;
17185 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17186 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17193 bool temp3
= false ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 PyObject
* obj2
= 0 ;
17197 char * kwnames
[] = {
17198 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17203 if (!SWIG_IsOK(res1
)) {
17204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17206 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17208 if (!SWIG_IsOK(res2
)) {
17209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17211 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17214 arg3
= wxString_in_helper(obj2
);
17215 if (arg3
== NULL
) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17240 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
= 0;
17242 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17243 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17244 wxString arg3
= (wxString
) wxPyEmptyString
;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 PyObject
* obj2
= 0 ;
17252 char * kwnames
[] = {
17253 (char *) "self",(char *) "cfg",(char *) "path", NULL
17256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17258 if (!SWIG_IsOK(res1
)) {
17259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17261 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17263 if (!SWIG_IsOK(res2
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17266 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17269 wxString
* sptr
= wxString_in_helper(obj2
);
17270 if (sptr
== NULL
) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->ReadCustomization(arg2
,arg3
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_Py_Void();
17288 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
= 0;
17290 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17291 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17292 wxString arg3
= (wxString
) wxPyEmptyString
;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 PyObject
* obj2
= 0 ;
17300 char * kwnames
[] = {
17301 (char *) "self",(char *) "cfg",(char *) "path", NULL
17304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17306 if (!SWIG_IsOK(res1
)) {
17307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17309 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17311 if (!SWIG_IsOK(res2
)) {
17312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17314 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17317 wxString
* sptr
= wxString_in_helper(obj2
);
17318 if (sptr
== NULL
) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 (arg1
)->WriteCustomization(arg2
,arg3
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_Py_Void();
17336 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17337 PyObject
*resultobj
= 0;
17338 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17341 PyObject
*swig_obj
[1] ;
17343 if (!args
) SWIG_fail
;
17344 swig_obj
[0] = args
;
17345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17349 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 (arg1
)->MakeModalIfNeeded();
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_Py_Void();
17363 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17364 PyObject
*resultobj
= 0;
17365 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17366 wxWindow
*result
= 0 ;
17369 PyObject
*swig_obj
[1] ;
17371 if (!args
) SWIG_fail
;
17372 swig_obj
[0] = args
;
17373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17374 if (!SWIG_IsOK(res1
)) {
17375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17377 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= wxPyMake_wxObject(result
, 0);
17393 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17396 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17397 return SWIG_Py_Void();
17400 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17401 return SWIG_Python_InitShadowInstance(args
);
17404 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
= 0;
17406 wxWindow
*arg1
= (wxWindow
*) 0 ;
17407 wxString
*arg2
= 0 ;
17408 wxString
const &arg3_defvalue
= wxEmptyString
;
17409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17410 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17411 wxHtmlModalHelp
*result
= 0 ;
17414 bool temp2
= false ;
17415 bool temp3
= false ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 PyObject
* obj2
= 0 ;
17421 PyObject
* obj3
= 0 ;
17422 char * kwnames
[] = {
17423 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17431 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17433 arg2
= wxString_in_helper(obj1
);
17434 if (arg2
== NULL
) SWIG_fail
;
17439 arg3
= wxString_in_helper(obj2
);
17440 if (arg3
== NULL
) SWIG_fail
;
17445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17446 if (!SWIG_IsOK(ecode4
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17449 arg4
= static_cast< int >(val4
);
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17480 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17483 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17484 return SWIG_Py_Void();
17487 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17488 return SWIG_Python_InitShadowInstance(args
);
17491 static PyMethodDef SwigMethods
[] = {
17492 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17493 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17494 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17495 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17496 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17497 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17498 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17499 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17500 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17501 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17502 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17503 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17504 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17505 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17506 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17507 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17508 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17509 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17510 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17511 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17512 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17513 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17514 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17515 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17516 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17517 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17518 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17519 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17520 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17521 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17522 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17523 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17524 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17525 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17526 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17527 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17528 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17529 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17530 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17531 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17532 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17533 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17534 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17535 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17536 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17537 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17538 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17539 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17540 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17541 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17542 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17543 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17544 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17545 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17546 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17547 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17548 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17549 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17550 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17551 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17552 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17553 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17554 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17555 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17556 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17557 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17558 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17559 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17560 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17561 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17562 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17563 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17564 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17565 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17566 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17567 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17568 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17569 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17570 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17571 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17572 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17573 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17574 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17575 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17576 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17577 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17578 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17579 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17580 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17581 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17582 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17583 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17584 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17585 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17586 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17587 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17588 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17589 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17590 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17591 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17592 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17593 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17594 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17595 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17596 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17597 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17598 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17599 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17600 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17601 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17602 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17603 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17604 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17605 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17606 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17607 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17608 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17609 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17610 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17611 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17612 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17613 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17614 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17615 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17616 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17617 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17618 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17619 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17620 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17621 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17622 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17623 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17624 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17625 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17626 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17627 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17628 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17629 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17630 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17631 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17632 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17633 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17634 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17635 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17636 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17637 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17638 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17639 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17640 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17641 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17642 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17643 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17644 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17645 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17646 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17647 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17648 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17649 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17650 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17651 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17652 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17653 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17654 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17655 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17656 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17657 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17658 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17659 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17660 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17661 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17662 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17663 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17664 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17665 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17666 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17667 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17668 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17669 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17670 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17671 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17672 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17673 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17674 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17675 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17676 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17677 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17678 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17679 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17680 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17681 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17682 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17683 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17684 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17685 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17686 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17687 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17688 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17689 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17690 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17691 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17692 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17693 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17694 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17695 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17696 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17697 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17698 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17699 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17700 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17701 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17702 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17703 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17704 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17705 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17706 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17707 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17708 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17709 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17710 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17711 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17712 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17713 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17714 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17715 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17716 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17717 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17718 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17719 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17720 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17721 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17722 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17723 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17724 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17725 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17726 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17727 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17728 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17729 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17730 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17731 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17732 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17733 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17734 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17735 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17736 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17737 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17738 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17739 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17740 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17741 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17742 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17743 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17744 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17745 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17746 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17747 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17748 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17749 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17750 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17751 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17752 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17753 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17754 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17755 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17756 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17757 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17758 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17759 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17760 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17761 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17762 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17763 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17764 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17765 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17766 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17767 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17768 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17769 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17770 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17771 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17772 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17773 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17774 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17775 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17776 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17777 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17778 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17779 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17780 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17781 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17782 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17783 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17784 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17785 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17786 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17787 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17788 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17789 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17790 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17791 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17792 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17793 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17794 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17795 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17796 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17797 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17798 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17799 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17800 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17801 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17802 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17803 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17804 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17805 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
17806 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
17807 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
17808 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17809 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17810 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17811 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
17812 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
17813 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17814 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17816 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
17817 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
17818 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17819 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17820 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17821 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17822 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
17823 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
17824 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
17825 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
17826 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
17827 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
17828 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
17829 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
17830 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
17831 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17832 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17833 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
)_wrap_HtmlWindowEvent_GetURL
, METH_O
, NULL
},
17834 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
17835 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit
, METH_VARARGS
, NULL
},
17836 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17837 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17838 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17839 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
17840 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17841 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
17842 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
17843 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17844 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
17845 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
17846 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
17847 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17848 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17849 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17850 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
17851 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
17852 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17853 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
17854 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17855 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
17856 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
17857 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
17858 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17859 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17860 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
17861 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17862 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17863 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
17864 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17865 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17866 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17867 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17868 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
17869 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
17870 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17871 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
17872 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
17873 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17874 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
17875 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
17876 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17877 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
17878 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
17879 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17880 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17881 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17883 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17884 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
17885 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
17886 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17887 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17888 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17889 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17890 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
17891 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
17892 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
17893 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
17894 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17895 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
17896 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
17897 { NULL
, NULL
, 0, NULL
}
17901 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17903 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
17904 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
17906 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
17907 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17909 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
17910 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
17912 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
17913 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
17915 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
17916 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
17918 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
17919 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
17921 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
17922 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
17924 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
17925 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17927 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
17928 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
17930 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
17931 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
17933 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
17934 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17936 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
17937 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17939 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
17940 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
17942 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
17943 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17945 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
17946 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
17948 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
17949 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17951 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
17952 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17954 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
17955 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
17957 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
17958 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
17960 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
17961 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
17963 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
17964 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
17966 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
17967 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
17969 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
17970 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
17972 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
17973 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
17975 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
17976 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
17978 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
17979 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
17981 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
17982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17984 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
17985 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17987 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
17988 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17990 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
17991 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17993 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
17994 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
17996 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
17997 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
17999 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18000 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18002 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18003 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18005 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18006 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18008 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18009 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18011 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18012 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18014 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
18015 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18017 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18018 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18020 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18021 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18023 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18024 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18026 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18027 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18029 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18030 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18032 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18033 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18035 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18036 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18038 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18039 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18041 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18042 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18044 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18045 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18047 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18048 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18050 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18051 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18053 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
18054 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18056 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18057 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18059 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18062 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18065 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18068 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18071 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18072 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18074 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18075 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18077 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18078 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18080 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18083 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18086 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18089 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18092 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18095 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18098 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18101 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18104 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18105 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18107 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18108 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18110 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18113 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18116 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18119 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18120 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18122 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18125 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18126 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18128 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18129 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18131 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18132 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18134 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18135 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18137 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18140 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18141 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18143 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18144 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18146 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18149 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18152 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18153 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18155 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18156 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18158 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18161 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18164 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18167 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18168 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18170 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18173 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18176 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18179 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18182 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18185 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18188 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18191 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18192 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18194 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18197 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18200 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18203 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18206 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18209 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18212 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18215 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18218 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18219 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18221 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18222 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18224 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18225 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18227 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18228 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18230 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18231 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18233 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18234 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18236 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18237 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18239 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18240 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18242 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18243 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18245 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18246 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18248 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18251 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18254 static void *_p_wxEventTo_p_wxObject(void *x
) {
18255 return (void *)((wxObject
*) ((wxEvent
*) x
));
18257 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18260 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18261 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18263 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18264 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18266 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18267 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18269 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18272 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18275 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18276 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18278 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18279 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18281 static void *_p_wxImageTo_p_wxObject(void *x
) {
18282 return (void *)((wxObject
*) ((wxImage
*) x
));
18284 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18285 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18287 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18288 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18290 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18293 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18294 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18296 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18297 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18299 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18302 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18305 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18306 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18308 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18309 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18311 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18314 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18315 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18317 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18318 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18320 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18321 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18323 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18324 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18326 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18329 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18330 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18332 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18333 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18335 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18336 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18338 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18341 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18342 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18344 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18345 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18347 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18348 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18350 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18351 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18353 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18354 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18356 static void *_p_wxControlTo_p_wxObject(void *x
) {
18357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18359 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18362 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18363 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18365 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18366 return (void *)((wxObject
*) ((wxColourData
*) x
));
18368 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18369 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18371 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18372 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18374 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18375 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18377 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18378 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18380 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18381 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18383 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18384 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18386 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18389 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18390 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18392 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18395 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18396 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18398 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18399 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18401 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18402 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18404 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18407 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18408 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18410 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18411 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18413 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18414 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18416 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18419 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18422 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18425 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18428 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18429 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18431 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18432 return (void *)((wxObject
*) ((wxFontData
*) x
));
18434 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18437 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18440 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18443 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18444 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18446 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18449 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18450 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18452 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18453 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18455 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18456 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18458 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18459 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18461 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18462 return (void *)((wxObject
*) ((wxSizer
*) x
));
18464 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18465 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18467 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18468 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18470 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18471 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18473 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18474 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18476 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18477 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18479 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18480 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18482 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18483 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18485 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18486 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18488 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18491 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18492 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18494 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18495 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18497 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18498 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18500 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18501 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18503 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18506 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18507 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18509 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18510 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18512 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18515 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18518 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18521 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18524 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18527 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18528 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18530 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18531 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18533 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18534 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18536 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18537 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18539 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18540 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18542 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18543 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18545 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18546 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18548 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18551 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18554 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18555 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18557 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18558 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18560 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18561 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18563 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18566 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18567 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18569 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18572 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18575 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18576 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18578 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
18579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18581 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18582 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18584 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18587 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18590 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18593 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18596 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18599 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18602 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18605 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18608 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18611 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18614 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18617 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18620 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18623 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18626 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18629 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18630 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18632 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18633 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18635 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18638 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18641 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18644 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18647 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18650 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18653 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18656 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18659 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18660 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18662 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18665 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18666 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18668 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18669 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18671 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18672 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18674 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18675 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18677 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18678 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18680 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18683 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18684 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18686 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18687 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18689 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18690 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18692 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18693 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18695 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18698 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18699 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18701 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18704 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18705 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18707 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18710 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18713 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18714 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18716 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18717 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18719 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18722 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18723 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18725 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18728 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18731 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18732 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18734 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18735 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18737 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18738 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18740 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18743 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18744 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18746 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18747 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18749 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18750 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18752 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18753 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18755 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18756 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18758 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18759 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18761 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18764 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18765 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18767 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18768 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18770 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18771 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18773 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18774 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18776 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18777 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18779 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18780 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18782 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18783 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18785 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18786 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18788 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18789 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18791 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18792 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18794 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18795 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18797 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18798 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18800 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18801 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18803 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18804 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18806 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
18807 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18809 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
18810 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18812 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18813 return (void *)((wxWindow
*) ((wxControl
*) x
));
18815 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18816 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18818 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18819 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18821 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18822 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18824 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18825 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18827 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18828 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18830 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18831 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18833 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18834 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18836 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18837 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18839 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18840 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18842 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18843 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18845 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
18846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18848 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18849 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18851 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18852 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18854 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18855 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18857 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18858 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18860 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18861 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18863 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
18864 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18866 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18867 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18869 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18870 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18872 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
18873 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18875 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18876 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18878 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18879 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18881 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18882 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18884 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18885 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18887 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18888 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18890 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18891 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18893 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18894 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18896 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18897 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18899 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18900 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18902 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18903 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18905 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18906 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18908 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
18909 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
18911 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18912 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18914 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18915 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18917 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18918 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
18920 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18921 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18923 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18924 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18926 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
18927 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
18929 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
18930 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
18932 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
18933 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18935 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18936 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
18938 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18939 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18941 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
18942 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
18944 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
18945 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
18947 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
18948 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
18950 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
18951 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18953 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
18954 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
18956 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
18957 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18959 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
18960 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18962 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
18963 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
18965 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
18966 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18968 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
18969 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
18971 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
18972 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
18974 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18975 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18977 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18978 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18980 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18981 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18983 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
18984 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18986 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18987 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18989 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18990 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18992 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18993 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18995 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18996 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18998 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18999 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19001 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19002 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19004 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19005 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19007 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19008 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19010 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19011 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19013 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19014 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19016 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19017 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19019 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19020 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19022 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19023 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19025 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19026 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19028 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19029 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19031 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19032 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19034 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19035 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19037 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19038 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19040 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19041 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19043 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
19044 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
19046 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19047 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19049 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19050 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19052 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19053 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19054 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
19055 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19056 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19057 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19058 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19059 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19060 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19061 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19062 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19063 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19064 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19065 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19066 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19067 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19068 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19069 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19070 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19071 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19072 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19073 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19074 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19075 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19076 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19077 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19078 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19079 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19080 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19081 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19082 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19083 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19084 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19085 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19086 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19087 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19088 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19089 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19090 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19091 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19092 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19093 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19094 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19095 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19096 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19097 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19102 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19103 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19104 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19105 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19106 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19108 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19109 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19110 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19111 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19112 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19113 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19117 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19121 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19124 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19125 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19126 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19138 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19150 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19154 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19155 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19156 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19157 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19158 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19159 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19160 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19161 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19162 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19163 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19164 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19165 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19166 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19167 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19168 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19169 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19170 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19171 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19172 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19173 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19174 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19175 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19176 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19177 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19178 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19179 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19180 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19181 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19182 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19183 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19184 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19185 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19186 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19187 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19188 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19190 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19191 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19192 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19193 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19194 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19195 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19196 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19197 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19198 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19199 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19200 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19201 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19202 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19203 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19204 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19205 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19206 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19207 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19208 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19209 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19210 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19211 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19212 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19213 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19214 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19215 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19216 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19217 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19218 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19219 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19220 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19221 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19222 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19223 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19224 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19225 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19226 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19229 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19230 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19231 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19232 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19233 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19234 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19235 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19236 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19237 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19238 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19239 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19240 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19241 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19242 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19243 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19244 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19245 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19246 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19247 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19248 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19249 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19251 static swig_type_info
*swig_type_initial
[] = {
19254 &_swigt__p_form_ops_t
,
19256 &_swigt__p_unsigned_char
,
19257 &_swigt__p_unsigned_int
,
19258 &_swigt__p_unsigned_long
,
19259 &_swigt__p_wxANIHandler
,
19260 &_swigt__p_wxAcceleratorTable
,
19261 &_swigt__p_wxActivateEvent
,
19262 &_swigt__p_wxArrayInt
,
19263 &_swigt__p_wxBMPHandler
,
19264 &_swigt__p_wxBitmap
,
19265 &_swigt__p_wxBoxSizer
,
19266 &_swigt__p_wxCURHandler
,
19267 &_swigt__p_wxCalculateLayoutEvent
,
19268 &_swigt__p_wxChildFocusEvent
,
19269 &_swigt__p_wxClipboardTextEvent
,
19270 &_swigt__p_wxCloseEvent
,
19271 &_swigt__p_wxColour
,
19272 &_swigt__p_wxColourData
,
19273 &_swigt__p_wxColourDialog
,
19274 &_swigt__p_wxCommandEvent
,
19275 &_swigt__p_wxConfigBase
,
19276 &_swigt__p_wxContextMenuEvent
,
19277 &_swigt__p_wxControl
,
19278 &_swigt__p_wxControlWithItems
,
19279 &_swigt__p_wxCursor
,
19281 &_swigt__p_wxDateEvent
,
19282 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19283 &_swigt__p_wxDialog
,
19284 &_swigt__p_wxDirDialog
,
19285 &_swigt__p_wxDisplayChangedEvent
,
19286 &_swigt__p_wxDropFilesEvent
,
19287 &_swigt__p_wxDuplexMode
,
19288 &_swigt__p_wxEraseEvent
,
19289 &_swigt__p_wxEvent
,
19290 &_swigt__p_wxEvtHandler
,
19291 &_swigt__p_wxFSFile
,
19292 &_swigt__p_wxFileDialog
,
19293 &_swigt__p_wxFileSystem
,
19294 &_swigt__p_wxFindDialogEvent
,
19295 &_swigt__p_wxFindReplaceData
,
19296 &_swigt__p_wxFindReplaceDialog
,
19297 &_swigt__p_wxFlexGridSizer
,
19298 &_swigt__p_wxFocusEvent
,
19300 &_swigt__p_wxFontData
,
19301 &_swigt__p_wxFontDialog
,
19302 &_swigt__p_wxFrame
,
19303 &_swigt__p_wxGBSizerItem
,
19304 &_swigt__p_wxGIFHandler
,
19305 &_swigt__p_wxGridBagSizer
,
19306 &_swigt__p_wxGridSizer
,
19307 &_swigt__p_wxHelpControllerBase
,
19308 &_swigt__p_wxHelpSearchMode
,
19309 &_swigt__p_wxHtmlBookRecArray
,
19310 &_swigt__p_wxHtmlBookRecord
,
19311 &_swigt__p_wxHtmlCell
,
19312 &_swigt__p_wxHtmlColourCell
,
19313 &_swigt__p_wxHtmlContainerCell
,
19314 &_swigt__p_wxHtmlDCRenderer
,
19315 &_swigt__p_wxHtmlEasyPrinting
,
19316 &_swigt__p_wxHtmlFilter
,
19317 &_swigt__p_wxHtmlFontCell
,
19318 &_swigt__p_wxHtmlHelpController
,
19319 &_swigt__p_wxHtmlHelpData
,
19320 &_swigt__p_wxHtmlHelpDialog
,
19321 &_swigt__p_wxHtmlHelpFrame
,
19322 &_swigt__p_wxHtmlHelpFrameCfg
,
19323 &_swigt__p_wxHtmlHelpWindow
,
19324 &_swigt__p_wxHtmlLinkInfo
,
19325 &_swigt__p_wxHtmlModalHelp
,
19326 &_swigt__p_wxHtmlParser
,
19327 &_swigt__p_wxHtmlPrintout
,
19328 &_swigt__p_wxHtmlRenderingInfo
,
19329 &_swigt__p_wxHtmlRenderingState
,
19330 &_swigt__p_wxHtmlRenderingStyle
,
19331 &_swigt__p_wxHtmlSearchStatus
,
19332 &_swigt__p_wxHtmlSelection
,
19333 &_swigt__p_wxHtmlTag
,
19334 &_swigt__p_wxHtmlTagHandler
,
19335 &_swigt__p_wxHtmlWidgetCell
,
19336 &_swigt__p_wxHtmlWinParser
,
19337 &_swigt__p_wxHtmlWindow
,
19338 &_swigt__p_wxHtmlWindowEvent
,
19339 &_swigt__p_wxHtmlWindowInterface
,
19340 &_swigt__p_wxHtmlWordCell
,
19341 &_swigt__p_wxICOHandler
,
19342 &_swigt__p_wxIconizeEvent
,
19343 &_swigt__p_wxIdleEvent
,
19344 &_swigt__p_wxImage
,
19345 &_swigt__p_wxImageHandler
,
19346 &_swigt__p_wxIndividualLayoutConstraint
,
19347 &_swigt__p_wxInitDialogEvent
,
19348 &_swigt__p_wxJPEGHandler
,
19349 &_swigt__p_wxKeyEvent
,
19350 &_swigt__p_wxLayoutAlgorithm
,
19351 &_swigt__p_wxLayoutConstraints
,
19352 &_swigt__p_wxMDIChildFrame
,
19353 &_swigt__p_wxMDIClientWindow
,
19354 &_swigt__p_wxMDIParentFrame
,
19355 &_swigt__p_wxMaximizeEvent
,
19357 &_swigt__p_wxMenuBar
,
19358 &_swigt__p_wxMenuEvent
,
19359 &_swigt__p_wxMenuItem
,
19360 &_swigt__p_wxMessageDialog
,
19361 &_swigt__p_wxMiniFrame
,
19362 &_swigt__p_wxMouseCaptureChangedEvent
,
19363 &_swigt__p_wxMouseEvent
,
19364 &_swigt__p_wxMoveEvent
,
19365 &_swigt__p_wxMultiChoiceDialog
,
19366 &_swigt__p_wxNavigationKeyEvent
,
19367 &_swigt__p_wxNcPaintEvent
,
19368 &_swigt__p_wxNotifyEvent
,
19369 &_swigt__p_wxObject
,
19370 &_swigt__p_wxPCXHandler
,
19371 &_swigt__p_wxPNGHandler
,
19372 &_swigt__p_wxPNMHandler
,
19373 &_swigt__p_wxPageSetupDialog
,
19374 &_swigt__p_wxPageSetupDialogData
,
19375 &_swigt__p_wxPaintEvent
,
19376 &_swigt__p_wxPaletteChangedEvent
,
19377 &_swigt__p_wxPanel
,
19378 &_swigt__p_wxPaperSize
,
19379 &_swigt__p_wxPasswordEntryDialog
,
19380 &_swigt__p_wxPoint
,
19381 &_swigt__p_wxPopupWindow
,
19382 &_swigt__p_wxPreviewCanvas
,
19383 &_swigt__p_wxPreviewControlBar
,
19384 &_swigt__p_wxPreviewFrame
,
19385 &_swigt__p_wxPrintData
,
19386 &_swigt__p_wxPrintDialog
,
19387 &_swigt__p_wxPrintDialogData
,
19388 &_swigt__p_wxPrintPreview
,
19389 &_swigt__p_wxPrinter
,
19390 &_swigt__p_wxProgressDialog
,
19391 &_swigt__p_wxPyApp
,
19392 &_swigt__p_wxPyCommandEvent
,
19393 &_swigt__p_wxPyEvent
,
19394 &_swigt__p_wxPyHtmlFilter
,
19395 &_swigt__p_wxPyHtmlListBox
,
19396 &_swigt__p_wxPyHtmlTagHandler
,
19397 &_swigt__p_wxPyHtmlWinTagHandler
,
19398 &_swigt__p_wxPyHtmlWindow
,
19399 &_swigt__p_wxPyImageHandler
,
19400 &_swigt__p_wxPyPanel
,
19401 &_swigt__p_wxPyPopupTransientWindow
,
19402 &_swigt__p_wxPyPreviewControlBar
,
19403 &_swigt__p_wxPyPreviewFrame
,
19404 &_swigt__p_wxPyPrintPreview
,
19405 &_swigt__p_wxPyPrintout
,
19406 &_swigt__p_wxPyScrolledWindow
,
19407 &_swigt__p_wxPySizer
,
19408 &_swigt__p_wxPyTaskBarIcon
,
19409 &_swigt__p_wxPyVListBox
,
19410 &_swigt__p_wxPyVScrolledWindow
,
19411 &_swigt__p_wxPyValidator
,
19412 &_swigt__p_wxPyWindow
,
19413 &_swigt__p_wxQueryLayoutInfoEvent
,
19414 &_swigt__p_wxQueryNewPaletteEvent
,
19415 &_swigt__p_wxSashEvent
,
19416 &_swigt__p_wxSashLayoutWindow
,
19417 &_swigt__p_wxSashWindow
,
19418 &_swigt__p_wxScrollEvent
,
19419 &_swigt__p_wxScrollWinEvent
,
19420 &_swigt__p_wxScrolledWindow
,
19421 &_swigt__p_wxSetCursorEvent
,
19422 &_swigt__p_wxShowEvent
,
19423 &_swigt__p_wxSingleChoiceDialog
,
19425 &_swigt__p_wxSizeEvent
,
19426 &_swigt__p_wxSizer
,
19427 &_swigt__p_wxSizerItem
,
19428 &_swigt__p_wxSplashScreen
,
19429 &_swigt__p_wxSplashScreenWindow
,
19430 &_swigt__p_wxSplitterEvent
,
19431 &_swigt__p_wxSplitterWindow
,
19432 &_swigt__p_wxStaticBoxSizer
,
19433 &_swigt__p_wxStatusBar
,
19434 &_swigt__p_wxStdDialogButtonSizer
,
19435 &_swigt__p_wxString
,
19436 &_swigt__p_wxSysColourChangedEvent
,
19437 &_swigt__p_wxTIFFHandler
,
19438 &_swigt__p_wxTaskBarIconEvent
,
19439 &_swigt__p_wxTextEntryDialog
,
19440 &_swigt__p_wxTipWindow
,
19441 &_swigt__p_wxTopLevelWindow
,
19442 &_swigt__p_wxTreeCtrl
,
19443 &_swigt__p_wxUpdateUIEvent
,
19444 &_swigt__p_wxValidator
,
19445 &_swigt__p_wxVisualAttributes
,
19446 &_swigt__p_wxWindow
,
19447 &_swigt__p_wxWindowCreateEvent
,
19448 &_swigt__p_wxWindowDestroyEvent
,
19449 &_swigt__p_wxXPMHandler
,
19452 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19453 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19454 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19455 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19456 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19457 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19458 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19459 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19460 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19461 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19462 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19463 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19464 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19465 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19466 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19467 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19468 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19469 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19470 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19471 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19472 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19473 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19474 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_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}};
19475 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19476 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19477 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19478 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19479 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19480 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19481 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19482 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19483 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19484 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19485 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19486 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19487 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19489 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}};
19490 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19492 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19493 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19500 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19501 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19509 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19516 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19519 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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_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}};
19520 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19552 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_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_wxTipWindow
, _p_wxTipWindowTo_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}};
19553 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19555 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_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}};
19556 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}};
19557 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19560 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}};
19561 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19571 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19575 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}};
19576 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19579 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}};
19580 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19587 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19588 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19591 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}};
19592 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19594 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19598 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19611 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19629 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19631 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_wxTipWindow
, _p_wxTipWindowTo_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_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}};
19632 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19633 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}};
19634 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19638 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}};
19639 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19641 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}};
19642 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}};
19643 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19646 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_wxDirDialog
, _p_wxDirDialogTo_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_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_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}};
19647 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
19648 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19649 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_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_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_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}};
19651 static swig_cast_info
*swig_cast_initial
[] = {
19654 _swigc__p_form_ops_t
,
19656 _swigc__p_unsigned_char
,
19657 _swigc__p_unsigned_int
,
19658 _swigc__p_unsigned_long
,
19659 _swigc__p_wxANIHandler
,
19660 _swigc__p_wxAcceleratorTable
,
19661 _swigc__p_wxActivateEvent
,
19662 _swigc__p_wxArrayInt
,
19663 _swigc__p_wxBMPHandler
,
19664 _swigc__p_wxBitmap
,
19665 _swigc__p_wxBoxSizer
,
19666 _swigc__p_wxCURHandler
,
19667 _swigc__p_wxCalculateLayoutEvent
,
19668 _swigc__p_wxChildFocusEvent
,
19669 _swigc__p_wxClipboardTextEvent
,
19670 _swigc__p_wxCloseEvent
,
19671 _swigc__p_wxColour
,
19672 _swigc__p_wxColourData
,
19673 _swigc__p_wxColourDialog
,
19674 _swigc__p_wxCommandEvent
,
19675 _swigc__p_wxConfigBase
,
19676 _swigc__p_wxContextMenuEvent
,
19677 _swigc__p_wxControl
,
19678 _swigc__p_wxControlWithItems
,
19679 _swigc__p_wxCursor
,
19681 _swigc__p_wxDateEvent
,
19682 _swigc__p_wxDefaultHtmlRenderingStyle
,
19683 _swigc__p_wxDialog
,
19684 _swigc__p_wxDirDialog
,
19685 _swigc__p_wxDisplayChangedEvent
,
19686 _swigc__p_wxDropFilesEvent
,
19687 _swigc__p_wxDuplexMode
,
19688 _swigc__p_wxEraseEvent
,
19690 _swigc__p_wxEvtHandler
,
19691 _swigc__p_wxFSFile
,
19692 _swigc__p_wxFileDialog
,
19693 _swigc__p_wxFileSystem
,
19694 _swigc__p_wxFindDialogEvent
,
19695 _swigc__p_wxFindReplaceData
,
19696 _swigc__p_wxFindReplaceDialog
,
19697 _swigc__p_wxFlexGridSizer
,
19698 _swigc__p_wxFocusEvent
,
19700 _swigc__p_wxFontData
,
19701 _swigc__p_wxFontDialog
,
19703 _swigc__p_wxGBSizerItem
,
19704 _swigc__p_wxGIFHandler
,
19705 _swigc__p_wxGridBagSizer
,
19706 _swigc__p_wxGridSizer
,
19707 _swigc__p_wxHelpControllerBase
,
19708 _swigc__p_wxHelpSearchMode
,
19709 _swigc__p_wxHtmlBookRecArray
,
19710 _swigc__p_wxHtmlBookRecord
,
19711 _swigc__p_wxHtmlCell
,
19712 _swigc__p_wxHtmlColourCell
,
19713 _swigc__p_wxHtmlContainerCell
,
19714 _swigc__p_wxHtmlDCRenderer
,
19715 _swigc__p_wxHtmlEasyPrinting
,
19716 _swigc__p_wxHtmlFilter
,
19717 _swigc__p_wxHtmlFontCell
,
19718 _swigc__p_wxHtmlHelpController
,
19719 _swigc__p_wxHtmlHelpData
,
19720 _swigc__p_wxHtmlHelpDialog
,
19721 _swigc__p_wxHtmlHelpFrame
,
19722 _swigc__p_wxHtmlHelpFrameCfg
,
19723 _swigc__p_wxHtmlHelpWindow
,
19724 _swigc__p_wxHtmlLinkInfo
,
19725 _swigc__p_wxHtmlModalHelp
,
19726 _swigc__p_wxHtmlParser
,
19727 _swigc__p_wxHtmlPrintout
,
19728 _swigc__p_wxHtmlRenderingInfo
,
19729 _swigc__p_wxHtmlRenderingState
,
19730 _swigc__p_wxHtmlRenderingStyle
,
19731 _swigc__p_wxHtmlSearchStatus
,
19732 _swigc__p_wxHtmlSelection
,
19733 _swigc__p_wxHtmlTag
,
19734 _swigc__p_wxHtmlTagHandler
,
19735 _swigc__p_wxHtmlWidgetCell
,
19736 _swigc__p_wxHtmlWinParser
,
19737 _swigc__p_wxHtmlWindow
,
19738 _swigc__p_wxHtmlWindowEvent
,
19739 _swigc__p_wxHtmlWindowInterface
,
19740 _swigc__p_wxHtmlWordCell
,
19741 _swigc__p_wxICOHandler
,
19742 _swigc__p_wxIconizeEvent
,
19743 _swigc__p_wxIdleEvent
,
19745 _swigc__p_wxImageHandler
,
19746 _swigc__p_wxIndividualLayoutConstraint
,
19747 _swigc__p_wxInitDialogEvent
,
19748 _swigc__p_wxJPEGHandler
,
19749 _swigc__p_wxKeyEvent
,
19750 _swigc__p_wxLayoutAlgorithm
,
19751 _swigc__p_wxLayoutConstraints
,
19752 _swigc__p_wxMDIChildFrame
,
19753 _swigc__p_wxMDIClientWindow
,
19754 _swigc__p_wxMDIParentFrame
,
19755 _swigc__p_wxMaximizeEvent
,
19757 _swigc__p_wxMenuBar
,
19758 _swigc__p_wxMenuEvent
,
19759 _swigc__p_wxMenuItem
,
19760 _swigc__p_wxMessageDialog
,
19761 _swigc__p_wxMiniFrame
,
19762 _swigc__p_wxMouseCaptureChangedEvent
,
19763 _swigc__p_wxMouseEvent
,
19764 _swigc__p_wxMoveEvent
,
19765 _swigc__p_wxMultiChoiceDialog
,
19766 _swigc__p_wxNavigationKeyEvent
,
19767 _swigc__p_wxNcPaintEvent
,
19768 _swigc__p_wxNotifyEvent
,
19769 _swigc__p_wxObject
,
19770 _swigc__p_wxPCXHandler
,
19771 _swigc__p_wxPNGHandler
,
19772 _swigc__p_wxPNMHandler
,
19773 _swigc__p_wxPageSetupDialog
,
19774 _swigc__p_wxPageSetupDialogData
,
19775 _swigc__p_wxPaintEvent
,
19776 _swigc__p_wxPaletteChangedEvent
,
19778 _swigc__p_wxPaperSize
,
19779 _swigc__p_wxPasswordEntryDialog
,
19781 _swigc__p_wxPopupWindow
,
19782 _swigc__p_wxPreviewCanvas
,
19783 _swigc__p_wxPreviewControlBar
,
19784 _swigc__p_wxPreviewFrame
,
19785 _swigc__p_wxPrintData
,
19786 _swigc__p_wxPrintDialog
,
19787 _swigc__p_wxPrintDialogData
,
19788 _swigc__p_wxPrintPreview
,
19789 _swigc__p_wxPrinter
,
19790 _swigc__p_wxProgressDialog
,
19792 _swigc__p_wxPyCommandEvent
,
19793 _swigc__p_wxPyEvent
,
19794 _swigc__p_wxPyHtmlFilter
,
19795 _swigc__p_wxPyHtmlListBox
,
19796 _swigc__p_wxPyHtmlTagHandler
,
19797 _swigc__p_wxPyHtmlWinTagHandler
,
19798 _swigc__p_wxPyHtmlWindow
,
19799 _swigc__p_wxPyImageHandler
,
19800 _swigc__p_wxPyPanel
,
19801 _swigc__p_wxPyPopupTransientWindow
,
19802 _swigc__p_wxPyPreviewControlBar
,
19803 _swigc__p_wxPyPreviewFrame
,
19804 _swigc__p_wxPyPrintPreview
,
19805 _swigc__p_wxPyPrintout
,
19806 _swigc__p_wxPyScrolledWindow
,
19807 _swigc__p_wxPySizer
,
19808 _swigc__p_wxPyTaskBarIcon
,
19809 _swigc__p_wxPyVListBox
,
19810 _swigc__p_wxPyVScrolledWindow
,
19811 _swigc__p_wxPyValidator
,
19812 _swigc__p_wxPyWindow
,
19813 _swigc__p_wxQueryLayoutInfoEvent
,
19814 _swigc__p_wxQueryNewPaletteEvent
,
19815 _swigc__p_wxSashEvent
,
19816 _swigc__p_wxSashLayoutWindow
,
19817 _swigc__p_wxSashWindow
,
19818 _swigc__p_wxScrollEvent
,
19819 _swigc__p_wxScrollWinEvent
,
19820 _swigc__p_wxScrolledWindow
,
19821 _swigc__p_wxSetCursorEvent
,
19822 _swigc__p_wxShowEvent
,
19823 _swigc__p_wxSingleChoiceDialog
,
19825 _swigc__p_wxSizeEvent
,
19827 _swigc__p_wxSizerItem
,
19828 _swigc__p_wxSplashScreen
,
19829 _swigc__p_wxSplashScreenWindow
,
19830 _swigc__p_wxSplitterEvent
,
19831 _swigc__p_wxSplitterWindow
,
19832 _swigc__p_wxStaticBoxSizer
,
19833 _swigc__p_wxStatusBar
,
19834 _swigc__p_wxStdDialogButtonSizer
,
19835 _swigc__p_wxString
,
19836 _swigc__p_wxSysColourChangedEvent
,
19837 _swigc__p_wxTIFFHandler
,
19838 _swigc__p_wxTaskBarIconEvent
,
19839 _swigc__p_wxTextEntryDialog
,
19840 _swigc__p_wxTipWindow
,
19841 _swigc__p_wxTopLevelWindow
,
19842 _swigc__p_wxTreeCtrl
,
19843 _swigc__p_wxUpdateUIEvent
,
19844 _swigc__p_wxValidator
,
19845 _swigc__p_wxVisualAttributes
,
19846 _swigc__p_wxWindow
,
19847 _swigc__p_wxWindowCreateEvent
,
19848 _swigc__p_wxWindowDestroyEvent
,
19849 _swigc__p_wxXPMHandler
,
19853 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19855 static swig_const_info swig_const_table
[] = {
19856 {0, 0, 0, 0.0, 0, 0}};
19861 /* -----------------------------------------------------------------------------
19862 * Type initialization:
19863 * This problem is tough by the requirement that no dynamic
19864 * memory is used. Also, since swig_type_info structures store pointers to
19865 * swig_cast_info structures and swig_cast_info structures store pointers back
19866 * to swig_type_info structures, we need some lookup code at initialization.
19867 * The idea is that swig generates all the structures that are needed.
19868 * The runtime then collects these partially filled structures.
19869 * The SWIG_InitializeModule function takes these initial arrays out of
19870 * swig_module, and does all the lookup, filling in the swig_module.types
19871 * array with the correct data and linking the correct swig_cast_info
19872 * structures together.
19874 * The generated swig_type_info structures are assigned staticly to an initial
19875 * array. We just loop though that array, and handle each type individually.
19876 * First we lookup if this type has been already loaded, and if so, use the
19877 * loaded structure instead of the generated one. Then we have to fill in the
19878 * cast linked list. The cast data is initially stored in something like a
19879 * two-dimensional array. Each row corresponds to a type (there are the same
19880 * number of rows as there are in the swig_type_initial array). Each entry in
19881 * a column is one of the swig_cast_info structures for that type.
19882 * The cast_initial array is actually an array of arrays, because each row has
19883 * a variable number of columns. So to actually build the cast linked list,
19884 * we find the array of casts associated with the type, and loop through it
19885 * adding the casts to the list. The one last trick we need to do is making
19886 * sure the type pointer in the swig_cast_info struct is correct.
19888 * First off, we lookup the cast->type name to see if it is already loaded.
19889 * There are three cases to handle:
19890 * 1) If the cast->type has already been loaded AND the type we are adding
19891 * casting info to has not been loaded (it is in this module), THEN we
19892 * replace the cast->type pointer with the type pointer that has already
19894 * 2) If BOTH types (the one we are adding casting info to, and the
19895 * cast->type) are loaded, THEN the cast info has already been loaded by
19896 * the previous module so we just ignore it.
19897 * 3) Finally, if cast->type has not already been loaded, then we add that
19898 * swig_cast_info to the linked list (because the cast->type) pointer will
19900 * ----------------------------------------------------------------------------- */
19910 #define SWIGRUNTIME_DEBUG
19914 SWIG_InitializeModule(void *clientdata
) {
19916 swig_module_info
*module_head
;
19917 static int init_run
= 0;
19919 clientdata
= clientdata
;
19921 if (init_run
) return;
19924 /* Initialize the swig_module */
19925 swig_module
.type_initial
= swig_type_initial
;
19926 swig_module
.cast_initial
= swig_cast_initial
;
19928 /* Try and load any already created modules */
19929 module_head
= SWIG_GetModule(clientdata
);
19931 swig_module
.next
= module_head
->next
;
19932 module_head
->next
= &swig_module
;
19934 /* This is the first module loaded */
19935 swig_module
.next
= &swig_module
;
19936 SWIG_SetModule(clientdata
, &swig_module
);
19939 /* Now work on filling in swig_module.types */
19940 #ifdef SWIGRUNTIME_DEBUG
19941 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
19943 for (i
= 0; i
< swig_module
.size
; ++i
) {
19944 swig_type_info
*type
= 0;
19945 swig_type_info
*ret
;
19946 swig_cast_info
*cast
;
19948 #ifdef SWIGRUNTIME_DEBUG
19949 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
19952 /* if there is another module already loaded */
19953 if (swig_module
.next
!= &swig_module
) {
19954 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
19957 /* Overwrite clientdata field */
19958 #ifdef SWIGRUNTIME_DEBUG
19959 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
19961 if (swig_module
.type_initial
[i
]->clientdata
) {
19962 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
19963 #ifdef SWIGRUNTIME_DEBUG
19964 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
19968 type
= swig_module
.type_initial
[i
];
19971 /* Insert casting types */
19972 cast
= swig_module
.cast_initial
[i
];
19973 while (cast
->type
) {
19974 /* Don't need to add information already in the list */
19976 #ifdef SWIGRUNTIME_DEBUG
19977 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
19979 if (swig_module
.next
!= &swig_module
) {
19980 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
19981 #ifdef SWIGRUNTIME_DEBUG
19982 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
19986 if (type
== swig_module
.type_initial
[i
]) {
19987 #ifdef SWIGRUNTIME_DEBUG
19988 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
19993 /* Check for casting already in the list */
19994 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
19995 #ifdef SWIGRUNTIME_DEBUG
19996 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
19998 if (!ocast
) ret
= 0;
20003 #ifdef SWIGRUNTIME_DEBUG
20004 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20007 type
->cast
->prev
= cast
;
20008 cast
->next
= type
->cast
;
20014 /* Set entry in modules->types array equal to the type */
20015 swig_module
.types
[i
] = type
;
20017 swig_module
.types
[i
] = 0;
20019 #ifdef SWIGRUNTIME_DEBUG
20020 printf("**** SWIG_InitializeModule: Cast List ******\n");
20021 for (i
= 0; i
< swig_module
.size
; ++i
) {
20023 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20024 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20025 while (cast
->type
) {
20026 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20030 printf("---- Total casts: %d\n",j
);
20032 printf("**** SWIG_InitializeModule: Cast List ******\n");
20036 /* This function will propagate the clientdata field of type to
20037 * any new swig_type_info structures that have been added into the list
20038 * of equivalent types. It is like calling
20039 * SWIG_TypeClientData(type, clientdata) a second time.
20042 SWIG_PropagateClientData(void) {
20044 swig_cast_info
*equiv
;
20045 static int init_run
= 0;
20047 if (init_run
) return;
20050 for (i
= 0; i
< swig_module
.size
; i
++) {
20051 if (swig_module
.types
[i
]->clientdata
) {
20052 equiv
= swig_module
.types
[i
]->cast
;
20054 if (!equiv
->converter
) {
20055 if (equiv
->type
&& !equiv
->type
->clientdata
)
20056 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20058 equiv
= equiv
->next
;
20078 /* Python-specific SWIG API */
20079 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20080 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20081 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20083 /* -----------------------------------------------------------------------------
20084 * global variable support code.
20085 * ----------------------------------------------------------------------------- */
20087 typedef struct swig_globalvar
{
20088 char *name
; /* Name of global variable */
20089 PyObject
*(*get_attr
)(void); /* Return the current value */
20090 int (*set_attr
)(PyObject
*); /* Set the value */
20091 struct swig_globalvar
*next
;
20094 typedef struct swig_varlinkobject
{
20096 swig_globalvar
*vars
;
20097 } swig_varlinkobject
;
20099 SWIGINTERN PyObject
*
20100 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20101 return PyString_FromString("<Swig global variables>");
20104 SWIGINTERN PyObject
*
20105 swig_varlink_str(swig_varlinkobject
*v
) {
20106 PyObject
*str
= PyString_FromString("(");
20107 swig_globalvar
*var
;
20108 for (var
= v
->vars
; var
; var
=var
->next
) {
20109 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20110 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20112 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20117 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20118 PyObject
*str
= swig_varlink_str(v
);
20119 fprintf(fp
,"Swig global variables ");
20120 fprintf(fp
,"%s\n", PyString_AsString(str
));
20126 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20127 swig_globalvar
*var
= v
->vars
;
20129 swig_globalvar
*n
= var
->next
;
20136 SWIGINTERN PyObject
*
20137 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20138 PyObject
*res
= NULL
;
20139 swig_globalvar
*var
= v
->vars
;
20141 if (strcmp(var
->name
,n
) == 0) {
20142 res
= (*var
->get_attr
)();
20147 if (res
== NULL
&& !PyErr_Occurred()) {
20148 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20154 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20156 swig_globalvar
*var
= v
->vars
;
20158 if (strcmp(var
->name
,n
) == 0) {
20159 res
= (*var
->set_attr
)(p
);
20164 if (res
== 1 && !PyErr_Occurred()) {
20165 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20170 SWIGINTERN PyTypeObject
*
20171 swig_varlink_type(void) {
20172 static char varlink__doc__
[] = "Swig var link object";
20173 static PyTypeObject varlink_type
;
20174 static int type_init
= 0;
20176 const PyTypeObject tmp
20178 PyObject_HEAD_INIT(NULL
)
20179 0, /* Number of items in variable part (ob_size) */
20180 (char *)"swigvarlink", /* Type name (tp_name) */
20181 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20182 0, /* Itemsize (tp_itemsize) */
20183 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20184 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20185 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20186 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20187 0, /* tp_compare */
20188 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20189 0, /* tp_as_number */
20190 0, /* tp_as_sequence */
20191 0, /* tp_as_mapping */
20194 (reprfunc
)swig_varlink_str
, /* tp_str */
20195 0, /* tp_getattro */
20196 0, /* tp_setattro */
20197 0, /* tp_as_buffer */
20199 varlink__doc__
, /* tp_doc */
20200 0, /* tp_traverse */
20202 0, /* tp_richcompare */
20203 0, /* tp_weaklistoffset */
20204 #if PY_VERSION_HEX >= 0x02020000
20205 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20207 #if PY_VERSION_HEX >= 0x02030000
20210 #ifdef COUNT_ALLOCS
20211 0,0,0,0 /* tp_alloc -> tp_next */
20214 varlink_type
= tmp
;
20215 varlink_type
.ob_type
= &PyType_Type
;
20218 return &varlink_type
;
20221 /* Create a variable linking object for use later */
20222 SWIGINTERN PyObject
*
20223 SWIG_Python_newvarlink(void) {
20224 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20228 return ((PyObject
*) result
);
20232 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20233 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20234 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20236 size_t size
= strlen(name
)+1;
20237 gv
->name
= (char *)malloc(size
);
20239 strncpy(gv
->name
,name
,size
);
20240 gv
->get_attr
= get_attr
;
20241 gv
->set_attr
= set_attr
;
20242 gv
->next
= v
->vars
;
20248 SWIGINTERN PyObject
*
20250 static PyObject
*_SWIG_globals
= 0;
20251 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20252 return _SWIG_globals
;
20255 /* -----------------------------------------------------------------------------
20256 * constants/methods manipulation
20257 * ----------------------------------------------------------------------------- */
20259 /* Install Constants */
20261 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20264 for (i
= 0; constants
[i
].type
; ++i
) {
20265 switch(constants
[i
].type
) {
20266 case SWIG_PY_POINTER
:
20267 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20269 case SWIG_PY_BINARY
:
20270 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20277 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20283 /* -----------------------------------------------------------------------------*/
20284 /* Fix SwigMethods to carry the callback ptrs when needed */
20285 /* -----------------------------------------------------------------------------*/
20288 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20289 swig_const_info
*const_table
,
20290 swig_type_info
**types
,
20291 swig_type_info
**types_initial
) {
20293 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20294 const char *c
= methods
[i
].ml_doc
;
20295 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20297 swig_const_info
*ci
= 0;
20298 const char *name
= c
+ 10;
20299 for (j
= 0; const_table
[j
].type
; ++j
) {
20300 if (strncmp(const_table
[j
].name
, name
,
20301 strlen(const_table
[j
].name
)) == 0) {
20302 ci
= &(const_table
[j
]);
20307 size_t shift
= (ci
->ptype
) - types
;
20308 swig_type_info
*ty
= types_initial
[shift
];
20309 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20310 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20311 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20314 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20316 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20318 strncpy(buff
, "swig_ptr: ", 10);
20320 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20321 methods
[i
].ml_doc
= ndoc
;
20333 /* -----------------------------------------------------------------------------*
20334 * Partial Init method
20335 * -----------------------------------------------------------------------------*/
20340 SWIGEXPORT
void SWIG_init(void) {
20343 /* Fix SwigMethods to carry the callback ptrs when needed */
20344 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20346 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20347 d
= PyModule_GetDict(m
);
20349 SWIG_InitializeModule(0);
20350 SWIG_InstallConstants(d
,swig_const_table
);
20353 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20354 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20355 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20356 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20357 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20358 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20359 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20360 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20361 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20362 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20363 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20364 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20365 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20366 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20367 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20368 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20369 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20370 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20371 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20372 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20373 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20374 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20375 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20376 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1
)));
20377 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2
)));
20378 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3
)));
20379 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4
)));
20380 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5
)));
20381 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6
)));
20382 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7
)));
20383 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20384 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20385 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20386 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20387 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20388 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20389 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20390 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20391 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20392 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20393 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20394 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20395 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20396 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20397 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20398 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20399 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20400 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20401 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20402 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20403 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20404 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20405 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20406 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20407 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20408 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20409 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20410 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20411 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20412 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20413 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20414 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20415 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20416 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20417 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20418 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20419 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20420 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20421 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20422 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20423 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20424 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20425 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20426 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20427 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20428 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20429 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20430 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20431 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20432 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20433 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20434 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20435 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20436 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20437 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20438 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20439 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20440 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20441 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20442 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20443 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20444 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20445 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20446 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20447 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20448 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20449 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20451 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20452 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20453 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20454 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");