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_wxHtmlCellEvent swig_types[60]
2527 #define SWIGTYPE_p_wxHtmlColourCell swig_types[61]
2528 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[62]
2529 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[63]
2530 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[64]
2531 #define SWIGTYPE_p_wxHtmlFilter swig_types[65]
2532 #define SWIGTYPE_p_wxHtmlFontCell swig_types[66]
2533 #define SWIGTYPE_p_wxHtmlHelpController swig_types[67]
2534 #define SWIGTYPE_p_wxHtmlHelpData swig_types[68]
2535 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[69]
2536 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[70]
2537 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[71]
2538 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[72]
2539 #define SWIGTYPE_p_wxHtmlLinkEvent swig_types[73]
2540 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[74]
2541 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[75]
2542 #define SWIGTYPE_p_wxHtmlParser swig_types[76]
2543 #define SWIGTYPE_p_wxHtmlPrintout swig_types[77]
2544 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[78]
2545 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[79]
2546 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[80]
2547 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[81]
2548 #define SWIGTYPE_p_wxHtmlSelection swig_types[82]
2549 #define SWIGTYPE_p_wxHtmlTag swig_types[83]
2550 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[84]
2551 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[85]
2552 #define SWIGTYPE_p_wxHtmlWinParser 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_wxMouseCaptureLostEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMouseEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMoveEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114]
2581 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115]
2582 #define SWIGTYPE_p_wxNcPaintEvent swig_types[116]
2583 #define SWIGTYPE_p_wxNotifyEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[118]
2585 #define SWIGTYPE_p_wxObject swig_types[119]
2586 #define SWIGTYPE_p_wxPCXHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPNGHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPNMHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPageSetupDialog swig_types[123]
2590 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[124]
2591 #define SWIGTYPE_p_wxPaintEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126]
2593 #define SWIGTYPE_p_wxPanel swig_types[127]
2594 #define SWIGTYPE_p_wxPaperSize swig_types[128]
2595 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129]
2596 #define SWIGTYPE_p_wxPoint swig_types[130]
2597 #define SWIGTYPE_p_wxPopupWindow swig_types[131]
2598 #define SWIGTYPE_p_wxPreviewCanvas swig_types[132]
2599 #define SWIGTYPE_p_wxPreviewControlBar swig_types[133]
2600 #define SWIGTYPE_p_wxPreviewFrame swig_types[134]
2601 #define SWIGTYPE_p_wxPrintData swig_types[135]
2602 #define SWIGTYPE_p_wxPrintDialog swig_types[136]
2603 #define SWIGTYPE_p_wxPrintDialogData swig_types[137]
2604 #define SWIGTYPE_p_wxPrintPreview swig_types[138]
2605 #define SWIGTYPE_p_wxPrinter swig_types[139]
2606 #define SWIGTYPE_p_wxProgressDialog swig_types[140]
2607 #define SWIGTYPE_p_wxPyApp swig_types[141]
2608 #define SWIGTYPE_p_wxPyCommandEvent swig_types[142]
2609 #define SWIGTYPE_p_wxPyEvent swig_types[143]
2610 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[144]
2611 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[145]
2612 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[148]
2615 #define SWIGTYPE_p_wxPyImageHandler swig_types[149]
2616 #define SWIGTYPE_p_wxPyPanel swig_types[150]
2617 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151]
2618 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152]
2619 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[153]
2620 #define SWIGTYPE_p_wxPyPrintPreview swig_types[154]
2621 #define SWIGTYPE_p_wxPyPrintout swig_types[155]
2622 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[156]
2623 #define SWIGTYPE_p_wxPySizer swig_types[157]
2624 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158]
2625 #define SWIGTYPE_p_wxPyVListBox swig_types[159]
2626 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[160]
2627 #define SWIGTYPE_p_wxPyValidator swig_types[161]
2628 #define SWIGTYPE_p_wxPyWindow swig_types[162]
2629 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[163]
2630 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSashEvent swig_types[165]
2632 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[166]
2633 #define SWIGTYPE_p_wxSashWindow swig_types[167]
2634 #define SWIGTYPE_p_wxScrollEvent swig_types[168]
2635 #define SWIGTYPE_p_wxScrollWinEvent swig_types[169]
2636 #define SWIGTYPE_p_wxScrolledWindow swig_types[170]
2637 #define SWIGTYPE_p_wxSetCursorEvent swig_types[171]
2638 #define SWIGTYPE_p_wxShowEvent swig_types[172]
2639 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[173]
2640 #define SWIGTYPE_p_wxSize swig_types[174]
2641 #define SWIGTYPE_p_wxSizeEvent swig_types[175]
2642 #define SWIGTYPE_p_wxSizer swig_types[176]
2643 #define SWIGTYPE_p_wxSizerItem swig_types[177]
2644 #define SWIGTYPE_p_wxSplashScreen swig_types[178]
2645 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179]
2646 #define SWIGTYPE_p_wxSplitterEvent swig_types[180]
2647 #define SWIGTYPE_p_wxSplitterWindow swig_types[181]
2648 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[182]
2649 #define SWIGTYPE_p_wxStatusBar swig_types[183]
2650 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[184]
2651 #define SWIGTYPE_p_wxString swig_types[185]
2652 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[186]
2653 #define SWIGTYPE_p_wxTGAHandler swig_types[187]
2654 #define SWIGTYPE_p_wxTIFFHandler swig_types[188]
2655 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[189]
2656 #define SWIGTYPE_p_wxTextEntryDialog swig_types[190]
2657 #define SWIGTYPE_p_wxTipWindow swig_types[191]
2658 #define SWIGTYPE_p_wxTopLevelWindow swig_types[192]
2659 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[193]
2660 #define SWIGTYPE_p_wxValidator swig_types[194]
2661 #define SWIGTYPE_p_wxVisualAttributes swig_types[195]
2662 #define SWIGTYPE_p_wxWindow swig_types[196]
2663 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[197]
2664 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[198]
2665 #define SWIGTYPE_p_wxXPMHandler swig_types[199]
2666 static swig_type_info
*swig_types
[201];
2667 static swig_module_info swig_module
= {swig_types
, 200, 0, 0, 0, 0};
2668 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2669 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2671 /* -------- TYPES TABLE (END) -------- */
2673 #if (PY_VERSION_HEX <= 0x02000000)
2674 # if !defined(SWIG_PYTHON_CLASSIC)
2675 # error "This python version requires to use swig with the '-classic' option"
2678 #if (PY_VERSION_HEX <= 0x02020000)
2679 # error "This python version requires to use swig with the '-nomodern' option"
2681 #if (PY_VERSION_HEX <= 0x02020000)
2682 # error "This python version requires to use swig with the '-nomodernargs' option"
2685 # error "This python version requires to use swig with the '-nofastunpack' option"
2688 /*-----------------------------------------------
2689 @(target):= _html.so
2690 ------------------------------------------------*/
2691 #define SWIG_init init_html
2693 #define SWIG_name "_html"
2695 #define SWIGVERSION 0x010329
2698 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2699 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2702 #include <stdexcept>
2706 class PyObject_ptr
{
2711 PyObject_ptr() :_obj(0)
2715 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2720 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2722 if (initial_ref
) Py_XINCREF(_obj
);
2725 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2727 Py_XINCREF(item
._obj
);
2738 operator PyObject
*() const
2743 PyObject
*operator->() const
2752 struct PyObject_var
: PyObject_ptr
{
2753 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2755 PyObject_var
& operator = (PyObject
* obj
)
2765 #include "wx/wxPython/wxPython.h"
2766 #include "wx/wxPython/pyclasses.h"
2767 #include "wx/wxPython/pyistream.h"
2768 #include "wx/wxPython/printfw.h"
2770 #include <wx/html/htmlwin.h>
2771 #include <wx/html/htmprint.h>
2772 #include <wx/html/helpctrl.h>
2773 #include <wx/html/helpwnd.h>
2774 #include <wx/html/helpfrm.h>
2775 #include <wx/html/helpdlg.h>
2778 static const wxString
wxPyEmptyString(wxEmptyString
);
2779 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2780 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2781 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2783 #define SWIG_From_long PyInt_FromLong
2786 SWIGINTERNINLINE PyObject
*
2787 SWIG_From_int (int value
)
2789 return SWIG_From_long (value
);
2795 # define LLONG_MIN LONG_LONG_MIN
2798 # define LLONG_MAX LONG_LONG_MAX
2801 # define ULLONG_MAX ULONG_LONG_MAX
2806 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2808 if (PyNumber_Check(obj
)) {
2809 if (val
) *val
= PyInt_AsLong(obj
);
2812 return SWIG_TypeError
;
2817 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2820 int res
= SWIG_AsVal_long (obj
, &v
);
2821 if (SWIG_IsOK(res
)) {
2822 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2823 return SWIG_OverflowError
;
2825 if (val
) *val
= static_cast< int >(v
);
2831 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2833 if (sizes
) temp
= int_LIST_helper(sizes
);
2834 self
->SetFonts(normal_face
, fixed_face
, temp
);
2839 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2840 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2842 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2844 wxHtmlParser
* GetParser() { return m_Parser
; }
2845 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2847 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2848 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2853 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2855 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2856 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2859 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2860 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2862 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2864 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2865 void ParseInner(const wxHtmlTag
& tag
)
2866 { wxHtmlWinTagHandler::ParseInner(tag
); }
2868 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2869 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2874 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2876 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2877 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2881 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2883 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2884 m_tagHandlerClass
= thc
;
2885 Py_INCREF(m_tagHandlerClass
);
2886 RegisterModule(this);
2887 wxHtmlWinParser::AddModule(this);
2891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2892 Py_DECREF(m_tagHandlerClass
);
2893 m_tagHandlerClass
= NULL
;
2894 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2895 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2898 wxPyEndBlockThreads(blocked
);
2901 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2902 // Wave our magic wand... (if it works it's a miracle! ;-)
2904 // First, make a new instance of the tag handler
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 PyObject
* arg
= PyTuple_New(0);
2907 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2910 // now figure out where it's C++ object is...
2911 wxPyHtmlWinTagHandler
* thPtr
;
2912 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2913 wxPyEndBlockThreads(blocked
);
2916 wxPyEndBlockThreads(blocked
);
2919 parser
->AddTagHandler(thPtr
);
2922 m_objArray
.Add(obj
);
2926 PyObject
* m_tagHandlerClass
;
2927 wxArrayPtrVoid m_objArray
;
2932 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2933 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2934 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2935 new wxPyHtmlTagsModule(tagHandlerClass
);
2939 SWIGINTERNINLINE PyObject
*
2940 SWIG_From_bool (bool value
)
2942 return PyBool_FromLong(value
? 1 : 0);
2947 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2949 if (obj
== Py_True
) {
2950 if (val
) *val
= true;
2952 } else if (obj
== Py_False
) {
2953 if (val
) *val
= false;
2957 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2958 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2965 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2968 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2969 return SWIG_TypeError
;
2972 *val
= (unsigned long)v
;
2978 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2981 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2982 if (SWIG_IsOK(res
)) {
2983 if ((v
> UINT_MAX
)) {
2984 return SWIG_OverflowError
;
2986 if (val
) *val
= static_cast< unsigned int >(v
);
2993 SWIGINTERNINLINE PyObject
*
2994 SWIG_From_unsigned_SS_long (unsigned long value
)
2996 return (value
> LONG_MAX
) ?
2997 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3001 SWIGINTERNINLINE PyObject
*
3002 SWIG_From_unsigned_SS_int (unsigned int value
)
3004 return SWIG_From_unsigned_SS_long (value
);
3007 // here's the C++ version
3008 class wxPyHtmlFilter
: public wxHtmlFilter
{
3009 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3011 wxPyHtmlFilter() : wxHtmlFilter() {}
3013 // returns True if this filter is able to open&read given file
3014 virtual bool CanRead(const wxFSFile
& file
) const {
3017 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3019 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3020 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3023 wxPyEndBlockThreads(blocked
);
3028 // Reads given file and returns HTML document.
3029 // Returns empty string if opening failed
3030 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3033 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3034 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3035 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3037 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3040 rval
= Py2wxString(ro
);
3044 wxPyEndBlockThreads(blocked
);
3051 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3054 class wxPyHtmlWindow
: public wxHtmlWindow
{
3055 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3057 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3058 const wxPoint
& pos
= wxDefaultPosition
,
3059 const wxSize
& size
= wxDefaultSize
,
3060 long style
= wxHW_DEFAULT_STYLE
,
3061 const wxString
& name
= wxPyHtmlWindowNameStr
)
3062 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3063 wxPyHtmlWindow() : wxHtmlWindow() {};
3065 bool ScrollToAnchor(const wxString
& anchor
) {
3066 return wxHtmlWindow::ScrollToAnchor(anchor
);
3069 bool HasAnchor(const wxString
& anchor
) {
3070 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3074 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3076 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3077 const wxString
& url
,
3078 wxString
*redirect
) const;
3080 DEC_PYCALLBACK__STRING(OnSetTitle
);
3081 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3082 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3087 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3088 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3089 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3090 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3093 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3095 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3096 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3097 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3098 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3101 wxPyEndBlockThreads(blocked
);
3103 wxHtmlWindow::OnLinkClicked(link
);
3107 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3108 const wxString
& url
,
3109 wxString
*redirect
) const {
3111 wxHtmlOpeningStatus rval
;
3112 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3113 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3115 PyObject
* s
= wx2PyString(url
);
3116 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3118 if (PyString_Check(ro
)
3119 #if PYTHON_API_VERSION >= 1009
3120 || PyUnicode_Check(ro
)
3123 *redirect
= Py2wxString(ro
);
3124 rval
= wxHTML_REDIRECT
;
3127 PyObject
* num
= PyNumber_Int(ro
);
3128 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3133 wxPyEndBlockThreads(blocked
);
3135 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3141 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3143 if (sizes
) temp
= int_LIST_helper(sizes
);
3144 self
->SetFonts(normal_face
, fixed_face
, temp
);
3148 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3150 if (sizes
) temp
= int_LIST_helper(sizes
);
3151 self
->SetFonts(normal_face
, fixed_face
, temp
);
3155 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3157 if (sizes
) temp
= int_LIST_helper(sizes
);
3158 self
->SetFonts(normal_face
, fixed_face
, temp
);
3167 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3169 if (PyNumber_Check(obj
)) {
3170 if (val
) *val
= PyFloat_AsDouble(obj
);
3173 return SWIG_TypeError
;
3178 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3181 int res
= SWIG_AsVal_double (obj
, &v
);
3182 if (SWIG_IsOK(res
)) {
3183 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3184 return SWIG_OverflowError
;
3186 if (val
) *val
= static_cast< float >(v
);
3192 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3194 if (sizes
) temp
= int_LIST_helper(sizes
);
3195 self
->SetFonts(normal_face
, fixed_face
, temp
);
3200 typedef wxTreeCtrl wxPyTreeCtrl
;
3205 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3206 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3211 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3212 PyObject
*pyobj
= 0;
3216 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3218 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3225 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3226 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3231 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3232 PyObject
*pyobj
= 0;
3236 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3238 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3245 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3246 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3251 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3252 PyObject
*pyobj
= 0;
3256 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3258 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3265 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
= 0;
3267 wxString
*arg1
= 0 ;
3268 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3269 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3270 wxHtmlLinkInfo
*result
= 0 ;
3271 bool temp1
= false ;
3272 bool temp2
= false ;
3273 PyObject
* obj0
= 0 ;
3274 PyObject
* obj1
= 0 ;
3275 char * kwnames
[] = {
3276 (char *) "href",(char *) "target", NULL
3279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3281 arg1
= wxString_in_helper(obj0
);
3282 if (arg1
== NULL
) SWIG_fail
;
3287 arg2
= wxString_in_helper(obj1
);
3288 if (arg2
== NULL
) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3321 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3322 PyObject
*resultobj
= 0;
3323 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3327 PyObject
*swig_obj
[1] ;
3329 if (!args
) SWIG_fail
;
3331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3332 if (!SWIG_IsOK(res1
)) {
3333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3335 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= (arg1
)->GetHref();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3355 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3356 PyObject
*resultobj
= 0;
3357 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3361 PyObject
*swig_obj
[1] ;
3363 if (!args
) SWIG_fail
;
3365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3366 if (!SWIG_IsOK(res1
)) {
3367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3369 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (arg1
)->GetTarget();
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3389 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3390 PyObject
*resultobj
= 0;
3391 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3392 wxMouseEvent
*result
= 0 ;
3395 PyObject
*swig_obj
[1] ;
3397 if (!args
) SWIG_fail
;
3399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3400 if (!SWIG_IsOK(res1
)) {
3401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3403 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3411 resultobj
= wxPyMake_wxObject(result
, 0);
3419 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3420 PyObject
*resultobj
= 0;
3421 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3422 wxHtmlCell
*result
= 0 ;
3425 PyObject
*swig_obj
[1] ;
3427 if (!args
) SWIG_fail
;
3429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3430 if (!SWIG_IsOK(res1
)) {
3431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3433 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3447 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
= 0;
3449 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3450 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3457 char * kwnames
[] = {
3458 (char *) "self",(char *) "e", NULL
3461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3463 if (!SWIG_IsOK(res1
)) {
3464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3466 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3468 if (!SWIG_IsOK(res2
)) {
3469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3471 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_Py_Void();
3485 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
= 0;
3487 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3488 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3495 char * kwnames
[] = {
3496 (char *) "self",(char *) "e", NULL
3499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3501 if (!SWIG_IsOK(res1
)) {
3502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3504 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3506 if (!SWIG_IsOK(res2
)) {
3507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3509 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_Py_Void();
3523 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3526 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3527 return SWIG_Py_Void();
3530 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3531 return SWIG_Python_InitShadowInstance(args
);
3534 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3535 PyObject
*resultobj
= 0;
3536 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3540 PyObject
*swig_obj
[1] ;
3542 if (!args
) SWIG_fail
;
3544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3545 if (!SWIG_IsOK(res1
)) {
3546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3548 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (arg1
)->GetName();
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3568 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
= 0;
3570 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3571 wxString
*arg2
= 0 ;
3575 bool temp2
= false ;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3578 char * kwnames
[] = {
3579 (char *) "self",(char *) "par", NULL
3582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3584 if (!SWIG_IsOK(res1
)) {
3585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3587 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3589 arg2
= wxString_in_helper(obj1
);
3590 if (arg2
== NULL
) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3616 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
= 0;
3618 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3619 wxString
*arg2
= 0 ;
3620 int arg3
= (int) false ;
3624 bool temp2
= false ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3629 PyObject
* obj2
= 0 ;
3630 char * kwnames
[] = {
3631 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3636 if (!SWIG_IsOK(res1
)) {
3637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3639 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3641 arg2
= wxString_in_helper(obj1
);
3642 if (arg2
== NULL
) SWIG_fail
;
3646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3647 if (!SWIG_IsOK(ecode3
)) {
3648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3650 arg3
= static_cast< int >(val3
);
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3679 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3685 PyObject
*swig_obj
[1] ;
3687 if (!args
) SWIG_fail
;
3689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3690 if (!SWIG_IsOK(res1
)) {
3691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3693 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (arg1
)->GetAllParams();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3713 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3714 PyObject
*resultobj
= 0;
3715 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3719 PyObject
*swig_obj
[1] ;
3721 if (!args
) SWIG_fail
;
3723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3724 if (!SWIG_IsOK(res1
)) {
3725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3727 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= (bool)(arg1
)->HasEnding();
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3743 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3744 PyObject
*resultobj
= 0;
3745 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3749 PyObject
*swig_obj
[1] ;
3751 if (!args
) SWIG_fail
;
3753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3754 if (!SWIG_IsOK(res1
)) {
3755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3757 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (int)(arg1
)->GetBeginPos();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_From_int(static_cast< int >(result
));
3771 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3772 PyObject
*resultobj
= 0;
3773 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3777 PyObject
*swig_obj
[1] ;
3779 if (!args
) SWIG_fail
;
3781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3782 if (!SWIG_IsOK(res1
)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3785 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (int)(arg1
)->GetEndPos1();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= SWIG_From_int(static_cast< int >(result
));
3799 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3800 PyObject
*resultobj
= 0;
3801 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3805 PyObject
*swig_obj
[1] ;
3807 if (!args
) SWIG_fail
;
3809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3810 if (!SWIG_IsOK(res1
)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3813 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (int)(arg1
)->GetEndPos2();
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_From_int(static_cast< int >(result
));
3827 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3830 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3831 return SWIG_Py_Void();
3834 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
= 0;
3836 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3837 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3843 PyObject
* obj1
= 0 ;
3844 char * kwnames
[] = {
3845 (char *) "self",(char *) "fs", NULL
3848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3850 if (!SWIG_IsOK(res1
)) {
3851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3853 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3855 if (!SWIG_IsOK(res2
)) {
3856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3858 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->SetFS(arg2
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_Py_Void();
3872 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3873 PyObject
*resultobj
= 0;
3874 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3875 wxFileSystem
*result
= 0 ;
3878 PyObject
*swig_obj
[1] ;
3880 if (!args
) SWIG_fail
;
3882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3883 if (!SWIG_IsOK(res1
)) {
3884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3886 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (wxFileSystem
*)(arg1
)->GetFS();
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= wxPyMake_wxObject(result
, 0);
3902 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
= 0;
3904 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3905 wxString
*arg2
= 0 ;
3906 wxObject
*result
= 0 ;
3909 bool temp2
= false ;
3910 PyObject
* obj0
= 0 ;
3911 PyObject
* obj1
= 0 ;
3912 char * kwnames
[] = {
3913 (char *) "self",(char *) "source", NULL
3916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3918 if (!SWIG_IsOK(res1
)) {
3919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3921 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3923 arg2
= wxString_in_helper(obj1
);
3924 if (arg2
== NULL
) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3934 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3950 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
= 0;
3952 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3953 wxString
*arg2
= 0 ;
3956 bool temp2
= false ;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3959 char * kwnames
[] = {
3960 (char *) "self",(char *) "source", NULL
3963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3965 if (!SWIG_IsOK(res1
)) {
3966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3968 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3970 arg2
= wxString_in_helper(obj1
);
3971 if (arg2
== NULL
) SWIG_fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 (arg1
)->InitParser((wxString
const &)*arg2
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= SWIG_Py_Void();
3995 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3996 PyObject
*resultobj
= 0;
3997 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4000 PyObject
*swig_obj
[1] ;
4002 if (!args
) SWIG_fail
;
4004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4005 if (!SWIG_IsOK(res1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4008 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->DoneParser();
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_Py_Void();
4022 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
= 0;
4024 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4034 PyObject
* obj1
= 0 ;
4035 PyObject
* obj2
= 0 ;
4036 char * kwnames
[] = {
4037 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4042 if (!SWIG_IsOK(res1
)) {
4043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4045 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4047 if (!SWIG_IsOK(ecode2
)) {
4048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4050 arg2
= static_cast< int >(val2
);
4051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4052 if (!SWIG_IsOK(ecode3
)) {
4053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4055 arg3
= static_cast< int >(val3
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 (arg1
)->DoParsing(arg2
,arg3
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_Py_Void();
4069 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4082 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 (arg1
)->StopParsing();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= SWIG_Py_Void();
4096 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
= 0;
4098 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4099 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4104 PyObject
* obj0
= 0 ;
4105 PyObject
* obj1
= 0 ;
4106 char * kwnames
[] = {
4107 (char *) "self",(char *) "handler", NULL
4110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4112 if (!SWIG_IsOK(res1
)) {
4113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4115 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4116 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4117 if (!SWIG_IsOK(res2
)) {
4118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4120 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 (arg1
)->AddTagHandler(arg2
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= SWIG_Py_Void();
4134 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4135 PyObject
*resultobj
= 0;
4136 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4137 wxString
*result
= 0 ;
4140 PyObject
*swig_obj
[1] ;
4142 if (!args
) SWIG_fail
;
4144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4145 if (!SWIG_IsOK(res1
)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4148 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (wxString
*)(arg1
)->GetSource();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4159 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4168 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
= 0;
4170 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4171 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4180 char * kwnames
[] = {
4181 (char *) "self",(char *) "handler",(char *) "tags", NULL
4184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4186 if (!SWIG_IsOK(res1
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4189 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4191 if (!SWIG_IsOK(res2
)) {
4192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4194 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4196 wxString
* sptr
= wxString_in_helper(obj2
);
4197 if (sptr
== NULL
) SWIG_fail
;
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 (arg1
)->PushTagHandler(arg2
,arg3
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= SWIG_Py_Void();
4214 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4215 PyObject
*resultobj
= 0;
4216 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4219 PyObject
*swig_obj
[1] ;
4221 if (!args
) SWIG_fail
;
4223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4224 if (!SWIG_IsOK(res1
)) {
4225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4227 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 (arg1
)->PopTagHandler();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_Py_Void();
4241 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4244 wxHtmlTag
*arg2
= 0 ;
4250 PyObject
* obj0
= 0 ;
4251 PyObject
* obj1
= 0 ;
4252 char * kwnames
[] = {
4253 (char *) "self",(char *) "tag", NULL
4256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4258 if (!SWIG_IsOK(res1
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4261 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4263 if (!SWIG_IsOK(res2
)) {
4264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4269 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4289 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4292 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4293 return SWIG_Py_Void();
4296 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
= 0;
4298 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4299 wxHtmlWinParser
*result
= 0 ;
4302 PyObject
* obj0
= 0 ;
4303 char * kwnames
[] = {
4304 (char *) "wnd", NULL
4307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4310 if (!SWIG_IsOK(res1
)) {
4311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4313 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4328 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
= 0;
4330 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4331 wxDC
*arg2
= (wxDC
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4338 char * kwnames
[] = {
4339 (char *) "self",(char *) "dc", NULL
4342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4344 if (!SWIG_IsOK(res1
)) {
4345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4347 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4349 if (!SWIG_IsOK(res2
)) {
4350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4352 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 (arg1
)->SetDC(arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= SWIG_Py_Void();
4366 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4367 PyObject
*resultobj
= 0;
4368 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4372 PyObject
*swig_obj
[1] ;
4374 if (!args
) SWIG_fail
;
4376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4377 if (!SWIG_IsOK(res1
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4380 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (wxDC
*)(arg1
)->GetDC();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4396 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4397 PyObject
*resultobj
= 0;
4398 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4402 PyObject
*swig_obj
[1] ;
4404 if (!args
) SWIG_fail
;
4406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4407 if (!SWIG_IsOK(res1
)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4410 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 result
= (int)(arg1
)->GetCharHeight();
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= SWIG_From_int(static_cast< int >(result
));
4424 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4425 PyObject
*resultobj
= 0;
4426 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4430 PyObject
*swig_obj
[1] ;
4432 if (!args
) SWIG_fail
;
4434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4435 if (!SWIG_IsOK(res1
)) {
4436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4438 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (int)(arg1
)->GetCharWidth();
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_From_int(static_cast< int >(result
));
4452 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4453 PyObject
*resultobj
= 0;
4454 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4455 wxPyHtmlWindow
*result
= 0 ;
4458 PyObject
*swig_obj
[1] ;
4460 if (!args
) SWIG_fail
;
4462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4463 if (!SWIG_IsOK(res1
)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4466 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4482 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4483 PyObject
*resultobj
= 0;
4484 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4485 wxHtmlWindowInterface
*result
= 0 ;
4488 PyObject
*swig_obj
[1] ;
4490 if (!args
) SWIG_fail
;
4492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4493 if (!SWIG_IsOK(res1
)) {
4494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4496 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4510 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
= 0;
4512 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4515 PyObject
*arg4
= (PyObject
*) NULL
;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4520 PyObject
* obj2
= 0 ;
4521 PyObject
* obj3
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4531 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4533 wxString
* sptr
= wxString_in_helper(obj1
);
4534 if (sptr
== NULL
) SWIG_fail
;
4539 wxString
* sptr
= wxString_in_helper(obj2
);
4540 if (sptr
== NULL
) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= SWIG_Py_Void();
4560 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
= 0;
4562 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4563 int arg2
= (int) -1 ;
4564 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4566 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4567 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4572 bool temp3
= false ;
4573 bool temp4
= false ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4576 PyObject
* obj2
= 0 ;
4577 PyObject
* obj3
= 0 ;
4578 char * kwnames
[] = {
4579 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4584 if (!SWIG_IsOK(res1
)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4587 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4590 if (!SWIG_IsOK(ecode2
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4593 arg2
= static_cast< int >(val2
);
4597 arg3
= wxString_in_helper(obj2
);
4598 if (arg3
== NULL
) SWIG_fail
;
4604 arg4
= wxString_in_helper(obj3
);
4605 if (arg4
== NULL
) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= SWIG_Py_Void();
4638 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4639 PyObject
*resultobj
= 0;
4640 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4641 wxHtmlContainerCell
*result
= 0 ;
4644 PyObject
*swig_obj
[1] ;
4646 if (!args
) SWIG_fail
;
4648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4649 if (!SWIG_IsOK(res1
)) {
4650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4652 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4666 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4667 PyObject
*resultobj
= 0;
4668 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4669 wxHtmlContainerCell
*result
= 0 ;
4672 PyObject
*swig_obj
[1] ;
4674 if (!args
) SWIG_fail
;
4676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4677 if (!SWIG_IsOK(res1
)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4680 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4694 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
= 0;
4696 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4697 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4698 wxHtmlContainerCell
*result
= 0 ;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "c", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4714 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4719 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4733 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4734 PyObject
*resultobj
= 0;
4735 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4736 wxHtmlContainerCell
*result
= 0 ;
4739 PyObject
*swig_obj
[1] ;
4741 if (!args
) SWIG_fail
;
4743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4744 if (!SWIG_IsOK(res1
)) {
4745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4747 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4761 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4762 PyObject
*resultobj
= 0;
4763 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4767 PyObject
*swig_obj
[1] ;
4769 if (!args
) SWIG_fail
;
4771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4772 if (!SWIG_IsOK(res1
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4775 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 result
= (int)(arg1
)->GetFontSize();
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_From_int(static_cast< int >(result
));
4789 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
= 0;
4791 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4797 PyObject
* obj0
= 0 ;
4798 PyObject
* obj1
= 0 ;
4799 char * kwnames
[] = {
4800 (char *) "self",(char *) "s", NULL
4803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4805 if (!SWIG_IsOK(res1
)) {
4806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4808 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4810 if (!SWIG_IsOK(ecode2
)) {
4811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4813 arg2
= static_cast< int >(val2
);
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 (arg1
)->SetFontSize(arg2
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_Py_Void();
4827 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4841 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (int)(arg1
)->GetFontBold();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_From_int(static_cast< int >(result
));
4855 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
= 0;
4857 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4865 char * kwnames
[] = {
4866 (char *) "self",(char *) "x", NULL
4869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4871 if (!SWIG_IsOK(res1
)) {
4872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4874 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4876 if (!SWIG_IsOK(ecode2
)) {
4877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4879 arg2
= static_cast< int >(val2
);
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 (arg1
)->SetFontBold(arg2
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_Py_Void();
4893 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4894 PyObject
*resultobj
= 0;
4895 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4899 PyObject
*swig_obj
[1] ;
4901 if (!args
) SWIG_fail
;
4903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4904 if (!SWIG_IsOK(res1
)) {
4905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4907 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (int)(arg1
)->GetFontItalic();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_From_int(static_cast< int >(result
));
4921 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
= 0;
4923 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4931 char * kwnames
[] = {
4932 (char *) "self",(char *) "x", NULL
4935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4937 if (!SWIG_IsOK(res1
)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4940 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4942 if (!SWIG_IsOK(ecode2
)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4945 arg2
= static_cast< int >(val2
);
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 (arg1
)->SetFontItalic(arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_Py_Void();
4959 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4960 PyObject
*resultobj
= 0;
4961 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4965 PyObject
*swig_obj
[1] ;
4967 if (!args
) SWIG_fail
;
4969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4970 if (!SWIG_IsOK(res1
)) {
4971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4973 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 result
= (int)(arg1
)->GetFontUnderlined();
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_From_int(static_cast< int >(result
));
4987 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
= 0;
4989 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4995 PyObject
* obj0
= 0 ;
4996 PyObject
* obj1
= 0 ;
4997 char * kwnames
[] = {
4998 (char *) "self",(char *) "x", NULL
5001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5006 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5008 if (!SWIG_IsOK(ecode2
)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5011 arg2
= static_cast< int >(val2
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 (arg1
)->SetFontUnderlined(arg2
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_Py_Void();
5025 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5026 PyObject
*resultobj
= 0;
5027 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5031 PyObject
*swig_obj
[1] ;
5033 if (!args
) SWIG_fail
;
5035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5036 if (!SWIG_IsOK(res1
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5039 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (int)(arg1
)->GetFontFixed();
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= SWIG_From_int(static_cast< int >(result
));
5053 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
= 0;
5055 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5063 char * kwnames
[] = {
5064 (char *) "self",(char *) "x", NULL
5067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5069 if (!SWIG_IsOK(res1
)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5072 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5074 if (!SWIG_IsOK(ecode2
)) {
5075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5077 arg2
= static_cast< int >(val2
);
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->SetFontFixed(arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_Py_Void();
5091 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5097 PyObject
*swig_obj
[1] ;
5099 if (!args
) SWIG_fail
;
5101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5102 if (!SWIG_IsOK(res1
)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5105 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (int)(arg1
)->GetAlign();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_From_int(static_cast< int >(result
));
5119 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
= 0;
5121 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5129 char * kwnames
[] = {
5130 (char *) "self",(char *) "a", NULL
5133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5138 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5140 if (!SWIG_IsOK(ecode2
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5143 arg2
= static_cast< int >(val2
);
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetAlign(arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_Py_Void();
5157 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5158 PyObject
*resultobj
= 0;
5159 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5163 PyObject
*swig_obj
[1] ;
5165 if (!args
) SWIG_fail
;
5167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5168 if (!SWIG_IsOK(res1
)) {
5169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5171 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (arg1
)->GetLinkColor();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5185 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5188 wxColour
*arg2
= 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5194 char * kwnames
[] = {
5195 (char *) "self",(char *) "clr", NULL
5198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5203 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_Py_Void();
5221 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5227 PyObject
*swig_obj
[1] ;
5229 if (!args
) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5235 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (arg1
)->GetActualColor();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5249 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
= 0;
5251 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5252 wxColour
*arg2
= 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5258 char * kwnames
[] = {
5259 (char *) "self",(char *) "clr", NULL
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5267 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_Py_Void();
5285 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5288 wxString
*arg2
= 0 ;
5291 bool temp2
= false ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 char * kwnames
[] = {
5295 (char *) "self",(char *) "link", NULL
5298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5303 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5305 arg2
= wxString_in_helper(obj1
);
5306 if (arg2
== NULL
) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 (arg1
)->SetLink((wxString
const &)*arg2
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_Py_Void();
5330 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5331 PyObject
*resultobj
= 0;
5332 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5333 wxFont
*result
= 0 ;
5336 PyObject
*swig_obj
[1] ;
5338 if (!args
) SWIG_fail
;
5340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5341 if (!SWIG_IsOK(res1
)) {
5342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5344 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5358 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5359 PyObject
*resultobj
= 0;
5360 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5361 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5364 PyObject
*swig_obj
[1] ;
5366 if (!args
) SWIG_fail
;
5368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5369 if (!SWIG_IsOK(res1
)) {
5370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5372 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (arg1
)->GetLink();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5386 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5389 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5390 return SWIG_Py_Void();
5393 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 return SWIG_Python_InitShadowInstance(args
);
5397 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5398 PyObject
*resultobj
= 0;
5399 wxPyHtmlTagHandler
*result
= 0 ;
5401 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5415 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
= 0;
5417 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5418 PyObject
*arg2
= (PyObject
*) 0 ;
5419 PyObject
*arg3
= (PyObject
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5424 PyObject
* obj2
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "self",(char *) "self",(char *) "_class", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5431 if (!SWIG_IsOK(res1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5434 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_Py_Void();
5450 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
= 0;
5452 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5453 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5460 char * kwnames
[] = {
5461 (char *) "self",(char *) "parser", NULL
5464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5466 if (!SWIG_IsOK(res1
)) {
5467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5469 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5471 if (!SWIG_IsOK(res2
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5474 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 (arg1
)->SetParser(arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_Py_Void();
5488 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5489 PyObject
*resultobj
= 0;
5490 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5491 wxHtmlParser
*result
= 0 ;
5494 PyObject
*swig_obj
[1] ;
5496 if (!args
) SWIG_fail
;
5498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5499 if (!SWIG_IsOK(res1
)) {
5500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5502 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5516 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
= 0;
5518 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5519 wxHtmlTag
*arg2
= 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5526 char * kwnames
[] = {
5527 (char *) "self",(char *) "tag", NULL
5530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5532 if (!SWIG_IsOK(res1
)) {
5533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5535 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5537 if (!SWIG_IsOK(res2
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5543 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= SWIG_Py_Void();
5557 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5560 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5561 return SWIG_Py_Void();
5564 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5565 return SWIG_Python_InitShadowInstance(args
);
5568 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5569 PyObject
*resultobj
= 0;
5570 wxPyHtmlWinTagHandler
*result
= 0 ;
5572 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5586 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5589 PyObject
*arg2
= (PyObject
*) 0 ;
5590 PyObject
*arg3
= (PyObject
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5594 PyObject
* obj1
= 0 ;
5595 PyObject
* obj2
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "self",(char *) "_class", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5605 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= SWIG_Py_Void();
5621 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
= 0;
5623 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5624 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5631 char * kwnames
[] = {
5632 (char *) "self",(char *) "parser", NULL
5635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5637 if (!SWIG_IsOK(res1
)) {
5638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5640 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5642 if (!SWIG_IsOK(res2
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5645 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 (arg1
)->SetParser(arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_Py_Void();
5659 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5660 PyObject
*resultobj
= 0;
5661 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5662 wxHtmlWinParser
*result
= 0 ;
5665 PyObject
*swig_obj
[1] ;
5667 if (!args
) SWIG_fail
;
5669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5670 if (!SWIG_IsOK(res1
)) {
5671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5673 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5687 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
= 0;
5689 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5690 wxHtmlTag
*arg2
= 0 ;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5697 char * kwnames
[] = {
5698 (char *) "self",(char *) "tag", NULL
5701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5703 if (!SWIG_IsOK(res1
)) {
5704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5706 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5708 if (!SWIG_IsOK(res2
)) {
5709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5714 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= SWIG_Py_Void();
5728 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5731 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5732 return SWIG_Py_Void();
5735 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5736 return SWIG_Python_InitShadowInstance(args
);
5739 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
= 0;
5741 PyObject
*arg1
= (PyObject
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 char * kwnames
[] = {
5744 (char *) "tagHandlerClass", NULL
5747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 wxHtmlWinParser_AddTagHandler(arg1
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= SWIG_Py_Void();
5762 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5763 PyObject
*resultobj
= 0;
5764 wxHtmlSelection
*result
= 0 ;
5766 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5780 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5781 PyObject
*resultobj
= 0;
5782 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5785 PyObject
*swig_obj
[1] ;
5787 if (!args
) SWIG_fail
;
5789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5790 if (!SWIG_IsOK(res1
)) {
5791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5793 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= SWIG_Py_Void();
5808 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
= 0;
5810 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5812 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5814 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5824 PyObject
* obj1
= 0 ;
5825 PyObject
* obj2
= 0 ;
5826 PyObject
* obj3
= 0 ;
5827 PyObject
* obj4
= 0 ;
5828 char * kwnames
[] = {
5829 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5834 if (!SWIG_IsOK(res1
)) {
5835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5837 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5842 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5843 if (!SWIG_IsOK(res3
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5846 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5849 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5851 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5852 if (!SWIG_IsOK(res5
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5855 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= SWIG_Py_Void();
5869 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
= 0;
5871 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5872 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5873 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 PyObject
* obj2
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5892 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5894 if (!SWIG_IsOK(res2
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5897 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5899 if (!SWIG_IsOK(res3
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5902 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= SWIG_Py_Void();
5916 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5917 PyObject
*resultobj
= 0;
5918 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5919 wxHtmlCell
*result
= 0 ;
5922 PyObject
*swig_obj
[1] ;
5924 if (!args
) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5930 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= wxPyMake_wxObject(result
, 0);
5946 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5947 PyObject
*resultobj
= 0;
5948 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5949 wxHtmlCell
*result
= 0 ;
5952 PyObject
*swig_obj
[1] ;
5954 if (!args
) SWIG_fail
;
5956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5957 if (!SWIG_IsOK(res1
)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5960 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= wxPyMake_wxObject(result
, 0);
5976 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5977 PyObject
*resultobj
= 0;
5978 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5979 wxPoint
*result
= 0 ;
5982 PyObject
*swig_obj
[1] ;
5984 if (!args
) SWIG_fail
;
5986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5987 if (!SWIG_IsOK(res1
)) {
5988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5990 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5995 result
= (wxPoint
*) &_result_ref
;
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6007 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6008 PyObject
*resultobj
= 0;
6009 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6010 wxPoint
*result
= 0 ;
6013 PyObject
*swig_obj
[1] ;
6015 if (!args
) SWIG_fail
;
6017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6018 if (!SWIG_IsOK(res1
)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6021 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6026 result
= (wxPoint
*) &_result_ref
;
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6038 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6039 PyObject
*resultobj
= 0;
6040 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6041 wxPoint
*result
= 0 ;
6044 PyObject
*swig_obj
[1] ;
6046 if (!args
) SWIG_fail
;
6048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6049 if (!SWIG_IsOK(res1
)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6052 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6057 result
= (wxPoint
*) &_result_ref
;
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6069 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6070 PyObject
*resultobj
= 0;
6071 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6072 wxPoint
*result
= 0 ;
6075 PyObject
*swig_obj
[1] ;
6077 if (!args
) SWIG_fail
;
6079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6080 if (!SWIG_IsOK(res1
)) {
6081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6083 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6088 result
= (wxPoint
*) &_result_ref
;
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6100 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
= 0;
6102 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6109 char * kwnames
[] = {
6110 (char *) "self",(char *) "pos", NULL
6113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6115 if (!SWIG_IsOK(res1
)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6118 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_Py_Void();
6136 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
= 0;
6138 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 char * kwnames
[] = {
6146 (char *) "self",(char *) "pos", NULL
6149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6151 if (!SWIG_IsOK(res1
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6154 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= SWIG_Py_Void();
6172 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6173 PyObject
*resultobj
= 0;
6174 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6177 PyObject
*swig_obj
[1] ;
6179 if (!args
) SWIG_fail
;
6181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6182 if (!SWIG_IsOK(res1
)) {
6183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6185 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 (arg1
)->ClearPrivPos();
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_Py_Void();
6199 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6200 PyObject
*resultobj
= 0;
6201 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6205 PyObject
*swig_obj
[1] ;
6207 if (!args
) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6213 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6227 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6230 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6231 return SWIG_Py_Void();
6234 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 return SWIG_Python_InitShadowInstance(args
);
6238 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6239 PyObject
*resultobj
= 0;
6240 wxHtmlRenderingState
*result
= 0 ;
6242 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6256 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6257 PyObject
*resultobj
= 0;
6258 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6261 PyObject
*swig_obj
[1] ;
6263 if (!args
) SWIG_fail
;
6265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6266 if (!SWIG_IsOK(res1
)) {
6267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6269 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= SWIG_Py_Void();
6284 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
= 0;
6286 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6287 wxHtmlSelectionState arg2
;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6294 char * kwnames
[] = {
6295 (char *) "self",(char *) "s", NULL
6298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6300 if (!SWIG_IsOK(res1
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6303 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6305 if (!SWIG_IsOK(ecode2
)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6308 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 (arg1
)->SetSelectionState(arg2
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_Py_Void();
6322 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6323 PyObject
*resultobj
= 0;
6324 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6325 wxHtmlSelectionState result
;
6328 PyObject
*swig_obj
[1] ;
6330 if (!args
) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6336 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_From_int(static_cast< int >(result
));
6350 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
= 0;
6352 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6353 wxColour
*arg2
= 0 ;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 char * kwnames
[] = {
6360 (char *) "self",(char *) "c", NULL
6363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6365 if (!SWIG_IsOK(res1
)) {
6366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6368 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= SWIG_Py_Void();
6386 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6387 PyObject
*resultobj
= 0;
6388 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6389 wxColour
*result
= 0 ;
6392 PyObject
*swig_obj
[1] ;
6394 if (!args
) SWIG_fail
;
6396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6397 if (!SWIG_IsOK(res1
)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6400 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6405 result
= (wxColour
*) &_result_ref
;
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6417 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
= 0;
6419 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6420 wxColour
*arg2
= 0 ;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6426 char * kwnames
[] = {
6427 (char *) "self",(char *) "c", NULL
6430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6432 if (!SWIG_IsOK(res1
)) {
6433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6435 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_Py_Void();
6453 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6456 wxColour
*result
= 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6467 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6472 result
= (wxColour
*) &_result_ref
;
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6484 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6487 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6488 return SWIG_Py_Void();
6491 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 return SWIG_Python_InitShadowInstance(args
);
6495 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
= 0;
6497 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6498 wxColour
*arg2
= 0 ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6505 char * kwnames
[] = {
6506 (char *) "self",(char *) "clr", NULL
6509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6511 if (!SWIG_IsOK(res1
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6514 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6517 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6532 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
= 0;
6534 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6535 wxColour
*arg2
= 0 ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6542 char * kwnames
[] = {
6543 (char *) "self",(char *) "clr", NULL
6546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6551 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6554 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6569 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6572 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6573 return SWIG_Py_Void();
6576 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6579 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6580 return SWIG_Py_Void();
6583 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6584 PyObject
*resultobj
= 0;
6585 wxHtmlRenderingInfo
*result
= 0 ;
6587 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6601 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6602 PyObject
*resultobj
= 0;
6603 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6606 PyObject
*swig_obj
[1] ;
6608 if (!args
) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6614 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= SWIG_Py_Void();
6629 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
= 0;
6631 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6632 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 char * kwnames
[] = {
6640 (char *) "self",(char *) "s", NULL
6643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6645 if (!SWIG_IsOK(res1
)) {
6646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6648 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6650 if (!SWIG_IsOK(res2
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6653 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 (arg1
)->SetSelection(arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_Py_Void();
6667 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6668 PyObject
*resultobj
= 0;
6669 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6670 wxHtmlSelection
*result
= 0 ;
6673 PyObject
*swig_obj
[1] ;
6675 if (!args
) SWIG_fail
;
6677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6678 if (!SWIG_IsOK(res1
)) {
6679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6681 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6695 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
= 0;
6697 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6698 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6705 char * kwnames
[] = {
6706 (char *) "self",(char *) "style", NULL
6709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6711 if (!SWIG_IsOK(res1
)) {
6712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6714 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6716 if (!SWIG_IsOK(res2
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6719 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 (arg1
)->SetStyle(arg2
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_Py_Void();
6733 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6734 PyObject
*resultobj
= 0;
6735 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6736 wxHtmlRenderingStyle
*result
= 0 ;
6739 PyObject
*swig_obj
[1] ;
6741 if (!args
) SWIG_fail
;
6743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6744 if (!SWIG_IsOK(res1
)) {
6745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6747 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6752 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6764 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6765 PyObject
*resultobj
= 0;
6766 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6767 wxHtmlRenderingState
*result
= 0 ;
6770 PyObject
*swig_obj
[1] ;
6772 if (!args
) SWIG_fail
;
6774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6775 if (!SWIG_IsOK(res1
)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6778 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6783 result
= (wxHtmlRenderingState
*) &_result_ref
;
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6795 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6798 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6799 return SWIG_Py_Void();
6802 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6803 return SWIG_Python_InitShadowInstance(args
);
6806 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6807 PyObject
*resultobj
= 0;
6808 wxHtmlCell
*result
= 0 ;
6810 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (wxHtmlCell
*)new wxHtmlCell();
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6824 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6825 PyObject
*resultobj
= 0;
6826 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6829 PyObject
*swig_obj
[1] ;
6831 if (!args
) SWIG_fail
;
6833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6834 if (!SWIG_IsOK(res1
)) {
6835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6837 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_Py_Void();
6852 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6853 PyObject
*resultobj
= 0;
6854 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6858 PyObject
*swig_obj
[1] ;
6860 if (!args
) SWIG_fail
;
6862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6863 if (!SWIG_IsOK(res1
)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6866 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (int)(arg1
)->GetPosX();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_From_int(static_cast< int >(result
));
6880 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6881 PyObject
*resultobj
= 0;
6882 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6886 PyObject
*swig_obj
[1] ;
6888 if (!args
) SWIG_fail
;
6890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6891 if (!SWIG_IsOK(res1
)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6894 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (int)(arg1
)->GetPosY();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_From_int(static_cast< int >(result
));
6908 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6909 PyObject
*resultobj
= 0;
6910 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6914 PyObject
*swig_obj
[1] ;
6916 if (!args
) SWIG_fail
;
6918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6919 if (!SWIG_IsOK(res1
)) {
6920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6922 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (int)(arg1
)->GetWidth();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_From_int(static_cast< int >(result
));
6936 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6937 PyObject
*resultobj
= 0;
6938 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6942 PyObject
*swig_obj
[1] ;
6944 if (!args
) SWIG_fail
;
6946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6947 if (!SWIG_IsOK(res1
)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6950 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (int)(arg1
)->GetHeight();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_From_int(static_cast< int >(result
));
6964 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6965 PyObject
*resultobj
= 0;
6966 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6970 PyObject
*swig_obj
[1] ;
6972 if (!args
) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6978 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (int)(arg1
)->GetDescent();
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_From_int(static_cast< int >(result
));
6992 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6993 PyObject
*resultobj
= 0;
6994 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6998 PyObject
*swig_obj
[1] ;
7000 if (!args
) SWIG_fail
;
7002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7003 if (!SWIG_IsOK(res1
)) {
7004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7006 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_From_int(static_cast< int >(result
));
7020 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7021 PyObject
*resultobj
= 0;
7022 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7023 wxString
*result
= 0 ;
7026 PyObject
*swig_obj
[1] ;
7028 if (!args
) SWIG_fail
;
7030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7031 if (!SWIG_IsOK(res1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7034 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7039 result
= (wxString
*) &_result_ref
;
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7048 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7057 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= 0;
7059 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7060 wxString
*arg2
= 0 ;
7063 bool temp2
= false ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7066 char * kwnames
[] = {
7067 (char *) "self",(char *) "id", NULL
7070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7072 if (!SWIG_IsOK(res1
)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7075 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7077 arg2
= wxString_in_helper(obj1
);
7078 if (arg2
== NULL
) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 (arg1
)->SetId((wxString
const &)*arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
= 0;
7104 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7105 int arg2
= (int) 0 ;
7106 int arg3
= (int) 0 ;
7107 wxHtmlLinkInfo
*result
= 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7116 PyObject
* obj2
= 0 ;
7117 char * kwnames
[] = {
7118 (char *) "self",(char *) "x",(char *) "y", NULL
7121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7123 if (!SWIG_IsOK(res1
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7126 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7129 if (!SWIG_IsOK(ecode2
)) {
7130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7132 arg2
= static_cast< int >(val2
);
7135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7136 if (!SWIG_IsOK(ecode3
)) {
7137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7139 arg3
= static_cast< int >(val3
);
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7154 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7155 PyObject
*resultobj
= 0;
7156 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7157 wxHtmlCell
*result
= 0 ;
7160 PyObject
*swig_obj
[1] ;
7162 if (!args
) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7168 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= wxPyMake_wxObject(result
, 0);
7184 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7185 PyObject
*resultobj
= 0;
7186 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7187 wxHtmlContainerCell
*result
= 0 ;
7190 PyObject
*swig_obj
[1] ;
7192 if (!args
) SWIG_fail
;
7194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7195 if (!SWIG_IsOK(res1
)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7198 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7212 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7213 PyObject
*resultobj
= 0;
7214 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7215 wxHtmlCell
*result
= 0 ;
7218 PyObject
*swig_obj
[1] ;
7220 if (!args
) SWIG_fail
;
7222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7223 if (!SWIG_IsOK(res1
)) {
7224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7226 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= wxPyMake_wxObject(result
, 0);
7242 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
= 0;
7244 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7245 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7253 char * kwnames
[] = {
7254 (char *) "self",(char *) "window", NULL
7257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7259 if (!SWIG_IsOK(res1
)) {
7260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7262 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7264 if (!SWIG_IsOK(res2
)) {
7265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7267 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7281 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7282 PyObject
*resultobj
= 0;
7283 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7287 PyObject
*swig_obj
[1] ;
7289 if (!args
) SWIG_fail
;
7291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7292 if (!SWIG_IsOK(res1
)) {
7293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7295 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7309 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 PyObject
*resultobj
= 0;
7311 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7315 PyObject
*swig_obj
[1] ;
7317 if (!args
) SWIG_fail
;
7319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7320 if (!SWIG_IsOK(res1
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7323 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7339 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
= 0;
7341 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7342 wxHtmlLinkInfo
*arg2
= 0 ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7349 char * kwnames
[] = {
7350 (char *) "self",(char *) "link", NULL
7353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7355 if (!SWIG_IsOK(res1
)) {
7356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7358 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7360 if (!SWIG_IsOK(res2
)) {
7361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7366 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_Py_Void();
7380 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
= 0;
7382 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7383 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7388 char * kwnames
[] = {
7389 (char *) "self",(char *) "cell", NULL
7392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7393 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7394 if (!SWIG_IsOK(res1
)) {
7395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7397 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7398 if (!SWIG_IsOK(res2
)) {
7399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 (arg1
)->SetNext(arg2
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_Py_Void();
7414 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
= 0;
7416 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7417 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj1
= 0 ;
7424 char * kwnames
[] = {
7425 (char *) "self",(char *) "p", NULL
7428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7430 if (!SWIG_IsOK(res1
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7433 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7435 if (!SWIG_IsOK(res2
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7438 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 (arg1
)->SetParent(arg2
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_Py_Void();
7452 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
= 0;
7454 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7466 char * kwnames
[] = {
7467 (char *) "self",(char *) "x",(char *) "y", NULL
7470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7472 if (!SWIG_IsOK(res1
)) {
7473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7475 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7477 if (!SWIG_IsOK(ecode2
)) {
7478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7480 arg2
= static_cast< int >(val2
);
7481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7482 if (!SWIG_IsOK(ecode3
)) {
7483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7485 arg3
= static_cast< int >(val3
);
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 (arg1
)->SetPos(arg2
,arg3
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= SWIG_Py_Void();
7499 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
= 0;
7501 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7509 char * kwnames
[] = {
7510 (char *) "self",(char *) "w", NULL
7513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7518 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7520 if (!SWIG_IsOK(ecode2
)) {
7521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7523 arg2
= static_cast< int >(val2
);
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 (arg1
)->Layout(arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_Py_Void();
7537 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= 0;
7539 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7545 wxHtmlRenderingInfo
*arg7
= 0 ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7562 PyObject
* obj2
= 0 ;
7563 PyObject
* obj3
= 0 ;
7564 PyObject
* obj4
= 0 ;
7565 PyObject
* obj5
= 0 ;
7566 PyObject
* obj6
= 0 ;
7567 char * kwnames
[] = {
7568 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7573 if (!SWIG_IsOK(res1
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7576 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7578 if (!SWIG_IsOK(res2
)) {
7579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7584 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7586 if (!SWIG_IsOK(ecode3
)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7589 arg3
= static_cast< int >(val3
);
7590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7591 if (!SWIG_IsOK(ecode4
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7594 arg4
= static_cast< int >(val4
);
7595 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7596 if (!SWIG_IsOK(ecode5
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7599 arg5
= static_cast< int >(val5
);
7600 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7601 if (!SWIG_IsOK(ecode6
)) {
7602 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7604 arg6
= static_cast< int >(val6
);
7605 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7606 if (!SWIG_IsOK(res7
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7612 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_Py_Void();
7626 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
= 0;
7628 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7632 wxHtmlRenderingInfo
*arg5
= 0 ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 PyObject
* obj2
= 0 ;
7646 PyObject
* obj3
= 0 ;
7647 PyObject
* obj4
= 0 ;
7648 char * kwnames
[] = {
7649 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7654 if (!SWIG_IsOK(res1
)) {
7655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7657 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7659 if (!SWIG_IsOK(res2
)) {
7660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7665 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7667 if (!SWIG_IsOK(ecode3
)) {
7668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7670 arg3
= static_cast< int >(val3
);
7671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7672 if (!SWIG_IsOK(ecode4
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7675 arg4
= static_cast< int >(val4
);
7676 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7677 if (!SWIG_IsOK(res5
)) {
7678 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7683 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_Py_Void();
7697 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
= 0;
7699 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7701 void *arg3
= (void *) 0 ;
7702 wxHtmlCell
*result
= 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 PyObject
* obj2
= 0 ;
7711 char * kwnames
[] = {
7712 (char *) "self",(char *) "condition",(char *) "param", NULL
7715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7720 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7722 if (!SWIG_IsOK(ecode2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7725 arg2
= static_cast< int >(val2
);
7726 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7727 if (!SWIG_IsOK(res3
)) {
7728 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= wxPyMake_wxObject(result
, 0);
7745 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
= 0;
7747 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7748 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7750 wxMouseEvent
*arg4
= 0 ;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7761 PyObject
* obj2
= 0 ;
7762 PyObject
* obj3
= 0 ;
7763 char * kwnames
[] = {
7764 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7769 if (!SWIG_IsOK(res1
)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7772 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7774 if (!SWIG_IsOK(res2
)) {
7775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7777 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7782 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7783 if (!SWIG_IsOK(res4
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7789 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7805 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
= 0;
7807 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7815 char * kwnames
[] = {
7816 (char *) "self",(char *) "can", NULL
7819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7821 if (!SWIG_IsOK(res1
)) {
7822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7824 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7825 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7826 if (!SWIG_IsOK(ecode2
)) {
7827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7829 arg2
= static_cast< bool >(val2
);
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_Py_Void();
7843 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7844 PyObject
*resultobj
= 0;
7845 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7849 PyObject
*swig_obj
[1] ;
7851 if (!args
) SWIG_fail
;
7853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7854 if (!SWIG_IsOK(res1
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7857 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7873 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7874 PyObject
*resultobj
= 0;
7875 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7879 PyObject
*swig_obj
[1] ;
7881 if (!args
) SWIG_fail
;
7883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7884 if (!SWIG_IsOK(res1
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7887 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7903 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
= 0;
7905 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7908 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7909 wxHtmlCell
*result
= 0 ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7920 PyObject
* obj2
= 0 ;
7921 PyObject
* obj3
= 0 ;
7922 char * kwnames
[] = {
7923 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7928 if (!SWIG_IsOK(res1
)) {
7929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7931 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7933 if (!SWIG_IsOK(ecode2
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7936 arg2
= static_cast< int >(val2
);
7937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7938 if (!SWIG_IsOK(ecode3
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7941 arg3
= static_cast< int >(val3
);
7943 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7944 if (!SWIG_IsOK(ecode4
)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7947 arg4
= static_cast< unsigned int >(val4
);
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= wxPyMake_wxObject(result
, 0);
7964 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
= 0;
7966 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7967 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj1
= 0 ;
7975 char * kwnames
[] = {
7976 (char *) "self",(char *) "rootCell", NULL
7979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7984 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7987 if (!SWIG_IsOK(res2
)) {
7988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7990 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8005 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 PyObject
*resultobj
= 0;
8007 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8008 wxHtmlCell
*result
= 0 ;
8011 PyObject
*swig_obj
[1] ;
8013 if (!args
) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8019 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= wxPyMake_wxObject(result
, 0);
8035 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 PyObject
*resultobj
= 0;
8037 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8038 wxHtmlCell
*result
= 0 ;
8041 PyObject
*swig_obj
[1] ;
8043 if (!args
) SWIG_fail
;
8045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8046 if (!SWIG_IsOK(res1
)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8049 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= wxPyMake_wxObject(result
, 0);
8065 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 PyObject
*resultobj
= 0;
8067 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8068 wxHtmlCell
*result
= 0 ;
8071 PyObject
*swig_obj
[1] ;
8073 if (!args
) SWIG_fail
;
8075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8076 if (!SWIG_IsOK(res1
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8079 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= wxPyMake_wxObject(result
, 0);
8095 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8096 PyObject
*resultobj
= 0;
8097 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8098 unsigned int result
;
8101 PyObject
*swig_obj
[1] ;
8103 if (!args
) SWIG_fail
;
8105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8106 if (!SWIG_IsOK(res1
)) {
8107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8109 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8123 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
= 0;
8125 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8126 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 char * kwnames
[] = {
8135 (char *) "self",(char *) "cell", NULL
8138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8140 if (!SWIG_IsOK(res1
)) {
8141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8143 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8145 if (!SWIG_IsOK(res2
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8148 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8164 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
= 0;
8166 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8167 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 char * kwnames
[] = {
8176 (char *) "self",(char *) "sel", NULL
8179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8181 if (!SWIG_IsOK(res1
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8184 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8186 if (!SWIG_IsOK(res2
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8189 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8209 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8212 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8213 return SWIG_Py_Void();
8216 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8217 return SWIG_Python_InitShadowInstance(args
);
8220 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
= 0;
8222 wxString
*arg1
= 0 ;
8224 wxHtmlWordCell
*result
= 0 ;
8225 bool temp1
= false ;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8230 char * kwnames
[] = {
8231 (char *) "word",(char *) "dc", NULL
8234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8236 arg1
= wxString_in_helper(obj0
);
8237 if (arg1
== NULL
) SWIG_fail
;
8240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8241 if (!SWIG_IsOK(res2
)) {
8242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8247 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8269 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
= 0;
8271 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8272 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8280 char * kwnames
[] = {
8281 (char *) "self",(char *) "sel", NULL
8284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8286 if (!SWIG_IsOK(res1
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8289 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8291 if (!SWIG_IsOK(res2
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8294 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8314 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8315 PyObject
*resultobj
= 0;
8316 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8320 PyObject
*swig_obj
[1] ;
8322 if (!args
) SWIG_fail
;
8324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8325 if (!SWIG_IsOK(res1
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8328 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8344 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= 0;
8346 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8347 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "self",(char *) "cell", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8360 if (!SWIG_IsOK(res1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8363 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8365 if (!SWIG_IsOK(res2
)) {
8366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8368 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 (arg1
)->SetPreviousWord(arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= SWIG_Py_Void();
8382 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8385 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8386 return SWIG_Py_Void();
8389 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8390 return SWIG_Python_InitShadowInstance(args
);
8393 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8396 wxHtmlContainerCell
*result
= 0 ;
8399 PyObject
* obj0
= 0 ;
8400 char * kwnames
[] = {
8401 (char *) "parent", NULL
8404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8409 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8423 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
= 0;
8425 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8426 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8430 PyObject
* obj0
= 0 ;
8431 PyObject
* obj1
= 0 ;
8432 char * kwnames
[] = {
8433 (char *) "self",(char *) "cell", NULL
8436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8441 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8442 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8443 if (!SWIG_IsOK(res2
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 (arg1
)->InsertCell(arg2
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_Py_Void();
8459 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
= 0;
8461 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 char * kwnames
[] = {
8470 (char *) "self",(char *) "al", NULL
8473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8475 if (!SWIG_IsOK(res1
)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8478 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8480 if (!SWIG_IsOK(ecode2
)) {
8481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8483 arg2
= static_cast< int >(val2
);
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 (arg1
)->SetAlignHor(arg2
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_Py_Void();
8497 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8498 PyObject
*resultobj
= 0;
8499 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8503 PyObject
*swig_obj
[1] ;
8505 if (!args
) SWIG_fail
;
8507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8508 if (!SWIG_IsOK(res1
)) {
8509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8511 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (int)(arg1
)->GetAlignHor();
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_From_int(static_cast< int >(result
));
8525 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
= 0;
8527 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8533 PyObject
* obj0
= 0 ;
8534 PyObject
* obj1
= 0 ;
8535 char * kwnames
[] = {
8536 (char *) "self",(char *) "al", NULL
8539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8541 if (!SWIG_IsOK(res1
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8544 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8546 if (!SWIG_IsOK(ecode2
)) {
8547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8549 arg2
= static_cast< int >(val2
);
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 (arg1
)->SetAlignVer(arg2
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_Py_Void();
8563 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8564 PyObject
*resultobj
= 0;
8565 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8569 PyObject
*swig_obj
[1] ;
8571 if (!args
) SWIG_fail
;
8573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8574 if (!SWIG_IsOK(res1
)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8577 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (int)(arg1
)->GetAlignVer();
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= SWIG_From_int(static_cast< int >(result
));
8591 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
= 0;
8593 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8596 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8607 PyObject
* obj2
= 0 ;
8608 PyObject
* obj3
= 0 ;
8609 char * kwnames
[] = {
8610 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8615 if (!SWIG_IsOK(res1
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8618 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8620 if (!SWIG_IsOK(ecode2
)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8623 arg2
= static_cast< int >(val2
);
8624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8625 if (!SWIG_IsOK(ecode3
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8628 arg3
= static_cast< int >(val3
);
8630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8631 if (!SWIG_IsOK(ecode4
)) {
8632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8634 arg4
= static_cast< int >(val4
);
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_Py_Void();
8649 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
= 0;
8651 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8660 char * kwnames
[] = {
8661 (char *) "self",(char *) "ind", NULL
8664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8666 if (!SWIG_IsOK(res1
)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8669 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8671 if (!SWIG_IsOK(ecode2
)) {
8672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8674 arg2
= static_cast< int >(val2
);
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (int)(arg1
)->GetIndent(arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_From_int(static_cast< int >(result
));
8688 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
= 0;
8690 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8699 char * kwnames
[] = {
8700 (char *) "self",(char *) "ind", NULL
8703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8705 if (!SWIG_IsOK(res1
)) {
8706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8708 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8710 if (!SWIG_IsOK(ecode2
)) {
8711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8713 arg2
= static_cast< int >(val2
);
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_From_int(static_cast< int >(result
));
8727 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
= 0;
8729 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8730 wxHtmlTag
*arg2
= 0 ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 char * kwnames
[] = {
8738 (char *) "self",(char *) "tag", NULL
8741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8746 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8748 if (!SWIG_IsOK(res2
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8754 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= SWIG_Py_Void();
8768 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
= 0;
8770 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8780 PyObject
* obj1
= 0 ;
8781 PyObject
* obj2
= 0 ;
8782 char * kwnames
[] = {
8783 (char *) "self",(char *) "w",(char *) "units", NULL
8786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8788 if (!SWIG_IsOK(res1
)) {
8789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8791 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8793 if (!SWIG_IsOK(ecode2
)) {
8794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8796 arg2
= static_cast< int >(val2
);
8797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8798 if (!SWIG_IsOK(ecode3
)) {
8799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8801 arg3
= static_cast< int >(val3
);
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 (arg1
)->SetWidthFloat(arg2
,arg3
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= SWIG_Py_Void();
8815 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
= 0;
8817 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8818 wxHtmlTag
*arg2
= 0 ;
8823 PyObject
* obj0
= 0 ;
8824 PyObject
* obj1
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "tag", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8834 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8842 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_Py_Void();
8856 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
= 0;
8858 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8860 int arg3
= (int) wxHTML_ALIGN_TOP
;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8869 PyObject
* obj2
= 0 ;
8870 char * kwnames
[] = {
8871 (char *) "self",(char *) "h",(char *) "align", NULL
8874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8876 if (!SWIG_IsOK(res1
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8879 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8881 if (!SWIG_IsOK(ecode2
)) {
8882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8884 arg2
= static_cast< int >(val2
);
8886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8887 if (!SWIG_IsOK(ecode3
)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8890 arg3
= static_cast< int >(val3
);
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 (arg1
)->SetMinHeight(arg2
,arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8905 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8908 wxColour
*arg2
= 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8914 char * kwnames
[] = {
8915 (char *) "self",(char *) "clr", NULL
8918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8920 if (!SWIG_IsOK(res1
)) {
8921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8923 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8926 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_Py_Void();
8941 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8942 PyObject
*resultobj
= 0;
8943 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8947 PyObject
*swig_obj
[1] ;
8949 if (!args
) SWIG_fail
;
8951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8952 if (!SWIG_IsOK(res1
)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8955 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (arg1
)->GetBackgroundColour();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8969 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
= 0;
8971 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8972 wxColour
*arg2
= 0 ;
8973 wxColour
*arg3
= 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8981 char * kwnames
[] = {
8982 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8987 if (!SWIG_IsOK(res1
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8990 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8997 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_Py_Void();
9012 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9013 PyObject
*resultobj
= 0;
9014 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9015 wxHtmlCell
*result
= 0 ;
9018 PyObject
*swig_obj
[1] ;
9020 if (!args
) SWIG_fail
;
9022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9023 if (!SWIG_IsOK(res1
)) {
9024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9026 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= wxPyMake_wxObject(result
, 0);
9042 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9045 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9046 return SWIG_Py_Void();
9049 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9050 return SWIG_Python_InitShadowInstance(args
);
9053 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
= 0;
9055 wxColour
*arg1
= 0 ;
9056 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9057 wxHtmlColourCell
*result
= 0 ;
9061 PyObject
* obj0
= 0 ;
9062 PyObject
* obj1
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "clr",(char *) "flags", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9070 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9074 if (!SWIG_IsOK(ecode2
)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9077 arg2
= static_cast< int >(val2
);
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9092 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9095 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9096 return SWIG_Py_Void();
9099 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9100 return SWIG_Python_InitShadowInstance(args
);
9103 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
= 0;
9105 wxFont
*arg1
= (wxFont
*) 0 ;
9106 wxHtmlFontCell
*result
= 0 ;
9109 PyObject
* obj0
= 0 ;
9110 char * kwnames
[] = {
9111 (char *) "font", NULL
9114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9119 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9133 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9136 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9137 return SWIG_Py_Void();
9140 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9141 return SWIG_Python_InitShadowInstance(args
);
9144 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
= 0;
9146 wxWindow
*arg1
= (wxWindow
*) 0 ;
9147 int arg2
= (int) 0 ;
9148 wxHtmlWidgetCell
*result
= 0 ;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9155 char * kwnames
[] = {
9156 (char *) "wnd",(char *) "w", NULL
9159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9167 if (!SWIG_IsOK(ecode2
)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9170 arg2
= static_cast< int >(val2
);
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9185 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9188 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9189 return SWIG_Py_Void();
9192 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9193 return SWIG_Python_InitShadowInstance(args
);
9196 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9197 PyObject
*resultobj
= 0;
9198 wxPyHtmlFilter
*result
= 0 ;
9200 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9214 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
= 0;
9216 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9217 PyObject
*arg2
= (PyObject
*) 0 ;
9218 PyObject
*arg3
= (PyObject
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 PyObject
* obj2
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "self",(char *) "self",(char *) "_class", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9233 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_Py_Void();
9249 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9252 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9253 return SWIG_Py_Void();
9256 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9257 return SWIG_Python_InitShadowInstance(args
);
9260 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9261 PyObject
*resultobj
= 0;
9262 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9265 PyObject
*swig_obj
[1] ;
9267 if (!args
) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9273 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_Py_Void();
9288 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
= 0;
9290 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9291 wxString
*arg2
= 0 ;
9294 bool temp2
= false ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 char * kwnames
[] = {
9298 (char *) "self",(char *) "title", NULL
9301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9303 if (!SWIG_IsOK(res1
)) {
9304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9306 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9308 arg2
= wxString_in_helper(obj1
);
9309 if (arg2
== NULL
) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_Py_Void();
9333 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
= 0;
9335 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9336 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj2
= 0 ;
9347 char * kwnames
[] = {
9348 (char *) "self",(char *) "cell",(char *) "pos", NULL
9351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9353 if (!SWIG_IsOK(res1
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9356 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9358 if (!SWIG_IsOK(res2
)) {
9359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9361 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9379 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9380 PyObject
*resultobj
= 0;
9381 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9382 wxWindow
*result
= 0 ;
9385 PyObject
*swig_obj
[1] ;
9387 if (!args
) SWIG_fail
;
9389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9390 if (!SWIG_IsOK(res1
)) {
9391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9393 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= wxPyMake_wxObject(result
, 0);
9409 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9410 PyObject
*resultobj
= 0;
9411 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9415 PyObject
*swig_obj
[1] ;
9417 if (!args
) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9423 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9437 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9440 wxColour
*arg2
= 0 ;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9446 char * kwnames
[] = {
9447 (char *) "self",(char *) "clr", NULL
9450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9452 if (!SWIG_IsOK(res1
)) {
9453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9455 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_Py_Void();
9473 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9476 wxBitmap
*arg2
= 0 ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 char * kwnames
[] = {
9484 (char *) "self",(char *) "bmpBg", NULL
9487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9489 if (!SWIG_IsOK(res1
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9492 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9494 if (!SWIG_IsOK(res2
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9500 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= SWIG_Py_Void();
9514 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= 0;
9516 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9517 wxString
*arg2
= 0 ;
9520 bool temp2
= false ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 char * kwnames
[] = {
9524 (char *) "self",(char *) "text", NULL
9527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9529 if (!SWIG_IsOK(res1
)) {
9530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9532 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9534 arg2
= wxString_in_helper(obj1
);
9535 if (arg2
== NULL
) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_Py_Void();
9559 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9562 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9563 return SWIG_Py_Void();
9566 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
= 0;
9568 wxWindow
*arg1
= (wxWindow
*) 0 ;
9569 int arg2
= (int) -1 ;
9570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9574 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9575 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9577 wxPyHtmlWindow
*result
= 0 ;
9586 bool temp6
= false ;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9589 PyObject
* obj2
= 0 ;
9590 PyObject
* obj3
= 0 ;
9591 PyObject
* obj4
= 0 ;
9592 PyObject
* obj5
= 0 ;
9593 char * kwnames
[] = {
9594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9599 if (!SWIG_IsOK(res1
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9605 if (!SWIG_IsOK(ecode2
)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9608 arg2
= static_cast< int >(val2
);
9613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9623 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9624 if (!SWIG_IsOK(ecode5
)) {
9625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9627 arg5
= static_cast< int >(val5
);
9631 arg6
= wxString_in_helper(obj5
);
9632 if (arg6
== NULL
) SWIG_fail
;
9637 if (!wxPyCheckForApp()) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9658 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9659 PyObject
*resultobj
= 0;
9660 wxPyHtmlWindow
*result
= 0 ;
9662 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9664 if (!wxPyCheckForApp()) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9677 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
= 0;
9679 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9680 wxWindow
*arg2
= (wxWindow
*) 0 ;
9681 int arg3
= (int) -1 ;
9682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9686 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9687 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9700 bool temp7
= false ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9703 PyObject
* obj2
= 0 ;
9704 PyObject
* obj3
= 0 ;
9705 PyObject
* obj4
= 0 ;
9706 PyObject
* obj5
= 0 ;
9707 PyObject
* obj6
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9717 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9719 if (!SWIG_IsOK(res2
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9725 if (!SWIG_IsOK(ecode3
)) {
9726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9728 arg3
= static_cast< int >(val3
);
9733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9743 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9744 if (!SWIG_IsOK(ecode6
)) {
9745 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9747 arg6
= static_cast< int >(val6
);
9751 arg7
= wxString_in_helper(obj6
);
9752 if (arg7
== NULL
) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9779 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
= 0;
9781 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9782 PyObject
*arg2
= (PyObject
*) 0 ;
9783 PyObject
*arg3
= (PyObject
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9788 PyObject
* obj2
= 0 ;
9789 char * kwnames
[] = {
9790 (char *) "self",(char *) "self",(char *) "_class", NULL
9793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9795 if (!SWIG_IsOK(res1
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9798 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_Py_Void();
9814 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
= 0;
9816 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9817 wxString
*arg2
= 0 ;
9821 bool temp2
= false ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 char * kwnames
[] = {
9825 (char *) "self",(char *) "source", NULL
9828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9833 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9835 arg2
= wxString_in_helper(obj1
);
9836 if (arg2
== NULL
) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9862 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9865 wxString
*arg2
= 0 ;
9869 bool temp2
= false ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "self",(char *) "location", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9878 if (!SWIG_IsOK(res1
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9881 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9883 arg2
= wxString_in_helper(obj1
);
9884 if (arg2
== NULL
) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9910 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
= 0;
9912 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9913 wxString
*arg2
= 0 ;
9917 bool temp2
= false ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 char * kwnames
[] = {
9921 (char *) "self",(char *) "filename", NULL
9924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9929 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9931 arg2
= wxString_in_helper(obj1
);
9932 if (arg2
== NULL
) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9958 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= 0;
9960 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9961 wxString
*arg2
= 0 ;
9965 bool temp2
= false ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9968 char * kwnames
[] = {
9969 (char *) "self",(char *) "source", NULL
9972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9977 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9979 arg2
= wxString_in_helper(obj1
);
9980 if (arg2
== NULL
) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10007 PyObject
*resultobj
= 0;
10008 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10012 PyObject
*swig_obj
[1] ;
10014 if (!args
) SWIG_fail
;
10015 swig_obj
[0] = args
;
10016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10017 if (!SWIG_IsOK(res1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10020 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (arg1
)->GetOpenedPage();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10040 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10041 PyObject
*resultobj
= 0;
10042 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10046 PyObject
*swig_obj
[1] ;
10048 if (!args
) SWIG_fail
;
10049 swig_obj
[0] = args
;
10050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10051 if (!SWIG_IsOK(res1
)) {
10052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10054 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (arg1
)->GetOpenedAnchor();
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10074 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10075 PyObject
*resultobj
= 0;
10076 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10080 PyObject
*swig_obj
[1] ;
10082 if (!args
) SWIG_fail
;
10083 swig_obj
[0] = args
;
10084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10085 if (!SWIG_IsOK(res1
)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10088 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (arg1
)->GetOpenedPageTitle();
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10108 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
= 0;
10110 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10111 wxFrame
*arg2
= (wxFrame
*) 0 ;
10112 wxString
*arg3
= 0 ;
10117 bool temp3
= false ;
10118 PyObject
* obj0
= 0 ;
10119 PyObject
* obj1
= 0 ;
10120 PyObject
* obj2
= 0 ;
10121 char * kwnames
[] = {
10122 (char *) "self",(char *) "frame",(char *) "format", NULL
10125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10130 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10131 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10132 if (!SWIG_IsOK(res2
)) {
10133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10135 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10137 arg3
= wxString_in_helper(obj2
);
10138 if (arg3
== NULL
) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_Py_Void();
10162 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10163 PyObject
*resultobj
= 0;
10164 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10165 wxFrame
*result
= 0 ;
10168 PyObject
*swig_obj
[1] ;
10170 if (!args
) SWIG_fail
;
10171 swig_obj
[0] = args
;
10172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10173 if (!SWIG_IsOK(res1
)) {
10174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10176 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= wxPyMake_wxObject(result
, 0);
10192 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
= 0;
10194 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 char * kwnames
[] = {
10203 (char *) "self",(char *) "bar", NULL
10206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10208 if (!SWIG_IsOK(res1
)) {
10209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10211 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10213 if (!SWIG_IsOK(ecode2
)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10216 arg2
= static_cast< int >(val2
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->SetRelatedStatusBar(arg2
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_Py_Void();
10230 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10235 PyObject
*arg4
= (PyObject
*) NULL
;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 PyObject
* obj2
= 0 ;
10241 PyObject
* obj3
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10251 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10253 wxString
* sptr
= wxString_in_helper(obj1
);
10254 if (sptr
== NULL
) SWIG_fail
;
10259 wxString
* sptr
= wxString_in_helper(obj2
);
10260 if (sptr
== NULL
) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_Py_Void();
10280 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
= 0;
10282 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10283 int arg2
= (int) -1 ;
10284 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10285 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10286 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10287 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10292 bool temp3
= false ;
10293 bool temp4
= false ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 PyObject
* obj2
= 0 ;
10297 PyObject
* obj3
= 0 ;
10298 char * kwnames
[] = {
10299 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10307 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10310 if (!SWIG_IsOK(ecode2
)) {
10311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10313 arg2
= static_cast< int >(val2
);
10317 arg3
= wxString_in_helper(obj2
);
10318 if (arg3
== NULL
) SWIG_fail
;
10324 arg4
= wxString_in_helper(obj3
);
10325 if (arg4
== NULL
) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_Py_Void();
10358 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= 0;
10360 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char * kwnames
[] = {
10369 (char *) "self",(char *) "b", NULL
10372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10374 if (!SWIG_IsOK(res1
)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10377 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10379 if (!SWIG_IsOK(ecode2
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10382 arg2
= static_cast< int >(val2
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->SetBorders(arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_Py_Void();
10396 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
= 0;
10398 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10399 wxBitmap
*arg2
= 0 ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 char * kwnames
[] = {
10407 (char *) "self",(char *) "bmpBg", NULL
10410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10412 if (!SWIG_IsOK(res1
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10415 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10417 if (!SWIG_IsOK(res2
)) {
10418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10423 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_Py_Void();
10437 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
= 0;
10439 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10440 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10441 wxString arg3
= (wxString
) wxPyEmptyString
;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 PyObject
* obj2
= 0 ;
10449 char * kwnames
[] = {
10450 (char *) "self",(char *) "cfg",(char *) "path", NULL
10453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10458 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10460 if (!SWIG_IsOK(res2
)) {
10461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10463 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10466 wxString
* sptr
= wxString_in_helper(obj2
);
10467 if (sptr
== NULL
) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 (arg1
)->ReadCustomization(arg2
,arg3
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_Py_Void();
10485 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
= 0;
10487 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10488 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10489 wxString arg3
= (wxString
) wxPyEmptyString
;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 char * kwnames
[] = {
10498 (char *) "self",(char *) "cfg",(char *) "path", NULL
10501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10503 if (!SWIG_IsOK(res1
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10506 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10508 if (!SWIG_IsOK(res2
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10511 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10514 wxString
* sptr
= wxString_in_helper(obj2
);
10515 if (sptr
== NULL
) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->WriteCustomization(arg2
,arg3
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 resultobj
= SWIG_Py_Void();
10533 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10534 PyObject
*resultobj
= 0;
10535 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10539 PyObject
*swig_obj
[1] ;
10541 if (!args
) SWIG_fail
;
10542 swig_obj
[0] = args
;
10543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10544 if (!SWIG_IsOK(res1
)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10547 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (bool)(arg1
)->HistoryBack();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10563 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10564 PyObject
*resultobj
= 0;
10565 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10569 PyObject
*swig_obj
[1] ;
10571 if (!args
) SWIG_fail
;
10572 swig_obj
[0] = args
;
10573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10577 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (bool)(arg1
)->HistoryForward();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10593 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10594 PyObject
*resultobj
= 0;
10595 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10599 PyObject
*swig_obj
[1] ;
10601 if (!args
) SWIG_fail
;
10602 swig_obj
[0] = args
;
10603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10604 if (!SWIG_IsOK(res1
)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10607 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (bool)(arg1
)->HistoryCanBack();
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10623 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10624 PyObject
*resultobj
= 0;
10625 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10629 PyObject
*swig_obj
[1] ;
10631 if (!args
) SWIG_fail
;
10632 swig_obj
[0] = args
;
10633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10637 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (bool)(arg1
)->HistoryCanForward();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10653 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10654 PyObject
*resultobj
= 0;
10655 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10658 PyObject
*swig_obj
[1] ;
10660 if (!args
) SWIG_fail
;
10661 swig_obj
[0] = args
;
10662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10663 if (!SWIG_IsOK(res1
)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10666 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->HistoryClear();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_Py_Void();
10680 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 PyObject
*resultobj
= 0;
10682 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10683 wxHtmlContainerCell
*result
= 0 ;
10686 PyObject
*swig_obj
[1] ;
10688 if (!args
) SWIG_fail
;
10689 swig_obj
[0] = args
;
10690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10694 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10708 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10709 PyObject
*resultobj
= 0;
10710 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10711 wxHtmlWinParser
*result
= 0 ;
10714 PyObject
*swig_obj
[1] ;
10716 if (!args
) SWIG_fail
;
10717 swig_obj
[0] = args
;
10718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10719 if (!SWIG_IsOK(res1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10722 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10736 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10739 wxString
*arg2
= 0 ;
10743 bool temp2
= false ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 char * kwnames
[] = {
10747 (char *) "self",(char *) "anchor", NULL
10750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10752 if (!SWIG_IsOK(res1
)) {
10753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10755 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10757 arg2
= wxString_in_helper(obj1
);
10758 if (arg2
== NULL
) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10784 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
= 0;
10786 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10787 wxString
*arg2
= 0 ;
10791 bool temp2
= false ;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 char * kwnames
[] = {
10795 (char *) "self",(char *) "anchor", NULL
10798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10800 if (!SWIG_IsOK(res1
)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10803 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10805 arg2
= wxString_in_helper(obj1
);
10806 if (arg2
== NULL
) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10832 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
= 0;
10834 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 char * kwnames
[] = {
10839 (char *) "filter", NULL
10842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10844 if (!SWIG_IsOK(res1
)) {
10845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10847 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 wxPyHtmlWindow::AddFilter(arg1
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= SWIG_Py_Void();
10861 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10864 wxPoint
*arg2
= 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 char * kwnames
[] = {
10871 (char *) "self",(char *) "pos", NULL
10874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10876 if (!SWIG_IsOK(res1
)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10879 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= SWIG_Py_Void();
10897 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
= 0;
10899 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10900 wxPoint
*arg2
= 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char * kwnames
[] = {
10907 (char *) "self",(char *) "pos", NULL
10910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10912 if (!SWIG_IsOK(res1
)) {
10913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10915 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10934 PyObject
*resultobj
= 0;
10935 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10938 PyObject
*swig_obj
[1] ;
10940 if (!args
) SWIG_fail
;
10941 swig_obj
[0] = args
;
10942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10943 if (!SWIG_IsOK(res1
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10946 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->SelectAll();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_Py_Void();
10960 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10961 PyObject
*resultobj
= 0;
10962 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10966 PyObject
*swig_obj
[1] ;
10968 if (!args
) SWIG_fail
;
10969 swig_obj
[0] = args
;
10970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10971 if (!SWIG_IsOK(res1
)) {
10972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10974 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 result
= (arg1
)->SelectionToText();
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10994 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10995 PyObject
*resultobj
= 0;
10996 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11000 PyObject
*swig_obj
[1] ;
11002 if (!args
) SWIG_fail
;
11003 swig_obj
[0] = args
;
11004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11005 if (!SWIG_IsOK(res1
)) {
11006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11008 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 result
= (arg1
)->ToText();
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11028 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11031 wxHtmlLinkInfo
*arg2
= 0 ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char * kwnames
[] = {
11039 (char *) "self",(char *) "link", NULL
11042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11047 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11049 if (!SWIG_IsOK(res2
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11055 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= SWIG_Py_Void();
11069 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
= 0;
11071 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11072 wxString
*arg2
= 0 ;
11075 bool temp2
= false ;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char * kwnames
[] = {
11079 (char *) "self",(char *) "title", NULL
11082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11084 if (!SWIG_IsOK(res1
)) {
11085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11087 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11089 arg2
= wxString_in_helper(obj1
);
11090 if (arg2
== NULL
) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= SWIG_Py_Void();
11114 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
= 0;
11116 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11117 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 PyObject
* obj2
= 0 ;
11131 PyObject
* obj3
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11141 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11143 if (!SWIG_IsOK(res2
)) {
11144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11146 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11148 if (!SWIG_IsOK(ecode3
)) {
11149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11151 arg3
= static_cast< int >(val3
);
11152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11153 if (!SWIG_IsOK(ecode4
)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11156 arg4
= static_cast< int >(val4
);
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_Py_Void();
11170 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
= 0;
11172 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11173 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11176 wxMouseEvent
*arg5
= 0 ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 PyObject
* obj2
= 0 ;
11191 PyObject
* obj3
= 0 ;
11192 PyObject
* obj4
= 0 ;
11193 char * kwnames
[] = {
11194 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11202 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11204 if (!SWIG_IsOK(res2
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11207 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11209 if (!SWIG_IsOK(ecode3
)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11212 arg3
= static_cast< int >(val3
);
11213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11214 if (!SWIG_IsOK(ecode4
)) {
11215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11217 arg4
= static_cast< int >(val4
);
11218 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11219 if (!SWIG_IsOK(res5
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11225 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= 0;
11243 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11244 wxHtmlURLType arg2
;
11245 wxString
*arg3
= 0 ;
11246 wxString
*arg4
= (wxString
*) 0 ;
11247 wxHtmlOpeningStatus result
;
11252 bool temp3
= false ;
11253 bool temp4
= false ;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 PyObject
* obj2
= 0 ;
11257 PyObject
* obj3
= 0 ;
11258 char * kwnames
[] = {
11259 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11264 if (!SWIG_IsOK(res1
)) {
11265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11267 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11269 if (!SWIG_IsOK(ecode2
)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11272 arg2
= static_cast< wxHtmlURLType
>(val2
);
11274 arg3
= wxString_in_helper(obj2
);
11275 if (arg3
== NULL
) SWIG_fail
;
11279 arg4
= wxString_in_helper(obj3
);
11280 if (arg4
== NULL
) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= SWIG_From_int(static_cast< int >(result
));
11312 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
= 0;
11314 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11315 SwigValueWrapper
<wxVisualAttributes
> result
;
11318 PyObject
* obj0
= 0 ;
11319 char * kwnames
[] = {
11320 (char *) "variant", NULL
11323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11326 if (!SWIG_IsOK(ecode1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11329 arg1
= static_cast< wxWindowVariant
>(val1
);
11332 if (!wxPyCheckForApp()) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11345 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
= 0;
11347 wxPyHtmlWindow::HTMLCursor arg1
;
11351 PyObject
* obj0
= 0 ;
11352 char * kwnames
[] = {
11353 (char *) "type", NULL
11356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11358 if (!SWIG_IsOK(ecode1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11361 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11375 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11379 return SWIG_Py_Void();
11382 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 return SWIG_Python_InitShadowInstance(args
);
11386 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11387 PyObject
*resultobj
= 0;
11388 wxHtmlDCRenderer
*result
= 0 ;
11390 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11392 if (!wxPyCheckForApp()) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11405 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11406 PyObject
*resultobj
= 0;
11407 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11410 PyObject
*swig_obj
[1] ;
11412 if (!args
) SWIG_fail
;
11413 swig_obj
[0] = args
;
11414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11415 if (!SWIG_IsOK(res1
)) {
11416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11418 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_Py_Void();
11433 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= 0;
11435 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11436 wxDC
*arg2
= (wxDC
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 PyObject
* obj2
= 0 ;
11447 char * kwnames
[] = {
11448 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11456 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11458 if (!SWIG_IsOK(res2
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11461 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11463 if (!SWIG_IsOK(ecode3
)) {
11464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11466 arg3
= static_cast< int >(val3
);
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 (arg1
)->SetDC(arg2
,arg3
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_Py_Void();
11480 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
= 0;
11482 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 PyObject
* obj2
= 0 ;
11494 char * kwnames
[] = {
11495 (char *) "self",(char *) "width",(char *) "height", NULL
11498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11500 if (!SWIG_IsOK(res1
)) {
11501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11503 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11505 if (!SWIG_IsOK(ecode2
)) {
11506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11508 arg2
= static_cast< int >(val2
);
11509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11510 if (!SWIG_IsOK(ecode3
)) {
11511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11513 arg3
= static_cast< int >(val3
);
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 (arg1
)->SetSize(arg2
,arg3
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_Py_Void();
11527 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
= 0;
11529 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11530 wxString
*arg2
= 0 ;
11531 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11532 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11533 bool arg4
= (bool) true ;
11536 bool temp2
= false ;
11537 bool temp3
= false ;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 PyObject
* obj2
= 0 ;
11543 PyObject
* obj3
= 0 ;
11544 char * kwnames
[] = {
11545 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11553 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11555 arg2
= wxString_in_helper(obj1
);
11556 if (arg2
== NULL
) SWIG_fail
;
11561 arg3
= wxString_in_helper(obj2
);
11562 if (arg3
== NULL
) SWIG_fail
;
11567 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11568 if (!SWIG_IsOK(ecode4
)) {
11569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11571 arg4
= static_cast< bool >(val4
);
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= SWIG_Py_Void();
11602 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
= 0;
11604 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11607 PyObject
*arg4
= (PyObject
*) NULL
;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 PyObject
* obj3
= 0 ;
11614 char * kwnames
[] = {
11615 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11623 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11625 wxString
* sptr
= wxString_in_helper(obj1
);
11626 if (sptr
== NULL
) SWIG_fail
;
11631 wxString
* sptr
= wxString_in_helper(obj2
);
11632 if (sptr
== NULL
) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_Py_Void();
11652 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
= 0;
11654 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11655 int arg2
= (int) -1 ;
11656 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11657 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11658 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11659 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11664 bool temp3
= false ;
11665 bool temp4
= false ;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 PyObject
* obj2
= 0 ;
11669 PyObject
* obj3
= 0 ;
11670 char * kwnames
[] = {
11671 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11679 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11682 if (!SWIG_IsOK(ecode2
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11685 arg2
= static_cast< int >(val2
);
11689 arg3
= wxString_in_helper(obj2
);
11690 if (arg3
== NULL
) SWIG_fail
;
11696 arg4
= wxString_in_helper(obj3
);
11697 if (arg4
== NULL
) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_Py_Void();
11730 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
= 0;
11732 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11735 wxArrayInt
*arg4
= 0 ;
11736 int arg5
= (int) 0 ;
11737 int arg6
= (int) FALSE
;
11738 int arg7
= (int) INT_MAX
;
11746 bool temp4
= false ;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 PyObject
* obj2
= 0 ;
11756 PyObject
* obj3
= 0 ;
11757 PyObject
* obj4
= 0 ;
11758 PyObject
* obj5
= 0 ;
11759 PyObject
* obj6
= 0 ;
11760 char * kwnames
[] = {
11761 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11766 if (!SWIG_IsOK(res1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11769 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11771 if (!SWIG_IsOK(ecode2
)) {
11772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11774 arg2
= static_cast< int >(val2
);
11775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11776 if (!SWIG_IsOK(ecode3
)) {
11777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11779 arg3
= static_cast< int >(val3
);
11781 if (! PySequence_Check(obj3
)) {
11782 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11785 arg4
= new wxArrayInt
;
11787 int i
, len
=PySequence_Length(obj3
);
11788 for (i
=0; i
<len
; i
++) {
11789 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11790 PyObject
* number
= PyNumber_Int(item
);
11792 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11795 arg4
->Add(PyInt_AS_LONG(number
));
11801 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11802 if (!SWIG_IsOK(ecode5
)) {
11803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11805 arg5
= static_cast< int >(val5
);
11808 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11809 if (!SWIG_IsOK(ecode6
)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11812 arg6
= static_cast< int >(val6
);
11815 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11816 if (!SWIG_IsOK(ecode7
)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11819 arg7
= static_cast< int >(val7
);
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_From_int(static_cast< int >(result
));
11829 if (temp4
) delete arg4
;
11834 if (temp4
) delete arg4
;
11840 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11841 PyObject
*resultobj
= 0;
11842 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11846 PyObject
*swig_obj
[1] ;
11848 if (!args
) SWIG_fail
;
11849 swig_obj
[0] = args
;
11850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11854 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (int)(arg1
)->GetTotalHeight();
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= SWIG_From_int(static_cast< int >(result
));
11868 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11871 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11872 return SWIG_Py_Void();
11875 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11876 return SWIG_Python_InitShadowInstance(args
);
11879 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
= 0;
11881 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11882 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11883 wxHtmlPrintout
*result
= 0 ;
11884 bool temp1
= false ;
11885 PyObject
* obj0
= 0 ;
11886 char * kwnames
[] = {
11887 (char *) "title", NULL
11890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11893 arg1
= wxString_in_helper(obj0
);
11894 if (arg1
== NULL
) SWIG_fail
;
11899 if (!wxPyCheckForApp()) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11920 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= 0;
11922 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11923 wxString
*arg2
= 0 ;
11924 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11925 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11926 bool arg4
= (bool) true ;
11929 bool temp2
= false ;
11930 bool temp3
= false ;
11933 PyObject
* obj0
= 0 ;
11934 PyObject
* obj1
= 0 ;
11935 PyObject
* obj2
= 0 ;
11936 PyObject
* obj3
= 0 ;
11937 char * kwnames
[] = {
11938 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11946 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11948 arg2
= wxString_in_helper(obj1
);
11949 if (arg2
== NULL
) SWIG_fail
;
11954 arg3
= wxString_in_helper(obj2
);
11955 if (arg3
== NULL
) SWIG_fail
;
11960 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11961 if (!SWIG_IsOK(ecode4
)) {
11962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11964 arg4
= static_cast< bool >(val4
);
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_Py_Void();
11995 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= 0;
11997 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11998 wxString
*arg2
= 0 ;
12001 bool temp2
= false ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char * kwnames
[] = {
12005 (char *) "self",(char *) "htmlfile", NULL
12008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12013 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12015 arg2
= wxString_in_helper(obj1
);
12016 if (arg2
== NULL
) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_Py_Void();
12040 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12043 wxString
*arg2
= 0 ;
12044 int arg3
= (int) wxPAGE_ALL
;
12047 bool temp2
= false ;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 PyObject
* obj2
= 0 ;
12053 char * kwnames
[] = {
12054 (char *) "self",(char *) "header",(char *) "pg", NULL
12057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12062 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12064 arg2
= wxString_in_helper(obj1
);
12065 if (arg2
== NULL
) SWIG_fail
;
12069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12070 if (!SWIG_IsOK(ecode3
)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12073 arg3
= static_cast< int >(val3
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_Py_Void();
12096 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
= 0;
12098 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12099 wxString
*arg2
= 0 ;
12100 int arg3
= (int) wxPAGE_ALL
;
12103 bool temp2
= false ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 PyObject
* obj2
= 0 ;
12109 char * kwnames
[] = {
12110 (char *) "self",(char *) "footer",(char *) "pg", NULL
12113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12118 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12120 arg2
= wxString_in_helper(obj1
);
12121 if (arg2
== NULL
) SWIG_fail
;
12125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12126 if (!SWIG_IsOK(ecode3
)) {
12127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12129 arg3
= static_cast< int >(val3
);
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= SWIG_Py_Void();
12152 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12157 PyObject
*arg4
= (PyObject
*) NULL
;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 PyObject
* obj3
= 0 ;
12164 char * kwnames
[] = {
12165 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12173 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12175 wxString
* sptr
= wxString_in_helper(obj1
);
12176 if (sptr
== NULL
) SWIG_fail
;
12181 wxString
* sptr
= wxString_in_helper(obj2
);
12182 if (sptr
== NULL
) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_Py_Void();
12202 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
= 0;
12204 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12205 int arg2
= (int) -1 ;
12206 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12208 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12214 bool temp3
= false ;
12215 bool temp4
= false ;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 PyObject
* obj2
= 0 ;
12219 PyObject
* obj3
= 0 ;
12220 char * kwnames
[] = {
12221 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12226 if (!SWIG_IsOK(res1
)) {
12227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12229 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12232 if (!SWIG_IsOK(ecode2
)) {
12233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12235 arg2
= static_cast< int >(val2
);
12239 arg3
= wxString_in_helper(obj2
);
12240 if (arg3
== NULL
) SWIG_fail
;
12246 arg4
= wxString_in_helper(obj3
);
12247 if (arg4
== NULL
) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_Py_Void();
12280 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
= 0;
12282 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12283 float arg2
= (float) 25.2 ;
12284 float arg3
= (float) 25.2 ;
12285 float arg4
= (float) 25.2 ;
12286 float arg5
= (float) 25.2 ;
12287 float arg6
= (float) 5 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 PyObject
* obj2
= 0 ;
12303 PyObject
* obj3
= 0 ;
12304 PyObject
* obj4
= 0 ;
12305 PyObject
* obj5
= 0 ;
12306 char * kwnames
[] = {
12307 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12312 if (!SWIG_IsOK(res1
)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12315 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12317 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12318 if (!SWIG_IsOK(ecode2
)) {
12319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12321 arg2
= static_cast< float >(val2
);
12324 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12325 if (!SWIG_IsOK(ecode3
)) {
12326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12328 arg3
= static_cast< float >(val3
);
12331 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12332 if (!SWIG_IsOK(ecode4
)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12335 arg4
= static_cast< float >(val4
);
12338 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12339 if (!SWIG_IsOK(ecode5
)) {
12340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12342 arg5
= static_cast< float >(val5
);
12345 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12346 if (!SWIG_IsOK(ecode6
)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12349 arg6
= static_cast< float >(val6
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_Py_Void();
12364 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
= 0;
12366 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 char * kwnames
[] = {
12371 (char *) "filter", NULL
12374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12379 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 wxHtmlPrintout::AddFilter(arg1
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_Py_Void();
12393 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 PyObject
*resultobj
= 0;
12396 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 wxHtmlPrintout::CleanUpStatics();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12413 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12414 return SWIG_Py_Void();
12417 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 return SWIG_Python_InitShadowInstance(args
);
12421 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
= 0;
12423 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12424 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12425 wxWindow
*arg2
= (wxWindow
*) NULL
;
12426 wxHtmlEasyPrinting
*result
= 0 ;
12427 bool temp1
= false ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char * kwnames
[] = {
12433 (char *) "name",(char *) "parentWindow", NULL
12436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12439 arg1
= wxString_in_helper(obj0
);
12440 if (arg1
== NULL
) SWIG_fail
;
12445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12446 if (!SWIG_IsOK(res2
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12449 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12452 if (!wxPyCheckForApp()) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12473 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12486 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_Py_Void();
12501 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
= 0;
12503 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12504 wxString
*arg2
= 0 ;
12507 bool temp2
= false ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char * kwnames
[] = {
12511 (char *) "self",(char *) "htmlfile", NULL
12514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12516 if (!SWIG_IsOK(res1
)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12519 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12521 arg2
= wxString_in_helper(obj1
);
12522 if (arg2
== NULL
) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_Py_Void();
12546 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
= 0;
12548 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12549 wxString
*arg2
= 0 ;
12550 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12551 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12554 bool temp2
= false ;
12555 bool temp3
= false ;
12556 PyObject
* obj0
= 0 ;
12557 PyObject
* obj1
= 0 ;
12558 PyObject
* obj2
= 0 ;
12559 char * kwnames
[] = {
12560 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12565 if (!SWIG_IsOK(res1
)) {
12566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12568 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12570 arg2
= wxString_in_helper(obj1
);
12571 if (arg2
== NULL
) SWIG_fail
;
12576 arg3
= wxString_in_helper(obj2
);
12577 if (arg3
== NULL
) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12613 wxString
*arg2
= 0 ;
12616 bool temp2
= false ;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char * kwnames
[] = {
12620 (char *) "self",(char *) "htmlfile", NULL
12623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12628 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12630 arg2
= wxString_in_helper(obj1
);
12631 if (arg2
== NULL
) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->PrintFile((wxString
const &)*arg2
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_Py_Void();
12655 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
= 0;
12657 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12658 wxString
*arg2
= 0 ;
12659 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12660 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12663 bool temp2
= false ;
12664 bool temp3
= false ;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 PyObject
* obj2
= 0 ;
12668 char * kwnames
[] = {
12669 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12674 if (!SWIG_IsOK(res1
)) {
12675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12677 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12679 arg2
= wxString_in_helper(obj1
);
12680 if (arg2
== NULL
) SWIG_fail
;
12685 arg3
= wxString_in_helper(obj2
);
12686 if (arg3
== NULL
) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= SWIG_Py_Void();
12719 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12720 PyObject
*resultobj
= 0;
12721 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12724 PyObject
*swig_obj
[1] ;
12726 if (!args
) SWIG_fail
;
12727 swig_obj
[0] = args
;
12728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12732 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->PageSetup();
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_Py_Void();
12746 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
= 0;
12748 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12749 wxString
*arg2
= 0 ;
12750 int arg3
= (int) wxPAGE_ALL
;
12753 bool temp2
= false ;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 PyObject
* obj2
= 0 ;
12759 char * kwnames
[] = {
12760 (char *) "self",(char *) "header",(char *) "pg", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12768 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12770 arg2
= wxString_in_helper(obj1
);
12771 if (arg2
== NULL
) SWIG_fail
;
12775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12776 if (!SWIG_IsOK(ecode3
)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12779 arg3
= static_cast< int >(val3
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_Py_Void();
12802 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
= 0;
12804 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12805 wxString
*arg2
= 0 ;
12806 int arg3
= (int) wxPAGE_ALL
;
12809 bool temp2
= false ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 PyObject
* obj2
= 0 ;
12815 char * kwnames
[] = {
12816 (char *) "self",(char *) "footer",(char *) "pg", NULL
12819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12821 if (!SWIG_IsOK(res1
)) {
12822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12824 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12826 arg2
= wxString_in_helper(obj1
);
12827 if (arg2
== NULL
) SWIG_fail
;
12831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12832 if (!SWIG_IsOK(ecode3
)) {
12833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12835 arg3
= static_cast< int >(val3
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12863 PyObject
*arg4
= (PyObject
*) NULL
;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 PyObject
* obj2
= 0 ;
12869 PyObject
* obj3
= 0 ;
12870 char * kwnames
[] = {
12871 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12876 if (!SWIG_IsOK(res1
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12879 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12881 wxString
* sptr
= wxString_in_helper(obj1
);
12882 if (sptr
== NULL
) SWIG_fail
;
12887 wxString
* sptr
= wxString_in_helper(obj2
);
12888 if (sptr
== NULL
) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= SWIG_Py_Void();
12908 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
= 0;
12910 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12911 int arg2
= (int) -1 ;
12912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12914 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12915 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12920 bool temp3
= false ;
12921 bool temp4
= false ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 PyObject
* obj2
= 0 ;
12925 PyObject
* obj3
= 0 ;
12926 char * kwnames
[] = {
12927 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12935 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12941 arg2
= static_cast< int >(val2
);
12945 arg3
= wxString_in_helper(obj2
);
12946 if (arg3
== NULL
) SWIG_fail
;
12952 arg4
= wxString_in_helper(obj3
);
12953 if (arg4
== NULL
) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_Py_Void();
12986 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12987 PyObject
*resultobj
= 0;
12988 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12989 wxPrintData
*result
= 0 ;
12992 PyObject
*swig_obj
[1] ;
12994 if (!args
) SWIG_fail
;
12995 swig_obj
[0] = args
;
12996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12997 if (!SWIG_IsOK(res1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13000 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxPrintData
*)(arg1
)->GetPrintData();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13014 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 PyObject
*resultobj
= 0;
13016 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13017 wxPageSetupDialogData
*result
= 0 ;
13020 PyObject
*swig_obj
[1] ;
13022 if (!args
) SWIG_fail
;
13023 swig_obj
[0] = args
;
13024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13025 if (!SWIG_IsOK(res1
)) {
13026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13028 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13042 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13045 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13046 return SWIG_Py_Void();
13049 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13050 return SWIG_Python_InitShadowInstance(args
);
13053 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
= 0;
13055 wxString
*arg1
= 0 ;
13056 wxString
*arg2
= 0 ;
13057 wxString
*arg3
= 0 ;
13058 wxString
*arg4
= 0 ;
13059 wxHtmlBookRecord
*result
= 0 ;
13060 bool temp1
= false ;
13061 bool temp2
= false ;
13062 bool temp3
= false ;
13063 bool temp4
= false ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 PyObject
* obj2
= 0 ;
13067 PyObject
* obj3
= 0 ;
13068 char * kwnames
[] = {
13069 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13074 arg1
= wxString_in_helper(obj0
);
13075 if (arg1
== NULL
) SWIG_fail
;
13079 arg2
= wxString_in_helper(obj1
);
13080 if (arg2
== NULL
) SWIG_fail
;
13084 arg3
= wxString_in_helper(obj2
);
13085 if (arg3
== NULL
) SWIG_fail
;
13089 arg4
= wxString_in_helper(obj3
);
13090 if (arg4
== NULL
) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13138 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13139 PyObject
*resultobj
= 0;
13140 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13144 PyObject
*swig_obj
[1] ;
13146 if (!args
) SWIG_fail
;
13147 swig_obj
[0] = args
;
13148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13149 if (!SWIG_IsOK(res1
)) {
13150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13152 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (arg1
)->GetBookFile();
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13172 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13173 PyObject
*resultobj
= 0;
13174 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13178 PyObject
*swig_obj
[1] ;
13180 if (!args
) SWIG_fail
;
13181 swig_obj
[0] = args
;
13182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13186 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (arg1
)->GetTitle();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13206 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 PyObject
*resultobj
= 0;
13208 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13212 PyObject
*swig_obj
[1] ;
13214 if (!args
) SWIG_fail
;
13215 swig_obj
[0] = args
;
13216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13220 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (arg1
)->GetStart();
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13240 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13241 PyObject
*resultobj
= 0;
13242 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13254 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (arg1
)->GetBasePath();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13274 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
= 0;
13276 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 PyObject
* obj2
= 0 ;
13288 char * kwnames
[] = {
13289 (char *) "self",(char *) "start",(char *) "end", NULL
13292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13294 if (!SWIG_IsOK(res1
)) {
13295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13297 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13299 if (!SWIG_IsOK(ecode2
)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13302 arg2
= static_cast< int >(val2
);
13303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13304 if (!SWIG_IsOK(ecode3
)) {
13305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13307 arg3
= static_cast< int >(val3
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 (arg1
)->SetContentsRange(arg2
,arg3
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_Py_Void();
13321 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 PyObject
*resultobj
= 0;
13323 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13327 PyObject
*swig_obj
[1] ;
13329 if (!args
) SWIG_fail
;
13330 swig_obj
[0] = args
;
13331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13335 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (int)(arg1
)->GetContentsStart();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_From_int(static_cast< int >(result
));
13349 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13350 PyObject
*resultobj
= 0;
13351 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13355 PyObject
*swig_obj
[1] ;
13357 if (!args
) SWIG_fail
;
13358 swig_obj
[0] = args
;
13359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13360 if (!SWIG_IsOK(res1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13363 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (int)(arg1
)->GetContentsEnd();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_From_int(static_cast< int >(result
));
13377 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
= 0;
13379 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13380 wxString
*arg2
= 0 ;
13383 bool temp2
= false ;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 char * kwnames
[] = {
13387 (char *) "self",(char *) "title", NULL
13390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13392 if (!SWIG_IsOK(res1
)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13395 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13397 arg2
= wxString_in_helper(obj1
);
13398 if (arg2
== NULL
) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->SetTitle((wxString
const &)*arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_Py_Void();
13422 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
= 0;
13424 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13425 wxString
*arg2
= 0 ;
13428 bool temp2
= false ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char * kwnames
[] = {
13432 (char *) "self",(char *) "path", NULL
13435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13437 if (!SWIG_IsOK(res1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13440 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13442 arg2
= wxString_in_helper(obj1
);
13443 if (arg2
== NULL
) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_Py_Void();
13467 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
= 0;
13469 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13470 wxString
*arg2
= 0 ;
13473 bool temp2
= false ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "self",(char *) "start", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13485 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13487 arg2
= wxString_in_helper(obj1
);
13488 if (arg2
== NULL
) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 (arg1
)->SetStart((wxString
const &)*arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_Py_Void();
13512 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13515 wxString
*arg2
= 0 ;
13519 bool temp2
= false ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "self",(char *) "page", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13528 if (!SWIG_IsOK(res1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13531 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13533 arg2
= wxString_in_helper(obj1
);
13534 if (arg2
== NULL
) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13564 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13567 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13568 return SWIG_Py_Void();
13571 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13572 return SWIG_Python_InitShadowInstance(args
);
13575 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13576 PyObject
*resultobj
= 0;
13577 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13581 PyObject
*swig_obj
[1] ;
13583 if (!args
) SWIG_fail
;
13584 swig_obj
[0] = args
;
13585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13586 if (!SWIG_IsOK(res1
)) {
13587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13589 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (bool)(arg1
)->Search();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13605 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13606 PyObject
*resultobj
= 0;
13607 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13611 PyObject
*swig_obj
[1] ;
13613 if (!args
) SWIG_fail
;
13614 swig_obj
[0] = args
;
13615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13616 if (!SWIG_IsOK(res1
)) {
13617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13619 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)(arg1
)->IsActive();
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13635 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13636 PyObject
*resultobj
= 0;
13637 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13641 PyObject
*swig_obj
[1] ;
13643 if (!args
) SWIG_fail
;
13644 swig_obj
[0] = args
;
13645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13646 if (!SWIG_IsOK(res1
)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13649 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (int)(arg1
)->GetCurIndex();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_From_int(static_cast< int >(result
));
13663 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 PyObject
*resultobj
= 0;
13665 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13669 PyObject
*swig_obj
[1] ;
13671 if (!args
) SWIG_fail
;
13672 swig_obj
[0] = args
;
13673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13674 if (!SWIG_IsOK(res1
)) {
13675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13677 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (int)(arg1
)->GetMaxIndex();
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= SWIG_From_int(static_cast< int >(result
));
13691 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13692 PyObject
*resultobj
= 0;
13693 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13694 wxString
*result
= 0 ;
13697 PyObject
*swig_obj
[1] ;
13699 if (!args
) SWIG_fail
;
13700 swig_obj
[0] = args
;
13701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13702 if (!SWIG_IsOK(res1
)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13705 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 wxString
const &_result_ref
= (arg1
)->GetName();
13710 result
= (wxString
*) &_result_ref
;
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13719 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13728 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13731 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13732 return SWIG_Py_Void();
13735 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13736 PyObject
*resultobj
= 0;
13737 wxHtmlHelpData
*result
= 0 ;
13739 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13753 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13754 PyObject
*resultobj
= 0;
13755 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13758 PyObject
*swig_obj
[1] ;
13760 if (!args
) SWIG_fail
;
13761 swig_obj
[0] = args
;
13762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13763 if (!SWIG_IsOK(res1
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13766 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= SWIG_Py_Void();
13781 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
= 0;
13783 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13784 wxString
*arg2
= 0 ;
13787 bool temp2
= false ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 char * kwnames
[] = {
13791 (char *) "self",(char *) "path", NULL
13794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13796 if (!SWIG_IsOK(res1
)) {
13797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13799 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13801 arg2
= wxString_in_helper(obj1
);
13802 if (arg2
== NULL
) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_Py_Void();
13826 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
= 0;
13828 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13829 wxString
*arg2
= 0 ;
13833 bool temp2
= false ;
13834 PyObject
* obj0
= 0 ;
13835 PyObject
* obj1
= 0 ;
13836 char * kwnames
[] = {
13837 (char *) "self",(char *) "book", NULL
13840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13842 if (!SWIG_IsOK(res1
)) {
13843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13845 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13847 arg2
= wxString_in_helper(obj1
);
13848 if (arg2
== NULL
) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13874 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
= 0;
13876 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13877 wxString
*arg2
= 0 ;
13881 bool temp2
= false ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char * kwnames
[] = {
13885 (char *) "self",(char *) "page", NULL
13888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13893 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13895 arg2
= wxString_in_helper(obj1
);
13896 if (arg2
== NULL
) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13926 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
= 0;
13928 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 char * kwnames
[] = {
13938 (char *) "self",(char *) "id", NULL
13941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13943 if (!SWIG_IsOK(res1
)) {
13944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13946 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13948 if (!SWIG_IsOK(ecode2
)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13951 arg2
= static_cast< int >(val2
);
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (arg1
)->FindPageById(arg2
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13971 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13974 wxHtmlBookRecArray
*result
= 0 ;
13977 PyObject
*swig_obj
[1] ;
13979 if (!args
) SWIG_fail
;
13980 swig_obj
[0] = args
;
13981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13982 if (!SWIG_IsOK(res1
)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13985 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13990 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
14002 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14005 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
14006 return SWIG_Py_Void();
14009 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14010 return SWIG_Python_InitShadowInstance(args
);
14013 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
= 0;
14015 wxWindow
*arg1
= (wxWindow
*) 0 ;
14017 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14018 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14019 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14020 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14021 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14022 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14023 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14024 wxHtmlHelpWindow
*result
= 0 ;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 PyObject
* obj2
= 0 ;
14040 PyObject
* obj3
= 0 ;
14041 PyObject
* obj4
= 0 ;
14042 PyObject
* obj5
= 0 ;
14043 PyObject
* obj6
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14050 if (!SWIG_IsOK(res1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14053 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14055 if (!SWIG_IsOK(ecode2
)) {
14056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14058 arg2
= static_cast< int >(val2
);
14062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14068 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14072 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14073 if (!SWIG_IsOK(ecode5
)) {
14074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14076 arg5
= static_cast< int >(val5
);
14079 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14080 if (!SWIG_IsOK(ecode6
)) {
14081 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14083 arg6
= static_cast< int >(val6
);
14086 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14087 if (!SWIG_IsOK(res7
)) {
14088 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14090 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14093 if (!wxPyCheckForApp()) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14106 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
= 0;
14108 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14109 wxHtmlHelpWindow
*result
= 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char * kwnames
[] = {
14114 (char *) "data", NULL
14117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14123 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14126 if (!wxPyCheckForApp()) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14139 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
= 0;
14141 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14142 wxWindow
*arg2
= (wxWindow
*) 0 ;
14144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14148 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14149 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 PyObject
* obj2
= 0 ;
14166 PyObject
* obj3
= 0 ;
14167 PyObject
* obj4
= 0 ;
14168 PyObject
* obj5
= 0 ;
14169 PyObject
* obj6
= 0 ;
14170 char * kwnames
[] = {
14171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14176 if (!SWIG_IsOK(res1
)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14179 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14181 if (!SWIG_IsOK(res2
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14186 if (!SWIG_IsOK(ecode3
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14189 arg3
= static_cast< int >(val3
);
14193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14199 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14203 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14204 if (!SWIG_IsOK(ecode6
)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14207 arg6
= static_cast< int >(val6
);
14210 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14211 if (!SWIG_IsOK(ecode7
)) {
14212 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14214 arg7
= static_cast< int >(val7
);
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14231 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14232 PyObject
*resultobj
= 0;
14233 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14234 wxHtmlHelpData
*result
= 0 ;
14237 PyObject
*swig_obj
[1] ;
14239 if (!args
) SWIG_fail
;
14240 swig_obj
[0] = args
;
14241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14245 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14259 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 PyObject
*resultobj
= 0;
14261 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14262 wxHtmlHelpController
*result
= 0 ;
14265 PyObject
*swig_obj
[1] ;
14267 if (!args
) SWIG_fail
;
14268 swig_obj
[0] = args
;
14269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14270 if (!SWIG_IsOK(res1
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14273 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14287 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
= 0;
14289 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14290 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 char * kwnames
[] = {
14297 (char *) "self",(char *) "controller", NULL
14300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14302 if (!SWIG_IsOK(res1
)) {
14303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14305 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14306 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14307 if (!SWIG_IsOK(res2
)) {
14308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 (arg1
)->SetController(arg2
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_Py_Void();
14323 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
= 0;
14325 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14326 wxString
*arg2
= 0 ;
14330 bool temp2
= false ;
14331 PyObject
* obj0
= 0 ;
14332 PyObject
* obj1
= 0 ;
14333 char * kwnames
[] = {
14334 (char *) "self",(char *) "x", NULL
14337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14339 if (!SWIG_IsOK(res1
)) {
14340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14342 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14344 arg2
= wxString_in_helper(obj1
);
14345 if (arg2
== NULL
) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14371 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
= 0;
14373 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char * kwnames
[] = {
14383 (char *) "self",(char *) "id", NULL
14386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14388 if (!SWIG_IsOK(res1
)) {
14389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14391 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14393 if (!SWIG_IsOK(ecode2
)) {
14394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14396 arg2
= static_cast< int >(val2
);
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (bool)(arg1
)->Display(arg2
);
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14412 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14413 PyObject
*resultobj
= 0;
14414 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14418 PyObject
*swig_obj
[1] ;
14420 if (!args
) SWIG_fail
;
14421 swig_obj
[0] = args
;
14422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14423 if (!SWIG_IsOK(res1
)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14426 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (bool)(arg1
)->DisplayContents();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14442 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14443 PyObject
*resultobj
= 0;
14444 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14448 PyObject
*swig_obj
[1] ;
14450 if (!args
) SWIG_fail
;
14451 swig_obj
[0] = args
;
14452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14456 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (bool)(arg1
)->DisplayIndex();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14472 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
= 0;
14474 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14475 wxString
*arg2
= 0 ;
14476 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14480 bool temp2
= false ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 char * kwnames
[] = {
14487 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14492 if (!SWIG_IsOK(res1
)) {
14493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14495 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14497 arg2
= wxString_in_helper(obj1
);
14498 if (arg2
== NULL
) SWIG_fail
;
14503 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14504 if (!SWIG_IsOK(res3
)) {
14505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14510 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14512 if (SWIG_IsNewObj(res3
)) delete temp
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
= 0;
14541 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14542 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14543 wxString
const &arg3_defvalue
= wxEmptyString
;
14544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14549 bool temp3
= false ;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 PyObject
* obj2
= 0 ;
14553 char * kwnames
[] = {
14554 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14562 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14564 if (!SWIG_IsOK(res2
)) {
14565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14567 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14570 arg3
= wxString_in_helper(obj2
);
14571 if (arg3
== NULL
) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= SWIG_Py_Void();
14596 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
= 0;
14598 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14599 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14600 wxString
const &arg3_defvalue
= wxEmptyString
;
14601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14606 bool temp3
= false ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 PyObject
* obj2
= 0 ;
14610 char * kwnames
[] = {
14611 (char *) "self",(char *) "cfg",(char *) "path", NULL
14614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14619 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14621 if (!SWIG_IsOK(res2
)) {
14622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14624 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14627 arg3
= wxString_in_helper(obj2
);
14628 if (arg3
== NULL
) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_Py_Void();
14653 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
= 0;
14655 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14656 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14657 wxString
const &arg3_defvalue
= wxEmptyString
;
14658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14663 bool temp3
= false ;
14664 PyObject
* obj0
= 0 ;
14665 PyObject
* obj1
= 0 ;
14666 PyObject
* obj2
= 0 ;
14667 char * kwnames
[] = {
14668 (char *) "self",(char *) "cfg",(char *) "path", NULL
14671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14673 if (!SWIG_IsOK(res1
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14676 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14678 if (!SWIG_IsOK(res2
)) {
14679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14681 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14684 arg3
= wxString_in_helper(obj2
);
14685 if (arg3
== NULL
) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= SWIG_Py_Void();
14710 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14711 PyObject
*resultobj
= 0;
14712 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14715 PyObject
*swig_obj
[1] ;
14717 if (!args
) SWIG_fail
;
14718 swig_obj
[0] = args
;
14719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14723 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->NotifyPageChanged();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_Py_Void();
14737 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14742 PyObject
*swig_obj
[1] ;
14744 if (!args
) SWIG_fail
;
14745 swig_obj
[0] = args
;
14746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14750 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 (arg1
)->RefreshLists();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= SWIG_Py_Void();
14764 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14765 PyObject
*resultobj
= 0;
14766 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14767 wxPyHtmlWindow
*result
= 0 ;
14770 PyObject
*swig_obj
[1] ;
14772 if (!args
) SWIG_fail
;
14773 swig_obj
[0] = args
;
14774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14775 if (!SWIG_IsOK(res1
)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14778 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (wxPyHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= wxPyMake_wxObject(result
, 0);
14794 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14795 PyObject
*resultobj
= 0;
14796 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14797 wxSplitterWindow
*result
= 0 ;
14800 PyObject
*swig_obj
[1] ;
14802 if (!args
) SWIG_fail
;
14803 swig_obj
[0] = args
;
14804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14808 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14822 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14823 PyObject
*resultobj
= 0;
14824 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14825 wxToolBar
*result
= 0 ;
14828 PyObject
*swig_obj
[1] ;
14830 if (!args
) SWIG_fail
;
14831 swig_obj
[0] = args
;
14832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14833 if (!SWIG_IsOK(res1
)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14836 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14852 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14855 wxHtmlHelpFrameCfg
*result
= 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14866 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14871 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14883 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14884 PyObject
*resultobj
= 0;
14885 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14886 wxPyTreeCtrl
*result
= 0 ;
14889 PyObject
*swig_obj
[1] ;
14891 if (!args
) SWIG_fail
;
14892 swig_obj
[0] = args
;
14893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14894 if (!SWIG_IsOK(res1
)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14897 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (wxPyTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14913 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14916 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14917 return SWIG_Py_Void();
14920 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14921 return SWIG_Python_InitShadowInstance(args
);
14924 SWIGINTERN PyObject
*_wrap_new_HtmlCellEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14928 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
14929 wxPoint
*arg4
= 0 ;
14930 wxMouseEvent
*arg5
= 0 ;
14931 wxHtmlCellEvent
*result
= 0 ;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 PyObject
* obj2
= 0 ;
14944 PyObject
* obj3
= 0 ;
14945 PyObject
* obj4
= 0 ;
14946 char * kwnames
[] = {
14947 (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL
14950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_HtmlCellEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14951 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14952 if (!SWIG_IsOK(ecode1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14955 arg1
= static_cast< wxEventType
>(val1
);
14956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14957 if (!SWIG_IsOK(ecode2
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'");
14960 arg2
= static_cast< int >(val2
);
14961 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
14962 if (!SWIG_IsOK(res3
)) {
14963 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'");
14965 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
14968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14970 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14971 if (!SWIG_IsOK(res5
)) {
14972 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
14975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
14977 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (wxHtmlCellEvent
*)new wxHtmlCellEvent(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxMouseEvent
const &)*arg5
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCellEvent
, SWIG_POINTER_NEW
| 0 );
14991 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14992 PyObject
*resultobj
= 0;
14993 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
14994 wxHtmlCell
*result
= 0 ;
14997 PyObject
*swig_obj
[1] ;
14999 if (!args
) SWIG_fail
;
15000 swig_obj
[0] = args
;
15001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15002 if (!SWIG_IsOK(res1
)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15005 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (wxHtmlCell
*)((wxHtmlCellEvent
const *)arg1
)->GetCell();
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= wxPyMake_wxObject(result
, 0);
15021 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15022 PyObject
*resultobj
= 0;
15023 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15027 PyObject
*swig_obj
[1] ;
15029 if (!args
) SWIG_fail
;
15030 swig_obj
[0] = args
;
15031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15032 if (!SWIG_IsOK(res1
)) {
15033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15035 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= ((wxHtmlCellEvent
const *)arg1
)->GetPoint();
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15049 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15050 PyObject
*resultobj
= 0;
15051 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15052 wxMouseEvent result
;
15055 PyObject
*swig_obj
[1] ;
15057 if (!args
) SWIG_fail
;
15058 swig_obj
[0] = args
;
15059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15060 if (!SWIG_IsOK(res1
)) {
15061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15063 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= ((wxHtmlCellEvent
const *)arg1
)->GetMouseEvent();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent
& >(result
))), SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_OWN
| 0 );
15077 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_SetLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
= 0;
15079 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char * kwnames
[] = {
15088 (char *) "self",(char *) "linkclicked", NULL
15091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'");
15096 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15097 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15098 if (!SWIG_IsOK(ecode2
)) {
15099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'");
15101 arg2
= static_cast< bool >(val2
);
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->SetLinkClicked(arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_Py_Void();
15115 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 PyObject
*resultobj
= 0;
15117 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15121 PyObject
*swig_obj
[1] ;
15123 if (!args
) SWIG_fail
;
15124 swig_obj
[0] = args
;
15125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15129 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (bool)((wxHtmlCellEvent
const *)arg1
)->GetLinkClicked();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15145 SWIGINTERN PyObject
*HtmlCellEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15148 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent
, SWIG_NewClientData(obj
));
15149 return SWIG_Py_Void();
15152 SWIGINTERN PyObject
*HtmlCellEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15153 return SWIG_Python_InitShadowInstance(args
);
15156 SWIGINTERN PyObject
*_wrap_new_HtmlLinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
= 0;
15159 wxHtmlLinkInfo
*arg2
= 0 ;
15160 wxHtmlLinkEvent
*result
= 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char * kwnames
[] = {
15168 (char *) "id",(char *) "linkinfo", NULL
15171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlLinkEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15173 if (!SWIG_IsOK(ecode1
)) {
15174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'");
15176 arg1
= static_cast< int >(val1
);
15177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15178 if (!SWIG_IsOK(res2
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15184 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (wxHtmlLinkEvent
*)new wxHtmlLinkEvent(arg1
,(wxHtmlLinkInfo
const &)*arg2
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkEvent
, SWIG_POINTER_NEW
| 0 );
15198 SWIGINTERN PyObject
*_wrap_HtmlLinkEvent_GetLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15199 PyObject
*resultobj
= 0;
15200 wxHtmlLinkEvent
*arg1
= (wxHtmlLinkEvent
*) 0 ;
15201 wxHtmlLinkInfo
*result
= 0 ;
15204 PyObject
*swig_obj
[1] ;
15206 if (!args
) SWIG_fail
;
15207 swig_obj
[0] = args
;
15208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkEvent
, 0 | 0 );
15209 if (!SWIG_IsOK(res1
)) {
15210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'");
15212 arg1
= reinterpret_cast< wxHtmlLinkEvent
* >(argp1
);
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 wxHtmlLinkInfo
const &_result_ref
= ((wxHtmlLinkEvent
const *)arg1
)->GetLinkInfo();
15217 result
= (wxHtmlLinkInfo
*) &_result_ref
;
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
15229 SWIGINTERN PyObject
*HtmlLinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15232 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent
, SWIG_NewClientData(obj
));
15233 return SWIG_Py_Void();
15236 SWIGINTERN PyObject
*HtmlLinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15237 return SWIG_Python_InitShadowInstance(args
);
15240 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
= 0;
15242 wxWindow
*arg1
= (wxWindow
*) 0 ;
15244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15246 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15247 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15248 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15249 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15251 wxHtmlHelpFrame
*result
= 0 ;
15256 bool temp3
= false ;
15263 bool temp7
= false ;
15264 PyObject
* obj0
= 0 ;
15265 PyObject
* obj1
= 0 ;
15266 PyObject
* obj2
= 0 ;
15267 PyObject
* obj3
= 0 ;
15268 PyObject
* obj4
= 0 ;
15269 PyObject
* obj5
= 0 ;
15270 PyObject
* obj6
= 0 ;
15271 char * kwnames
[] = {
15272 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL
15275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15277 if (!SWIG_IsOK(res1
)) {
15278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15282 if (!SWIG_IsOK(ecode2
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15285 arg2
= static_cast< int >(val2
);
15288 arg3
= wxString_in_helper(obj2
);
15289 if (arg3
== NULL
) SWIG_fail
;
15294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15295 if (!SWIG_IsOK(ecode4
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15298 arg4
= static_cast< int >(val4
);
15301 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15302 if (!SWIG_IsOK(res5
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15305 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15308 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15309 if (!SWIG_IsOK(res6
)) {
15310 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15312 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15316 arg7
= wxString_in_helper(obj6
);
15317 if (arg7
== NULL
) SWIG_fail
;
15322 if (!wxPyCheckForApp()) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15351 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
= 0;
15353 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15354 wxHtmlHelpFrame
*result
= 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char * kwnames
[] = {
15359 (char *) "data", NULL
15362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15368 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15371 if (!wxPyCheckForApp()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15384 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
= 0;
15386 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15387 wxWindow
*arg2
= (wxWindow
*) 0 ;
15389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15391 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15392 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15393 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15402 bool temp4
= false ;
15407 bool temp7
= false ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 PyObject
* obj2
= 0 ;
15411 PyObject
* obj3
= 0 ;
15412 PyObject
* obj4
= 0 ;
15413 PyObject
* obj5
= 0 ;
15414 PyObject
* obj6
= 0 ;
15415 char * kwnames
[] = {
15416 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL
15419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15421 if (!SWIG_IsOK(res1
)) {
15422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15424 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15426 if (!SWIG_IsOK(res2
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15429 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15431 if (!SWIG_IsOK(ecode3
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15434 arg3
= static_cast< int >(val3
);
15437 arg4
= wxString_in_helper(obj3
);
15438 if (arg4
== NULL
) SWIG_fail
;
15443 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15444 if (!SWIG_IsOK(ecode5
)) {
15445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15447 arg5
= static_cast< int >(val5
);
15450 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15451 if (!SWIG_IsOK(res6
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15454 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15458 arg7
= wxString_in_helper(obj6
);
15459 if (arg7
== NULL
) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15494 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15495 PyObject
*resultobj
= 0;
15496 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15497 wxHtmlHelpData
*result
= 0 ;
15500 PyObject
*swig_obj
[1] ;
15502 if (!args
) SWIG_fail
;
15503 swig_obj
[0] = args
;
15504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15505 if (!SWIG_IsOK(res1
)) {
15506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15508 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15522 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
= 0;
15524 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15525 wxString
*arg2
= 0 ;
15528 bool temp2
= false ;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 char * kwnames
[] = {
15532 (char *) "self",(char *) "format", NULL
15535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15537 if (!SWIG_IsOK(res1
)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15540 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15542 arg2
= wxString_in_helper(obj1
);
15543 if (arg2
== NULL
) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_Py_Void();
15567 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15568 PyObject
*resultobj
= 0;
15569 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15572 PyObject
*swig_obj
[1] ;
15574 if (!args
) SWIG_fail
;
15575 swig_obj
[0] = args
;
15576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15577 if (!SWIG_IsOK(res1
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15580 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->AddGrabIfNeeded();
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_Py_Void();
15594 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15595 PyObject
*resultobj
= 0;
15596 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15597 wxHtmlHelpController
*result
= 0 ;
15600 PyObject
*swig_obj
[1] ;
15602 if (!args
) SWIG_fail
;
15603 swig_obj
[0] = args
;
15604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15605 if (!SWIG_IsOK(res1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15608 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15622 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
= 0;
15624 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15625 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 char * kwnames
[] = {
15632 (char *) "self",(char *) "controller", NULL
15635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15637 if (!SWIG_IsOK(res1
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15640 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15641 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15642 if (!SWIG_IsOK(res2
)) {
15643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 (arg1
)->SetController(arg2
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_Py_Void();
15658 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15659 PyObject
*resultobj
= 0;
15660 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15661 wxHtmlHelpWindow
*result
= 0 ;
15664 PyObject
*swig_obj
[1] ;
15666 if (!args
) SWIG_fail
;
15667 swig_obj
[0] = args
;
15668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15672 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= wxPyMake_wxObject(result
, 0);
15688 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15691 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15692 return SWIG_Py_Void();
15695 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15696 return SWIG_Python_InitShadowInstance(args
);
15699 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
= 0;
15701 wxWindow
*arg1
= (wxWindow
*) 0 ;
15703 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15705 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15706 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15707 wxHtmlHelpDialog
*result
= 0 ;
15712 bool temp3
= false ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 PyObject
* obj2
= 0 ;
15720 PyObject
* obj3
= 0 ;
15721 PyObject
* obj4
= 0 ;
15722 char * kwnames
[] = {
15723 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15731 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15733 if (!SWIG_IsOK(ecode2
)) {
15734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15736 arg2
= static_cast< int >(val2
);
15739 arg3
= wxString_in_helper(obj2
);
15740 if (arg3
== NULL
) SWIG_fail
;
15745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15746 if (!SWIG_IsOK(ecode4
)) {
15747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15749 arg4
= static_cast< int >(val4
);
15752 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15753 if (!SWIG_IsOK(res5
)) {
15754 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15756 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15759 if (!wxPyCheckForApp()) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15780 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
= 0;
15782 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15783 wxHtmlHelpDialog
*result
= 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char * kwnames
[] = {
15788 (char *) "data", NULL
15791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15794 if (!SWIG_IsOK(res1
)) {
15795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15797 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15800 if (!wxPyCheckForApp()) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15813 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
= 0;
15815 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15816 wxWindow
*arg2
= (wxWindow
*) 0 ;
15818 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15820 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15828 bool temp4
= false ;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 PyObject
* obj2
= 0 ;
15834 PyObject
* obj3
= 0 ;
15835 PyObject
* obj4
= 0 ;
15836 char * kwnames
[] = {
15837 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15842 if (!SWIG_IsOK(res1
)) {
15843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15845 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15847 if (!SWIG_IsOK(res2
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15850 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15852 if (!SWIG_IsOK(ecode3
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15855 arg3
= static_cast< int >(val3
);
15858 arg4
= wxString_in_helper(obj3
);
15859 if (arg4
== NULL
) SWIG_fail
;
15864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15865 if (!SWIG_IsOK(ecode5
)) {
15866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15868 arg5
= static_cast< int >(val5
);
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15893 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15894 PyObject
*resultobj
= 0;
15895 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15896 wxHtmlHelpData
*result
= 0 ;
15899 PyObject
*swig_obj
[1] ;
15901 if (!args
) SWIG_fail
;
15902 swig_obj
[0] = args
;
15903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15904 if (!SWIG_IsOK(res1
)) {
15905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15907 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15921 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15922 PyObject
*resultobj
= 0;
15923 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15924 wxHtmlHelpController
*result
= 0 ;
15927 PyObject
*swig_obj
[1] ;
15929 if (!args
) SWIG_fail
;
15930 swig_obj
[0] = args
;
15931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15935 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15949 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
= 0;
15951 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15952 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 char * kwnames
[] = {
15959 (char *) "self",(char *) "controller", NULL
15962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15964 if (!SWIG_IsOK(res1
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15967 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15968 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15969 if (!SWIG_IsOK(res2
)) {
15970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 (arg1
)->SetController(arg2
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15978 resultobj
= SWIG_Py_Void();
15985 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 PyObject
*resultobj
= 0;
15987 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15988 wxHtmlHelpWindow
*result
= 0 ;
15991 PyObject
*swig_obj
[1] ;
15993 if (!args
) SWIG_fail
;
15994 swig_obj
[0] = args
;
15995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15996 if (!SWIG_IsOK(res1
)) {
15997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15999 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= wxPyMake_wxObject(result
, 0);
16015 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
= 0;
16017 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
16018 wxString
*arg2
= 0 ;
16021 bool temp2
= false ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char * kwnames
[] = {
16025 (char *) "self",(char *) "format", NULL
16028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
16033 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
16035 arg2
= wxString_in_helper(obj1
);
16036 if (arg2
== NULL
) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= SWIG_Py_Void();
16060 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16063 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
16064 return SWIG_Py_Void();
16067 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 return SWIG_Python_InitShadowInstance(args
);
16071 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16072 PyObject
*resultobj
= 0;
16073 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16074 wxString
*arg2
= 0 ;
16079 bool temp2
= false ;
16083 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16088 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16090 arg2
= wxString_in_helper(swig_obj
[1]);
16091 if (arg2
== NULL
) SWIG_fail
;
16094 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
16095 if (!SWIG_IsOK(ecode3
)) {
16096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
16098 arg3
= static_cast< int >(val3
);
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16122 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16123 PyObject
*resultobj
= 0;
16124 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16125 wxString
*arg2
= 0 ;
16129 bool temp2
= false ;
16131 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16133 if (!SWIG_IsOK(res1
)) {
16134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16136 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16138 arg2
= wxString_in_helper(swig_obj
[1]);
16139 if (arg2
== NULL
) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16165 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
16169 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
16172 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
16175 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
16179 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
16184 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
= 0;
16186 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16187 wxString
*arg2
= 0 ;
16188 long arg3
= (long) 0 ;
16191 bool temp2
= false ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 PyObject
* obj2
= 0 ;
16197 char * kwnames
[] = {
16198 (char *) "self",(char *) "viewer",(char *) "flags", NULL
16201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16203 if (!SWIG_IsOK(res1
)) {
16204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16206 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16208 arg2
= wxString_in_helper(obj1
);
16209 if (arg2
== NULL
) SWIG_fail
;
16213 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16214 if (!SWIG_IsOK(ecode3
)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16217 arg3
= static_cast< long >(val3
);
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_Py_Void();
16240 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
= 0;
16242 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16243 wxString
const &arg2_defvalue
= wxEmptyString
;
16244 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16248 bool temp2
= false ;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char * kwnames
[] = {
16252 (char *) "self",(char *) "file", NULL
16255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16257 if (!SWIG_IsOK(res1
)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16260 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16263 arg2
= wxString_in_helper(obj1
);
16264 if (arg2
== NULL
) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16291 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16297 PyObject
*swig_obj
[1] ;
16299 if (!args
) SWIG_fail
;
16300 swig_obj
[0] = args
;
16301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16302 if (!SWIG_IsOK(res1
)) {
16303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16305 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (bool)(arg1
)->DisplayContents();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16321 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16322 PyObject
*resultobj
= 0;
16323 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16331 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16333 if (!SWIG_IsOK(res1
)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16336 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16337 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16338 if (!SWIG_IsOK(ecode2
)) {
16339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16341 arg2
= static_cast< int >(val2
);
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= (bool)(arg1
)->DisplaySection(arg2
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16357 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
= 0;
16359 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char * kwnames
[] = {
16369 (char *) "self",(char *) "contextId", NULL
16372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16374 if (!SWIG_IsOK(res1
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16377 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16379 if (!SWIG_IsOK(ecode2
)) {
16380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16382 arg2
= static_cast< int >(val2
);
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16398 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
= 0;
16400 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16401 wxString
*arg2
= 0 ;
16402 wxPoint
*arg3
= 0 ;
16406 bool temp2
= false ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 PyObject
* obj2
= 0 ;
16411 char * kwnames
[] = {
16412 (char *) "self",(char *) "text",(char *) "pos", NULL
16415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16417 if (!SWIG_IsOK(res1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16420 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16422 arg2
= wxString_in_helper(obj1
);
16423 if (arg2
== NULL
) SWIG_fail
;
16428 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16453 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16454 PyObject
*resultobj
= 0;
16455 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16456 wxString
*arg2
= 0 ;
16460 bool temp2
= false ;
16462 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16464 if (!SWIG_IsOK(res1
)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16467 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16469 arg2
= wxString_in_helper(swig_obj
[1]);
16470 if (arg2
== NULL
) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16496 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16500 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16506 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16509 if (!_v
) goto check_1
;
16510 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16515 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16519 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16524 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
= 0;
16526 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char * kwnames
[] = {
16536 (char *) "self",(char *) "blockNo", NULL
16539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16541 if (!SWIG_IsOK(res1
)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16544 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16545 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16546 if (!SWIG_IsOK(ecode2
)) {
16547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16549 arg2
= static_cast< long >(val2
);
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16565 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
= 0;
16567 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16568 wxString
*arg2
= 0 ;
16569 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16573 bool temp2
= false ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 PyObject
* obj2
= 0 ;
16579 char * kwnames
[] = {
16580 (char *) "self",(char *) "k",(char *) "mode", NULL
16583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16585 if (!SWIG_IsOK(res1
)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16588 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16590 arg2
= wxString_in_helper(obj1
);
16591 if (arg2
== NULL
) SWIG_fail
;
16596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16597 if (!SWIG_IsOK(res3
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16603 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16605 if (SWIG_IsNewObj(res3
)) delete temp
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16632 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= 0;
16634 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16635 wxString
*arg2
= 0 ;
16637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16639 bool arg5
= (bool) false ;
16642 bool temp2
= false ;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 PyObject
* obj2
= 0 ;
16650 PyObject
* obj3
= 0 ;
16651 PyObject
* obj4
= 0 ;
16652 char * kwnames
[] = {
16653 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16658 if (!SWIG_IsOK(res1
)) {
16659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16661 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16663 arg2
= wxString_in_helper(obj1
);
16664 if (arg2
== NULL
) SWIG_fail
;
16669 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16678 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16679 if (!SWIG_IsOK(ecode5
)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16682 arg5
= static_cast< bool >(val5
);
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= SWIG_Py_Void();
16705 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
= 0;
16707 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16708 wxSize
*arg2
= (wxSize
*) NULL
;
16709 wxPoint
*arg3
= (wxPoint
*) NULL
;
16710 bool *arg4
= (bool *) NULL
;
16711 wxFrame
*result
= 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 PyObject
* obj2
= 0 ;
16723 PyObject
* obj3
= 0 ;
16724 char * kwnames
[] = {
16725 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16730 if (!SWIG_IsOK(res1
)) {
16731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16733 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16736 if (!SWIG_IsOK(res2
)) {
16737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16739 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16742 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16743 if (!SWIG_IsOK(res3
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16746 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16749 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16750 if (!SWIG_IsOK(res4
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16753 arg4
= reinterpret_cast< bool * >(argp4
);
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= wxPyMake_wxObject(result
, 0);
16770 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16771 PyObject
*resultobj
= 0;
16772 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16776 PyObject
*swig_obj
[1] ;
16778 if (!args
) SWIG_fail
;
16779 swig_obj
[0] = args
;
16780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16781 if (!SWIG_IsOK(res1
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16784 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (bool)(arg1
)->Quit();
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16800 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16801 PyObject
*resultobj
= 0;
16802 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16805 PyObject
*swig_obj
[1] ;
16807 if (!args
) SWIG_fail
;
16808 swig_obj
[0] = args
;
16809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16810 if (!SWIG_IsOK(res1
)) {
16811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16813 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= SWIG_Py_Void();
16827 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
= 0;
16829 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16830 wxWindow
*arg2
= (wxWindow
*) 0 ;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char * kwnames
[] = {
16838 (char *) "self",(char *) "win", NULL
16841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16846 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16848 if (!SWIG_IsOK(res2
)) {
16849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->SetParentWindow(arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_Py_Void();
16865 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16866 PyObject
*resultobj
= 0;
16867 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16868 wxWindow
*result
= 0 ;
16871 PyObject
*swig_obj
[1] ;
16873 if (!args
) SWIG_fail
;
16874 swig_obj
[0] = args
;
16875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16879 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= wxPyMake_wxObject(result
, 0);
16895 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16898 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16899 return SWIG_Py_Void();
16902 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
= 0;
16904 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16905 wxWindow
*arg2
= (wxWindow
*) NULL
;
16906 wxHtmlHelpController
*result
= 0 ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 char * kwnames
[] = {
16914 (char *) "style",(char *) "parentWindow", NULL
16917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16920 if (!SWIG_IsOK(ecode1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16923 arg1
= static_cast< int >(val1
);
16926 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16927 if (!SWIG_IsOK(res2
)) {
16928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16930 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16933 if (!wxPyCheckForApp()) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16946 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16947 PyObject
*resultobj
= 0;
16948 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16951 PyObject
*swig_obj
[1] ;
16953 if (!args
) SWIG_fail
;
16954 swig_obj
[0] = args
;
16955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16956 if (!SWIG_IsOK(res1
)) {
16957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16959 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16967 resultobj
= SWIG_Py_Void();
16974 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16975 PyObject
*resultobj
= 0;
16976 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16977 wxHtmlHelpWindow
*result
= 0 ;
16980 PyObject
*swig_obj
[1] ;
16982 if (!args
) SWIG_fail
;
16983 swig_obj
[0] = args
;
16984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16985 if (!SWIG_IsOK(res1
)) {
16986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16988 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= wxPyMake_wxObject(result
, 0);
17004 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17007 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char * kwnames
[] = {
17015 (char *) "self",(char *) "helpWindow", NULL
17018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17020 if (!SWIG_IsOK(res1
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17023 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
17025 if (!SWIG_IsOK(res2
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
17028 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 (arg1
)->SetHelpWindow(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_Py_Void();
17042 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17043 PyObject
*resultobj
= 0;
17044 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17045 wxHtmlHelpFrame
*result
= 0 ;
17048 PyObject
*swig_obj
[1] ;
17050 if (!args
) SWIG_fail
;
17051 swig_obj
[0] = args
;
17052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17053 if (!SWIG_IsOK(res1
)) {
17054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17056 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= wxPyMake_wxObject(result
, 0);
17072 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17073 PyObject
*resultobj
= 0;
17074 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17075 wxHtmlHelpDialog
*result
= 0 ;
17078 PyObject
*swig_obj
[1] ;
17080 if (!args
) SWIG_fail
;
17081 swig_obj
[0] = args
;
17082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17083 if (!SWIG_IsOK(res1
)) {
17084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17086 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= wxPyMake_wxObject(result
, 0);
17102 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17105 wxString
*arg2
= 0 ;
17108 bool temp2
= false ;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 char * kwnames
[] = {
17112 (char *) "self",(char *) "format", NULL
17115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17120 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17122 arg2
= wxString_in_helper(obj1
);
17123 if (arg2
== NULL
) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= SWIG_Py_Void();
17147 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
= 0;
17149 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17150 wxString
*arg2
= 0 ;
17153 bool temp2
= false ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 char * kwnames
[] = {
17157 (char *) "self",(char *) "path", NULL
17160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17162 if (!SWIG_IsOK(res1
)) {
17163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17165 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17167 arg2
= wxString_in_helper(obj1
);
17168 if (arg2
== NULL
) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->SetTempDir((wxString
const &)*arg2
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_Py_Void();
17192 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17194 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17195 wxString
*arg2
= 0 ;
17196 int arg3
= (int) false ;
17200 bool temp2
= false ;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 PyObject
* obj2
= 0 ;
17206 char * kwnames
[] = {
17207 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
17210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17212 if (!SWIG_IsOK(res1
)) {
17213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17215 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17217 arg2
= wxString_in_helper(obj1
);
17218 if (arg2
== NULL
) SWIG_fail
;
17222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17223 if (!SWIG_IsOK(ecode3
)) {
17224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17226 arg3
= static_cast< int >(val3
);
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17254 wxString
*arg2
= 0 ;
17257 bool temp2
= false ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char * kwnames
[] = {
17261 (char *) "self",(char *) "x", NULL
17264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17266 if (!SWIG_IsOK(res1
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17269 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17271 arg2
= wxString_in_helper(obj1
);
17272 if (arg2
== NULL
) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->Display((wxString
const &)*arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_Py_Void();
17296 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
= 0;
17298 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char * kwnames
[] = {
17307 (char *) "self",(char *) "id", NULL
17310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17312 if (!SWIG_IsOK(res1
)) {
17313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17315 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17317 if (!SWIG_IsOK(ecode2
)) {
17318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17320 arg2
= static_cast< int >(val2
);
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->Display(arg2
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_Py_Void();
17334 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17335 PyObject
*resultobj
= 0;
17336 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17339 PyObject
*swig_obj
[1] ;
17341 if (!args
) SWIG_fail
;
17342 swig_obj
[0] = args
;
17343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17344 if (!SWIG_IsOK(res1
)) {
17345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17347 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->DisplayContents();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= SWIG_Py_Void();
17361 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17362 PyObject
*resultobj
= 0;
17363 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17366 PyObject
*swig_obj
[1] ;
17368 if (!args
) SWIG_fail
;
17369 swig_obj
[0] = args
;
17370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17371 if (!SWIG_IsOK(res1
)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17374 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 (arg1
)->DisplayIndex();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_Py_Void();
17388 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17391 wxString
*arg2
= 0 ;
17395 bool temp2
= false ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char * kwnames
[] = {
17399 (char *) "self",(char *) "keyword", NULL
17402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17404 if (!SWIG_IsOK(res1
)) {
17405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17407 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17409 arg2
= wxString_in_helper(obj1
);
17410 if (arg2
== NULL
) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17436 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
= 0;
17438 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17439 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17446 bool temp3
= false ;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 PyObject
* obj2
= 0 ;
17450 char * kwnames
[] = {
17451 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17456 if (!SWIG_IsOK(res1
)) {
17457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17459 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17461 if (!SWIG_IsOK(res2
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17464 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17467 arg3
= wxString_in_helper(obj2
);
17468 if (arg3
== NULL
) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_Py_Void();
17493 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= 0;
17495 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17496 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17497 wxString arg3
= (wxString
) wxPyEmptyString
;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 char * kwnames
[] = {
17506 (char *) "self",(char *) "cfg",(char *) "path", NULL
17509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17511 if (!SWIG_IsOK(res1
)) {
17512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17514 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17516 if (!SWIG_IsOK(res2
)) {
17517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17519 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17522 wxString
* sptr
= wxString_in_helper(obj2
);
17523 if (sptr
== NULL
) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 (arg1
)->ReadCustomization(arg2
,arg3
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_Py_Void();
17541 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
= 0;
17543 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17544 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17545 wxString arg3
= (wxString
) wxPyEmptyString
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 PyObject
* obj2
= 0 ;
17553 char * kwnames
[] = {
17554 (char *) "self",(char *) "cfg",(char *) "path", NULL
17557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17562 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17564 if (!SWIG_IsOK(res2
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17567 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17570 wxString
* sptr
= wxString_in_helper(obj2
);
17571 if (sptr
== NULL
) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 (arg1
)->WriteCustomization(arg2
,arg3
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= SWIG_Py_Void();
17589 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17590 PyObject
*resultobj
= 0;
17591 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17594 PyObject
*swig_obj
[1] ;
17596 if (!args
) SWIG_fail
;
17597 swig_obj
[0] = args
;
17598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17599 if (!SWIG_IsOK(res1
)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17602 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->MakeModalIfNeeded();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= SWIG_Py_Void();
17616 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17617 PyObject
*resultobj
= 0;
17618 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17619 wxWindow
*result
= 0 ;
17622 PyObject
*swig_obj
[1] ;
17624 if (!args
) SWIG_fail
;
17625 swig_obj
[0] = args
;
17626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17627 if (!SWIG_IsOK(res1
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17630 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= wxPyMake_wxObject(result
, 0);
17646 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17649 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17650 return SWIG_Py_Void();
17653 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 return SWIG_Python_InitShadowInstance(args
);
17657 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
= 0;
17659 wxWindow
*arg1
= (wxWindow
*) 0 ;
17660 wxString
*arg2
= 0 ;
17661 wxString
const &arg3_defvalue
= wxEmptyString
;
17662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17663 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17664 wxHtmlModalHelp
*result
= 0 ;
17667 bool temp2
= false ;
17668 bool temp3
= false ;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 PyObject
* obj2
= 0 ;
17674 PyObject
* obj3
= 0 ;
17675 char * kwnames
[] = {
17676 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17681 if (!SWIG_IsOK(res1
)) {
17682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17684 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17686 arg2
= wxString_in_helper(obj1
);
17687 if (arg2
== NULL
) SWIG_fail
;
17692 arg3
= wxString_in_helper(obj2
);
17693 if (arg3
== NULL
) SWIG_fail
;
17698 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17699 if (!SWIG_IsOK(ecode4
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17702 arg4
= static_cast< int >(val4
);
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17733 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17736 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17737 return SWIG_Py_Void();
17740 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17741 return SWIG_Python_InitShadowInstance(args
);
17744 static PyMethodDef SwigMethods
[] = {
17745 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17746 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17747 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17748 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17749 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17750 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17751 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17752 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17753 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17754 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17755 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17756 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17757 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17758 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17759 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17760 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17761 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17762 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17763 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17764 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17765 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17766 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17767 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17768 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17769 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17770 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17771 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17772 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17773 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17774 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17775 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17776 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17777 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17778 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17779 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17780 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17781 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17782 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17783 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17784 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17785 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17786 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17787 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17788 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17789 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17790 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17791 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17792 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17793 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17794 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17795 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17796 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17797 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17798 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17799 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17800 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17801 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17802 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17803 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17804 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17805 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17806 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17807 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17808 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17809 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17810 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17811 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17812 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17813 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17814 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17816 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17817 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17818 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17819 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17820 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17821 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17822 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17823 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17824 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17825 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17826 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17827 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17828 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17829 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17830 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17831 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17832 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17833 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17834 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17835 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17836 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17837 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17838 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17839 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17840 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17841 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17842 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17843 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17844 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17845 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17846 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17847 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17848 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17849 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17850 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17851 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17852 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17853 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17854 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17855 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17856 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17857 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17858 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17859 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17860 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17861 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17862 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17863 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17864 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17865 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17866 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17867 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17868 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17869 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17870 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17871 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17872 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17873 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17874 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17875 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17876 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17877 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17878 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17879 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17880 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17881 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17883 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17884 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17886 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17887 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17888 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17889 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17890 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17891 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17892 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17893 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17894 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17895 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17896 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17897 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17898 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17899 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17900 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17901 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17902 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17903 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17904 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17905 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17906 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17908 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17909 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17910 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17911 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17912 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17913 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17914 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17915 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17916 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17917 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17918 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17919 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17920 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17921 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17922 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17923 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17924 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17925 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17926 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17927 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17928 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17929 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17930 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17931 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17932 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17933 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17934 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17935 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17936 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17937 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17938 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17939 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17940 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17941 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17942 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17944 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17945 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17946 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17947 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17949 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17950 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17951 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17952 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17953 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17954 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17955 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17956 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17957 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17958 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17959 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17960 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17961 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17962 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17963 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17964 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17965 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17966 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17967 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17968 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17969 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17970 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17971 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17972 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17973 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17974 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17975 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17976 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17977 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17978 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17979 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17980 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17981 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17982 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17983 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17984 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17985 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17986 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17987 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17988 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17989 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17990 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17991 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17992 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17993 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17994 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17995 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17996 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17997 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17998 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17999 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18000 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18001 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18002 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
18003 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
18004 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
18005 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18006 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18007 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18008 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18009 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18010 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18011 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18012 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18013 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18014 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
18015 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
18016 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
18017 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18018 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
18019 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18020 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18021 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18022 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18023 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
18024 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18025 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18026 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18027 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18028 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
18029 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
18030 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
18031 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
18032 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18033 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
18034 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
18035 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
18036 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
18037 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18038 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
18039 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
18040 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18041 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18042 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18043 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18044 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
18045 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
18046 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
18047 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
18048 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
18049 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
18050 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
18051 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
18052 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
18053 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
18054 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18055 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18056 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18057 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18058 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
18059 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
18060 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
18061 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18063 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
18065 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
18066 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
18070 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
18071 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18072 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18073 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18074 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18075 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
18076 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
18077 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
18078 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
18079 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
18080 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
18081 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
18082 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
18083 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
18084 { (char *)"new_HtmlCellEvent", (PyCFunction
) _wrap_new_HtmlCellEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18085 { (char *)"HtmlCellEvent_GetCell", (PyCFunction
)_wrap_HtmlCellEvent_GetCell
, METH_O
, NULL
},
18086 { (char *)"HtmlCellEvent_GetPoint", (PyCFunction
)_wrap_HtmlCellEvent_GetPoint
, METH_O
, NULL
},
18087 { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction
)_wrap_HtmlCellEvent_GetMouseEvent
, METH_O
, NULL
},
18088 { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction
) _wrap_HtmlCellEvent_SetLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18089 { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction
)_wrap_HtmlCellEvent_GetLinkClicked
, METH_O
, NULL
},
18090 { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister
, METH_VARARGS
, NULL
},
18091 { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit
, METH_VARARGS
, NULL
},
18092 { (char *)"new_HtmlLinkEvent", (PyCFunction
) _wrap_new_HtmlLinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18093 { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction
)_wrap_HtmlLinkEvent_GetLinkInfo
, METH_O
, NULL
},
18094 { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister
, METH_VARARGS
, NULL
},
18095 { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit
, METH_VARARGS
, NULL
},
18096 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18098 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18099 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
18100 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18101 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
18102 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
18103 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18104 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
18105 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
18106 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
18107 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18109 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
18111 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
18112 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18113 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
18114 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18115 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
18116 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
18117 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
18118 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18119 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
18121 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18122 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18123 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
18124 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18125 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18127 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18128 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
18129 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
18130 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18131 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
18132 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
18133 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18134 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
18135 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
18136 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
18138 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
18139 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18140 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
18145 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
18146 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18148 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
18151 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
18152 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
18153 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
18154 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
18156 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
18157 { NULL
, NULL
, 0, NULL
}
18161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18163 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
18164 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
18166 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18169 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18170 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18172 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18173 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18175 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18176 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18178 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18179 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18181 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18182 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18184 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18185 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18187 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18188 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18190 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18193 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18196 static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x
) {
18197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
18199 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18200 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18202 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
18203 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18205 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18206 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18208 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18209 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18211 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18212 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18214 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18217 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18218 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18220 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18221 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18223 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18224 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18226 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18227 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18229 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18230 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18232 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18233 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18235 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18236 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18238 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18239 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18241 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18242 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18244 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
18245 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18247 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18248 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18250 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18251 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18253 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18254 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18256 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18257 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18259 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18260 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18262 static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x
) {
18263 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
18265 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18266 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18268 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18269 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18271 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18272 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18274 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18277 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18278 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18280 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18281 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18283 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18284 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18286 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18287 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18289 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18290 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18292 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18293 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18295 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18296 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18298 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18299 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18301 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18302 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18304 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18305 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18307 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18308 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18310 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18311 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18313 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18314 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18316 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18317 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18319 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18322 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18325 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18328 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18329 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18331 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18332 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18334 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18335 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18337 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18338 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18340 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18343 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18346 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18349 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18352 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18355 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
18356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18358 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18361 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18364 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18367 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18368 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18370 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18371 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18373 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18376 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18379 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18382 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18383 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18385 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18388 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18389 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18391 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18392 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18394 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18395 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18397 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18398 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18400 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18403 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18404 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18406 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18407 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18409 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18412 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18415 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18418 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18419 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18421 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18424 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18427 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18430 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18431 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18433 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18436 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18437 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18439 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18442 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18445 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18448 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18451 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18454 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18455 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18457 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18460 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18463 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18466 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18469 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18472 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18475 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18478 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18481 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18482 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18484 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18485 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18487 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18488 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18490 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18491 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18493 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18494 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18496 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18497 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18499 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18500 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18502 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18503 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18505 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18506 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18508 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18509 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18511 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18514 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18517 static void *_p_wxEventTo_p_wxObject(void *x
) {
18518 return (void *)((wxObject
*) ((wxEvent
*) x
));
18520 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18523 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18524 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18526 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18527 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18529 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18530 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18532 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18535 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18538 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18539 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18541 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18542 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18544 static void *_p_wxImageTo_p_wxObject(void *x
) {
18545 return (void *)((wxObject
*) ((wxImage
*) x
));
18547 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18548 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18550 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18551 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18553 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18554 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18556 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18557 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18559 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18560 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18562 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18565 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18568 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18569 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18571 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18572 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18574 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18577 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18578 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18580 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18581 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18583 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18584 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18586 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18587 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18589 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18592 static void *_p_wxHtmlCellEventTo_p_wxObject(void *x
) {
18593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
18595 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18596 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18598 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18599 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18601 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18602 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18604 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18607 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18608 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18610 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18611 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18613 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18614 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18616 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18617 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18619 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18620 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18622 static void *_p_wxControlTo_p_wxObject(void *x
) {
18623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18625 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18628 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18629 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18631 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18632 return (void *)((wxObject
*) ((wxColourData
*) x
));
18634 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18635 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18637 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18638 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18640 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18641 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18643 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18644 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18646 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18647 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18649 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18650 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18652 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18655 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18656 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18658 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18661 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18662 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18664 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
18665 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18667 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18668 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18670 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18671 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18673 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18676 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18677 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18679 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18680 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18682 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18683 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18685 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18688 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18689 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18691 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18694 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18697 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18698 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18700 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18701 return (void *)((wxObject
*) ((wxFontData
*) x
));
18703 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18706 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18709 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18712 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18715 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18718 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18721 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18724 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18725 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18727 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18728 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18730 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18731 return (void *)((wxObject
*) ((wxSizer
*) x
));
18733 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18736 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18739 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18742 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18743 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18745 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18746 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18748 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18749 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18751 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18754 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18757 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18760 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18763 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18766 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18769 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18772 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18775 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18778 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18781 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18784 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18787 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18790 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18793 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18796 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18799 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18802 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18805 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18808 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
18811 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18814 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18817 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18820 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18823 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18826 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18829 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18832 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18835 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18838 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18841 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18844 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18847 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18850 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18853 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18856 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18859 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18862 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18865 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18868 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18871 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18874 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18877 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18880 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18883 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18886 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18889 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18892 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18895 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18898 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18901 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18904 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18907 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18910 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18913 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18916 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18919 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18922 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18925 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18928 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18931 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18934 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18937 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18940 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18943 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18946 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18949 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18952 static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
18955 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18958 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18961 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18964 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18967 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18970 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18973 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18976 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18979 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18982 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18985 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18988 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18991 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18994 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18997 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
19000 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19003 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
19004 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
19006 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
19007 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
19009 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
19010 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
19012 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
19013 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
19015 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
19016 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
19018 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
19019 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
19021 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
19022 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19024 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
19025 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
19027 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
19028 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
19030 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
19031 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
19033 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
19034 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
19036 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
19037 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
19039 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
19040 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19042 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
19043 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
19045 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19046 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19048 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19049 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19051 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
19052 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
19054 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
19055 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
19057 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
19058 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
19060 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
19061 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
19063 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19064 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
19066 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19067 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19069 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
19070 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19072 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
19073 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19075 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
19076 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
19078 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19079 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19081 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
19082 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19084 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
19085 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19087 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
19088 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19090 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
19091 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
19093 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
19094 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19096 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
19097 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19099 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
19100 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19102 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
19103 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19105 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
19106 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19108 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
19109 return (void *)((wxWindow
*) ((wxPanel
*) x
));
19111 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
19112 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
19114 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
19115 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19117 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
19118 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19120 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
19121 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19123 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
19124 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
19126 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
19127 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19129 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
19130 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
19132 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
19133 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
19135 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
19136 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
19138 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
19139 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
19141 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
19142 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
19144 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
19145 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
19147 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
19148 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19150 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
19151 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19153 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
19154 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
19156 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19157 return (void *)((wxWindow
*) ((wxControl
*) x
));
19159 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
19160 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19162 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
19163 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19165 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
19166 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19168 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19169 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19171 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
19172 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
19174 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
19175 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19177 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
19178 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19180 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
19181 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19183 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
19184 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
19186 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
19187 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19189 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
19190 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
19192 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
19193 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
19195 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
19196 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19198 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
19199 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19201 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
19202 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19204 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
19205 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
19207 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
19208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19210 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
19211 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19213 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
19214 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19216 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
19217 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19219 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
19220 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19222 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
19223 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
19225 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
19226 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
19228 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
19229 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
19231 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
19232 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19234 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
19235 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
19237 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
19238 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19240 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
19241 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19243 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
19244 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
19246 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
19247 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19249 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
19250 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
19252 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
19253 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
19255 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
19256 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
19258 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
19259 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
19261 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
19262 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19264 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
19265 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19267 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
19268 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19270 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
19271 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19273 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
19274 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19276 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
19277 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
19279 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
19280 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19282 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
19283 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19285 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19286 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19288 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19289 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19291 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19292 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19294 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19295 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19297 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19298 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19300 static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x
) {
19301 return (void *)((wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
19303 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19304 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19306 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19307 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19309 static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x
) {
19310 return (void *)((wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
19312 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19313 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19315 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19316 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19318 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19319 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19321 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19322 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19324 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19325 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19327 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19328 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19330 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19331 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19333 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19334 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19336 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19337 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19339 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19340 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19341 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};
19342 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19343 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19344 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19345 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19346 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19347 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19348 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19349 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19350 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19351 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19352 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19353 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19354 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19355 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19356 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19357 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19358 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19359 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19360 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
19361 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19362 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19363 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19364 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19365 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19366 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19367 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19368 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19369 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19370 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19371 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19372 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19373 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19374 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19375 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19376 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19377 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19378 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19379 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19380 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19381 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19382 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19383 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19384 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19385 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19386 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19387 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
19388 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19389 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19390 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19391 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19392 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19393 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19394 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19395 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19396 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19397 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19398 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19399 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19400 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19401 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19402 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19403 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19404 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19405 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19406 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19407 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19408 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19409 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19410 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19411 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19412 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19413 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19414 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19415 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19416 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19417 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19418 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19419 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19420 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19421 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19422 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19423 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19424 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19425 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19426 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19427 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19428 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19429 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19430 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19431 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19432 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19433 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19434 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19435 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19436 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19437 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19438 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19439 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19440 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19441 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19442 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19443 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19444 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19445 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19446 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19447 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19448 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19449 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19450 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19451 static swig_type_info _swigt__p_wxHtmlCellEvent
= {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0};
19452 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19453 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19454 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19455 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19456 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19457 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19458 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19459 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19460 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19461 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19462 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19463 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19464 static swig_type_info _swigt__p_wxHtmlLinkEvent
= {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0};
19465 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19466 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19467 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19468 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19469 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19470 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19471 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19472 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19473 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19474 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19475 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19476 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19477 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19478 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19479 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19480 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19481 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19482 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19483 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19484 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19485 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19486 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19487 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19488 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19489 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19490 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19491 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19492 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19493 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19494 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19495 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19496 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19497 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19498 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19499 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19500 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19501 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19502 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19503 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19504 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19505 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19506 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19507 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19508 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
19509 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19510 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19511 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19512 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19513 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19514 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19515 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19516 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19517 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19518 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19519 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19520 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19521 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19522 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19523 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19524 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19525 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19526 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19527 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19528 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19529 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19530 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19531 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19532 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19533 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19534 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19535 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19536 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19537 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19538 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19540 static swig_type_info
*swig_type_initial
[] = {
19543 &_swigt__p_form_ops_t
,
19545 &_swigt__p_unsigned_char
,
19546 &_swigt__p_unsigned_int
,
19547 &_swigt__p_unsigned_long
,
19548 &_swigt__p_wxANIHandler
,
19549 &_swigt__p_wxAcceleratorTable
,
19550 &_swigt__p_wxActivateEvent
,
19551 &_swigt__p_wxArrayInt
,
19552 &_swigt__p_wxBMPHandler
,
19553 &_swigt__p_wxBitmap
,
19554 &_swigt__p_wxBoxSizer
,
19555 &_swigt__p_wxCURHandler
,
19556 &_swigt__p_wxCalculateLayoutEvent
,
19557 &_swigt__p_wxChildFocusEvent
,
19558 &_swigt__p_wxClipboardTextEvent
,
19559 &_swigt__p_wxCloseEvent
,
19560 &_swigt__p_wxColour
,
19561 &_swigt__p_wxColourData
,
19562 &_swigt__p_wxColourDialog
,
19563 &_swigt__p_wxCommandEvent
,
19564 &_swigt__p_wxConfigBase
,
19565 &_swigt__p_wxContextMenuEvent
,
19566 &_swigt__p_wxControl
,
19567 &_swigt__p_wxControlWithItems
,
19568 &_swigt__p_wxCursor
,
19570 &_swigt__p_wxDateEvent
,
19571 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19572 &_swigt__p_wxDialog
,
19573 &_swigt__p_wxDirDialog
,
19574 &_swigt__p_wxDisplayChangedEvent
,
19575 &_swigt__p_wxDropFilesEvent
,
19576 &_swigt__p_wxDuplexMode
,
19577 &_swigt__p_wxEraseEvent
,
19578 &_swigt__p_wxEvent
,
19579 &_swigt__p_wxEvtHandler
,
19580 &_swigt__p_wxFSFile
,
19581 &_swigt__p_wxFileDialog
,
19582 &_swigt__p_wxFileSystem
,
19583 &_swigt__p_wxFindDialogEvent
,
19584 &_swigt__p_wxFindReplaceData
,
19585 &_swigt__p_wxFindReplaceDialog
,
19586 &_swigt__p_wxFlexGridSizer
,
19587 &_swigt__p_wxFocusEvent
,
19589 &_swigt__p_wxFontData
,
19590 &_swigt__p_wxFontDialog
,
19591 &_swigt__p_wxFrame
,
19592 &_swigt__p_wxGBSizerItem
,
19593 &_swigt__p_wxGIFHandler
,
19594 &_swigt__p_wxGridBagSizer
,
19595 &_swigt__p_wxGridSizer
,
19596 &_swigt__p_wxHelpControllerBase
,
19597 &_swigt__p_wxHelpSearchMode
,
19598 &_swigt__p_wxHtmlBookRecArray
,
19599 &_swigt__p_wxHtmlBookRecord
,
19600 &_swigt__p_wxHtmlCell
,
19601 &_swigt__p_wxHtmlCellEvent
,
19602 &_swigt__p_wxHtmlColourCell
,
19603 &_swigt__p_wxHtmlContainerCell
,
19604 &_swigt__p_wxHtmlDCRenderer
,
19605 &_swigt__p_wxHtmlEasyPrinting
,
19606 &_swigt__p_wxHtmlFilter
,
19607 &_swigt__p_wxHtmlFontCell
,
19608 &_swigt__p_wxHtmlHelpController
,
19609 &_swigt__p_wxHtmlHelpData
,
19610 &_swigt__p_wxHtmlHelpDialog
,
19611 &_swigt__p_wxHtmlHelpFrame
,
19612 &_swigt__p_wxHtmlHelpFrameCfg
,
19613 &_swigt__p_wxHtmlHelpWindow
,
19614 &_swigt__p_wxHtmlLinkEvent
,
19615 &_swigt__p_wxHtmlLinkInfo
,
19616 &_swigt__p_wxHtmlModalHelp
,
19617 &_swigt__p_wxHtmlParser
,
19618 &_swigt__p_wxHtmlPrintout
,
19619 &_swigt__p_wxHtmlRenderingInfo
,
19620 &_swigt__p_wxHtmlRenderingState
,
19621 &_swigt__p_wxHtmlRenderingStyle
,
19622 &_swigt__p_wxHtmlSearchStatus
,
19623 &_swigt__p_wxHtmlSelection
,
19624 &_swigt__p_wxHtmlTag
,
19625 &_swigt__p_wxHtmlTagHandler
,
19626 &_swigt__p_wxHtmlWidgetCell
,
19627 &_swigt__p_wxHtmlWinParser
,
19628 &_swigt__p_wxHtmlWindowInterface
,
19629 &_swigt__p_wxHtmlWordCell
,
19630 &_swigt__p_wxICOHandler
,
19631 &_swigt__p_wxIconizeEvent
,
19632 &_swigt__p_wxIdleEvent
,
19633 &_swigt__p_wxImage
,
19634 &_swigt__p_wxImageHandler
,
19635 &_swigt__p_wxIndividualLayoutConstraint
,
19636 &_swigt__p_wxInitDialogEvent
,
19637 &_swigt__p_wxJPEGHandler
,
19638 &_swigt__p_wxKeyEvent
,
19639 &_swigt__p_wxLayoutAlgorithm
,
19640 &_swigt__p_wxLayoutConstraints
,
19641 &_swigt__p_wxMDIChildFrame
,
19642 &_swigt__p_wxMDIClientWindow
,
19643 &_swigt__p_wxMDIParentFrame
,
19644 &_swigt__p_wxMaximizeEvent
,
19646 &_swigt__p_wxMenuBar
,
19647 &_swigt__p_wxMenuEvent
,
19648 &_swigt__p_wxMenuItem
,
19649 &_swigt__p_wxMessageDialog
,
19650 &_swigt__p_wxMiniFrame
,
19651 &_swigt__p_wxMouseCaptureChangedEvent
,
19652 &_swigt__p_wxMouseCaptureLostEvent
,
19653 &_swigt__p_wxMouseEvent
,
19654 &_swigt__p_wxMoveEvent
,
19655 &_swigt__p_wxMultiChoiceDialog
,
19656 &_swigt__p_wxNavigationKeyEvent
,
19657 &_swigt__p_wxNcPaintEvent
,
19658 &_swigt__p_wxNotifyEvent
,
19659 &_swigt__p_wxNumberEntryDialog
,
19660 &_swigt__p_wxObject
,
19661 &_swigt__p_wxPCXHandler
,
19662 &_swigt__p_wxPNGHandler
,
19663 &_swigt__p_wxPNMHandler
,
19664 &_swigt__p_wxPageSetupDialog
,
19665 &_swigt__p_wxPageSetupDialogData
,
19666 &_swigt__p_wxPaintEvent
,
19667 &_swigt__p_wxPaletteChangedEvent
,
19668 &_swigt__p_wxPanel
,
19669 &_swigt__p_wxPaperSize
,
19670 &_swigt__p_wxPasswordEntryDialog
,
19671 &_swigt__p_wxPoint
,
19672 &_swigt__p_wxPopupWindow
,
19673 &_swigt__p_wxPreviewCanvas
,
19674 &_swigt__p_wxPreviewControlBar
,
19675 &_swigt__p_wxPreviewFrame
,
19676 &_swigt__p_wxPrintData
,
19677 &_swigt__p_wxPrintDialog
,
19678 &_swigt__p_wxPrintDialogData
,
19679 &_swigt__p_wxPrintPreview
,
19680 &_swigt__p_wxPrinter
,
19681 &_swigt__p_wxProgressDialog
,
19682 &_swigt__p_wxPyApp
,
19683 &_swigt__p_wxPyCommandEvent
,
19684 &_swigt__p_wxPyEvent
,
19685 &_swigt__p_wxPyHtmlFilter
,
19686 &_swigt__p_wxPyHtmlListBox
,
19687 &_swigt__p_wxPyHtmlTagHandler
,
19688 &_swigt__p_wxPyHtmlWinTagHandler
,
19689 &_swigt__p_wxPyHtmlWindow
,
19690 &_swigt__p_wxPyImageHandler
,
19691 &_swigt__p_wxPyPanel
,
19692 &_swigt__p_wxPyPopupTransientWindow
,
19693 &_swigt__p_wxPyPreviewControlBar
,
19694 &_swigt__p_wxPyPreviewFrame
,
19695 &_swigt__p_wxPyPrintPreview
,
19696 &_swigt__p_wxPyPrintout
,
19697 &_swigt__p_wxPyScrolledWindow
,
19698 &_swigt__p_wxPySizer
,
19699 &_swigt__p_wxPyTaskBarIcon
,
19700 &_swigt__p_wxPyVListBox
,
19701 &_swigt__p_wxPyVScrolledWindow
,
19702 &_swigt__p_wxPyValidator
,
19703 &_swigt__p_wxPyWindow
,
19704 &_swigt__p_wxQueryLayoutInfoEvent
,
19705 &_swigt__p_wxQueryNewPaletteEvent
,
19706 &_swigt__p_wxSashEvent
,
19707 &_swigt__p_wxSashLayoutWindow
,
19708 &_swigt__p_wxSashWindow
,
19709 &_swigt__p_wxScrollEvent
,
19710 &_swigt__p_wxScrollWinEvent
,
19711 &_swigt__p_wxScrolledWindow
,
19712 &_swigt__p_wxSetCursorEvent
,
19713 &_swigt__p_wxShowEvent
,
19714 &_swigt__p_wxSingleChoiceDialog
,
19716 &_swigt__p_wxSizeEvent
,
19717 &_swigt__p_wxSizer
,
19718 &_swigt__p_wxSizerItem
,
19719 &_swigt__p_wxSplashScreen
,
19720 &_swigt__p_wxSplashScreenWindow
,
19721 &_swigt__p_wxSplitterEvent
,
19722 &_swigt__p_wxSplitterWindow
,
19723 &_swigt__p_wxStaticBoxSizer
,
19724 &_swigt__p_wxStatusBar
,
19725 &_swigt__p_wxStdDialogButtonSizer
,
19726 &_swigt__p_wxString
,
19727 &_swigt__p_wxSysColourChangedEvent
,
19728 &_swigt__p_wxTGAHandler
,
19729 &_swigt__p_wxTIFFHandler
,
19730 &_swigt__p_wxTaskBarIconEvent
,
19731 &_swigt__p_wxTextEntryDialog
,
19732 &_swigt__p_wxTipWindow
,
19733 &_swigt__p_wxTopLevelWindow
,
19734 &_swigt__p_wxUpdateUIEvent
,
19735 &_swigt__p_wxValidator
,
19736 &_swigt__p_wxVisualAttributes
,
19737 &_swigt__p_wxWindow
,
19738 &_swigt__p_wxWindowCreateEvent
,
19739 &_swigt__p_wxWindowDestroyEvent
,
19740 &_swigt__p_wxXPMHandler
,
19743 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19744 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19745 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19746 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19747 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19748 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19749 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19750 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19751 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19752 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19753 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19754 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19755 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19756 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19757 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19758 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19759 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19760 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19761 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19762 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19763 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19764 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19765 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19766 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_wxHtmlLinkEvent
, _p_wxHtmlLinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHtmlCellEvent
, _p_wxHtmlCellEventTo_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_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
19767 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19768 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19769 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19770 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19771 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19772 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19773 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19774 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19775 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19776 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19777 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19778 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19779 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19780 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19781 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19782 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}};
19783 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19784 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19785 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19786 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19787 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19788 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19789 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19790 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
19791 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19792 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19793 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19794 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19795 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19796 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19797 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19798 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19799 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19800 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19801 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19802 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19803 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19804 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19805 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19806 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19807 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19808 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19809 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19810 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19811 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19812 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19813 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_wxHtmlCellEvent
, _p_wxHtmlCellEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxHtmlLinkEvent
, _p_wxHtmlLinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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}};
19814 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19815 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19816 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19817 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19818 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19819 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19820 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19821 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19822 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19823 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19824 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19825 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19826 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19827 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19828 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19829 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19830 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19831 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19832 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19833 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19834 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19835 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19836 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19837 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19838 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19839 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19840 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19841 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19842 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19843 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19844 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19845 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19846 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_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_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}};
19847 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19848 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19849 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}};
19850 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}};
19851 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19852 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19853 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19854 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}};
19855 static swig_cast_info _swigc__p_wxHtmlCellEvent
[] = { {&_swigt__p_wxHtmlCellEvent
, 0, 0, 0},{0, 0, 0, 0}};
19856 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19857 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19858 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19859 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19860 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19861 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19862 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19863 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19864 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19865 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19866 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19867 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19868 static swig_cast_info _swigc__p_wxHtmlLinkEvent
[] = { {&_swigt__p_wxHtmlLinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
19869 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19870 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19871 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}};
19872 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19873 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19874 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19875 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}};
19876 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19877 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19878 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19879 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19880 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19881 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19882 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19883 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19884 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19885 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19886 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19887 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19888 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19889 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19890 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19891 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19892 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19893 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19894 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19895 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19896 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19897 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19898 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19899 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19900 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19901 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19902 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19903 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19904 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19905 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19906 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19907 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19908 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19909 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19910 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19911 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
19912 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19913 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19914 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19915 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19916 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19917 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19918 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19919 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19920 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19921 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19922 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19923 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19924 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19925 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_wxHtmlCellEvent
, _p_wxHtmlCellEventTo_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_wxHtmlWinParser
, _p_wxHtmlWinParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlParser
, _p_wxHtmlParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlContainerCell
, _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_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_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_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_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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_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_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpController
, _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkEvent
, _p_wxHtmlLinkEventTo_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_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_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}};
19926 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19927 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}};
19928 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19929 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19930 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19931 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19932 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}};
19933 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19934 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19935 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}};
19936 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}};
19937 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19938 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19939 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19940 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}};
19941 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19942 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
19944 static swig_cast_info
*swig_cast_initial
[] = {
19947 _swigc__p_form_ops_t
,
19949 _swigc__p_unsigned_char
,
19950 _swigc__p_unsigned_int
,
19951 _swigc__p_unsigned_long
,
19952 _swigc__p_wxANIHandler
,
19953 _swigc__p_wxAcceleratorTable
,
19954 _swigc__p_wxActivateEvent
,
19955 _swigc__p_wxArrayInt
,
19956 _swigc__p_wxBMPHandler
,
19957 _swigc__p_wxBitmap
,
19958 _swigc__p_wxBoxSizer
,
19959 _swigc__p_wxCURHandler
,
19960 _swigc__p_wxCalculateLayoutEvent
,
19961 _swigc__p_wxChildFocusEvent
,
19962 _swigc__p_wxClipboardTextEvent
,
19963 _swigc__p_wxCloseEvent
,
19964 _swigc__p_wxColour
,
19965 _swigc__p_wxColourData
,
19966 _swigc__p_wxColourDialog
,
19967 _swigc__p_wxCommandEvent
,
19968 _swigc__p_wxConfigBase
,
19969 _swigc__p_wxContextMenuEvent
,
19970 _swigc__p_wxControl
,
19971 _swigc__p_wxControlWithItems
,
19972 _swigc__p_wxCursor
,
19974 _swigc__p_wxDateEvent
,
19975 _swigc__p_wxDefaultHtmlRenderingStyle
,
19976 _swigc__p_wxDialog
,
19977 _swigc__p_wxDirDialog
,
19978 _swigc__p_wxDisplayChangedEvent
,
19979 _swigc__p_wxDropFilesEvent
,
19980 _swigc__p_wxDuplexMode
,
19981 _swigc__p_wxEraseEvent
,
19983 _swigc__p_wxEvtHandler
,
19984 _swigc__p_wxFSFile
,
19985 _swigc__p_wxFileDialog
,
19986 _swigc__p_wxFileSystem
,
19987 _swigc__p_wxFindDialogEvent
,
19988 _swigc__p_wxFindReplaceData
,
19989 _swigc__p_wxFindReplaceDialog
,
19990 _swigc__p_wxFlexGridSizer
,
19991 _swigc__p_wxFocusEvent
,
19993 _swigc__p_wxFontData
,
19994 _swigc__p_wxFontDialog
,
19996 _swigc__p_wxGBSizerItem
,
19997 _swigc__p_wxGIFHandler
,
19998 _swigc__p_wxGridBagSizer
,
19999 _swigc__p_wxGridSizer
,
20000 _swigc__p_wxHelpControllerBase
,
20001 _swigc__p_wxHelpSearchMode
,
20002 _swigc__p_wxHtmlBookRecArray
,
20003 _swigc__p_wxHtmlBookRecord
,
20004 _swigc__p_wxHtmlCell
,
20005 _swigc__p_wxHtmlCellEvent
,
20006 _swigc__p_wxHtmlColourCell
,
20007 _swigc__p_wxHtmlContainerCell
,
20008 _swigc__p_wxHtmlDCRenderer
,
20009 _swigc__p_wxHtmlEasyPrinting
,
20010 _swigc__p_wxHtmlFilter
,
20011 _swigc__p_wxHtmlFontCell
,
20012 _swigc__p_wxHtmlHelpController
,
20013 _swigc__p_wxHtmlHelpData
,
20014 _swigc__p_wxHtmlHelpDialog
,
20015 _swigc__p_wxHtmlHelpFrame
,
20016 _swigc__p_wxHtmlHelpFrameCfg
,
20017 _swigc__p_wxHtmlHelpWindow
,
20018 _swigc__p_wxHtmlLinkEvent
,
20019 _swigc__p_wxHtmlLinkInfo
,
20020 _swigc__p_wxHtmlModalHelp
,
20021 _swigc__p_wxHtmlParser
,
20022 _swigc__p_wxHtmlPrintout
,
20023 _swigc__p_wxHtmlRenderingInfo
,
20024 _swigc__p_wxHtmlRenderingState
,
20025 _swigc__p_wxHtmlRenderingStyle
,
20026 _swigc__p_wxHtmlSearchStatus
,
20027 _swigc__p_wxHtmlSelection
,
20028 _swigc__p_wxHtmlTag
,
20029 _swigc__p_wxHtmlTagHandler
,
20030 _swigc__p_wxHtmlWidgetCell
,
20031 _swigc__p_wxHtmlWinParser
,
20032 _swigc__p_wxHtmlWindowInterface
,
20033 _swigc__p_wxHtmlWordCell
,
20034 _swigc__p_wxICOHandler
,
20035 _swigc__p_wxIconizeEvent
,
20036 _swigc__p_wxIdleEvent
,
20038 _swigc__p_wxImageHandler
,
20039 _swigc__p_wxIndividualLayoutConstraint
,
20040 _swigc__p_wxInitDialogEvent
,
20041 _swigc__p_wxJPEGHandler
,
20042 _swigc__p_wxKeyEvent
,
20043 _swigc__p_wxLayoutAlgorithm
,
20044 _swigc__p_wxLayoutConstraints
,
20045 _swigc__p_wxMDIChildFrame
,
20046 _swigc__p_wxMDIClientWindow
,
20047 _swigc__p_wxMDIParentFrame
,
20048 _swigc__p_wxMaximizeEvent
,
20050 _swigc__p_wxMenuBar
,
20051 _swigc__p_wxMenuEvent
,
20052 _swigc__p_wxMenuItem
,
20053 _swigc__p_wxMessageDialog
,
20054 _swigc__p_wxMiniFrame
,
20055 _swigc__p_wxMouseCaptureChangedEvent
,
20056 _swigc__p_wxMouseCaptureLostEvent
,
20057 _swigc__p_wxMouseEvent
,
20058 _swigc__p_wxMoveEvent
,
20059 _swigc__p_wxMultiChoiceDialog
,
20060 _swigc__p_wxNavigationKeyEvent
,
20061 _swigc__p_wxNcPaintEvent
,
20062 _swigc__p_wxNotifyEvent
,
20063 _swigc__p_wxNumberEntryDialog
,
20064 _swigc__p_wxObject
,
20065 _swigc__p_wxPCXHandler
,
20066 _swigc__p_wxPNGHandler
,
20067 _swigc__p_wxPNMHandler
,
20068 _swigc__p_wxPageSetupDialog
,
20069 _swigc__p_wxPageSetupDialogData
,
20070 _swigc__p_wxPaintEvent
,
20071 _swigc__p_wxPaletteChangedEvent
,
20073 _swigc__p_wxPaperSize
,
20074 _swigc__p_wxPasswordEntryDialog
,
20076 _swigc__p_wxPopupWindow
,
20077 _swigc__p_wxPreviewCanvas
,
20078 _swigc__p_wxPreviewControlBar
,
20079 _swigc__p_wxPreviewFrame
,
20080 _swigc__p_wxPrintData
,
20081 _swigc__p_wxPrintDialog
,
20082 _swigc__p_wxPrintDialogData
,
20083 _swigc__p_wxPrintPreview
,
20084 _swigc__p_wxPrinter
,
20085 _swigc__p_wxProgressDialog
,
20087 _swigc__p_wxPyCommandEvent
,
20088 _swigc__p_wxPyEvent
,
20089 _swigc__p_wxPyHtmlFilter
,
20090 _swigc__p_wxPyHtmlListBox
,
20091 _swigc__p_wxPyHtmlTagHandler
,
20092 _swigc__p_wxPyHtmlWinTagHandler
,
20093 _swigc__p_wxPyHtmlWindow
,
20094 _swigc__p_wxPyImageHandler
,
20095 _swigc__p_wxPyPanel
,
20096 _swigc__p_wxPyPopupTransientWindow
,
20097 _swigc__p_wxPyPreviewControlBar
,
20098 _swigc__p_wxPyPreviewFrame
,
20099 _swigc__p_wxPyPrintPreview
,
20100 _swigc__p_wxPyPrintout
,
20101 _swigc__p_wxPyScrolledWindow
,
20102 _swigc__p_wxPySizer
,
20103 _swigc__p_wxPyTaskBarIcon
,
20104 _swigc__p_wxPyVListBox
,
20105 _swigc__p_wxPyVScrolledWindow
,
20106 _swigc__p_wxPyValidator
,
20107 _swigc__p_wxPyWindow
,
20108 _swigc__p_wxQueryLayoutInfoEvent
,
20109 _swigc__p_wxQueryNewPaletteEvent
,
20110 _swigc__p_wxSashEvent
,
20111 _swigc__p_wxSashLayoutWindow
,
20112 _swigc__p_wxSashWindow
,
20113 _swigc__p_wxScrollEvent
,
20114 _swigc__p_wxScrollWinEvent
,
20115 _swigc__p_wxScrolledWindow
,
20116 _swigc__p_wxSetCursorEvent
,
20117 _swigc__p_wxShowEvent
,
20118 _swigc__p_wxSingleChoiceDialog
,
20120 _swigc__p_wxSizeEvent
,
20122 _swigc__p_wxSizerItem
,
20123 _swigc__p_wxSplashScreen
,
20124 _swigc__p_wxSplashScreenWindow
,
20125 _swigc__p_wxSplitterEvent
,
20126 _swigc__p_wxSplitterWindow
,
20127 _swigc__p_wxStaticBoxSizer
,
20128 _swigc__p_wxStatusBar
,
20129 _swigc__p_wxStdDialogButtonSizer
,
20130 _swigc__p_wxString
,
20131 _swigc__p_wxSysColourChangedEvent
,
20132 _swigc__p_wxTGAHandler
,
20133 _swigc__p_wxTIFFHandler
,
20134 _swigc__p_wxTaskBarIconEvent
,
20135 _swigc__p_wxTextEntryDialog
,
20136 _swigc__p_wxTipWindow
,
20137 _swigc__p_wxTopLevelWindow
,
20138 _swigc__p_wxUpdateUIEvent
,
20139 _swigc__p_wxValidator
,
20140 _swigc__p_wxVisualAttributes
,
20141 _swigc__p_wxWindow
,
20142 _swigc__p_wxWindowCreateEvent
,
20143 _swigc__p_wxWindowDestroyEvent
,
20144 _swigc__p_wxXPMHandler
,
20148 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20150 static swig_const_info swig_const_table
[] = {
20151 {0, 0, 0, 0.0, 0, 0}};
20156 /* -----------------------------------------------------------------------------
20157 * Type initialization:
20158 * This problem is tough by the requirement that no dynamic
20159 * memory is used. Also, since swig_type_info structures store pointers to
20160 * swig_cast_info structures and swig_cast_info structures store pointers back
20161 * to swig_type_info structures, we need some lookup code at initialization.
20162 * The idea is that swig generates all the structures that are needed.
20163 * The runtime then collects these partially filled structures.
20164 * The SWIG_InitializeModule function takes these initial arrays out of
20165 * swig_module, and does all the lookup, filling in the swig_module.types
20166 * array with the correct data and linking the correct swig_cast_info
20167 * structures together.
20169 * The generated swig_type_info structures are assigned staticly to an initial
20170 * array. We just loop though that array, and handle each type individually.
20171 * First we lookup if this type has been already loaded, and if so, use the
20172 * loaded structure instead of the generated one. Then we have to fill in the
20173 * cast linked list. The cast data is initially stored in something like a
20174 * two-dimensional array. Each row corresponds to a type (there are the same
20175 * number of rows as there are in the swig_type_initial array). Each entry in
20176 * a column is one of the swig_cast_info structures for that type.
20177 * The cast_initial array is actually an array of arrays, because each row has
20178 * a variable number of columns. So to actually build the cast linked list,
20179 * we find the array of casts associated with the type, and loop through it
20180 * adding the casts to the list. The one last trick we need to do is making
20181 * sure the type pointer in the swig_cast_info struct is correct.
20183 * First off, we lookup the cast->type name to see if it is already loaded.
20184 * There are three cases to handle:
20185 * 1) If the cast->type has already been loaded AND the type we are adding
20186 * casting info to has not been loaded (it is in this module), THEN we
20187 * replace the cast->type pointer with the type pointer that has already
20189 * 2) If BOTH types (the one we are adding casting info to, and the
20190 * cast->type) are loaded, THEN the cast info has already been loaded by
20191 * the previous module so we just ignore it.
20192 * 3) Finally, if cast->type has not already been loaded, then we add that
20193 * swig_cast_info to the linked list (because the cast->type) pointer will
20195 * ----------------------------------------------------------------------------- */
20205 #define SWIGRUNTIME_DEBUG
20209 SWIG_InitializeModule(void *clientdata
) {
20211 swig_module_info
*module_head
;
20212 static int init_run
= 0;
20214 clientdata
= clientdata
;
20216 if (init_run
) return;
20219 /* Initialize the swig_module */
20220 swig_module
.type_initial
= swig_type_initial
;
20221 swig_module
.cast_initial
= swig_cast_initial
;
20223 /* Try and load any already created modules */
20224 module_head
= SWIG_GetModule(clientdata
);
20226 swig_module
.next
= module_head
->next
;
20227 module_head
->next
= &swig_module
;
20229 /* This is the first module loaded */
20230 swig_module
.next
= &swig_module
;
20231 SWIG_SetModule(clientdata
, &swig_module
);
20234 /* Now work on filling in swig_module.types */
20235 #ifdef SWIGRUNTIME_DEBUG
20236 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
20238 for (i
= 0; i
< swig_module
.size
; ++i
) {
20239 swig_type_info
*type
= 0;
20240 swig_type_info
*ret
;
20241 swig_cast_info
*cast
;
20243 #ifdef SWIGRUNTIME_DEBUG
20244 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20247 /* if there is another module already loaded */
20248 if (swig_module
.next
!= &swig_module
) {
20249 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
20252 /* Overwrite clientdata field */
20253 #ifdef SWIGRUNTIME_DEBUG
20254 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
20256 if (swig_module
.type_initial
[i
]->clientdata
) {
20257 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
20258 #ifdef SWIGRUNTIME_DEBUG
20259 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
20263 type
= swig_module
.type_initial
[i
];
20266 /* Insert casting types */
20267 cast
= swig_module
.cast_initial
[i
];
20268 while (cast
->type
) {
20269 /* Don't need to add information already in the list */
20271 #ifdef SWIGRUNTIME_DEBUG
20272 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20274 if (swig_module
.next
!= &swig_module
) {
20275 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20276 #ifdef SWIGRUNTIME_DEBUG
20277 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20281 if (type
== swig_module
.type_initial
[i
]) {
20282 #ifdef SWIGRUNTIME_DEBUG
20283 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20288 /* Check for casting already in the list */
20289 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20290 #ifdef SWIGRUNTIME_DEBUG
20291 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20293 if (!ocast
) ret
= 0;
20298 #ifdef SWIGRUNTIME_DEBUG
20299 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20302 type
->cast
->prev
= cast
;
20303 cast
->next
= type
->cast
;
20309 /* Set entry in modules->types array equal to the type */
20310 swig_module
.types
[i
] = type
;
20312 swig_module
.types
[i
] = 0;
20314 #ifdef SWIGRUNTIME_DEBUG
20315 printf("**** SWIG_InitializeModule: Cast List ******\n");
20316 for (i
= 0; i
< swig_module
.size
; ++i
) {
20318 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20319 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20320 while (cast
->type
) {
20321 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20325 printf("---- Total casts: %d\n",j
);
20327 printf("**** SWIG_InitializeModule: Cast List ******\n");
20331 /* This function will propagate the clientdata field of type to
20332 * any new swig_type_info structures that have been added into the list
20333 * of equivalent types. It is like calling
20334 * SWIG_TypeClientData(type, clientdata) a second time.
20337 SWIG_PropagateClientData(void) {
20339 swig_cast_info
*equiv
;
20340 static int init_run
= 0;
20342 if (init_run
) return;
20345 for (i
= 0; i
< swig_module
.size
; i
++) {
20346 if (swig_module
.types
[i
]->clientdata
) {
20347 equiv
= swig_module
.types
[i
]->cast
;
20349 if (!equiv
->converter
) {
20350 if (equiv
->type
&& !equiv
->type
->clientdata
)
20351 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20353 equiv
= equiv
->next
;
20373 /* Python-specific SWIG API */
20374 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20375 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20376 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20378 /* -----------------------------------------------------------------------------
20379 * global variable support code.
20380 * ----------------------------------------------------------------------------- */
20382 typedef struct swig_globalvar
{
20383 char *name
; /* Name of global variable */
20384 PyObject
*(*get_attr
)(void); /* Return the current value */
20385 int (*set_attr
)(PyObject
*); /* Set the value */
20386 struct swig_globalvar
*next
;
20389 typedef struct swig_varlinkobject
{
20391 swig_globalvar
*vars
;
20392 } swig_varlinkobject
;
20394 SWIGINTERN PyObject
*
20395 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20396 return PyString_FromString("<Swig global variables>");
20399 SWIGINTERN PyObject
*
20400 swig_varlink_str(swig_varlinkobject
*v
) {
20401 PyObject
*str
= PyString_FromString("(");
20402 swig_globalvar
*var
;
20403 for (var
= v
->vars
; var
; var
=var
->next
) {
20404 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20405 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20407 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20412 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20413 PyObject
*str
= swig_varlink_str(v
);
20414 fprintf(fp
,"Swig global variables ");
20415 fprintf(fp
,"%s\n", PyString_AsString(str
));
20421 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20422 swig_globalvar
*var
= v
->vars
;
20424 swig_globalvar
*n
= var
->next
;
20431 SWIGINTERN PyObject
*
20432 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20433 PyObject
*res
= NULL
;
20434 swig_globalvar
*var
= v
->vars
;
20436 if (strcmp(var
->name
,n
) == 0) {
20437 res
= (*var
->get_attr
)();
20442 if (res
== NULL
&& !PyErr_Occurred()) {
20443 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20449 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20451 swig_globalvar
*var
= v
->vars
;
20453 if (strcmp(var
->name
,n
) == 0) {
20454 res
= (*var
->set_attr
)(p
);
20459 if (res
== 1 && !PyErr_Occurred()) {
20460 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20465 SWIGINTERN PyTypeObject
*
20466 swig_varlink_type(void) {
20467 static char varlink__doc__
[] = "Swig var link object";
20468 static PyTypeObject varlink_type
;
20469 static int type_init
= 0;
20471 const PyTypeObject tmp
20473 PyObject_HEAD_INIT(NULL
)
20474 0, /* Number of items in variable part (ob_size) */
20475 (char *)"swigvarlink", /* Type name (tp_name) */
20476 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20477 0, /* Itemsize (tp_itemsize) */
20478 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20479 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20480 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20481 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20482 0, /* tp_compare */
20483 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20484 0, /* tp_as_number */
20485 0, /* tp_as_sequence */
20486 0, /* tp_as_mapping */
20489 (reprfunc
)swig_varlink_str
, /* tp_str */
20490 0, /* tp_getattro */
20491 0, /* tp_setattro */
20492 0, /* tp_as_buffer */
20494 varlink__doc__
, /* tp_doc */
20495 0, /* tp_traverse */
20497 0, /* tp_richcompare */
20498 0, /* tp_weaklistoffset */
20499 #if PY_VERSION_HEX >= 0x02020000
20500 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20502 #if PY_VERSION_HEX >= 0x02030000
20505 #ifdef COUNT_ALLOCS
20506 0,0,0,0 /* tp_alloc -> tp_next */
20509 varlink_type
= tmp
;
20510 varlink_type
.ob_type
= &PyType_Type
;
20513 return &varlink_type
;
20516 /* Create a variable linking object for use later */
20517 SWIGINTERN PyObject
*
20518 SWIG_Python_newvarlink(void) {
20519 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20523 return ((PyObject
*) result
);
20527 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20528 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20529 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20531 size_t size
= strlen(name
)+1;
20532 gv
->name
= (char *)malloc(size
);
20534 strncpy(gv
->name
,name
,size
);
20535 gv
->get_attr
= get_attr
;
20536 gv
->set_attr
= set_attr
;
20537 gv
->next
= v
->vars
;
20543 SWIGINTERN PyObject
*
20545 static PyObject
*_SWIG_globals
= 0;
20546 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20547 return _SWIG_globals
;
20550 /* -----------------------------------------------------------------------------
20551 * constants/methods manipulation
20552 * ----------------------------------------------------------------------------- */
20554 /* Install Constants */
20556 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20559 for (i
= 0; constants
[i
].type
; ++i
) {
20560 switch(constants
[i
].type
) {
20561 case SWIG_PY_POINTER
:
20562 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20564 case SWIG_PY_BINARY
:
20565 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20572 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20578 /* -----------------------------------------------------------------------------*/
20579 /* Fix SwigMethods to carry the callback ptrs when needed */
20580 /* -----------------------------------------------------------------------------*/
20583 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20584 swig_const_info
*const_table
,
20585 swig_type_info
**types
,
20586 swig_type_info
**types_initial
) {
20588 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20589 const char *c
= methods
[i
].ml_doc
;
20590 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20592 swig_const_info
*ci
= 0;
20593 const char *name
= c
+ 10;
20594 for (j
= 0; const_table
[j
].type
; ++j
) {
20595 if (strncmp(const_table
[j
].name
, name
,
20596 strlen(const_table
[j
].name
)) == 0) {
20597 ci
= &(const_table
[j
]);
20602 size_t shift
= (ci
->ptype
) - types
;
20603 swig_type_info
*ty
= types_initial
[shift
];
20604 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20605 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20606 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20609 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20611 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20613 strncpy(buff
, "swig_ptr: ", 10);
20615 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20616 methods
[i
].ml_doc
= ndoc
;
20628 /* -----------------------------------------------------------------------------*
20629 * Partial Init method
20630 * -----------------------------------------------------------------------------*/
20635 SWIGEXPORT
void SWIG_init(void) {
20638 /* Fix SwigMethods to carry the callback ptrs when needed */
20639 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20641 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20642 d
= PyModule_GetDict(m
);
20644 SWIG_InitializeModule(0);
20645 SWIG_InstallConstants(d
,swig_const_table
);
20648 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20649 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20650 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20651 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20652 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20653 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20654 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20655 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20656 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20657 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20658 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20659 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20660 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20661 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20662 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20663 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20664 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20665 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20666 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20667 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20668 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20669 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20670 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20671 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20672 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20673 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20674 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20675 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20676 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20677 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20678 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20679 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20680 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20681 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20682 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20683 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20684 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20685 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20686 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20687 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20688 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20689 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20690 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20691 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20692 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20693 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20694 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20695 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20696 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20697 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20698 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20699 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20700 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20701 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20702 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20703 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20704 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20705 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20706 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20707 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20708 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20709 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20710 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20711 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20712 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20713 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20714 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20715 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20716 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20717 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20718 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20719 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20720 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20721 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20722 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20723 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20724 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20725 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20726 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20727 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20728 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20729 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20730 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20731 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20732 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20733 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20734 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20735 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20736 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20737 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20738 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED
));
20739 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER
));
20740 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED
));
20742 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20743 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20744 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20745 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");