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_wxEventBlocker swig_types[38]
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506 #define SWIGTYPE_p_wxFSFile swig_types[40]
2507 #define SWIGTYPE_p_wxFileDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFileSystem swig_types[42]
2509 #define SWIGTYPE_p_wxFindDialogEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFindReplaceData swig_types[44]
2511 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[45]
2512 #define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513 #define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514 #define SWIGTYPE_p_wxFont swig_types[48]
2515 #define SWIGTYPE_p_wxFontData swig_types[49]
2516 #define SWIGTYPE_p_wxFontDialog swig_types[50]
2517 #define SWIGTYPE_p_wxFrame swig_types[51]
2518 #define SWIGTYPE_p_wxGBSizerItem swig_types[52]
2519 #define SWIGTYPE_p_wxGIFHandler swig_types[53]
2520 #define SWIGTYPE_p_wxGridBagSizer swig_types[54]
2521 #define SWIGTYPE_p_wxGridSizer swig_types[55]
2522 #define SWIGTYPE_p_wxHelpControllerBase swig_types[56]
2523 #define SWIGTYPE_p_wxHelpSearchMode swig_types[57]
2524 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[58]
2525 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[59]
2526 #define SWIGTYPE_p_wxHtmlCell swig_types[60]
2527 #define SWIGTYPE_p_wxHtmlCellEvent swig_types[61]
2528 #define SWIGTYPE_p_wxHtmlColourCell swig_types[62]
2529 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[63]
2530 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[64]
2531 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[65]
2532 #define SWIGTYPE_p_wxHtmlFilter swig_types[66]
2533 #define SWIGTYPE_p_wxHtmlFontCell swig_types[67]
2534 #define SWIGTYPE_p_wxHtmlHelpController swig_types[68]
2535 #define SWIGTYPE_p_wxHtmlHelpData swig_types[69]
2536 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[70]
2537 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[71]
2538 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[72]
2539 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[73]
2540 #define SWIGTYPE_p_wxHtmlLinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[75]
2542 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[76]
2543 #define SWIGTYPE_p_wxHtmlParser swig_types[77]
2544 #define SWIGTYPE_p_wxHtmlPrintout swig_types[78]
2545 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[79]
2546 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[80]
2547 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[81]
2548 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[82]
2549 #define SWIGTYPE_p_wxHtmlSelection swig_types[83]
2550 #define SWIGTYPE_p_wxHtmlTag swig_types[84]
2551 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[85]
2552 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[86]
2553 #define SWIGTYPE_p_wxHtmlWinParser swig_types[87]
2554 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[88]
2555 #define SWIGTYPE_p_wxHtmlWordCell swig_types[89]
2556 #define SWIGTYPE_p_wxICOHandler swig_types[90]
2557 #define SWIGTYPE_p_wxIconizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxIdleEvent swig_types[92]
2559 #define SWIGTYPE_p_wxImage swig_types[93]
2560 #define SWIGTYPE_p_wxImageHandler swig_types[94]
2561 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[95]
2562 #define SWIGTYPE_p_wxInitDialogEvent swig_types[96]
2563 #define SWIGTYPE_p_wxJPEGHandler swig_types[97]
2564 #define SWIGTYPE_p_wxKeyEvent swig_types[98]
2565 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[99]
2566 #define SWIGTYPE_p_wxLayoutConstraints swig_types[100]
2567 #define SWIGTYPE_p_wxMDIChildFrame swig_types[101]
2568 #define SWIGTYPE_p_wxMDIClientWindow swig_types[102]
2569 #define SWIGTYPE_p_wxMDIParentFrame swig_types[103]
2570 #define SWIGTYPE_p_wxMaximizeEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMenu swig_types[105]
2572 #define SWIGTYPE_p_wxMenuBar swig_types[106]
2573 #define SWIGTYPE_p_wxMenuEvent swig_types[107]
2574 #define SWIGTYPE_p_wxMenuItem swig_types[108]
2575 #define SWIGTYPE_p_wxMessageDialog swig_types[109]
2576 #define SWIGTYPE_p_wxMiniFrame swig_types[110]
2577 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMoveEvent swig_types[114]
2581 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[115]
2582 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[116]
2583 #define SWIGTYPE_p_wxNcPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNotifyEvent swig_types[118]
2585 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[119]
2586 #define SWIGTYPE_p_wxObject swig_types[120]
2587 #define SWIGTYPE_p_wxPCXHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPNGHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPNMHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPageSetupDialog swig_types[124]
2591 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[125]
2592 #define SWIGTYPE_p_wxPaintEvent swig_types[126]
2593 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[127]
2594 #define SWIGTYPE_p_wxPanel swig_types[128]
2595 #define SWIGTYPE_p_wxPaperSize swig_types[129]
2596 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[130]
2597 #define SWIGTYPE_p_wxPoint swig_types[131]
2598 #define SWIGTYPE_p_wxPopupWindow swig_types[132]
2599 #define SWIGTYPE_p_wxPreviewCanvas swig_types[133]
2600 #define SWIGTYPE_p_wxPreviewControlBar swig_types[134]
2601 #define SWIGTYPE_p_wxPreviewFrame swig_types[135]
2602 #define SWIGTYPE_p_wxPrintData swig_types[136]
2603 #define SWIGTYPE_p_wxPrintDialog swig_types[137]
2604 #define SWIGTYPE_p_wxPrintDialogData swig_types[138]
2605 #define SWIGTYPE_p_wxPrintPreview swig_types[139]
2606 #define SWIGTYPE_p_wxPrinter swig_types[140]
2607 #define SWIGTYPE_p_wxProgressDialog swig_types[141]
2608 #define SWIGTYPE_p_wxPyApp swig_types[142]
2609 #define SWIGTYPE_p_wxPyCommandEvent swig_types[143]
2610 #define SWIGTYPE_p_wxPyEvent swig_types[144]
2611 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[145]
2612 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[146]
2613 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[148]
2615 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[149]
2616 #define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617 #define SWIGTYPE_p_wxPyPanel swig_types[151]
2618 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[152]
2619 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[153]
2620 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[154]
2621 #define SWIGTYPE_p_wxPyPrintPreview swig_types[155]
2622 #define SWIGTYPE_p_wxPyPrintout swig_types[156]
2623 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[157]
2624 #define SWIGTYPE_p_wxPySizer swig_types[158]
2625 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[159]
2626 #define SWIGTYPE_p_wxPyVListBox swig_types[160]
2627 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[161]
2628 #define SWIGTYPE_p_wxPyValidator swig_types[162]
2629 #define SWIGTYPE_p_wxPyWindow swig_types[163]
2630 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[164]
2631 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[165]
2632 #define SWIGTYPE_p_wxSashEvent swig_types[166]
2633 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[167]
2634 #define SWIGTYPE_p_wxSashWindow swig_types[168]
2635 #define SWIGTYPE_p_wxScrollEvent swig_types[169]
2636 #define SWIGTYPE_p_wxScrollWinEvent swig_types[170]
2637 #define SWIGTYPE_p_wxScrolledWindow swig_types[171]
2638 #define SWIGTYPE_p_wxSetCursorEvent swig_types[172]
2639 #define SWIGTYPE_p_wxShowEvent swig_types[173]
2640 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[174]
2641 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[175]
2642 #define SWIGTYPE_p_wxSize swig_types[176]
2643 #define SWIGTYPE_p_wxSizeEvent swig_types[177]
2644 #define SWIGTYPE_p_wxSizer swig_types[178]
2645 #define SWIGTYPE_p_wxSizerItem swig_types[179]
2646 #define SWIGTYPE_p_wxSplashScreen swig_types[180]
2647 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[181]
2648 #define SWIGTYPE_p_wxSplitterEvent swig_types[182]
2649 #define SWIGTYPE_p_wxSplitterWindow swig_types[183]
2650 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[184]
2651 #define SWIGTYPE_p_wxStatusBar swig_types[185]
2652 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[186]
2653 #define SWIGTYPE_p_wxString swig_types[187]
2654 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[188]
2655 #define SWIGTYPE_p_wxTGAHandler swig_types[189]
2656 #define SWIGTYPE_p_wxTIFFHandler swig_types[190]
2657 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[191]
2658 #define SWIGTYPE_p_wxTextEntryDialog swig_types[192]
2659 #define SWIGTYPE_p_wxTipWindow swig_types[193]
2660 #define SWIGTYPE_p_wxTopLevelWindow swig_types[194]
2661 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[195]
2662 #define SWIGTYPE_p_wxValidator swig_types[196]
2663 #define SWIGTYPE_p_wxVisualAttributes swig_types[197]
2664 #define SWIGTYPE_p_wxWindow swig_types[198]
2665 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[199]
2666 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[200]
2667 #define SWIGTYPE_p_wxXPMHandler swig_types[201]
2668 static swig_type_info
*swig_types
[203];
2669 static swig_module_info swig_module
= {swig_types
, 202, 0, 0, 0, 0};
2670 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2671 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2673 /* -------- TYPES TABLE (END) -------- */
2675 #if (PY_VERSION_HEX <= 0x02000000)
2676 # if !defined(SWIG_PYTHON_CLASSIC)
2677 # error "This python version requires to use swig with the '-classic' option"
2680 #if (PY_VERSION_HEX <= 0x02020000)
2681 # error "This python version requires to use swig with the '-nomodern' option"
2683 #if (PY_VERSION_HEX <= 0x02020000)
2684 # error "This python version requires to use swig with the '-nomodernargs' option"
2687 # error "This python version requires to use swig with the '-nofastunpack' option"
2690 /*-----------------------------------------------
2691 @(target):= _html.so
2692 ------------------------------------------------*/
2693 #define SWIG_init init_html
2695 #define SWIG_name "_html"
2697 #define SWIGVERSION 0x010329
2700 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2701 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2704 #include <stdexcept>
2708 class PyObject_ptr
{
2713 PyObject_ptr() :_obj(0)
2717 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2722 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2724 if (initial_ref
) Py_XINCREF(_obj
);
2727 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2729 Py_XINCREF(item
._obj
);
2740 operator PyObject
*() const
2745 PyObject
*operator->() const
2754 struct PyObject_var
: PyObject_ptr
{
2755 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2757 PyObject_var
& operator = (PyObject
* obj
)
2767 #include "wx/wxPython/wxPython.h"
2768 #include "wx/wxPython/pyclasses.h"
2769 #include "wx/wxPython/pyistream.h"
2770 #include "wx/wxPython/printfw.h"
2772 #include <wx/html/htmlwin.h>
2773 #include <wx/html/htmprint.h>
2774 #include <wx/html/helpctrl.h>
2775 #include <wx/html/helpwnd.h>
2776 #include <wx/html/helpfrm.h>
2777 #include <wx/html/helpdlg.h>
2780 static const wxString
wxPyEmptyString(wxEmptyString
);
2781 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2782 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2783 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2785 #define SWIG_From_long PyInt_FromLong
2788 SWIGINTERNINLINE PyObject
*
2789 SWIG_From_int (int value
)
2791 return SWIG_From_long (value
);
2797 # define LLONG_MIN LONG_LONG_MIN
2800 # define LLONG_MAX LONG_LONG_MAX
2803 # define ULLONG_MAX ULONG_LONG_MAX
2808 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyInt_AsLong(obj
);
2814 return SWIG_TypeError
;
2819 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2822 int res
= SWIG_AsVal_long (obj
, &v
);
2823 if (SWIG_IsOK(res
)) {
2824 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2825 return SWIG_OverflowError
;
2827 if (val
) *val
= static_cast< int >(v
);
2833 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2835 if (sizes
) temp
= int_LIST_helper(sizes
);
2836 self
->SetFonts(normal_face
, fixed_face
, temp
);
2841 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2842 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2844 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2846 wxHtmlParser
* GetParser() { return m_Parser
; }
2847 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2849 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2850 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2855 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2857 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2858 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2861 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2862 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2864 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2866 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2867 void ParseInner(const wxHtmlTag
& tag
)
2868 { wxHtmlWinTagHandler::ParseInner(tag
); }
2870 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2871 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2876 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2878 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2879 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2883 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2885 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2886 m_tagHandlerClass
= thc
;
2887 Py_INCREF(m_tagHandlerClass
);
2888 RegisterModule(this);
2889 wxHtmlWinParser::AddModule(this);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 Py_DECREF(m_tagHandlerClass
);
2895 m_tagHandlerClass
= NULL
;
2896 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2897 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2900 wxPyEndBlockThreads(blocked
);
2903 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2904 // Wave our magic wand... (if it works it's a miracle! ;-)
2906 // First, make a new instance of the tag handler
2907 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2908 PyObject
* arg
= PyTuple_New(0);
2909 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2912 // now figure out where it's C++ object is...
2913 wxPyHtmlWinTagHandler
* thPtr
;
2914 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2915 wxPyEndBlockThreads(blocked
);
2918 wxPyEndBlockThreads(blocked
);
2921 parser
->AddTagHandler(thPtr
);
2924 m_objArray
.Add(obj
);
2928 PyObject
* m_tagHandlerClass
;
2929 wxArrayPtrVoid m_objArray
;
2934 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2935 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2936 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2937 new wxPyHtmlTagsModule(tagHandlerClass
);
2941 SWIGINTERNINLINE PyObject
*
2942 SWIG_From_bool (bool value
)
2944 return PyBool_FromLong(value
? 1 : 0);
2949 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2951 if (obj
== Py_True
) {
2952 if (val
) *val
= true;
2954 } else if (obj
== Py_False
) {
2955 if (val
) *val
= false;
2959 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2960 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2967 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2970 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2971 return SWIG_TypeError
;
2974 *val
= (unsigned long)v
;
2980 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2983 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2984 if (SWIG_IsOK(res
)) {
2985 if ((v
> UINT_MAX
)) {
2986 return SWIG_OverflowError
;
2988 if (val
) *val
= static_cast< unsigned int >(v
);
2995 SWIGINTERNINLINE PyObject
*
2996 SWIG_From_unsigned_SS_long (unsigned long value
)
2998 return (value
> LONG_MAX
) ?
2999 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3003 SWIGINTERNINLINE PyObject
*
3004 SWIG_From_unsigned_SS_int (unsigned int value
)
3006 return SWIG_From_unsigned_SS_long (value
);
3009 // here's the C++ version
3010 class wxPyHtmlFilter
: public wxHtmlFilter
{
3011 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3013 wxPyHtmlFilter() : wxHtmlFilter() {}
3015 // returns True if this filter is able to open&read given file
3016 virtual bool CanRead(const wxFSFile
& file
) const {
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3020 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3021 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3022 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3025 wxPyEndBlockThreads(blocked
);
3030 // Reads given file and returns HTML document.
3031 // Returns empty string if opening failed
3032 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3035 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3036 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3037 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3039 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3042 rval
= Py2wxString(ro
);
3046 wxPyEndBlockThreads(blocked
);
3053 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3056 class wxPyHtmlWindow
: public wxHtmlWindow
{
3057 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3059 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3060 const wxPoint
& pos
= wxDefaultPosition
,
3061 const wxSize
& size
= wxDefaultSize
,
3062 long style
= wxHW_DEFAULT_STYLE
,
3063 const wxString
& name
= wxPyHtmlWindowNameStr
)
3064 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3065 wxPyHtmlWindow() : wxHtmlWindow() {};
3067 bool ScrollToAnchor(const wxString
& anchor
) {
3068 return wxHtmlWindow::ScrollToAnchor(anchor
);
3071 bool HasAnchor(const wxString
& anchor
) {
3072 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3076 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3078 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3079 const wxString
& url
,
3080 wxString
*redirect
) const;
3082 DEC_PYCALLBACK__STRING(OnSetTitle
);
3083 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3084 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3089 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3090 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3091 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3092 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3095 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3097 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3098 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3099 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3100 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3103 wxPyEndBlockThreads(blocked
);
3105 wxHtmlWindow::OnLinkClicked(link
);
3109 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3110 const wxString
& url
,
3111 wxString
*redirect
) const {
3113 wxHtmlOpeningStatus rval
;
3114 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3115 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3117 PyObject
* s
= wx2PyString(url
);
3118 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3120 if (PyString_Check(ro
)
3121 #if PYTHON_API_VERSION >= 1009
3122 || PyUnicode_Check(ro
)
3125 *redirect
= Py2wxString(ro
);
3126 rval
= wxHTML_REDIRECT
;
3129 PyObject
* num
= PyNumber_Int(ro
);
3130 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3135 wxPyEndBlockThreads(blocked
);
3137 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3143 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3145 if (sizes
) temp
= int_LIST_helper(sizes
);
3146 self
->SetFonts(normal_face
, fixed_face
, temp
);
3150 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3152 if (sizes
) temp
= int_LIST_helper(sizes
);
3153 self
->SetFonts(normal_face
, fixed_face
, temp
);
3157 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3159 if (sizes
) temp
= int_LIST_helper(sizes
);
3160 self
->SetFonts(normal_face
, fixed_face
, temp
);
3169 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3171 if (PyNumber_Check(obj
)) {
3172 if (val
) *val
= PyFloat_AsDouble(obj
);
3175 return SWIG_TypeError
;
3180 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3183 int res
= SWIG_AsVal_double (obj
, &v
);
3184 if (SWIG_IsOK(res
)) {
3185 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3186 return SWIG_OverflowError
;
3188 if (val
) *val
= static_cast< float >(v
);
3194 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3196 if (sizes
) temp
= int_LIST_helper(sizes
);
3197 self
->SetFonts(normal_face
, fixed_face
, temp
);
3202 typedef wxTreeCtrl wxPyTreeCtrl
;
3207 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3208 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3213 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3214 PyObject
*pyobj
= 0;
3218 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3220 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3227 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3228 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3233 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3234 PyObject
*pyobj
= 0;
3238 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3240 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3247 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3248 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3253 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3254 PyObject
*pyobj
= 0;
3258 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3260 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3267 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
= 0;
3269 wxString
*arg1
= 0 ;
3270 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3271 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3272 wxHtmlLinkInfo
*result
= 0 ;
3273 bool temp1
= false ;
3274 bool temp2
= false ;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3277 char * kwnames
[] = {
3278 (char *) "href",(char *) "target", NULL
3281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3283 arg1
= wxString_in_helper(obj0
);
3284 if (arg1
== NULL
) SWIG_fail
;
3289 arg2
= wxString_in_helper(obj1
);
3290 if (arg2
== NULL
) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3323 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3324 PyObject
*resultobj
= 0;
3325 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3329 PyObject
*swig_obj
[1] ;
3331 if (!args
) SWIG_fail
;
3333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3334 if (!SWIG_IsOK(res1
)) {
3335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3337 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (arg1
)->GetHref();
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3357 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3358 PyObject
*resultobj
= 0;
3359 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3363 PyObject
*swig_obj
[1] ;
3365 if (!args
) SWIG_fail
;
3367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3368 if (!SWIG_IsOK(res1
)) {
3369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3371 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (arg1
)->GetTarget();
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3391 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3392 PyObject
*resultobj
= 0;
3393 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3394 wxMouseEvent
*result
= 0 ;
3397 PyObject
*swig_obj
[1] ;
3399 if (!args
) SWIG_fail
;
3401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3402 if (!SWIG_IsOK(res1
)) {
3403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3405 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= wxPyMake_wxObject(result
, 0);
3421 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3422 PyObject
*resultobj
= 0;
3423 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3424 wxHtmlCell
*result
= 0 ;
3427 PyObject
*swig_obj
[1] ;
3429 if (!args
) SWIG_fail
;
3431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3432 if (!SWIG_IsOK(res1
)) {
3433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3435 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3449 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
= 0;
3451 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3452 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3458 PyObject
* obj1
= 0 ;
3459 char * kwnames
[] = {
3460 (char *) "self",(char *) "e", NULL
3463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3465 if (!SWIG_IsOK(res1
)) {
3466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3468 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3470 if (!SWIG_IsOK(res2
)) {
3471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3473 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= SWIG_Py_Void();
3487 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
= 0;
3489 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3490 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3497 char * kwnames
[] = {
3498 (char *) "self",(char *) "e", NULL
3501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3503 if (!SWIG_IsOK(res1
)) {
3504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3506 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3508 if (!SWIG_IsOK(res2
)) {
3509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3511 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= SWIG_Py_Void();
3525 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3528 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3529 return SWIG_Py_Void();
3532 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3533 return SWIG_Python_InitShadowInstance(args
);
3536 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3537 PyObject
*resultobj
= 0;
3538 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3542 PyObject
*swig_obj
[1] ;
3544 if (!args
) SWIG_fail
;
3546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3547 if (!SWIG_IsOK(res1
)) {
3548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3550 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (arg1
)->GetName();
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3570 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
= 0;
3572 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3573 wxString
*arg2
= 0 ;
3577 bool temp2
= false ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3580 char * kwnames
[] = {
3581 (char *) "self",(char *) "par", NULL
3584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3586 if (!SWIG_IsOK(res1
)) {
3587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3589 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3591 arg2
= wxString_in_helper(obj1
);
3592 if (arg2
== NULL
) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3618 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
= 0;
3620 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3621 wxString
*arg2
= 0 ;
3622 int arg3
= (int) false ;
3626 bool temp2
= false ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3631 PyObject
* obj2
= 0 ;
3632 char * kwnames
[] = {
3633 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3638 if (!SWIG_IsOK(res1
)) {
3639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3641 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3643 arg2
= wxString_in_helper(obj1
);
3644 if (arg2
== NULL
) SWIG_fail
;
3648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3649 if (!SWIG_IsOK(ecode3
)) {
3650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3652 arg3
= static_cast< int >(val3
);
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3681 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3682 PyObject
*resultobj
= 0;
3683 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3687 PyObject
*swig_obj
[1] ;
3689 if (!args
) SWIG_fail
;
3691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3692 if (!SWIG_IsOK(res1
)) {
3693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3695 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= (arg1
)->GetAllParams();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3715 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3716 PyObject
*resultobj
= 0;
3717 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3721 PyObject
*swig_obj
[1] ;
3723 if (!args
) SWIG_fail
;
3725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3726 if (!SWIG_IsOK(res1
)) {
3727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3729 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (bool)(arg1
)->HasEnding();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3745 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3746 PyObject
*resultobj
= 0;
3747 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3751 PyObject
*swig_obj
[1] ;
3753 if (!args
) SWIG_fail
;
3755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3756 if (!SWIG_IsOK(res1
)) {
3757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3759 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (int)(arg1
)->GetBeginPos();
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 resultobj
= SWIG_From_int(static_cast< int >(result
));
3773 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3774 PyObject
*resultobj
= 0;
3775 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3779 PyObject
*swig_obj
[1] ;
3781 if (!args
) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3787 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (int)(arg1
)->GetEndPos1();
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= SWIG_From_int(static_cast< int >(result
));
3801 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3802 PyObject
*resultobj
= 0;
3803 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3807 PyObject
*swig_obj
[1] ;
3809 if (!args
) SWIG_fail
;
3811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3812 if (!SWIG_IsOK(res1
)) {
3813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3815 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (int)(arg1
)->GetEndPos2();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= SWIG_From_int(static_cast< int >(result
));
3829 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3832 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3833 return SWIG_Py_Void();
3836 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
= 0;
3838 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3839 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3845 PyObject
* obj1
= 0 ;
3846 char * kwnames
[] = {
3847 (char *) "self",(char *) "fs", NULL
3850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3852 if (!SWIG_IsOK(res1
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3855 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3857 if (!SWIG_IsOK(res2
)) {
3858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3860 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 (arg1
)->SetFS(arg2
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_Py_Void();
3874 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3875 PyObject
*resultobj
= 0;
3876 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3877 wxFileSystem
*result
= 0 ;
3880 PyObject
*swig_obj
[1] ;
3882 if (!args
) SWIG_fail
;
3884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3885 if (!SWIG_IsOK(res1
)) {
3886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3888 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (wxFileSystem
*)(arg1
)->GetFS();
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= wxPyMake_wxObject(result
, 0);
3904 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
= 0;
3906 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3907 wxString
*arg2
= 0 ;
3908 wxObject
*result
= 0 ;
3911 bool temp2
= false ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3914 char * kwnames
[] = {
3915 (char *) "self",(char *) "source", NULL
3918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3920 if (!SWIG_IsOK(res1
)) {
3921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3923 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3925 arg2
= wxString_in_helper(obj1
);
3926 if (arg2
== NULL
) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3952 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
= 0;
3954 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3955 wxString
*arg2
= 0 ;
3958 bool temp2
= false ;
3959 PyObject
* obj0
= 0 ;
3960 PyObject
* obj1
= 0 ;
3961 char * kwnames
[] = {
3962 (char *) "self",(char *) "source", NULL
3965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3967 if (!SWIG_IsOK(res1
)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3970 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3972 arg2
= wxString_in_helper(obj1
);
3973 if (arg2
== NULL
) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->InitParser((wxString
const &)*arg2
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_Py_Void();
3997 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3998 PyObject
*resultobj
= 0;
3999 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4002 PyObject
*swig_obj
[1] ;
4004 if (!args
) SWIG_fail
;
4006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4007 if (!SWIG_IsOK(res1
)) {
4008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4010 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 (arg1
)->DoneParser();
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_Py_Void();
4024 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
= 0;
4026 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj1
= 0 ;
4037 PyObject
* obj2
= 0 ;
4038 char * kwnames
[] = {
4039 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4044 if (!SWIG_IsOK(res1
)) {
4045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4047 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4049 if (!SWIG_IsOK(ecode2
)) {
4050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4052 arg2
= static_cast< int >(val2
);
4053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4054 if (!SWIG_IsOK(ecode3
)) {
4055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4057 arg3
= static_cast< int >(val3
);
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 (arg1
)->DoParsing(arg2
,arg3
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_Py_Void();
4071 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4072 PyObject
*resultobj
= 0;
4073 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4076 PyObject
*swig_obj
[1] ;
4078 if (!args
) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4084 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 (arg1
)->StopParsing();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_Py_Void();
4098 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
= 0;
4100 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4101 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4108 char * kwnames
[] = {
4109 (char *) "self",(char *) "handler", NULL
4112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4114 if (!SWIG_IsOK(res1
)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4117 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4119 if (!SWIG_IsOK(res2
)) {
4120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4122 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 (arg1
)->AddTagHandler(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_Py_Void();
4136 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4137 PyObject
*resultobj
= 0;
4138 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4139 wxString
*result
= 0 ;
4142 PyObject
*swig_obj
[1] ;
4144 if (!args
) SWIG_fail
;
4146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4147 if (!SWIG_IsOK(res1
)) {
4148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4150 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (wxString
*)(arg1
)->GetSource();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4170 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4173 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 PyObject
* obj2
= 0 ;
4182 char * kwnames
[] = {
4183 (char *) "self",(char *) "handler",(char *) "tags", NULL
4186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4188 if (!SWIG_IsOK(res1
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4191 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4193 if (!SWIG_IsOK(res2
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4196 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4198 wxString
* sptr
= wxString_in_helper(obj2
);
4199 if (sptr
== NULL
) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 (arg1
)->PushTagHandler(arg2
,arg3
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_Py_Void();
4216 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4217 PyObject
*resultobj
= 0;
4218 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4221 PyObject
*swig_obj
[1] ;
4223 if (!args
) SWIG_fail
;
4225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4226 if (!SWIG_IsOK(res1
)) {
4227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4229 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 (arg1
)->PopTagHandler();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_Py_Void();
4243 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= 0;
4245 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4246 wxHtmlTag
*arg2
= 0 ;
4252 PyObject
* obj0
= 0 ;
4253 PyObject
* obj1
= 0 ;
4254 char * kwnames
[] = {
4255 (char *) "self",(char *) "tag", NULL
4258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4260 if (!SWIG_IsOK(res1
)) {
4261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4263 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4265 if (!SWIG_IsOK(res2
)) {
4266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4271 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4291 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4294 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4295 return SWIG_Py_Void();
4298 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
= 0;
4300 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4301 wxHtmlWinParser
*result
= 0 ;
4304 PyObject
* obj0
= 0 ;
4305 char * kwnames
[] = {
4306 (char *) "wnd", NULL
4309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4312 if (!SWIG_IsOK(res1
)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4315 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4330 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
= 0;
4332 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4333 wxDC
*arg2
= (wxDC
*) 0 ;
4338 PyObject
* obj0
= 0 ;
4339 PyObject
* obj1
= 0 ;
4340 char * kwnames
[] = {
4341 (char *) "self",(char *) "dc", NULL
4344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4346 if (!SWIG_IsOK(res1
)) {
4347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4349 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4351 if (!SWIG_IsOK(res2
)) {
4352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4354 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 (arg1
)->SetDC(arg2
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= SWIG_Py_Void();
4368 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4369 PyObject
*resultobj
= 0;
4370 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4374 PyObject
*swig_obj
[1] ;
4376 if (!args
) SWIG_fail
;
4378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4379 if (!SWIG_IsOK(res1
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4382 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (wxDC
*)(arg1
)->GetDC();
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4398 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4399 PyObject
*resultobj
= 0;
4400 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4404 PyObject
*swig_obj
[1] ;
4406 if (!args
) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4412 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (int)(arg1
)->GetCharHeight();
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= SWIG_From_int(static_cast< int >(result
));
4426 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4427 PyObject
*resultobj
= 0;
4428 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4432 PyObject
*swig_obj
[1] ;
4434 if (!args
) SWIG_fail
;
4436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4437 if (!SWIG_IsOK(res1
)) {
4438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4440 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (int)(arg1
)->GetCharWidth();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_From_int(static_cast< int >(result
));
4454 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4455 PyObject
*resultobj
= 0;
4456 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4457 wxHtmlWindowInterface
*result
= 0 ;
4460 PyObject
*swig_obj
[1] ;
4462 if (!args
) SWIG_fail
;
4464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4465 if (!SWIG_IsOK(res1
)) {
4466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4468 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4482 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
= 0;
4484 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4487 PyObject
*arg4
= (PyObject
*) NULL
;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 PyObject
* obj3
= 0 ;
4494 char * kwnames
[] = {
4495 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4503 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4505 wxString
* sptr
= wxString_in_helper(obj1
);
4506 if (sptr
== NULL
) SWIG_fail
;
4511 wxString
* sptr
= wxString_in_helper(obj2
);
4512 if (sptr
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= SWIG_Py_Void();
4532 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
= 0;
4534 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4535 int arg2
= (int) -1 ;
4536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4538 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4544 bool temp3
= false ;
4545 bool temp4
= false ;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4548 PyObject
* obj2
= 0 ;
4549 PyObject
* obj3
= 0 ;
4550 char * kwnames
[] = {
4551 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4556 if (!SWIG_IsOK(res1
)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4559 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4562 if (!SWIG_IsOK(ecode2
)) {
4563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4565 arg2
= static_cast< int >(val2
);
4569 arg3
= wxString_in_helper(obj2
);
4570 if (arg3
== NULL
) SWIG_fail
;
4576 arg4
= wxString_in_helper(obj3
);
4577 if (arg4
== NULL
) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= SWIG_Py_Void();
4610 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4611 PyObject
*resultobj
= 0;
4612 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4613 wxHtmlContainerCell
*result
= 0 ;
4616 PyObject
*swig_obj
[1] ;
4618 if (!args
) SWIG_fail
;
4620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4621 if (!SWIG_IsOK(res1
)) {
4622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4624 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4638 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(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_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4652 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
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_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4669 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4670 wxHtmlContainerCell
*result
= 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 char * kwnames
[] = {
4678 (char *) "self",(char *) "c", NULL
4681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4683 if (!SWIG_IsOK(res1
)) {
4684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4686 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4688 if (!SWIG_IsOK(res2
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4691 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4705 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4707 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4708 wxHtmlContainerCell
*result
= 0 ;
4711 PyObject
*swig_obj
[1] ;
4713 if (!args
) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4719 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
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_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4734 PyObject
*resultobj
= 0;
4735 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 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_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4747 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (int)(arg1
)->GetFontSize();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_From_int(static_cast< int >(result
));
4761 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
= 0;
4763 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4771 char * kwnames
[] = {
4772 (char *) "self",(char *) "s", NULL
4775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4777 if (!SWIG_IsOK(res1
)) {
4778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4780 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4782 if (!SWIG_IsOK(ecode2
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4785 arg2
= static_cast< int >(val2
);
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 (arg1
)->SetFontSize(arg2
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_Py_Void();
4799 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4800 PyObject
*resultobj
= 0;
4801 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4805 PyObject
*swig_obj
[1] ;
4807 if (!args
) SWIG_fail
;
4809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4810 if (!SWIG_IsOK(res1
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4813 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (int)(arg1
)->GetFontBold();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_From_int(static_cast< int >(result
));
4827 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
= 0;
4829 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 char * kwnames
[] = {
4838 (char *) "self",(char *) "x", NULL
4841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4846 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4848 if (!SWIG_IsOK(ecode2
)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4851 arg2
= static_cast< int >(val2
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 (arg1
)->SetFontBold(arg2
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4865 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4866 PyObject
*resultobj
= 0;
4867 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4871 PyObject
*swig_obj
[1] ;
4873 if (!args
) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4879 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (int)(arg1
)->GetFontItalic();
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_From_int(static_cast< int >(result
));
4893 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
= 0;
4895 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4901 PyObject
* obj0
= 0 ;
4902 PyObject
* obj1
= 0 ;
4903 char * kwnames
[] = {
4904 (char *) "self",(char *) "x", NULL
4907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4912 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4914 if (!SWIG_IsOK(ecode2
)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4917 arg2
= static_cast< int >(val2
);
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 (arg1
)->SetFontItalic(arg2
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_Py_Void();
4931 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4932 PyObject
*resultobj
= 0;
4933 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4937 PyObject
*swig_obj
[1] ;
4939 if (!args
) SWIG_fail
;
4941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4942 if (!SWIG_IsOK(res1
)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4945 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (int)(arg1
)->GetFontUnderlined();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_From_int(static_cast< int >(result
));
4959 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
= 0;
4961 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4969 char * kwnames
[] = {
4970 (char *) "self",(char *) "x", NULL
4973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4978 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4980 if (!SWIG_IsOK(ecode2
)) {
4981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
4983 arg2
= static_cast< int >(val2
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 (arg1
)->SetFontUnderlined(arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_Py_Void();
4997 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4998 PyObject
*resultobj
= 0;
4999 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5003 PyObject
*swig_obj
[1] ;
5005 if (!args
) SWIG_fail
;
5007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5008 if (!SWIG_IsOK(res1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5011 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (int)(arg1
)->GetFontFixed();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_From_int(static_cast< int >(result
));
5025 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "self",(char *) "x", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5041 if (!SWIG_IsOK(res1
)) {
5042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5044 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5046 if (!SWIG_IsOK(ecode2
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5049 arg2
= static_cast< int >(val2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 (arg1
)->SetFontFixed(arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_Py_Void();
5063 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5064 PyObject
*resultobj
= 0;
5065 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5069 PyObject
*swig_obj
[1] ;
5071 if (!args
) SWIG_fail
;
5073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5074 if (!SWIG_IsOK(res1
)) {
5075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5077 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (int)(arg1
)->GetAlign();
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_From_int(static_cast< int >(result
));
5091 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
= 0;
5093 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5101 char * kwnames
[] = {
5102 (char *) "self",(char *) "a", NULL
5105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5107 if (!SWIG_IsOK(res1
)) {
5108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5110 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5112 if (!SWIG_IsOK(ecode2
)) {
5113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5115 arg2
= static_cast< int >(val2
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 (arg1
)->SetAlign(arg2
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_Py_Void();
5129 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5130 PyObject
*resultobj
= 0;
5131 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5135 PyObject
*swig_obj
[1] ;
5137 if (!args
) SWIG_fail
;
5139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5140 if (!SWIG_IsOK(res1
)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5143 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (arg1
)->GetLinkColor();
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5157 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
= 0;
5159 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5160 wxColour
*arg2
= 0 ;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5166 char * kwnames
[] = {
5167 (char *) "self",(char *) "clr", NULL
5170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5172 if (!SWIG_IsOK(res1
)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5175 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_Py_Void();
5193 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5194 PyObject
*resultobj
= 0;
5195 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5199 PyObject
*swig_obj
[1] ;
5201 if (!args
) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5207 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (arg1
)->GetActualColor();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5221 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5223 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5224 wxColour
*arg2
= 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5230 char * kwnames
[] = {
5231 (char *) "self",(char *) "clr", NULL
5234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5236 if (!SWIG_IsOK(res1
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5239 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5242 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_Py_Void();
5257 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
= 0;
5259 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5260 wxString
*arg2
= 0 ;
5263 bool temp2
= false ;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5266 char * kwnames
[] = {
5267 (char *) "self",(char *) "link", NULL
5270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5272 if (!SWIG_IsOK(res1
)) {
5273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5275 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5277 arg2
= wxString_in_helper(obj1
);
5278 if (arg2
== NULL
) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 (arg1
)->SetLink((wxString
const &)*arg2
);
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= SWIG_Py_Void();
5302 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5303 PyObject
*resultobj
= 0;
5304 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5305 wxFont
*result
= 0 ;
5308 PyObject
*swig_obj
[1] ;
5310 if (!args
) SWIG_fail
;
5312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5313 if (!SWIG_IsOK(res1
)) {
5314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5316 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5330 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5331 PyObject
*resultobj
= 0;
5332 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5333 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
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_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5344 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (arg1
)->GetLink();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5358 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5361 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5362 return SWIG_Py_Void();
5365 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5366 return SWIG_Python_InitShadowInstance(args
);
5369 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5370 PyObject
*resultobj
= 0;
5371 wxPyHtmlTagHandler
*result
= 0 ;
5373 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5387 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= 0;
5389 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5390 PyObject
*arg2
= (PyObject
*) 0 ;
5391 PyObject
*arg3
= (PyObject
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5396 PyObject
* obj2
= 0 ;
5397 char * kwnames
[] = {
5398 (char *) "self",(char *) "self",(char *) "_class", NULL
5401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5403 if (!SWIG_IsOK(res1
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5406 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_Py_Void();
5422 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
= 0;
5424 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5425 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5432 char * kwnames
[] = {
5433 (char *) "self",(char *) "parser", NULL
5436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5438 if (!SWIG_IsOK(res1
)) {
5439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5441 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5442 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5443 if (!SWIG_IsOK(res2
)) {
5444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5446 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->SetParser(arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_Py_Void();
5460 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5461 PyObject
*resultobj
= 0;
5462 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5463 wxHtmlParser
*result
= 0 ;
5466 PyObject
*swig_obj
[1] ;
5468 if (!args
) SWIG_fail
;
5470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5471 if (!SWIG_IsOK(res1
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5474 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5488 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
= 0;
5490 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5491 wxHtmlTag
*arg2
= 0 ;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5498 char * kwnames
[] = {
5499 (char *) "self",(char *) "tag", NULL
5502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5504 if (!SWIG_IsOK(res1
)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5507 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5509 if (!SWIG_IsOK(res2
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5515 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_Py_Void();
5529 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5532 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5533 return SWIG_Py_Void();
5536 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5537 return SWIG_Python_InitShadowInstance(args
);
5540 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5541 PyObject
*resultobj
= 0;
5542 wxPyHtmlWinTagHandler
*result
= 0 ;
5544 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5558 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
= 0;
5560 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5561 PyObject
*arg2
= (PyObject
*) 0 ;
5562 PyObject
*arg3
= (PyObject
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5567 PyObject
* obj2
= 0 ;
5568 char * kwnames
[] = {
5569 (char *) "self",(char *) "self",(char *) "_class", NULL
5572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5574 if (!SWIG_IsOK(res1
)) {
5575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5577 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_Py_Void();
5593 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
= 0;
5595 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5596 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 char * kwnames
[] = {
5604 (char *) "self",(char *) "parser", NULL
5607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5609 if (!SWIG_IsOK(res1
)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5612 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5614 if (!SWIG_IsOK(res2
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5617 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 (arg1
)->SetParser(arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= SWIG_Py_Void();
5631 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5632 PyObject
*resultobj
= 0;
5633 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5634 wxHtmlWinParser
*result
= 0 ;
5637 PyObject
*swig_obj
[1] ;
5639 if (!args
) SWIG_fail
;
5641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5642 if (!SWIG_IsOK(res1
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5645 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5659 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
= 0;
5661 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5662 wxHtmlTag
*arg2
= 0 ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5669 char * kwnames
[] = {
5670 (char *) "self",(char *) "tag", NULL
5673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5675 if (!SWIG_IsOK(res1
)) {
5676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5678 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5680 if (!SWIG_IsOK(res2
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5686 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= SWIG_Py_Void();
5700 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5703 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5704 return SWIG_Py_Void();
5707 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 return SWIG_Python_InitShadowInstance(args
);
5711 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
= 0;
5713 PyObject
*arg1
= (PyObject
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 char * kwnames
[] = {
5716 (char *) "tagHandlerClass", NULL
5719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 wxHtmlWinParser_AddTagHandler(arg1
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_Py_Void();
5734 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5735 PyObject
*resultobj
= 0;
5736 wxHtmlSelection
*result
= 0 ;
5738 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5752 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5753 PyObject
*resultobj
= 0;
5754 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5757 PyObject
*swig_obj
[1] ;
5759 if (!args
) SWIG_fail
;
5761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5762 if (!SWIG_IsOK(res1
)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5765 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_Py_Void();
5780 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
= 0;
5782 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5784 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5786 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5797 PyObject
* obj2
= 0 ;
5798 PyObject
* obj3
= 0 ;
5799 PyObject
* obj4
= 0 ;
5800 char * kwnames
[] = {
5801 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5809 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5814 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5815 if (!SWIG_IsOK(res3
)) {
5816 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5818 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5821 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5823 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5824 if (!SWIG_IsOK(res5
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5827 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= SWIG_Py_Void();
5841 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
= 0;
5843 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5844 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5845 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 PyObject
* obj2
= 0 ;
5855 char * kwnames
[] = {
5856 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5861 if (!SWIG_IsOK(res1
)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5864 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5866 if (!SWIG_IsOK(res2
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5869 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5870 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5871 if (!SWIG_IsOK(res3
)) {
5872 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5874 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_Py_Void();
5888 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5889 PyObject
*resultobj
= 0;
5890 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5891 wxHtmlCell
*result
= 0 ;
5894 PyObject
*swig_obj
[1] ;
5896 if (!args
) SWIG_fail
;
5898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5899 if (!SWIG_IsOK(res1
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5902 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= wxPyMake_wxObject(result
, 0);
5918 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5919 PyObject
*resultobj
= 0;
5920 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5921 wxHtmlCell
*result
= 0 ;
5924 PyObject
*swig_obj
[1] ;
5926 if (!args
) SWIG_fail
;
5928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5929 if (!SWIG_IsOK(res1
)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5932 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= wxPyMake_wxObject(result
, 0);
5948 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5949 PyObject
*resultobj
= 0;
5950 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5951 wxPoint
*result
= 0 ;
5954 PyObject
*swig_obj
[1] ;
5956 if (!args
) SWIG_fail
;
5958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5959 if (!SWIG_IsOK(res1
)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5962 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5967 result
= (wxPoint
*) &_result_ref
;
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
5979 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5980 PyObject
*resultobj
= 0;
5981 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5982 wxPoint
*result
= 0 ;
5985 PyObject
*swig_obj
[1] ;
5987 if (!args
) SWIG_fail
;
5989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5990 if (!SWIG_IsOK(res1
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5993 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
5998 result
= (wxPoint
*) &_result_ref
;
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6010 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6011 PyObject
*resultobj
= 0;
6012 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6013 wxPoint
*result
= 0 ;
6016 PyObject
*swig_obj
[1] ;
6018 if (!args
) SWIG_fail
;
6020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6021 if (!SWIG_IsOK(res1
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6024 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6029 result
= (wxPoint
*) &_result_ref
;
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6041 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6042 PyObject
*resultobj
= 0;
6043 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6044 wxPoint
*result
= 0 ;
6047 PyObject
*swig_obj
[1] ;
6049 if (!args
) SWIG_fail
;
6051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6052 if (!SWIG_IsOK(res1
)) {
6053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6055 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6060 result
= (wxPoint
*) &_result_ref
;
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6072 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
= 0;
6074 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6081 char * kwnames
[] = {
6082 (char *) "self",(char *) "pos", NULL
6085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6087 if (!SWIG_IsOK(res1
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6090 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= SWIG_Py_Void();
6108 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
= 0;
6110 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6116 PyObject
* obj1
= 0 ;
6117 char * kwnames
[] = {
6118 (char *) "self",(char *) "pos", NULL
6121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6123 if (!SWIG_IsOK(res1
)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6126 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_Py_Void();
6144 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6157 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 (arg1
)->ClearPrivPos();
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= SWIG_Py_Void();
6171 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6172 PyObject
*resultobj
= 0;
6173 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_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6185 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6199 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6202 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6203 return SWIG_Py_Void();
6206 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6207 return SWIG_Python_InitShadowInstance(args
);
6210 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6211 PyObject
*resultobj
= 0;
6212 wxHtmlRenderingState
*result
= 0 ;
6214 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6228 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6229 PyObject
*resultobj
= 0;
6230 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6233 PyObject
*swig_obj
[1] ;
6235 if (!args
) SWIG_fail
;
6237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6238 if (!SWIG_IsOK(res1
)) {
6239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6241 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_Py_Void();
6256 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
= 0;
6258 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6259 wxHtmlSelectionState arg2
;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "self",(char *) "s", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6275 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6277 if (!SWIG_IsOK(ecode2
)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6280 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->SetSelectionState(arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_Py_Void();
6294 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6295 PyObject
*resultobj
= 0;
6296 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6297 wxHtmlSelectionState result
;
6300 PyObject
*swig_obj
[1] ;
6302 if (!args
) SWIG_fail
;
6304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6305 if (!SWIG_IsOK(res1
)) {
6306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6308 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_From_int(static_cast< int >(result
));
6322 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= 0;
6324 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6325 wxColour
*arg2
= 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 char * kwnames
[] = {
6332 (char *) "self",(char *) "c", NULL
6335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6337 if (!SWIG_IsOK(res1
)) {
6338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6340 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_Py_Void();
6358 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6359 PyObject
*resultobj
= 0;
6360 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6361 wxColour
*result
= 0 ;
6364 PyObject
*swig_obj
[1] ;
6366 if (!args
) SWIG_fail
;
6368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6369 if (!SWIG_IsOK(res1
)) {
6370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6372 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6377 result
= (wxColour
*) &_result_ref
;
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6389 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
= 0;
6391 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6392 wxColour
*arg2
= 0 ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6398 char * kwnames
[] = {
6399 (char *) "self",(char *) "c", NULL
6402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6404 if (!SWIG_IsOK(res1
)) {
6405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6407 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_Py_Void();
6425 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6426 PyObject
*resultobj
= 0;
6427 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6428 wxColour
*result
= 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6439 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6444 result
= (wxColour
*) &_result_ref
;
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6456 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6459 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6460 return SWIG_Py_Void();
6463 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6464 return SWIG_Python_InitShadowInstance(args
);
6467 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
= 0;
6469 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6470 wxColour
*arg2
= 0 ;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 char * kwnames
[] = {
6478 (char *) "self",(char *) "clr", NULL
6481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6486 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6504 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
= 0;
6506 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6507 wxColour
*arg2
= 0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6514 char * kwnames
[] = {
6515 (char *) "self",(char *) "clr", NULL
6518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6520 if (!SWIG_IsOK(res1
)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6523 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6541 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6544 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6545 return SWIG_Py_Void();
6548 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6551 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6552 return SWIG_Py_Void();
6555 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6556 PyObject
*resultobj
= 0;
6557 wxHtmlRenderingInfo
*result
= 0 ;
6559 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6573 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6574 PyObject
*resultobj
= 0;
6575 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6578 PyObject
*swig_obj
[1] ;
6580 if (!args
) SWIG_fail
;
6582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6583 if (!SWIG_IsOK(res1
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6586 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= SWIG_Py_Void();
6601 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
= 0;
6603 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6604 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 char * kwnames
[] = {
6612 (char *) "self",(char *) "s", NULL
6615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6617 if (!SWIG_IsOK(res1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6620 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6622 if (!SWIG_IsOK(res2
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6625 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 (arg1
)->SetSelection(arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_Py_Void();
6639 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6640 PyObject
*resultobj
= 0;
6641 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6642 wxHtmlSelection
*result
= 0 ;
6645 PyObject
*swig_obj
[1] ;
6647 if (!args
) SWIG_fail
;
6649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6650 if (!SWIG_IsOK(res1
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6653 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6667 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
= 0;
6669 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6670 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6677 char * kwnames
[] = {
6678 (char *) "self",(char *) "style", NULL
6681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6683 if (!SWIG_IsOK(res1
)) {
6684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6686 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6688 if (!SWIG_IsOK(res2
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6691 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 (arg1
)->SetStyle(arg2
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_Py_Void();
6705 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6708 wxHtmlRenderingStyle
*result
= 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6719 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6724 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6736 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6737 PyObject
*resultobj
= 0;
6738 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6739 wxHtmlRenderingState
*result
= 0 ;
6742 PyObject
*swig_obj
[1] ;
6744 if (!args
) SWIG_fail
;
6746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6747 if (!SWIG_IsOK(res1
)) {
6748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6750 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6755 result
= (wxHtmlRenderingState
*) &_result_ref
;
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6767 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6771 return SWIG_Py_Void();
6774 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6775 return SWIG_Python_InitShadowInstance(args
);
6778 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6779 PyObject
*resultobj
= 0;
6780 wxHtmlCell
*result
= 0 ;
6782 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (wxHtmlCell
*)new wxHtmlCell();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6796 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6797 PyObject
*resultobj
= 0;
6798 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6801 PyObject
*swig_obj
[1] ;
6803 if (!args
) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6809 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_Py_Void();
6824 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6825 PyObject
*resultobj
= 0;
6826 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6830 PyObject
*swig_obj
[1] ;
6832 if (!args
) SWIG_fail
;
6834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6835 if (!SWIG_IsOK(res1
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6838 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (int)(arg1
)->GetPosX();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_From_int(static_cast< int >(result
));
6852 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(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_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6866 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (int)(arg1
)->GetPosY();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_From_int(static_cast< int >(result
));
6880 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(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_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6894 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (int)(arg1
)->GetWidth();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_From_int(static_cast< int >(result
));
6908 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(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_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6922 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (int)(arg1
)->GetHeight();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_From_int(static_cast< int >(result
));
6936 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(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_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6950 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (int)(arg1
)->GetDescent();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_From_int(static_cast< int >(result
));
6964 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(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_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6978 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_From_int(static_cast< int >(result
));
6992 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6993 PyObject
*resultobj
= 0;
6994 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6995 wxString
*result
= 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_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7006 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7011 result
= (wxString
*) &_result_ref
;
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7020 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7029 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
= 0;
7031 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7032 wxString
*arg2
= 0 ;
7035 bool temp2
= false ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7038 char * kwnames
[] = {
7039 (char *) "self",(char *) "id", NULL
7042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7044 if (!SWIG_IsOK(res1
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7047 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7049 arg2
= wxString_in_helper(obj1
);
7050 if (arg2
== NULL
) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 (arg1
)->SetId((wxString
const &)*arg2
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_Py_Void();
7074 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
= 0;
7076 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7077 int arg2
= (int) 0 ;
7078 int arg3
= (int) 0 ;
7079 wxHtmlLinkInfo
*result
= 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 PyObject
* obj2
= 0 ;
7089 char * kwnames
[] = {
7090 (char *) "self",(char *) "x",(char *) "y", NULL
7093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7095 if (!SWIG_IsOK(res1
)) {
7096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7098 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7101 if (!SWIG_IsOK(ecode2
)) {
7102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7104 arg2
= static_cast< int >(val2
);
7107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7108 if (!SWIG_IsOK(ecode3
)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7111 arg3
= static_cast< int >(val3
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7126 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7127 PyObject
*resultobj
= 0;
7128 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7129 wxHtmlCell
*result
= 0 ;
7132 PyObject
*swig_obj
[1] ;
7134 if (!args
) SWIG_fail
;
7136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7137 if (!SWIG_IsOK(res1
)) {
7138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7140 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= wxPyMake_wxObject(result
, 0);
7156 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7157 PyObject
*resultobj
= 0;
7158 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7159 wxHtmlContainerCell
*result
= 0 ;
7162 PyObject
*swig_obj
[1] ;
7164 if (!args
) SWIG_fail
;
7166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7167 if (!SWIG_IsOK(res1
)) {
7168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7170 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7184 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7185 PyObject
*resultobj
= 0;
7186 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7187 wxHtmlCell
*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_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7198 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= wxPyMake_wxObject(result
, 0);
7214 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
= 0;
7216 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7217 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "self",(char *) "window", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7231 if (!SWIG_IsOK(res1
)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7234 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7236 if (!SWIG_IsOK(res2
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7239 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7253 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7254 PyObject
*resultobj
= 0;
7255 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7259 PyObject
*swig_obj
[1] ;
7261 if (!args
) SWIG_fail
;
7263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7264 if (!SWIG_IsOK(res1
)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7267 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
= 0;
7285 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7286 wxHtmlLinkInfo
*arg2
= 0 ;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7293 char * kwnames
[] = {
7294 (char *) "self",(char *) "link", NULL
7297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7299 if (!SWIG_IsOK(res1
)) {
7300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7302 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7304 if (!SWIG_IsOK(res2
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7310 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_Py_Void();
7324 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= 0;
7326 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7327 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 char * kwnames
[] = {
7333 (char *) "self",(char *) "cell", NULL
7336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7341 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7342 if (!SWIG_IsOK(res2
)) {
7343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->SetNext(arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_Py_Void();
7358 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
= 0;
7360 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7361 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "self",(char *) "p", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7377 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7379 if (!SWIG_IsOK(res2
)) {
7380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7382 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 (arg1
)->SetParent(arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_Py_Void();
7396 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
= 0;
7398 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7408 PyObject
* obj1
= 0 ;
7409 PyObject
* obj2
= 0 ;
7410 char * kwnames
[] = {
7411 (char *) "self",(char *) "x",(char *) "y", NULL
7414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7416 if (!SWIG_IsOK(res1
)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7419 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7421 if (!SWIG_IsOK(ecode2
)) {
7422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7424 arg2
= static_cast< int >(val2
);
7425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7426 if (!SWIG_IsOK(ecode3
)) {
7427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7429 arg3
= static_cast< int >(val3
);
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 (arg1
)->SetPos(arg2
,arg3
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_Py_Void();
7443 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= 0;
7445 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 char * kwnames
[] = {
7454 (char *) "self",(char *) "w", NULL
7457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7459 if (!SWIG_IsOK(res1
)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7462 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7464 if (!SWIG_IsOK(ecode2
)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7467 arg2
= static_cast< int >(val2
);
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->Layout(arg2
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= SWIG_Py_Void();
7481 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
= 0;
7483 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7489 wxHtmlRenderingInfo
*arg7
= 0 ;
7504 PyObject
* obj0
= 0 ;
7505 PyObject
* obj1
= 0 ;
7506 PyObject
* obj2
= 0 ;
7507 PyObject
* obj3
= 0 ;
7508 PyObject
* obj4
= 0 ;
7509 PyObject
* obj5
= 0 ;
7510 PyObject
* obj6
= 0 ;
7511 char * kwnames
[] = {
7512 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7520 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7522 if (!SWIG_IsOK(res2
)) {
7523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7528 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7530 if (!SWIG_IsOK(ecode3
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7533 arg3
= static_cast< int >(val3
);
7534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7535 if (!SWIG_IsOK(ecode4
)) {
7536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7538 arg4
= static_cast< int >(val4
);
7539 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7540 if (!SWIG_IsOK(ecode5
)) {
7541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7543 arg5
= static_cast< int >(val5
);
7544 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7545 if (!SWIG_IsOK(ecode6
)) {
7546 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7548 arg6
= static_cast< int >(val6
);
7549 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7550 if (!SWIG_IsOK(res7
)) {
7551 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7556 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= SWIG_Py_Void();
7570 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7572 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7576 wxHtmlRenderingInfo
*arg5
= 0 ;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7589 PyObject
* obj2
= 0 ;
7590 PyObject
* obj3
= 0 ;
7591 PyObject
* obj4
= 0 ;
7592 char * kwnames
[] = {
7593 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7598 if (!SWIG_IsOK(res1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7601 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7603 if (!SWIG_IsOK(res2
)) {
7604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7609 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7611 if (!SWIG_IsOK(ecode3
)) {
7612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7614 arg3
= static_cast< int >(val3
);
7615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7616 if (!SWIG_IsOK(ecode4
)) {
7617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7619 arg4
= static_cast< int >(val4
);
7620 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7621 if (!SWIG_IsOK(res5
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7627 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_Py_Void();
7641 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= 0;
7643 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7645 void *arg3
= (void *) 0 ;
7646 wxHtmlCell
*result
= 0 ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7654 PyObject
* obj2
= 0 ;
7655 char * kwnames
[] = {
7656 (char *) "self",(char *) "condition",(char *) "param", NULL
7659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7661 if (!SWIG_IsOK(res1
)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7664 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7666 if (!SWIG_IsOK(ecode2
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7669 arg2
= static_cast< int >(val2
);
7670 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7671 if (!SWIG_IsOK(res3
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= wxPyMake_wxObject(result
, 0);
7689 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= 0;
7691 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7692 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7694 wxMouseEvent
*arg4
= 0 ;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7705 PyObject
* obj2
= 0 ;
7706 PyObject
* obj3
= 0 ;
7707 char * kwnames
[] = {
7708 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7716 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7718 if (!SWIG_IsOK(res2
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7721 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7726 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7727 if (!SWIG_IsOK(res4
)) {
7728 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7733 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7749 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
= 0;
7751 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 char * kwnames
[] = {
7760 (char *) "self",(char *) "can", NULL
7763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7765 if (!SWIG_IsOK(res1
)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7768 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7769 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7770 if (!SWIG_IsOK(ecode2
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7773 arg2
= static_cast< bool >(val2
);
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_Py_Void();
7787 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7788 PyObject
*resultobj
= 0;
7789 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7793 PyObject
*swig_obj
[1] ;
7795 if (!args
) SWIG_fail
;
7797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7798 if (!SWIG_IsOK(res1
)) {
7799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7801 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7817 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7818 PyObject
*resultobj
= 0;
7819 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7823 PyObject
*swig_obj
[1] ;
7825 if (!args
) SWIG_fail
;
7827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7828 if (!SWIG_IsOK(res1
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7831 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7847 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
= 0;
7849 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7852 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7853 wxHtmlCell
*result
= 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 PyObject
* obj2
= 0 ;
7865 PyObject
* obj3
= 0 ;
7866 char * kwnames
[] = {
7867 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7872 if (!SWIG_IsOK(res1
)) {
7873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7875 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7877 if (!SWIG_IsOK(ecode2
)) {
7878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7880 arg2
= static_cast< int >(val2
);
7881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7882 if (!SWIG_IsOK(ecode3
)) {
7883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7885 arg3
= static_cast< int >(val3
);
7887 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7888 if (!SWIG_IsOK(ecode4
)) {
7889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7891 arg4
= static_cast< unsigned int >(val4
);
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= wxPyMake_wxObject(result
, 0);
7908 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
= 0;
7910 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7911 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7919 char * kwnames
[] = {
7920 (char *) "self",(char *) "rootCell", NULL
7923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7925 if (!SWIG_IsOK(res1
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7928 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7930 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7931 if (!SWIG_IsOK(res2
)) {
7932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7934 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7949 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7950 PyObject
*resultobj
= 0;
7951 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7952 wxHtmlCell
*result
= 0 ;
7955 PyObject
*swig_obj
[1] ;
7957 if (!args
) SWIG_fail
;
7959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7960 if (!SWIG_IsOK(res1
)) {
7961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7963 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= wxPyMake_wxObject(result
, 0);
7979 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7980 PyObject
*resultobj
= 0;
7981 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7982 wxHtmlCell
*result
= 0 ;
7985 PyObject
*swig_obj
[1] ;
7987 if (!args
) SWIG_fail
;
7989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7990 if (!SWIG_IsOK(res1
)) {
7991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7993 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= wxPyMake_wxObject(result
, 0);
8009 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8010 PyObject
*resultobj
= 0;
8011 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8012 wxHtmlCell
*result
= 0 ;
8015 PyObject
*swig_obj
[1] ;
8017 if (!args
) SWIG_fail
;
8019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8020 if (!SWIG_IsOK(res1
)) {
8021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8023 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= wxPyMake_wxObject(result
, 0);
8039 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8040 PyObject
*resultobj
= 0;
8041 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8042 unsigned int result
;
8045 PyObject
*swig_obj
[1] ;
8047 if (!args
) SWIG_fail
;
8049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8050 if (!SWIG_IsOK(res1
)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8053 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8067 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
= 0;
8069 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8070 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8078 char * kwnames
[] = {
8079 (char *) "self",(char *) "cell", NULL
8082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8084 if (!SWIG_IsOK(res1
)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8087 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8089 if (!SWIG_IsOK(res2
)) {
8090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8092 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8108 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
= 0;
8110 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8111 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8119 char * kwnames
[] = {
8120 (char *) "self",(char *) "sel", NULL
8123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8128 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8130 if (!SWIG_IsOK(res2
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8133 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8153 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8156 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8157 return SWIG_Py_Void();
8160 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8161 return SWIG_Python_InitShadowInstance(args
);
8164 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
= 0;
8166 wxString
*arg1
= 0 ;
8168 wxHtmlWordCell
*result
= 0 ;
8169 bool temp1
= false ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 char * kwnames
[] = {
8175 (char *) "word",(char *) "dc", NULL
8178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8180 arg1
= wxString_in_helper(obj0
);
8181 if (arg1
== NULL
) SWIG_fail
;
8184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8185 if (!SWIG_IsOK(res2
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8191 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8213 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
= 0;
8215 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8216 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 char * kwnames
[] = {
8225 (char *) "self",(char *) "sel", NULL
8228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8230 if (!SWIG_IsOK(res1
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8233 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8235 if (!SWIG_IsOK(res2
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8238 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8258 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8259 PyObject
*resultobj
= 0;
8260 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8264 PyObject
*swig_obj
[1] ;
8266 if (!args
) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8272 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8288 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
= 0;
8290 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8291 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8298 char * kwnames
[] = {
8299 (char *) "self",(char *) "cell", NULL
8302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8304 if (!SWIG_IsOK(res1
)) {
8305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8307 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8309 if (!SWIG_IsOK(res2
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8312 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->SetPreviousWord(arg2
);
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= SWIG_Py_Void();
8326 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8329 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8330 return SWIG_Py_Void();
8333 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 return SWIG_Python_InitShadowInstance(args
);
8337 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
= 0;
8339 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8340 wxHtmlContainerCell
*result
= 0 ;
8343 PyObject
* obj0
= 0 ;
8344 char * kwnames
[] = {
8345 (char *) "parent", NULL
8348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8350 if (!SWIG_IsOK(res1
)) {
8351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8353 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8367 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
= 0;
8369 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8370 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8376 char * kwnames
[] = {
8377 (char *) "self",(char *) "cell", NULL
8380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8382 if (!SWIG_IsOK(res1
)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8385 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8386 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8387 if (!SWIG_IsOK(res2
)) {
8388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->InsertCell(arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_Py_Void();
8403 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
= 0;
8405 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 char * kwnames
[] = {
8414 (char *) "self",(char *) "al", NULL
8417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8419 if (!SWIG_IsOK(res1
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8422 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8424 if (!SWIG_IsOK(ecode2
)) {
8425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8427 arg2
= static_cast< int >(val2
);
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 (arg1
)->SetAlignHor(arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= SWIG_Py_Void();
8441 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8442 PyObject
*resultobj
= 0;
8443 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8447 PyObject
*swig_obj
[1] ;
8449 if (!args
) SWIG_fail
;
8451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8452 if (!SWIG_IsOK(res1
)) {
8453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8455 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (int)(arg1
)->GetAlignHor();
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= SWIG_From_int(static_cast< int >(result
));
8469 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
= 0;
8471 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8478 PyObject
* obj1
= 0 ;
8479 char * kwnames
[] = {
8480 (char *) "self",(char *) "al", NULL
8483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8485 if (!SWIG_IsOK(res1
)) {
8486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8488 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8490 if (!SWIG_IsOK(ecode2
)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8493 arg2
= static_cast< int >(val2
);
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 (arg1
)->SetAlignVer(arg2
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_Py_Void();
8507 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8508 PyObject
*resultobj
= 0;
8509 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8513 PyObject
*swig_obj
[1] ;
8515 if (!args
) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8521 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (int)(arg1
)->GetAlignVer();
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= SWIG_From_int(static_cast< int >(result
));
8535 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
= 0;
8537 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8540 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8552 PyObject
* obj3
= 0 ;
8553 char * kwnames
[] = {
8554 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8559 if (!SWIG_IsOK(res1
)) {
8560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8562 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8564 if (!SWIG_IsOK(ecode2
)) {
8565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8567 arg2
= static_cast< int >(val2
);
8568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8569 if (!SWIG_IsOK(ecode3
)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8572 arg3
= static_cast< int >(val3
);
8574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8575 if (!SWIG_IsOK(ecode4
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8578 arg4
= static_cast< int >(val4
);
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_Py_Void();
8593 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= 0;
8595 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8604 char * kwnames
[] = {
8605 (char *) "self",(char *) "ind", NULL
8608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8613 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8615 if (!SWIG_IsOK(ecode2
)) {
8616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8618 arg2
= static_cast< int >(val2
);
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (int)(arg1
)->GetIndent(arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= SWIG_From_int(static_cast< int >(result
));
8632 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
= 0;
8634 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 char * kwnames
[] = {
8644 (char *) "self",(char *) "ind", NULL
8647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8652 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8654 if (!SWIG_IsOK(ecode2
)) {
8655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8657 arg2
= static_cast< int >(val2
);
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_From_int(static_cast< int >(result
));
8671 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= 0;
8673 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8674 wxHtmlTag
*arg2
= 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 char * kwnames
[] = {
8682 (char *) "self",(char *) "tag", NULL
8685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8690 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8692 if (!SWIG_IsOK(res2
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8698 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_Py_Void();
8712 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 PyObject
* obj2
= 0 ;
8726 char * kwnames
[] = {
8727 (char *) "self",(char *) "w",(char *) "units", NULL
8730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8732 if (!SWIG_IsOK(res1
)) {
8733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8735 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8737 if (!SWIG_IsOK(ecode2
)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8740 arg2
= static_cast< int >(val2
);
8741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8742 if (!SWIG_IsOK(ecode3
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8745 arg3
= static_cast< int >(val3
);
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 (arg1
)->SetWidthFloat(arg2
,arg3
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_Py_Void();
8759 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8762 wxHtmlTag
*arg2
= 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "self",(char *) "tag", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8778 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8780 if (!SWIG_IsOK(res2
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8786 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_Py_Void();
8800 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= 0;
8802 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8804 int arg3
= (int) wxHTML_ALIGN_TOP
;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8814 char * kwnames
[] = {
8815 (char *) "self",(char *) "h",(char *) "align", NULL
8818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8823 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8825 if (!SWIG_IsOK(ecode2
)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8828 arg2
= static_cast< int >(val2
);
8830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8831 if (!SWIG_IsOK(ecode3
)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8834 arg3
= static_cast< int >(val3
);
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 (arg1
)->SetMinHeight(arg2
,arg3
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_Py_Void();
8849 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
= 0;
8851 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8852 wxColour
*arg2
= 0 ;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8858 char * kwnames
[] = {
8859 (char *) "self",(char *) "clr", NULL
8862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8864 if (!SWIG_IsOK(res1
)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8867 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8870 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_Py_Void();
8885 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8886 PyObject
*resultobj
= 0;
8887 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8891 PyObject
*swig_obj
[1] ;
8893 if (!args
) SWIG_fail
;
8895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8896 if (!SWIG_IsOK(res1
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8899 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (arg1
)->GetBackgroundColour();
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8913 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
= 0;
8915 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8916 wxColour
*arg2
= 0 ;
8917 wxColour
*arg3
= 0 ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 PyObject
* obj2
= 0 ;
8925 char * kwnames
[] = {
8926 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8931 if (!SWIG_IsOK(res1
)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8934 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8937 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8941 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= SWIG_Py_Void();
8956 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8957 PyObject
*resultobj
= 0;
8958 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8959 wxHtmlCell
*result
= 0 ;
8962 PyObject
*swig_obj
[1] ;
8964 if (!args
) SWIG_fail
;
8966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8967 if (!SWIG_IsOK(res1
)) {
8968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8970 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= wxPyMake_wxObject(result
, 0);
8986 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8989 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
8990 return SWIG_Py_Void();
8993 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 return SWIG_Python_InitShadowInstance(args
);
8997 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxColour
*arg1
= 0 ;
9000 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9001 wxHtmlColourCell
*result
= 0 ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 char * kwnames
[] = {
9008 (char *) "clr",(char *) "flags", NULL
9011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9014 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9018 if (!SWIG_IsOK(ecode2
)) {
9019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9021 arg2
= static_cast< int >(val2
);
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9036 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9039 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9040 return SWIG_Py_Void();
9043 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9044 return SWIG_Python_InitShadowInstance(args
);
9047 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= 0;
9049 wxFont
*arg1
= (wxFont
*) 0 ;
9050 wxHtmlFontCell
*result
= 0 ;
9053 PyObject
* obj0
= 0 ;
9054 char * kwnames
[] = {
9055 (char *) "font", NULL
9058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9063 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9077 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9080 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9081 return SWIG_Py_Void();
9084 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9085 return SWIG_Python_InitShadowInstance(args
);
9088 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
= 0;
9090 wxWindow
*arg1
= (wxWindow
*) 0 ;
9091 int arg2
= (int) 0 ;
9092 wxHtmlWidgetCell
*result
= 0 ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 char * kwnames
[] = {
9100 (char *) "wnd",(char *) "w", NULL
9103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9105 if (!SWIG_IsOK(res1
)) {
9106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9111 if (!SWIG_IsOK(ecode2
)) {
9112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9114 arg2
= static_cast< int >(val2
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9129 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9132 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9133 return SWIG_Py_Void();
9136 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 return SWIG_Python_InitShadowInstance(args
);
9140 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9141 PyObject
*resultobj
= 0;
9142 wxPyHtmlFilter
*result
= 0 ;
9144 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9158 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= 0;
9160 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9161 PyObject
*arg2
= (PyObject
*) 0 ;
9162 PyObject
*arg3
= (PyObject
*) 0 ;
9165 PyObject
* obj0
= 0 ;
9166 PyObject
* obj1
= 0 ;
9167 PyObject
* obj2
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "self",(char *) "self",(char *) "_class", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9177 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_Py_Void();
9193 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9196 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9197 return SWIG_Py_Void();
9200 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9201 return SWIG_Python_InitShadowInstance(args
);
9204 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9205 PyObject
*resultobj
= 0;
9206 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9209 PyObject
*swig_obj
[1] ;
9211 if (!args
) SWIG_fail
;
9213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9214 if (!SWIG_IsOK(res1
)) {
9215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9217 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9232 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
= 0;
9234 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9235 wxString
*arg2
= 0 ;
9238 bool temp2
= false ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 char * kwnames
[] = {
9242 (char *) "self",(char *) "title", NULL
9245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9247 if (!SWIG_IsOK(res1
)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9250 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9252 arg2
= wxString_in_helper(obj1
);
9253 if (arg2
== NULL
) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_Py_Void();
9277 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9280 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 PyObject
* obj2
= 0 ;
9291 char * kwnames
[] = {
9292 (char *) "self",(char *) "cell",(char *) "pos", NULL
9295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9300 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9302 if (!SWIG_IsOK(res2
)) {
9303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9305 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9323 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9324 PyObject
*resultobj
= 0;
9325 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9326 wxWindow
*result
= 0 ;
9329 PyObject
*swig_obj
[1] ;
9331 if (!args
) SWIG_fail
;
9333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9334 if (!SWIG_IsOK(res1
)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9337 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= wxPyMake_wxObject(result
, 0);
9353 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 PyObject
*resultobj
= 0;
9355 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9367 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9381 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= 0;
9383 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9384 wxColour
*arg2
= 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 char * kwnames
[] = {
9391 (char *) "self",(char *) "clr", NULL
9394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9396 if (!SWIG_IsOK(res1
)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9399 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9402 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_Py_Void();
9417 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
= 0;
9419 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9420 wxBitmap
*arg2
= 0 ;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 char * kwnames
[] = {
9428 (char *) "self",(char *) "bmpBg", NULL
9431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9433 if (!SWIG_IsOK(res1
)) {
9434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9436 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9438 if (!SWIG_IsOK(res2
)) {
9439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9444 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_Py_Void();
9458 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
= 0;
9460 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9461 wxString
*arg2
= 0 ;
9464 bool temp2
= false ;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 char * kwnames
[] = {
9468 (char *) "self",(char *) "text", NULL
9471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9476 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9478 arg2
= wxString_in_helper(obj1
);
9479 if (arg2
== NULL
) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_Py_Void();
9503 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9506 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9507 return SWIG_Py_Void();
9510 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
= 0;
9512 wxWindow
*arg1
= (wxWindow
*) 0 ;
9513 int arg2
= (int) -1 ;
9514 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9515 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9516 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9517 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9518 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9519 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9520 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9521 wxPyHtmlWindow
*result
= 0 ;
9530 bool temp6
= false ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9533 PyObject
* obj2
= 0 ;
9534 PyObject
* obj3
= 0 ;
9535 PyObject
* obj4
= 0 ;
9536 PyObject
* obj5
= 0 ;
9537 char * kwnames
[] = {
9538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9543 if (!SWIG_IsOK(res1
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9549 if (!SWIG_IsOK(ecode2
)) {
9550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9552 arg2
= static_cast< int >(val2
);
9557 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9563 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9568 if (!SWIG_IsOK(ecode5
)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9571 arg5
= static_cast< int >(val5
);
9575 arg6
= wxString_in_helper(obj5
);
9576 if (arg6
== NULL
) SWIG_fail
;
9581 if (!wxPyCheckForApp()) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9602 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9603 PyObject
*resultobj
= 0;
9604 wxPyHtmlWindow
*result
= 0 ;
9606 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9608 if (!wxPyCheckForApp()) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9621 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
= 0;
9623 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9624 wxWindow
*arg2
= (wxWindow
*) 0 ;
9625 int arg3
= (int) -1 ;
9626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9630 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9631 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9632 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9644 bool temp7
= false ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9647 PyObject
* obj2
= 0 ;
9648 PyObject
* obj3
= 0 ;
9649 PyObject
* obj4
= 0 ;
9650 PyObject
* obj5
= 0 ;
9651 PyObject
* obj6
= 0 ;
9652 char * kwnames
[] = {
9653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9661 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9663 if (!SWIG_IsOK(res2
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9666 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9669 if (!SWIG_IsOK(ecode3
)) {
9670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9672 arg3
= static_cast< int >(val3
);
9677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9687 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9688 if (!SWIG_IsOK(ecode6
)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9691 arg6
= static_cast< int >(val6
);
9695 arg7
= wxString_in_helper(obj6
);
9696 if (arg7
== NULL
) SWIG_fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= 0;
9725 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9726 PyObject
*arg2
= (PyObject
*) 0 ;
9727 PyObject
*arg3
= (PyObject
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 PyObject
* obj2
= 0 ;
9733 char * kwnames
[] = {
9734 (char *) "self",(char *) "self",(char *) "_class", NULL
9737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9739 if (!SWIG_IsOK(res1
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9742 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_Py_Void();
9758 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= 0;
9760 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9761 wxString
*arg2
= 0 ;
9765 bool temp2
= false ;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9768 char * kwnames
[] = {
9769 (char *) "self",(char *) "source", NULL
9772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9774 if (!SWIG_IsOK(res1
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9777 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9779 arg2
= wxString_in_helper(obj1
);
9780 if (arg2
== NULL
) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9806 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
= 0;
9808 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9809 wxString
*arg2
= 0 ;
9813 bool temp2
= false ;
9814 PyObject
* obj0
= 0 ;
9815 PyObject
* obj1
= 0 ;
9816 char * kwnames
[] = {
9817 (char *) "self",(char *) "location", NULL
9820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9822 if (!SWIG_IsOK(res1
)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9825 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9827 arg2
= wxString_in_helper(obj1
);
9828 if (arg2
== NULL
) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9854 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
= 0;
9856 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9857 wxString
*arg2
= 0 ;
9861 bool temp2
= false ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 char * kwnames
[] = {
9865 (char *) "self",(char *) "filename", NULL
9868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9870 if (!SWIG_IsOK(res1
)) {
9871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9873 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9875 arg2
= wxString_in_helper(obj1
);
9876 if (arg2
== NULL
) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9902 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= 0;
9904 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9905 wxString
*arg2
= 0 ;
9909 bool temp2
= false ;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 char * kwnames
[] = {
9913 (char *) "self",(char *) "source", NULL
9916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9921 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9923 arg2
= wxString_in_helper(obj1
);
9924 if (arg2
== NULL
) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9950 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9951 PyObject
*resultobj
= 0;
9952 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9956 PyObject
*swig_obj
[1] ;
9958 if (!args
) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9964 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (arg1
)->GetOpenedPage();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9984 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9985 PyObject
*resultobj
= 0;
9986 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9990 PyObject
*swig_obj
[1] ;
9992 if (!args
) SWIG_fail
;
9994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9995 if (!SWIG_IsOK(res1
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9998 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (arg1
)->GetOpenedAnchor();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10018 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10019 PyObject
*resultobj
= 0;
10020 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10024 PyObject
*swig_obj
[1] ;
10026 if (!args
) SWIG_fail
;
10027 swig_obj
[0] = args
;
10028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10029 if (!SWIG_IsOK(res1
)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10032 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (arg1
)->GetOpenedPageTitle();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10052 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
= 0;
10054 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10055 wxFrame
*arg2
= (wxFrame
*) 0 ;
10056 wxString
*arg3
= 0 ;
10061 bool temp3
= false ;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 PyObject
* obj2
= 0 ;
10065 char * kwnames
[] = {
10066 (char *) "self",(char *) "frame",(char *) "format", NULL
10069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10071 if (!SWIG_IsOK(res1
)) {
10072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10074 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10076 if (!SWIG_IsOK(res2
)) {
10077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10079 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10081 arg3
= wxString_in_helper(obj2
);
10082 if (arg3
== NULL
) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_Py_Void();
10106 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10107 PyObject
*resultobj
= 0;
10108 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10109 wxFrame
*result
= 0 ;
10112 PyObject
*swig_obj
[1] ;
10114 if (!args
) SWIG_fail
;
10115 swig_obj
[0] = args
;
10116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10117 if (!SWIG_IsOK(res1
)) {
10118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10120 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= wxPyMake_wxObject(result
, 0);
10136 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10144 PyObject
* obj0
= 0 ;
10145 PyObject
* obj1
= 0 ;
10146 char * kwnames
[] = {
10147 (char *) "self",(char *) "bar", NULL
10150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10152 if (!SWIG_IsOK(res1
)) {
10153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10155 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10157 if (!SWIG_IsOK(ecode2
)) {
10158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10160 arg2
= static_cast< int >(val2
);
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 (arg1
)->SetRelatedStatusBar(arg2
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_Py_Void();
10174 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10176 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10179 PyObject
*arg4
= (PyObject
*) NULL
;
10182 PyObject
* obj0
= 0 ;
10183 PyObject
* obj1
= 0 ;
10184 PyObject
* obj2
= 0 ;
10185 PyObject
* obj3
= 0 ;
10186 char * kwnames
[] = {
10187 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10192 if (!SWIG_IsOK(res1
)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10195 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10197 wxString
* sptr
= wxString_in_helper(obj1
);
10198 if (sptr
== NULL
) SWIG_fail
;
10203 wxString
* sptr
= wxString_in_helper(obj2
);
10204 if (sptr
== NULL
) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= SWIG_Py_Void();
10224 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
= 0;
10226 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10227 int arg2
= (int) -1 ;
10228 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10229 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10230 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10231 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10236 bool temp3
= false ;
10237 bool temp4
= false ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 PyObject
* obj2
= 0 ;
10241 PyObject
* obj3
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",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_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10251 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10254 if (!SWIG_IsOK(ecode2
)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10257 arg2
= static_cast< int >(val2
);
10261 arg3
= wxString_in_helper(obj2
);
10262 if (arg3
== NULL
) SWIG_fail
;
10268 arg4
= wxString_in_helper(obj3
);
10269 if (arg4
== NULL
) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_Py_Void();
10302 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "self",(char *) "b", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10321 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10323 if (!SWIG_IsOK(ecode2
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10326 arg2
= static_cast< int >(val2
);
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 (arg1
)->SetBorders(arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_Py_Void();
10340 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
= 0;
10342 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10343 wxBitmap
*arg2
= 0 ;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 char * kwnames
[] = {
10351 (char *) "self",(char *) "bmpBg", NULL
10354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10356 if (!SWIG_IsOK(res1
)) {
10357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10359 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10361 if (!SWIG_IsOK(res2
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10367 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_Py_Void();
10381 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
= 0;
10383 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10384 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10385 wxString arg3
= (wxString
) wxPyEmptyString
;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 PyObject
* obj2
= 0 ;
10393 char * kwnames
[] = {
10394 (char *) "self",(char *) "cfg",(char *) "path", NULL
10397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10402 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10404 if (!SWIG_IsOK(res2
)) {
10405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10407 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10410 wxString
* sptr
= wxString_in_helper(obj2
);
10411 if (sptr
== NULL
) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 (arg1
)->ReadCustomization(arg2
,arg3
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= SWIG_Py_Void();
10429 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
= 0;
10431 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10432 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10433 wxString arg3
= (wxString
) wxPyEmptyString
;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 char * kwnames
[] = {
10442 (char *) "self",(char *) "cfg",(char *) "path", NULL
10445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10447 if (!SWIG_IsOK(res1
)) {
10448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10450 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10452 if (!SWIG_IsOK(res2
)) {
10453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10455 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10458 wxString
* sptr
= wxString_in_helper(obj2
);
10459 if (sptr
== NULL
) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->WriteCustomization(arg2
,arg3
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_Py_Void();
10477 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10478 PyObject
*resultobj
= 0;
10479 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10483 PyObject
*swig_obj
[1] ;
10485 if (!args
) SWIG_fail
;
10486 swig_obj
[0] = args
;
10487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10488 if (!SWIG_IsOK(res1
)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10491 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->HistoryBack();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10507 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10508 PyObject
*resultobj
= 0;
10509 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10513 PyObject
*swig_obj
[1] ;
10515 if (!args
) SWIG_fail
;
10516 swig_obj
[0] = args
;
10517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10518 if (!SWIG_IsOK(res1
)) {
10519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10521 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (bool)(arg1
)->HistoryForward();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10537 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10538 PyObject
*resultobj
= 0;
10539 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10543 PyObject
*swig_obj
[1] ;
10545 if (!args
) SWIG_fail
;
10546 swig_obj
[0] = args
;
10547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10548 if (!SWIG_IsOK(res1
)) {
10549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10551 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (bool)(arg1
)->HistoryCanBack();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10567 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10568 PyObject
*resultobj
= 0;
10569 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10573 PyObject
*swig_obj
[1] ;
10575 if (!args
) SWIG_fail
;
10576 swig_obj
[0] = args
;
10577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10578 if (!SWIG_IsOK(res1
)) {
10579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10581 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (bool)(arg1
)->HistoryCanForward();
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10597 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10598 PyObject
*resultobj
= 0;
10599 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10602 PyObject
*swig_obj
[1] ;
10604 if (!args
) SWIG_fail
;
10605 swig_obj
[0] = args
;
10606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10610 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 (arg1
)->HistoryClear();
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_Py_Void();
10624 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10625 PyObject
*resultobj
= 0;
10626 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10627 wxHtmlContainerCell
*result
= 0 ;
10630 PyObject
*swig_obj
[1] ;
10632 if (!args
) SWIG_fail
;
10633 swig_obj
[0] = args
;
10634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10635 if (!SWIG_IsOK(res1
)) {
10636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10638 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10652 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10653 PyObject
*resultobj
= 0;
10654 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10655 wxHtmlWinParser
*result
= 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_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10666 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10680 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
= 0;
10682 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10683 wxString
*arg2
= 0 ;
10687 bool temp2
= false ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "anchor", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10699 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10701 arg2
= wxString_in_helper(obj1
);
10702 if (arg2
== NULL
) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10728 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
= 0;
10730 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10731 wxString
*arg2
= 0 ;
10735 bool temp2
= false ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 char * kwnames
[] = {
10739 (char *) "self",(char *) "anchor", NULL
10742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10747 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10749 arg2
= wxString_in_helper(obj1
);
10750 if (arg2
== NULL
) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10776 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
= 0;
10778 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "filter", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10791 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 wxPyHtmlWindow::AddFilter(arg1
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_Py_Void();
10805 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= 0;
10807 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10808 wxPoint
*arg2
= 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 char * kwnames
[] = {
10815 (char *) "self",(char *) "pos", NULL
10818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10820 if (!SWIG_IsOK(res1
)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10823 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= SWIG_Py_Void();
10841 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
= 0;
10843 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10844 wxPoint
*arg2
= 0 ;
10848 PyObject
* obj0
= 0 ;
10849 PyObject
* obj1
= 0 ;
10850 char * kwnames
[] = {
10851 (char *) "self",(char *) "pos", NULL
10854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10856 if (!SWIG_IsOK(res1
)) {
10857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10859 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10862 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_Py_Void();
10877 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10878 PyObject
*resultobj
= 0;
10879 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10882 PyObject
*swig_obj
[1] ;
10884 if (!args
) SWIG_fail
;
10885 swig_obj
[0] = args
;
10886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10887 if (!SWIG_IsOK(res1
)) {
10888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10890 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->SelectAll();
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= SWIG_Py_Void();
10904 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10905 PyObject
*resultobj
= 0;
10906 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10910 PyObject
*swig_obj
[1] ;
10912 if (!args
) SWIG_fail
;
10913 swig_obj
[0] = args
;
10914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10915 if (!SWIG_IsOK(res1
)) {
10916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10918 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (arg1
)->SelectionToText();
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10938 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10939 PyObject
*resultobj
= 0;
10940 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10944 PyObject
*swig_obj
[1] ;
10946 if (!args
) SWIG_fail
;
10947 swig_obj
[0] = args
;
10948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10949 if (!SWIG_IsOK(res1
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10952 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (arg1
)->ToText();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10972 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10975 wxHtmlLinkInfo
*arg2
= 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char * kwnames
[] = {
10983 (char *) "self",(char *) "link", NULL
10986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10991 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
10993 if (!SWIG_IsOK(res2
)) {
10994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
10997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
10999 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_Py_Void();
11013 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
= 0;
11015 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11016 wxString
*arg2
= 0 ;
11019 bool temp2
= false ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char * kwnames
[] = {
11023 (char *) "self",(char *) "title", NULL
11026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11028 if (!SWIG_IsOK(res1
)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11031 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11033 arg2
= wxString_in_helper(obj1
);
11034 if (arg2
== NULL
) SWIG_fail
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= SWIG_Py_Void();
11058 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11060 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11061 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 PyObject
* obj2
= 0 ;
11075 PyObject
* obj3
= 0 ;
11076 char * kwnames
[] = {
11077 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11082 if (!SWIG_IsOK(res1
)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11085 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11087 if (!SWIG_IsOK(res2
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11090 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11092 if (!SWIG_IsOK(ecode3
)) {
11093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11095 arg3
= static_cast< int >(val3
);
11096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11097 if (!SWIG_IsOK(ecode4
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11100 arg4
= static_cast< int >(val4
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_Py_Void();
11114 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
= 0;
11116 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11117 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11120 wxMouseEvent
*arg5
= 0 ;
11132 PyObject
* obj0
= 0 ;
11133 PyObject
* obj1
= 0 ;
11134 PyObject
* obj2
= 0 ;
11135 PyObject
* obj3
= 0 ;
11136 PyObject
* obj4
= 0 ;
11137 char * kwnames
[] = {
11138 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11143 if (!SWIG_IsOK(res1
)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11146 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11148 if (!SWIG_IsOK(res2
)) {
11149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11151 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11153 if (!SWIG_IsOK(ecode3
)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11156 arg3
= static_cast< int >(val3
);
11157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11158 if (!SWIG_IsOK(ecode4
)) {
11159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11161 arg4
= static_cast< int >(val4
);
11162 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11163 if (!SWIG_IsOK(res5
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11169 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11185 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
= 0;
11187 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11188 wxHtmlURLType arg2
;
11189 wxString
*arg3
= 0 ;
11190 wxString
*arg4
= (wxString
*) 0 ;
11191 wxHtmlOpeningStatus result
;
11196 bool temp3
= false ;
11197 bool temp4
= false ;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 PyObject
* obj2
= 0 ;
11201 PyObject
* obj3
= 0 ;
11202 char * kwnames
[] = {
11203 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11211 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11213 if (!SWIG_IsOK(ecode2
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11216 arg2
= static_cast< wxHtmlURLType
>(val2
);
11218 arg3
= wxString_in_helper(obj2
);
11219 if (arg3
== NULL
) SWIG_fail
;
11223 arg4
= wxString_in_helper(obj3
);
11224 if (arg4
== NULL
) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_From_int(static_cast< int >(result
));
11256 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
= 0;
11258 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11259 SwigValueWrapper
<wxVisualAttributes
> result
;
11262 PyObject
* obj0
= 0 ;
11263 char * kwnames
[] = {
11264 (char *) "variant", NULL
11267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11269 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11270 if (!SWIG_IsOK(ecode1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11273 arg1
= static_cast< wxWindowVariant
>(val1
);
11276 if (!wxPyCheckForApp()) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11289 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= 0;
11291 wxPyHtmlWindow::HTMLCursor arg1
;
11295 PyObject
* obj0
= 0 ;
11296 char * kwnames
[] = {
11297 (char *) "type", NULL
11300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11302 if (!SWIG_IsOK(ecode1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11305 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11319 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11322 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11323 return SWIG_Py_Void();
11326 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11327 return SWIG_Python_InitShadowInstance(args
);
11330 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxHtmlDCRenderer
*result
= 0 ;
11334 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11336 if (!wxPyCheckForApp()) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11349 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11350 PyObject
*resultobj
= 0;
11351 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11354 PyObject
*swig_obj
[1] ;
11356 if (!args
) SWIG_fail
;
11357 swig_obj
[0] = args
;
11358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11359 if (!SWIG_IsOK(res1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11362 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_Py_Void();
11377 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
= 0;
11379 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11380 wxDC
*arg2
= (wxDC
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 PyObject
* obj2
= 0 ;
11391 char * kwnames
[] = {
11392 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11397 if (!SWIG_IsOK(res1
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11400 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11402 if (!SWIG_IsOK(res2
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11405 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11407 if (!SWIG_IsOK(ecode3
)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11410 arg3
= static_cast< int >(val3
);
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 (arg1
)->SetDC(arg2
,arg3
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_Py_Void();
11424 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= 0;
11426 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 PyObject
* obj1
= 0 ;
11437 PyObject
* obj2
= 0 ;
11438 char * kwnames
[] = {
11439 (char *) "self",(char *) "width",(char *) "height", NULL
11442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11444 if (!SWIG_IsOK(res1
)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11447 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11449 if (!SWIG_IsOK(ecode2
)) {
11450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11452 arg2
= static_cast< int >(val2
);
11453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11454 if (!SWIG_IsOK(ecode3
)) {
11455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11457 arg3
= static_cast< int >(val3
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 (arg1
)->SetSize(arg2
,arg3
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_Py_Void();
11471 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
= 0;
11473 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11474 wxString
*arg2
= 0 ;
11475 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11476 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11477 bool arg4
= (bool) true ;
11480 bool temp2
= false ;
11481 bool temp3
= false ;
11484 PyObject
* obj0
= 0 ;
11485 PyObject
* obj1
= 0 ;
11486 PyObject
* obj2
= 0 ;
11487 PyObject
* obj3
= 0 ;
11488 char * kwnames
[] = {
11489 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11494 if (!SWIG_IsOK(res1
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11497 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11499 arg2
= wxString_in_helper(obj1
);
11500 if (arg2
== NULL
) SWIG_fail
;
11505 arg3
= wxString_in_helper(obj2
);
11506 if (arg3
== NULL
) SWIG_fail
;
11511 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11512 if (!SWIG_IsOK(ecode4
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11515 arg4
= static_cast< bool >(val4
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_Py_Void();
11546 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
= 0;
11548 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11551 PyObject
*arg4
= (PyObject
*) NULL
;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 PyObject
* obj2
= 0 ;
11557 PyObject
* obj3
= 0 ;
11558 char * kwnames
[] = {
11559 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11564 if (!SWIG_IsOK(res1
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11567 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11569 wxString
* sptr
= wxString_in_helper(obj1
);
11570 if (sptr
== NULL
) SWIG_fail
;
11575 wxString
* sptr
= wxString_in_helper(obj2
);
11576 if (sptr
== NULL
) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_Py_Void();
11596 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
= 0;
11598 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11599 int arg2
= (int) -1 ;
11600 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11608 bool temp3
= false ;
11609 bool temp4
= false ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 PyObject
* obj3
= 0 ;
11614 char * kwnames
[] = {
11615 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",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_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11623 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11626 if (!SWIG_IsOK(ecode2
)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11629 arg2
= static_cast< int >(val2
);
11633 arg3
= wxString_in_helper(obj2
);
11634 if (arg3
== NULL
) SWIG_fail
;
11640 arg4
= wxString_in_helper(obj3
);
11641 if (arg4
== NULL
) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_Py_Void();
11674 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
= 0;
11676 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11679 wxArrayInt
*arg4
= 0 ;
11680 int arg5
= (int) 0 ;
11681 int arg6
= (int) FALSE
;
11682 int arg7
= (int) INT_MAX
;
11690 bool temp4
= false ;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 PyObject
* obj2
= 0 ;
11700 PyObject
* obj3
= 0 ;
11701 PyObject
* obj4
= 0 ;
11702 PyObject
* obj5
= 0 ;
11703 PyObject
* obj6
= 0 ;
11704 char * kwnames
[] = {
11705 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11713 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11715 if (!SWIG_IsOK(ecode2
)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11718 arg2
= static_cast< int >(val2
);
11719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11720 if (!SWIG_IsOK(ecode3
)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11723 arg3
= static_cast< int >(val3
);
11725 if (! PySequence_Check(obj3
)) {
11726 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11729 arg4
= new wxArrayInt
;
11731 int i
, len
=PySequence_Length(obj3
);
11732 for (i
=0; i
<len
; i
++) {
11733 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11734 PyObject
* number
= PyNumber_Int(item
);
11736 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11739 arg4
->Add(PyInt_AS_LONG(number
));
11745 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11746 if (!SWIG_IsOK(ecode5
)) {
11747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11749 arg5
= static_cast< int >(val5
);
11752 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11753 if (!SWIG_IsOK(ecode6
)) {
11754 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11756 arg6
= static_cast< int >(val6
);
11759 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11760 if (!SWIG_IsOK(ecode7
)) {
11761 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11763 arg7
= static_cast< int >(val7
);
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_From_int(static_cast< int >(result
));
11773 if (temp4
) delete arg4
;
11778 if (temp4
) delete arg4
;
11784 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 PyObject
*resultobj
= 0;
11786 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11798 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (int)(arg1
)->GetTotalHeight();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int(static_cast< int >(result
));
11812 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11815 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11816 return SWIG_Py_Void();
11819 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11820 return SWIG_Python_InitShadowInstance(args
);
11823 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11826 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11827 wxHtmlPrintout
*result
= 0 ;
11828 bool temp1
= false ;
11829 PyObject
* obj0
= 0 ;
11830 char * kwnames
[] = {
11831 (char *) "title", NULL
11834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11837 arg1
= wxString_in_helper(obj0
);
11838 if (arg1
== NULL
) SWIG_fail
;
11843 if (!wxPyCheckForApp()) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11864 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
= 0;
11866 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11867 wxString
*arg2
= 0 ;
11868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11870 bool arg4
= (bool) true ;
11873 bool temp2
= false ;
11874 bool temp3
= false ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 PyObject
* obj3
= 0 ;
11881 char * kwnames
[] = {
11882 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11887 if (!SWIG_IsOK(res1
)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11890 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11892 arg2
= wxString_in_helper(obj1
);
11893 if (arg2
== NULL
) SWIG_fail
;
11898 arg3
= wxString_in_helper(obj2
);
11899 if (arg3
== NULL
) SWIG_fail
;
11904 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11905 if (!SWIG_IsOK(ecode4
)) {
11906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11908 arg4
= static_cast< bool >(val4
);
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_Py_Void();
11939 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
= 0;
11941 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11942 wxString
*arg2
= 0 ;
11945 bool temp2
= false ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char * kwnames
[] = {
11949 (char *) "self",(char *) "htmlfile", NULL
11952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11957 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11959 arg2
= wxString_in_helper(obj1
);
11960 if (arg2
== NULL
) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11984 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
= 0;
11986 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11987 wxString
*arg2
= 0 ;
11988 int arg3
= (int) wxPAGE_ALL
;
11991 bool temp2
= false ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 PyObject
* obj2
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "header",(char *) "pg", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12006 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12008 arg2
= wxString_in_helper(obj1
);
12009 if (arg2
== NULL
) SWIG_fail
;
12013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12014 if (!SWIG_IsOK(ecode3
)) {
12015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12017 arg3
= static_cast< int >(val3
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_Py_Void();
12040 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(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 *) "footer",(char *) "pg", NULL
12057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",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_SetFooter" "', 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_SetFooter" "', expected argument " "3"" of type '" "int""'");
12073 arg3
= static_cast< int >(val3
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_Py_Void();
12096 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
= 0;
12098 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12101 PyObject
*arg4
= (PyObject
*) NULL
;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 PyObject
* obj2
= 0 ;
12107 PyObject
* obj3
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12117 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12119 wxString
* sptr
= wxString_in_helper(obj1
);
12120 if (sptr
== NULL
) SWIG_fail
;
12125 wxString
* sptr
= wxString_in_helper(obj2
);
12126 if (sptr
== NULL
) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_Py_Void();
12146 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
= 0;
12148 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12149 int arg2
= (int) -1 ;
12150 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12151 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12158 bool temp3
= false ;
12159 bool temp4
= false ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 PyObject
* obj3
= 0 ;
12164 char * kwnames
[] = {
12165 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",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_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12173 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12176 if (!SWIG_IsOK(ecode2
)) {
12177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12179 arg2
= static_cast< int >(val2
);
12183 arg3
= wxString_in_helper(obj2
);
12184 if (arg3
== NULL
) SWIG_fail
;
12190 arg4
= wxString_in_helper(obj3
);
12191 if (arg4
== NULL
) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= SWIG_Py_Void();
12224 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
= 0;
12226 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12227 float arg2
= (float) 25.2 ;
12228 float arg3
= (float) 25.2 ;
12229 float arg4
= (float) 25.2 ;
12230 float arg5
= (float) 25.2 ;
12231 float arg6
= (float) 5 ;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 PyObject
* obj2
= 0 ;
12247 PyObject
* obj3
= 0 ;
12248 PyObject
* obj4
= 0 ;
12249 PyObject
* obj5
= 0 ;
12250 char * kwnames
[] = {
12251 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12256 if (!SWIG_IsOK(res1
)) {
12257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12259 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12261 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12262 if (!SWIG_IsOK(ecode2
)) {
12263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12265 arg2
= static_cast< float >(val2
);
12268 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12269 if (!SWIG_IsOK(ecode3
)) {
12270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12272 arg3
= static_cast< float >(val3
);
12275 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12276 if (!SWIG_IsOK(ecode4
)) {
12277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12279 arg4
= static_cast< float >(val4
);
12282 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12283 if (!SWIG_IsOK(ecode5
)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12286 arg5
= static_cast< float >(val5
);
12289 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12290 if (!SWIG_IsOK(ecode6
)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12293 arg6
= static_cast< float >(val6
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
= 0;
12310 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char * kwnames
[] = {
12315 (char *) "filter", NULL
12318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12323 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 wxHtmlPrintout::AddFilter(arg1
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_Py_Void();
12337 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12338 PyObject
*resultobj
= 0;
12340 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 wxHtmlPrintout::CleanUpStatics();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_Py_Void();
12354 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12357 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12358 return SWIG_Py_Void();
12361 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12362 return SWIG_Python_InitShadowInstance(args
);
12365 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
= 0;
12367 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12368 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12369 wxWindow
*arg2
= (wxWindow
*) NULL
;
12370 wxHtmlEasyPrinting
*result
= 0 ;
12371 bool temp1
= false ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 char * kwnames
[] = {
12377 (char *) "name",(char *) "parentWindow", NULL
12380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12383 arg1
= wxString_in_helper(obj0
);
12384 if (arg1
== NULL
) SWIG_fail
;
12389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12390 if (!SWIG_IsOK(res2
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12396 if (!wxPyCheckForApp()) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12417 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12422 PyObject
*swig_obj
[1] ;
12424 if (!args
) SWIG_fail
;
12425 swig_obj
[0] = args
;
12426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12427 if (!SWIG_IsOK(res1
)) {
12428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12430 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_Py_Void();
12445 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12448 wxString
*arg2
= 0 ;
12451 bool temp2
= false ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "htmlfile", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12463 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12465 arg2
= wxString_in_helper(obj1
);
12466 if (arg2
== NULL
) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_Py_Void();
12490 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
= 0;
12492 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12493 wxString
*arg2
= 0 ;
12494 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12495 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12498 bool temp2
= false ;
12499 bool temp3
= false ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 PyObject
* obj2
= 0 ;
12503 char * kwnames
[] = {
12504 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12509 if (!SWIG_IsOK(res1
)) {
12510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12512 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12514 arg2
= wxString_in_helper(obj1
);
12515 if (arg2
== NULL
) SWIG_fail
;
12520 arg3
= wxString_in_helper(obj2
);
12521 if (arg3
== NULL
) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_Py_Void();
12554 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
= 0;
12556 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12557 wxString
*arg2
= 0 ;
12560 bool temp2
= false ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char * kwnames
[] = {
12564 (char *) "self",(char *) "htmlfile", NULL
12567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12569 if (!SWIG_IsOK(res1
)) {
12570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12572 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12574 arg2
= wxString_in_helper(obj1
);
12575 if (arg2
== NULL
) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->PrintFile((wxString
const &)*arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= SWIG_Py_Void();
12599 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
= 0;
12601 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12602 wxString
*arg2
= 0 ;
12603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12607 bool temp2
= false ;
12608 bool temp3
= false ;
12609 PyObject
* obj0
= 0 ;
12610 PyObject
* obj1
= 0 ;
12611 PyObject
* obj2
= 0 ;
12612 char * kwnames
[] = {
12613 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12621 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12623 arg2
= wxString_in_helper(obj1
);
12624 if (arg2
== NULL
) SWIG_fail
;
12629 arg3
= wxString_in_helper(obj2
);
12630 if (arg3
== NULL
) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_Py_Void();
12663 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12664 PyObject
*resultobj
= 0;
12665 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12668 PyObject
*swig_obj
[1] ;
12670 if (!args
) SWIG_fail
;
12671 swig_obj
[0] = args
;
12672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12673 if (!SWIG_IsOK(res1
)) {
12674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12676 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 (arg1
)->PageSetup();
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= SWIG_Py_Void();
12690 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
= 0;
12692 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12693 wxString
*arg2
= 0 ;
12694 int arg3
= (int) wxPAGE_ALL
;
12697 bool temp2
= false ;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 PyObject
* obj2
= 0 ;
12703 char * kwnames
[] = {
12704 (char *) "self",(char *) "header",(char *) "pg", NULL
12707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12712 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12714 arg2
= wxString_in_helper(obj1
);
12715 if (arg2
== NULL
) SWIG_fail
;
12719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12720 if (!SWIG_IsOK(ecode3
)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12723 arg3
= static_cast< int >(val3
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_Py_Void();
12746 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(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 *) "footer",(char *) "pg", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",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_SetFooter" "', 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_SetFooter" "', expected argument " "3"" of type '" "int""'");
12779 arg3
= static_cast< int >(val3
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_Py_Void();
12802 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
= 0;
12804 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12807 PyObject
*arg4
= (PyObject
*) NULL
;
12810 PyObject
* obj0
= 0 ;
12811 PyObject
* obj1
= 0 ;
12812 PyObject
* obj2
= 0 ;
12813 PyObject
* obj3
= 0 ;
12814 char * kwnames
[] = {
12815 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12820 if (!SWIG_IsOK(res1
)) {
12821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12823 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12825 wxString
* sptr
= wxString_in_helper(obj1
);
12826 if (sptr
== NULL
) SWIG_fail
;
12831 wxString
* sptr
= wxString_in_helper(obj2
);
12832 if (sptr
== NULL
) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_Py_Void();
12852 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
= 0;
12854 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12855 int arg2
= (int) -1 ;
12856 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12857 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12858 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12859 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12864 bool temp3
= false ;
12865 bool temp4
= false ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 PyObject
* obj2
= 0 ;
12869 PyObject
* obj3
= 0 ;
12870 char * kwnames
[] = {
12871 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",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_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12879 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12882 if (!SWIG_IsOK(ecode2
)) {
12883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12885 arg2
= static_cast< int >(val2
);
12889 arg3
= wxString_in_helper(obj2
);
12890 if (arg3
== NULL
) SWIG_fail
;
12896 arg4
= wxString_in_helper(obj3
);
12897 if (arg4
== NULL
) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_Py_Void();
12930 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12931 PyObject
*resultobj
= 0;
12932 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12933 wxPrintData
*result
= 0 ;
12936 PyObject
*swig_obj
[1] ;
12938 if (!args
) SWIG_fail
;
12939 swig_obj
[0] = args
;
12940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12944 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxPrintData
*)(arg1
)->GetPrintData();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
12958 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 PyObject
*resultobj
= 0;
12960 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12961 wxPageSetupDialogData
*result
= 0 ;
12964 PyObject
*swig_obj
[1] ;
12966 if (!args
) SWIG_fail
;
12967 swig_obj
[0] = args
;
12968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12969 if (!SWIG_IsOK(res1
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12972 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
12986 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12989 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
12990 return SWIG_Py_Void();
12993 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12994 return SWIG_Python_InitShadowInstance(args
);
12997 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
= 0;
12999 wxString
*arg1
= 0 ;
13000 wxString
*arg2
= 0 ;
13001 wxString
*arg3
= 0 ;
13002 wxString
*arg4
= 0 ;
13003 wxHtmlBookRecord
*result
= 0 ;
13004 bool temp1
= false ;
13005 bool temp2
= false ;
13006 bool temp3
= false ;
13007 bool temp4
= false ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 PyObject
* obj2
= 0 ;
13011 PyObject
* obj3
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13018 arg1
= wxString_in_helper(obj0
);
13019 if (arg1
== NULL
) SWIG_fail
;
13023 arg2
= wxString_in_helper(obj1
);
13024 if (arg2
== NULL
) SWIG_fail
;
13028 arg3
= wxString_in_helper(obj2
);
13029 if (arg3
== NULL
) SWIG_fail
;
13033 arg4
= wxString_in_helper(obj3
);
13034 if (arg4
== NULL
) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13082 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13083 PyObject
*resultobj
= 0;
13084 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13088 PyObject
*swig_obj
[1] ;
13090 if (!args
) SWIG_fail
;
13091 swig_obj
[0] = args
;
13092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13093 if (!SWIG_IsOK(res1
)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13096 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (arg1
)->GetBookFile();
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13116 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13117 PyObject
*resultobj
= 0;
13118 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13122 PyObject
*swig_obj
[1] ;
13124 if (!args
) SWIG_fail
;
13125 swig_obj
[0] = args
;
13126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13127 if (!SWIG_IsOK(res1
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13130 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (arg1
)->GetTitle();
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13150 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13151 PyObject
*resultobj
= 0;
13152 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13156 PyObject
*swig_obj
[1] ;
13158 if (!args
) SWIG_fail
;
13159 swig_obj
[0] = args
;
13160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13164 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (arg1
)->GetStart();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13184 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13185 PyObject
*resultobj
= 0;
13186 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13190 PyObject
*swig_obj
[1] ;
13192 if (!args
) SWIG_fail
;
13193 swig_obj
[0] = args
;
13194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13195 if (!SWIG_IsOK(res1
)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13198 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (arg1
)->GetBasePath();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13218 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
= 0;
13220 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 PyObject
* obj2
= 0 ;
13232 char * kwnames
[] = {
13233 (char *) "self",(char *) "start",(char *) "end", NULL
13236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13238 if (!SWIG_IsOK(res1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13241 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13243 if (!SWIG_IsOK(ecode2
)) {
13244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13246 arg2
= static_cast< int >(val2
);
13247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13248 if (!SWIG_IsOK(ecode3
)) {
13249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13251 arg3
= static_cast< int >(val3
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->SetContentsRange(arg2
,arg3
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_Py_Void();
13265 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13266 PyObject
*resultobj
= 0;
13267 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13271 PyObject
*swig_obj
[1] ;
13273 if (!args
) SWIG_fail
;
13274 swig_obj
[0] = args
;
13275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13276 if (!SWIG_IsOK(res1
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13279 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (int)(arg1
)->GetContentsStart();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_From_int(static_cast< int >(result
));
13293 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13294 PyObject
*resultobj
= 0;
13295 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13299 PyObject
*swig_obj
[1] ;
13301 if (!args
) SWIG_fail
;
13302 swig_obj
[0] = args
;
13303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13307 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (int)(arg1
)->GetContentsEnd();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_From_int(static_cast< int >(result
));
13321 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
= 0;
13323 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13324 wxString
*arg2
= 0 ;
13327 bool temp2
= false ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char * kwnames
[] = {
13331 (char *) "self",(char *) "title", NULL
13334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13339 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13341 arg2
= wxString_in_helper(obj1
);
13342 if (arg2
== NULL
) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetTitle((wxString
const &)*arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_Py_Void();
13366 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
= 0;
13368 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13369 wxString
*arg2
= 0 ;
13372 bool temp2
= false ;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 char * kwnames
[] = {
13376 (char *) "self",(char *) "path", NULL
13379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13384 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13386 arg2
= wxString_in_helper(obj1
);
13387 if (arg2
== NULL
) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_Py_Void();
13411 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
= 0;
13413 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13414 wxString
*arg2
= 0 ;
13417 bool temp2
= false ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char * kwnames
[] = {
13421 (char *) "self",(char *) "start", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13429 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13431 arg2
= wxString_in_helper(obj1
);
13432 if (arg2
== NULL
) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 (arg1
)->SetStart((wxString
const &)*arg2
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_Py_Void();
13456 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= 0;
13458 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13459 wxString
*arg2
= 0 ;
13463 bool temp2
= false ;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 char * kwnames
[] = {
13467 (char *) "self",(char *) "page", NULL
13470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13472 if (!SWIG_IsOK(res1
)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13475 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13477 arg2
= wxString_in_helper(obj1
);
13478 if (arg2
== NULL
) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13508 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13511 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13512 return SWIG_Py_Void();
13515 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 return SWIG_Python_InitShadowInstance(args
);
13519 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13520 PyObject
*resultobj
= 0;
13521 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13525 PyObject
*swig_obj
[1] ;
13527 if (!args
) SWIG_fail
;
13528 swig_obj
[0] = args
;
13529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13530 if (!SWIG_IsOK(res1
)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13533 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (bool)(arg1
)->Search();
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13549 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13550 PyObject
*resultobj
= 0;
13551 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13555 PyObject
*swig_obj
[1] ;
13557 if (!args
) SWIG_fail
;
13558 swig_obj
[0] = args
;
13559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13560 if (!SWIG_IsOK(res1
)) {
13561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13563 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (bool)(arg1
)->IsActive();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13579 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13580 PyObject
*resultobj
= 0;
13581 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13585 PyObject
*swig_obj
[1] ;
13587 if (!args
) SWIG_fail
;
13588 swig_obj
[0] = args
;
13589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13590 if (!SWIG_IsOK(res1
)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13593 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (int)(arg1
)->GetCurIndex();
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_From_int(static_cast< int >(result
));
13607 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13608 PyObject
*resultobj
= 0;
13609 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13613 PyObject
*swig_obj
[1] ;
13615 if (!args
) SWIG_fail
;
13616 swig_obj
[0] = args
;
13617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13621 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (int)(arg1
)->GetMaxIndex();
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_From_int(static_cast< int >(result
));
13635 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13636 PyObject
*resultobj
= 0;
13637 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13638 wxString
*result
= 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_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13649 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 wxString
const &_result_ref
= (arg1
)->GetName();
13654 result
= (wxString
*) &_result_ref
;
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13663 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13672 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13675 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13676 return SWIG_Py_Void();
13679 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13680 PyObject
*resultobj
= 0;
13681 wxHtmlHelpData
*result
= 0 ;
13683 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13697 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13698 PyObject
*resultobj
= 0;
13699 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13702 PyObject
*swig_obj
[1] ;
13704 if (!args
) SWIG_fail
;
13705 swig_obj
[0] = args
;
13706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13707 if (!SWIG_IsOK(res1
)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13710 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13725 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= 0;
13727 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13728 wxString
*arg2
= 0 ;
13731 bool temp2
= false ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char * kwnames
[] = {
13735 (char *) "self",(char *) "path", NULL
13738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13740 if (!SWIG_IsOK(res1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13743 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13745 arg2
= wxString_in_helper(obj1
);
13746 if (arg2
== NULL
) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_Py_Void();
13770 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= 0;
13772 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13773 wxString
*arg2
= 0 ;
13777 bool temp2
= false ;
13778 PyObject
* obj0
= 0 ;
13779 PyObject
* obj1
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "self",(char *) "book", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13786 if (!SWIG_IsOK(res1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13789 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13791 arg2
= wxString_in_helper(obj1
);
13792 if (arg2
== NULL
) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13818 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
= 0;
13820 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13821 wxString
*arg2
= 0 ;
13825 bool temp2
= false ;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 char * kwnames
[] = {
13829 (char *) "self",(char *) "page", NULL
13832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13834 if (!SWIG_IsOK(res1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13837 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13839 arg2
= wxString_in_helper(obj1
);
13840 if (arg2
== NULL
) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13870 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
= 0;
13872 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 char * kwnames
[] = {
13882 (char *) "self",(char *) "id", NULL
13885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13887 if (!SWIG_IsOK(res1
)) {
13888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13890 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13892 if (!SWIG_IsOK(ecode2
)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13895 arg2
= static_cast< int >(val2
);
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (arg1
)->FindPageById(arg2
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13915 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13916 PyObject
*resultobj
= 0;
13917 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13918 wxHtmlBookRecArray
*result
= 0 ;
13921 PyObject
*swig_obj
[1] ;
13923 if (!args
) SWIG_fail
;
13924 swig_obj
[0] = args
;
13925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13926 if (!SWIG_IsOK(res1
)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13929 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13934 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13946 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13949 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
13950 return SWIG_Py_Void();
13953 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13954 return SWIG_Python_InitShadowInstance(args
);
13957 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
= 0;
13959 wxWindow
*arg1
= (wxWindow
*) 0 ;
13961 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13962 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13963 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13964 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13965 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
13966 int arg6
= (int) wxHF_DEFAULT_STYLE
;
13967 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
13968 wxHtmlHelpWindow
*result
= 0 ;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 PyObject
* obj2
= 0 ;
13984 PyObject
* obj3
= 0 ;
13985 PyObject
* obj4
= 0 ;
13986 PyObject
* obj5
= 0 ;
13987 PyObject
* obj6
= 0 ;
13988 char * kwnames
[] = {
13989 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
13992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13994 if (!SWIG_IsOK(res1
)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13999 if (!SWIG_IsOK(ecode2
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14002 arg2
= static_cast< int >(val2
);
14006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14012 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14016 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14017 if (!SWIG_IsOK(ecode5
)) {
14018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14020 arg5
= static_cast< int >(val5
);
14023 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14024 if (!SWIG_IsOK(ecode6
)) {
14025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14027 arg6
= static_cast< int >(val6
);
14030 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14031 if (!SWIG_IsOK(res7
)) {
14032 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14034 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14037 if (!wxPyCheckForApp()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14050 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
= 0;
14052 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14053 wxHtmlHelpWindow
*result
= 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char * kwnames
[] = {
14058 (char *) "data", NULL
14061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14064 if (!SWIG_IsOK(res1
)) {
14065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14067 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14070 if (!wxPyCheckForApp()) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14083 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
= 0;
14085 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14086 wxWindow
*arg2
= (wxWindow
*) 0 ;
14088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14092 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14093 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14107 PyObject
* obj0
= 0 ;
14108 PyObject
* obj1
= 0 ;
14109 PyObject
* obj2
= 0 ;
14110 PyObject
* obj3
= 0 ;
14111 PyObject
* obj4
= 0 ;
14112 PyObject
* obj5
= 0 ;
14113 PyObject
* obj6
= 0 ;
14114 char * kwnames
[] = {
14115 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14123 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14125 if (!SWIG_IsOK(res2
)) {
14126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14130 if (!SWIG_IsOK(ecode3
)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14133 arg3
= static_cast< int >(val3
);
14137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14147 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14148 if (!SWIG_IsOK(ecode6
)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14151 arg6
= static_cast< int >(val6
);
14154 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14155 if (!SWIG_IsOK(ecode7
)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14158 arg7
= static_cast< int >(val7
);
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14175 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14176 PyObject
*resultobj
= 0;
14177 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14178 wxHtmlHelpData
*result
= 0 ;
14181 PyObject
*swig_obj
[1] ;
14183 if (!args
) SWIG_fail
;
14184 swig_obj
[0] = args
;
14185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14186 if (!SWIG_IsOK(res1
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14189 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14203 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14204 PyObject
*resultobj
= 0;
14205 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14206 wxHtmlHelpController
*result
= 0 ;
14209 PyObject
*swig_obj
[1] ;
14211 if (!args
) SWIG_fail
;
14212 swig_obj
[0] = args
;
14213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14214 if (!SWIG_IsOK(res1
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14217 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14231 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
= 0;
14233 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14234 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 char * kwnames
[] = {
14241 (char *) "self",(char *) "controller", NULL
14244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14246 if (!SWIG_IsOK(res1
)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14249 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14250 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14251 if (!SWIG_IsOK(res2
)) {
14252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 (arg1
)->SetController(arg2
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= SWIG_Py_Void();
14267 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
= 0;
14269 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14270 wxString
*arg2
= 0 ;
14274 bool temp2
= false ;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 char * kwnames
[] = {
14278 (char *) "self",(char *) "x", NULL
14281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14283 if (!SWIG_IsOK(res1
)) {
14284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14286 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14288 arg2
= wxString_in_helper(obj1
);
14289 if (arg2
== NULL
) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14315 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
= 0;
14317 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 char * kwnames
[] = {
14327 (char *) "self",(char *) "id", NULL
14330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14332 if (!SWIG_IsOK(res1
)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14335 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14337 if (!SWIG_IsOK(ecode2
)) {
14338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14340 arg2
= static_cast< int >(val2
);
14342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 result
= (bool)(arg1
)->Display(arg2
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14356 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14357 PyObject
*resultobj
= 0;
14358 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14362 PyObject
*swig_obj
[1] ;
14364 if (!args
) SWIG_fail
;
14365 swig_obj
[0] = args
;
14366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14367 if (!SWIG_IsOK(res1
)) {
14368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14370 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (bool)(arg1
)->DisplayContents();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14386 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 PyObject
*resultobj
= 0;
14388 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14392 PyObject
*swig_obj
[1] ;
14394 if (!args
) SWIG_fail
;
14395 swig_obj
[0] = args
;
14396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14400 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (bool)(arg1
)->DisplayIndex();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
= 0;
14418 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14419 wxString
*arg2
= 0 ;
14420 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14424 bool temp2
= false ;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 PyObject
* obj2
= 0 ;
14430 char * kwnames
[] = {
14431 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14436 if (!SWIG_IsOK(res1
)) {
14437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14439 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14441 arg2
= wxString_in_helper(obj1
);
14442 if (arg2
== NULL
) SWIG_fail
;
14447 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14448 if (!SWIG_IsOK(res3
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14454 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14456 if (SWIG_IsNewObj(res3
)) delete temp
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14483 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
= 0;
14485 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14486 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14487 wxString
const &arg3_defvalue
= wxEmptyString
;
14488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14493 bool temp3
= false ;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 PyObject
* obj2
= 0 ;
14497 char * kwnames
[] = {
14498 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14503 if (!SWIG_IsOK(res1
)) {
14504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14506 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14508 if (!SWIG_IsOK(res2
)) {
14509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14511 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14514 arg3
= wxString_in_helper(obj2
);
14515 if (arg3
== NULL
) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= SWIG_Py_Void();
14540 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
= 0;
14542 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14543 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14544 wxString
const &arg3_defvalue
= wxEmptyString
;
14545 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14550 bool temp3
= false ;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 PyObject
* obj2
= 0 ;
14554 char * kwnames
[] = {
14555 (char *) "self",(char *) "cfg",(char *) "path", NULL
14558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14563 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14565 if (!SWIG_IsOK(res2
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14568 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14571 arg3
= wxString_in_helper(obj2
);
14572 if (arg3
== NULL
) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_Py_Void();
14597 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
= 0;
14599 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14600 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14601 wxString
const &arg3_defvalue
= wxEmptyString
;
14602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14607 bool temp3
= false ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 char * kwnames
[] = {
14612 (char *) "self",(char *) "cfg",(char *) "path", NULL
14615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14620 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14622 if (!SWIG_IsOK(res2
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14625 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14628 arg3
= wxString_in_helper(obj2
);
14629 if (arg3
== NULL
) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_Py_Void();
14654 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14655 PyObject
*resultobj
= 0;
14656 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14659 PyObject
*swig_obj
[1] ;
14661 if (!args
) SWIG_fail
;
14662 swig_obj
[0] = args
;
14663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14667 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 (arg1
)->NotifyPageChanged();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= SWIG_Py_Void();
14681 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 PyObject
*resultobj
= 0;
14683 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14686 PyObject
*swig_obj
[1] ;
14688 if (!args
) SWIG_fail
;
14689 swig_obj
[0] = args
;
14690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14694 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 (arg1
)->RefreshLists();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= SWIG_Py_Void();
14708 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14709 PyObject
*resultobj
= 0;
14710 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14711 wxPyHtmlWindow
*result
= 0 ;
14714 PyObject
*swig_obj
[1] ;
14716 if (!args
) SWIG_fail
;
14717 swig_obj
[0] = args
;
14718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14719 if (!SWIG_IsOK(res1
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14722 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (wxPyHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= wxPyMake_wxObject(result
, 0);
14738 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14739 PyObject
*resultobj
= 0;
14740 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14741 wxSplitterWindow
*result
= 0 ;
14744 PyObject
*swig_obj
[1] ;
14746 if (!args
) SWIG_fail
;
14747 swig_obj
[0] = args
;
14748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14749 if (!SWIG_IsOK(res1
)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14752 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14766 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14767 PyObject
*resultobj
= 0;
14768 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14769 wxToolBar
*result
= 0 ;
14772 PyObject
*swig_obj
[1] ;
14774 if (!args
) SWIG_fail
;
14775 swig_obj
[0] = args
;
14776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14777 if (!SWIG_IsOK(res1
)) {
14778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14780 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14796 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14797 PyObject
*resultobj
= 0;
14798 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14799 wxHtmlHelpFrameCfg
*result
= 0 ;
14802 PyObject
*swig_obj
[1] ;
14804 if (!args
) SWIG_fail
;
14805 swig_obj
[0] = args
;
14806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14807 if (!SWIG_IsOK(res1
)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14810 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14815 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14827 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14828 PyObject
*resultobj
= 0;
14829 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14830 wxPyTreeCtrl
*result
= 0 ;
14833 PyObject
*swig_obj
[1] ;
14835 if (!args
) SWIG_fail
;
14836 swig_obj
[0] = args
;
14837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14838 if (!SWIG_IsOK(res1
)) {
14839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14841 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (wxPyTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14857 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14860 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14861 return SWIG_Py_Void();
14864 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 return SWIG_Python_InitShadowInstance(args
);
14868 SWIGINTERN PyObject
*_wrap_new_HtmlCellEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14872 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
14873 wxPoint
*arg4
= 0 ;
14874 wxMouseEvent
*arg5
= 0 ;
14875 wxHtmlCellEvent
*result
= 0 ;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 PyObject
* obj2
= 0 ;
14888 PyObject
* obj3
= 0 ;
14889 PyObject
* obj4
= 0 ;
14890 char * kwnames
[] = {
14891 (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL
14894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_HtmlCellEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14895 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14896 if (!SWIG_IsOK(ecode1
)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14899 arg1
= static_cast< wxEventType
>(val1
);
14900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14901 if (!SWIG_IsOK(ecode2
)) {
14902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'");
14904 arg2
= static_cast< int >(val2
);
14905 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
14906 if (!SWIG_IsOK(res3
)) {
14907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'");
14909 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
14912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14914 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14915 if (!SWIG_IsOK(res5
)) {
14916 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
14919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
14921 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (wxHtmlCellEvent
*)new wxHtmlCellEvent(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxMouseEvent
const &)*arg5
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCellEvent
, SWIG_POINTER_NEW
| 0 );
14935 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14936 PyObject
*resultobj
= 0;
14937 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
14938 wxHtmlCell
*result
= 0 ;
14941 PyObject
*swig_obj
[1] ;
14943 if (!args
) SWIG_fail
;
14944 swig_obj
[0] = args
;
14945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
14949 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (wxHtmlCell
*)((wxHtmlCellEvent
const *)arg1
)->GetCell();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= wxPyMake_wxObject(result
, 0);
14965 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14966 PyObject
*resultobj
= 0;
14967 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
14971 PyObject
*swig_obj
[1] ;
14973 if (!args
) SWIG_fail
;
14974 swig_obj
[0] = args
;
14975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
14979 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= ((wxHtmlCellEvent
const *)arg1
)->GetPoint();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14993 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
14996 wxMouseEvent result
;
14999 PyObject
*swig_obj
[1] ;
15001 if (!args
) SWIG_fail
;
15002 swig_obj
[0] = args
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15007 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= ((wxHtmlCellEvent
const *)arg1
)->GetMouseEvent();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent
& >(result
))), SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_OWN
| 0 );
15021 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_SetLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
= 0;
15023 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char * kwnames
[] = {
15032 (char *) "self",(char *) "linkclicked", NULL
15035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'");
15040 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15041 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15042 if (!SWIG_IsOK(ecode2
)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'");
15045 arg2
= static_cast< bool >(val2
);
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 (arg1
)->SetLinkClicked(arg2
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_Py_Void();
15059 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15060 PyObject
*resultobj
= 0;
15061 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15065 PyObject
*swig_obj
[1] ;
15067 if (!args
) SWIG_fail
;
15068 swig_obj
[0] = args
;
15069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15073 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (bool)((wxHtmlCellEvent
const *)arg1
)->GetLinkClicked();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15089 SWIGINTERN PyObject
*HtmlCellEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15092 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent
, SWIG_NewClientData(obj
));
15093 return SWIG_Py_Void();
15096 SWIGINTERN PyObject
*HtmlCellEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15097 return SWIG_Python_InitShadowInstance(args
);
15100 SWIGINTERN PyObject
*_wrap_new_HtmlLinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
= 0;
15103 wxHtmlLinkInfo
*arg2
= 0 ;
15104 wxHtmlLinkEvent
*result
= 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char * kwnames
[] = {
15112 (char *) "id",(char *) "linkinfo", NULL
15115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlLinkEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15117 if (!SWIG_IsOK(ecode1
)) {
15118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'");
15120 arg1
= static_cast< int >(val1
);
15121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15122 if (!SWIG_IsOK(res2
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15128 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (wxHtmlLinkEvent
*)new wxHtmlLinkEvent(arg1
,(wxHtmlLinkInfo
const &)*arg2
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkEvent
, SWIG_POINTER_NEW
| 0 );
15142 SWIGINTERN PyObject
*_wrap_HtmlLinkEvent_GetLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15143 PyObject
*resultobj
= 0;
15144 wxHtmlLinkEvent
*arg1
= (wxHtmlLinkEvent
*) 0 ;
15145 wxHtmlLinkInfo
*result
= 0 ;
15148 PyObject
*swig_obj
[1] ;
15150 if (!args
) SWIG_fail
;
15151 swig_obj
[0] = args
;
15152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkEvent
, 0 | 0 );
15153 if (!SWIG_IsOK(res1
)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'");
15156 arg1
= reinterpret_cast< wxHtmlLinkEvent
* >(argp1
);
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 wxHtmlLinkInfo
const &_result_ref
= ((wxHtmlLinkEvent
const *)arg1
)->GetLinkInfo();
15161 result
= (wxHtmlLinkInfo
*) &_result_ref
;
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
15173 SWIGINTERN PyObject
*HtmlLinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15176 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent
, SWIG_NewClientData(obj
));
15177 return SWIG_Py_Void();
15180 SWIGINTERN PyObject
*HtmlLinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15181 return SWIG_Python_InitShadowInstance(args
);
15184 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
= 0;
15186 wxWindow
*arg1
= (wxWindow
*) 0 ;
15188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15190 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15191 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15192 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15193 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15195 wxHtmlHelpFrame
*result
= 0 ;
15200 bool temp3
= false ;
15207 bool temp7
= false ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 PyObject
* obj2
= 0 ;
15211 PyObject
* obj3
= 0 ;
15212 PyObject
* obj4
= 0 ;
15213 PyObject
* obj5
= 0 ;
15214 PyObject
* obj6
= 0 ;
15215 char * kwnames
[] = {
15216 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL
15219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15221 if (!SWIG_IsOK(res1
)) {
15222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15226 if (!SWIG_IsOK(ecode2
)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15229 arg2
= static_cast< int >(val2
);
15232 arg3
= wxString_in_helper(obj2
);
15233 if (arg3
== NULL
) SWIG_fail
;
15238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15239 if (!SWIG_IsOK(ecode4
)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15242 arg4
= static_cast< int >(val4
);
15245 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15246 if (!SWIG_IsOK(res5
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15249 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15252 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15253 if (!SWIG_IsOK(res6
)) {
15254 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15256 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15260 arg7
= wxString_in_helper(obj6
);
15261 if (arg7
== NULL
) SWIG_fail
;
15266 if (!wxPyCheckForApp()) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15295 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
= 0;
15297 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15298 wxHtmlHelpFrame
*result
= 0 ;
15301 PyObject
* obj0
= 0 ;
15302 char * kwnames
[] = {
15303 (char *) "data", NULL
15306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15309 if (!SWIG_IsOK(res1
)) {
15310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15312 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15315 if (!wxPyCheckForApp()) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15328 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
= 0;
15330 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15331 wxWindow
*arg2
= (wxWindow
*) 0 ;
15333 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15334 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15335 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15336 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15337 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15338 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15346 bool temp4
= false ;
15351 bool temp7
= false ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 PyObject
* obj2
= 0 ;
15355 PyObject
* obj3
= 0 ;
15356 PyObject
* obj4
= 0 ;
15357 PyObject
* obj5
= 0 ;
15358 PyObject
* obj6
= 0 ;
15359 char * kwnames
[] = {
15360 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL
15363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15368 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15370 if (!SWIG_IsOK(res2
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15375 if (!SWIG_IsOK(ecode3
)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15378 arg3
= static_cast< int >(val3
);
15381 arg4
= wxString_in_helper(obj3
);
15382 if (arg4
== NULL
) SWIG_fail
;
15387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15388 if (!SWIG_IsOK(ecode5
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15391 arg5
= static_cast< int >(val5
);
15394 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15395 if (!SWIG_IsOK(res6
)) {
15396 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15398 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15402 arg7
= wxString_in_helper(obj6
);
15403 if (arg7
== NULL
) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15438 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15439 PyObject
*resultobj
= 0;
15440 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15441 wxHtmlHelpData
*result
= 0 ;
15444 PyObject
*swig_obj
[1] ;
15446 if (!args
) SWIG_fail
;
15447 swig_obj
[0] = args
;
15448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15449 if (!SWIG_IsOK(res1
)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15452 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15466 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
= 0;
15468 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15469 wxString
*arg2
= 0 ;
15472 bool temp2
= false ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 char * kwnames
[] = {
15476 (char *) "self",(char *) "format", NULL
15479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15484 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15486 arg2
= wxString_in_helper(obj1
);
15487 if (arg2
== NULL
) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_Py_Void();
15511 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15512 PyObject
*resultobj
= 0;
15513 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15516 PyObject
*swig_obj
[1] ;
15518 if (!args
) SWIG_fail
;
15519 swig_obj
[0] = args
;
15520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15524 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 (arg1
)->AddGrabIfNeeded();
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_Py_Void();
15538 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15539 PyObject
*resultobj
= 0;
15540 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15541 wxHtmlHelpController
*result
= 0 ;
15544 PyObject
*swig_obj
[1] ;
15546 if (!args
) SWIG_fail
;
15547 swig_obj
[0] = args
;
15548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15549 if (!SWIG_IsOK(res1
)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15552 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15566 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
= 0;
15568 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15569 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 PyObject
* obj1
= 0 ;
15575 char * kwnames
[] = {
15576 (char *) "self",(char *) "controller", NULL
15579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15581 if (!SWIG_IsOK(res1
)) {
15582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15584 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15585 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15586 if (!SWIG_IsOK(res2
)) {
15587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 (arg1
)->SetController(arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_Py_Void();
15602 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15603 PyObject
*resultobj
= 0;
15604 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15605 wxHtmlHelpWindow
*result
= 0 ;
15608 PyObject
*swig_obj
[1] ;
15610 if (!args
) SWIG_fail
;
15611 swig_obj
[0] = args
;
15612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15613 if (!SWIG_IsOK(res1
)) {
15614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15616 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= wxPyMake_wxObject(result
, 0);
15632 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15635 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15636 return SWIG_Py_Void();
15639 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15640 return SWIG_Python_InitShadowInstance(args
);
15643 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
= 0;
15645 wxWindow
*arg1
= (wxWindow
*) 0 ;
15647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15649 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15650 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15651 wxHtmlHelpDialog
*result
= 0 ;
15656 bool temp3
= false ;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 PyObject
* obj2
= 0 ;
15664 PyObject
* obj3
= 0 ;
15665 PyObject
* obj4
= 0 ;
15666 char * kwnames
[] = {
15667 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15672 if (!SWIG_IsOK(res1
)) {
15673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15675 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15677 if (!SWIG_IsOK(ecode2
)) {
15678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15680 arg2
= static_cast< int >(val2
);
15683 arg3
= wxString_in_helper(obj2
);
15684 if (arg3
== NULL
) SWIG_fail
;
15689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15690 if (!SWIG_IsOK(ecode4
)) {
15691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15693 arg4
= static_cast< int >(val4
);
15696 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15697 if (!SWIG_IsOK(res5
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15700 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15703 if (!wxPyCheckForApp()) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15724 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
= 0;
15726 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15727 wxHtmlHelpDialog
*result
= 0 ;
15730 PyObject
* obj0
= 0 ;
15731 char * kwnames
[] = {
15732 (char *) "data", NULL
15735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15741 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15744 if (!wxPyCheckForApp()) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15757 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= 0;
15759 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15760 wxWindow
*arg2
= (wxWindow
*) 0 ;
15762 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15763 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15764 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15772 bool temp4
= false ;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 PyObject
* obj2
= 0 ;
15778 PyObject
* obj3
= 0 ;
15779 PyObject
* obj4
= 0 ;
15780 char * kwnames
[] = {
15781 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15786 if (!SWIG_IsOK(res1
)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15789 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15791 if (!SWIG_IsOK(res2
)) {
15792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15794 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15796 if (!SWIG_IsOK(ecode3
)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15799 arg3
= static_cast< int >(val3
);
15802 arg4
= wxString_in_helper(obj3
);
15803 if (arg4
== NULL
) SWIG_fail
;
15808 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15809 if (!SWIG_IsOK(ecode5
)) {
15810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15812 arg5
= static_cast< int >(val5
);
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15837 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15838 PyObject
*resultobj
= 0;
15839 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15840 wxHtmlHelpData
*result
= 0 ;
15843 PyObject
*swig_obj
[1] ;
15845 if (!args
) SWIG_fail
;
15846 swig_obj
[0] = args
;
15847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15848 if (!SWIG_IsOK(res1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15851 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15865 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15866 PyObject
*resultobj
= 0;
15867 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15868 wxHtmlHelpController
*result
= 0 ;
15871 PyObject
*swig_obj
[1] ;
15873 if (!args
) SWIG_fail
;
15874 swig_obj
[0] = args
;
15875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15876 if (!SWIG_IsOK(res1
)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15879 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15893 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
= 0;
15895 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15896 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 PyObject
* obj1
= 0 ;
15902 char * kwnames
[] = {
15903 (char *) "self",(char *) "controller", NULL
15906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15908 if (!SWIG_IsOK(res1
)) {
15909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15911 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15912 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15913 if (!SWIG_IsOK(res2
)) {
15914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 (arg1
)->SetController(arg2
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= SWIG_Py_Void();
15929 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15930 PyObject
*resultobj
= 0;
15931 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15932 wxHtmlHelpWindow
*result
= 0 ;
15935 PyObject
*swig_obj
[1] ;
15937 if (!args
) SWIG_fail
;
15938 swig_obj
[0] = args
;
15939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15940 if (!SWIG_IsOK(res1
)) {
15941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15943 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= wxPyMake_wxObject(result
, 0);
15959 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
= 0;
15961 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15962 wxString
*arg2
= 0 ;
15965 bool temp2
= false ;
15966 PyObject
* obj0
= 0 ;
15967 PyObject
* obj1
= 0 ;
15968 char * kwnames
[] = {
15969 (char *) "self",(char *) "format", NULL
15972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15974 if (!SWIG_IsOK(res1
)) {
15975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15977 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15979 arg2
= wxString_in_helper(obj1
);
15980 if (arg2
== NULL
) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= SWIG_Py_Void();
16004 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16007 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
16008 return SWIG_Py_Void();
16011 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16012 return SWIG_Python_InitShadowInstance(args
);
16015 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16016 PyObject
*resultobj
= 0;
16017 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16018 wxString
*arg2
= 0 ;
16023 bool temp2
= false ;
16027 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16029 if (!SWIG_IsOK(res1
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16032 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16034 arg2
= wxString_in_helper(swig_obj
[1]);
16035 if (arg2
== NULL
) SWIG_fail
;
16038 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
16039 if (!SWIG_IsOK(ecode3
)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
16042 arg3
= static_cast< int >(val3
);
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16067 PyObject
*resultobj
= 0;
16068 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16069 wxString
*arg2
= 0 ;
16073 bool temp2
= false ;
16075 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16077 if (!SWIG_IsOK(res1
)) {
16078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16080 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16082 arg2
= wxString_in_helper(swig_obj
[1]);
16083 if (arg2
== NULL
) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
16113 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
16116 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
16119 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
16123 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
16128 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
= 0;
16130 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16131 wxString
*arg2
= 0 ;
16132 long arg3
= (long) 0 ;
16135 bool temp2
= false ;
16138 PyObject
* obj0
= 0 ;
16139 PyObject
* obj1
= 0 ;
16140 PyObject
* obj2
= 0 ;
16141 char * kwnames
[] = {
16142 (char *) "self",(char *) "viewer",(char *) "flags", NULL
16145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16147 if (!SWIG_IsOK(res1
)) {
16148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16150 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16152 arg2
= wxString_in_helper(obj1
);
16153 if (arg2
== NULL
) SWIG_fail
;
16157 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16158 if (!SWIG_IsOK(ecode3
)) {
16159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16161 arg3
= static_cast< long >(val3
);
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= SWIG_Py_Void();
16184 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
= 0;
16186 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16187 wxString
const &arg2_defvalue
= wxEmptyString
;
16188 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16192 bool temp2
= false ;
16193 PyObject
* obj0
= 0 ;
16194 PyObject
* obj1
= 0 ;
16195 char * kwnames
[] = {
16196 (char *) "self",(char *) "file", NULL
16199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16204 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16207 arg2
= wxString_in_helper(obj1
);
16208 if (arg2
== NULL
) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16235 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16236 PyObject
*resultobj
= 0;
16237 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16241 PyObject
*swig_obj
[1] ;
16243 if (!args
) SWIG_fail
;
16244 swig_obj
[0] = args
;
16245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16249 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->DisplayContents();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16265 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16266 PyObject
*resultobj
= 0;
16267 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16275 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16277 if (!SWIG_IsOK(res1
)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16280 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16281 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16282 if (!SWIG_IsOK(ecode2
)) {
16283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16285 arg2
= static_cast< int >(val2
);
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (bool)(arg1
)->DisplaySection(arg2
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16301 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
= 0;
16303 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 PyObject
* obj1
= 0 ;
16312 char * kwnames
[] = {
16313 (char *) "self",(char *) "contextId", NULL
16316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16318 if (!SWIG_IsOK(res1
)) {
16319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16321 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16323 if (!SWIG_IsOK(ecode2
)) {
16324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16326 arg2
= static_cast< int >(val2
);
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16342 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
= 0;
16344 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16345 wxString
*arg2
= 0 ;
16346 wxPoint
*arg3
= 0 ;
16350 bool temp2
= false ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 PyObject
* obj2
= 0 ;
16355 char * kwnames
[] = {
16356 (char *) "self",(char *) "text",(char *) "pos", NULL
16359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16361 if (!SWIG_IsOK(res1
)) {
16362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16364 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16366 arg2
= wxString_in_helper(obj1
);
16367 if (arg2
== NULL
) SWIG_fail
;
16372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16397 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16398 PyObject
*resultobj
= 0;
16399 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16400 wxString
*arg2
= 0 ;
16404 bool temp2
= false ;
16406 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16408 if (!SWIG_IsOK(res1
)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16411 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16413 arg2
= wxString_in_helper(swig_obj
[1]);
16414 if (arg2
== NULL
) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16440 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16444 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16450 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16453 if (!_v
) goto check_1
;
16454 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16459 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16463 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16468 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
= 0;
16470 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 char * kwnames
[] = {
16480 (char *) "self",(char *) "blockNo", NULL
16483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16485 if (!SWIG_IsOK(res1
)) {
16486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16488 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16489 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16490 if (!SWIG_IsOK(ecode2
)) {
16491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16493 arg2
= static_cast< long >(val2
);
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16509 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
= 0;
16511 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16512 wxString
*arg2
= 0 ;
16513 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16517 bool temp2
= false ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 PyObject
* obj2
= 0 ;
16523 char * kwnames
[] = {
16524 (char *) "self",(char *) "k",(char *) "mode", NULL
16527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16529 if (!SWIG_IsOK(res1
)) {
16530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16532 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16534 arg2
= wxString_in_helper(obj1
);
16535 if (arg2
== NULL
) SWIG_fail
;
16540 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16541 if (!SWIG_IsOK(res3
)) {
16542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16547 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16549 if (SWIG_IsNewObj(res3
)) delete temp
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16576 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= 0;
16578 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16579 wxString
*arg2
= 0 ;
16581 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16582 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16583 bool arg5
= (bool) false ;
16586 bool temp2
= false ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 PyObject
* obj2
= 0 ;
16594 PyObject
* obj3
= 0 ;
16595 PyObject
* obj4
= 0 ;
16596 char * kwnames
[] = {
16597 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16605 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16607 arg2
= wxString_in_helper(obj1
);
16608 if (arg2
== NULL
) SWIG_fail
;
16613 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16622 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16623 if (!SWIG_IsOK(ecode5
)) {
16624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16626 arg5
= static_cast< bool >(val5
);
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= SWIG_Py_Void();
16649 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
= 0;
16651 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16652 wxSize
*arg2
= (wxSize
*) NULL
;
16653 wxPoint
*arg3
= (wxPoint
*) NULL
;
16654 bool *arg4
= (bool *) NULL
;
16655 wxFrame
*result
= 0 ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 PyObject
* obj2
= 0 ;
16667 PyObject
* obj3
= 0 ;
16668 char * kwnames
[] = {
16669 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16674 if (!SWIG_IsOK(res1
)) {
16675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16677 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16680 if (!SWIG_IsOK(res2
)) {
16681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16683 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16686 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16687 if (!SWIG_IsOK(res3
)) {
16688 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16690 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16693 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16694 if (!SWIG_IsOK(res4
)) {
16695 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16697 arg4
= reinterpret_cast< bool * >(argp4
);
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= wxPyMake_wxObject(result
, 0);
16714 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16715 PyObject
*resultobj
= 0;
16716 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16720 PyObject
*swig_obj
[1] ;
16722 if (!args
) SWIG_fail
;
16723 swig_obj
[0] = args
;
16724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16725 if (!SWIG_IsOK(res1
)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16728 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)(arg1
)->Quit();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16744 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16745 PyObject
*resultobj
= 0;
16746 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16749 PyObject
*swig_obj
[1] ;
16751 if (!args
) SWIG_fail
;
16752 swig_obj
[0] = args
;
16753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16754 if (!SWIG_IsOK(res1
)) {
16755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16757 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_Py_Void();
16771 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
= 0;
16773 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16774 wxWindow
*arg2
= (wxWindow
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 PyObject
* obj1
= 0 ;
16781 char * kwnames
[] = {
16782 (char *) "self",(char *) "win", NULL
16785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16787 if (!SWIG_IsOK(res1
)) {
16788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16790 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16792 if (!SWIG_IsOK(res2
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 (arg1
)->SetParentWindow(arg2
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_Py_Void();
16809 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16810 PyObject
*resultobj
= 0;
16811 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16812 wxWindow
*result
= 0 ;
16815 PyObject
*swig_obj
[1] ;
16817 if (!args
) SWIG_fail
;
16818 swig_obj
[0] = args
;
16819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16820 if (!SWIG_IsOK(res1
)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16823 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= wxPyMake_wxObject(result
, 0);
16839 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16842 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16843 return SWIG_Py_Void();
16846 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
= 0;
16848 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16849 wxWindow
*arg2
= (wxWindow
*) NULL
;
16850 wxHtmlHelpController
*result
= 0 ;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 char * kwnames
[] = {
16858 (char *) "style",(char *) "parentWindow", NULL
16861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16864 if (!SWIG_IsOK(ecode1
)) {
16865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16867 arg1
= static_cast< int >(val1
);
16870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16871 if (!SWIG_IsOK(res2
)) {
16872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16877 if (!wxPyCheckForApp()) SWIG_fail
;
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16890 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16891 PyObject
*resultobj
= 0;
16892 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16895 PyObject
*swig_obj
[1] ;
16897 if (!args
) SWIG_fail
;
16898 swig_obj
[0] = args
;
16899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16900 if (!SWIG_IsOK(res1
)) {
16901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16903 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= SWIG_Py_Void();
16918 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16919 PyObject
*resultobj
= 0;
16920 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16921 wxHtmlHelpWindow
*result
= 0 ;
16924 PyObject
*swig_obj
[1] ;
16926 if (!args
) SWIG_fail
;
16927 swig_obj
[0] = args
;
16928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16929 if (!SWIG_IsOK(res1
)) {
16930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16932 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= wxPyMake_wxObject(result
, 0);
16948 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
= 0;
16950 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16951 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16956 PyObject
* obj0
= 0 ;
16957 PyObject
* obj1
= 0 ;
16958 char * kwnames
[] = {
16959 (char *) "self",(char *) "helpWindow", NULL
16962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16964 if (!SWIG_IsOK(res1
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16967 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16969 if (!SWIG_IsOK(res2
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16972 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 (arg1
)->SetHelpWindow(arg2
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_Py_Void();
16986 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16987 PyObject
*resultobj
= 0;
16988 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16989 wxHtmlHelpFrame
*result
= 0 ;
16992 PyObject
*swig_obj
[1] ;
16994 if (!args
) SWIG_fail
;
16995 swig_obj
[0] = args
;
16996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16997 if (!SWIG_IsOK(res1
)) {
16998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17000 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= wxPyMake_wxObject(result
, 0);
17016 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17017 PyObject
*resultobj
= 0;
17018 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17019 wxHtmlHelpDialog
*result
= 0 ;
17022 PyObject
*swig_obj
[1] ;
17024 if (!args
) SWIG_fail
;
17025 swig_obj
[0] = args
;
17026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17027 if (!SWIG_IsOK(res1
)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17030 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= wxPyMake_wxObject(result
, 0);
17046 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
= 0;
17048 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17049 wxString
*arg2
= 0 ;
17052 bool temp2
= false ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char * kwnames
[] = {
17056 (char *) "self",(char *) "format", NULL
17059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17061 if (!SWIG_IsOK(res1
)) {
17062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17064 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17066 arg2
= wxString_in_helper(obj1
);
17067 if (arg2
== NULL
) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= SWIG_Py_Void();
17091 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
= 0;
17093 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17094 wxString
*arg2
= 0 ;
17097 bool temp2
= false ;
17098 PyObject
* obj0
= 0 ;
17099 PyObject
* obj1
= 0 ;
17100 char * kwnames
[] = {
17101 (char *) "self",(char *) "path", NULL
17104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17106 if (!SWIG_IsOK(res1
)) {
17107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17109 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17111 arg2
= wxString_in_helper(obj1
);
17112 if (arg2
== NULL
) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 (arg1
)->SetTempDir((wxString
const &)*arg2
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= SWIG_Py_Void();
17136 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
= 0;
17138 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17139 wxString
*arg2
= 0 ;
17140 int arg3
= (int) false ;
17144 bool temp2
= false ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17159 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17161 arg2
= wxString_in_helper(obj1
);
17162 if (arg2
== NULL
) SWIG_fail
;
17166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17167 if (!SWIG_IsOK(ecode3
)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17170 arg3
= static_cast< int >(val3
);
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17195 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
= 0;
17197 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17198 wxString
*arg2
= 0 ;
17201 bool temp2
= false ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "self",(char *) "x", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17213 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17215 arg2
= wxString_in_helper(obj1
);
17216 if (arg2
== NULL
) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->Display((wxString
const &)*arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17240 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
= 0;
17242 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 char * kwnames
[] = {
17251 (char *) "self",(char *) "id", NULL
17254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17256 if (!SWIG_IsOK(res1
)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17259 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17261 if (!SWIG_IsOK(ecode2
)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17264 arg2
= static_cast< int >(val2
);
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 (arg1
)->Display(arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_Py_Void();
17278 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17279 PyObject
*resultobj
= 0;
17280 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17283 PyObject
*swig_obj
[1] ;
17285 if (!args
) SWIG_fail
;
17286 swig_obj
[0] = args
;
17287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17288 if (!SWIG_IsOK(res1
)) {
17289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17291 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->DisplayContents();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_Py_Void();
17305 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17306 PyObject
*resultobj
= 0;
17307 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17310 PyObject
*swig_obj
[1] ;
17312 if (!args
) SWIG_fail
;
17313 swig_obj
[0] = args
;
17314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17315 if (!SWIG_IsOK(res1
)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17318 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 (arg1
)->DisplayIndex();
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= SWIG_Py_Void();
17332 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
= 0;
17334 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17335 wxString
*arg2
= 0 ;
17339 bool temp2
= false ;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 char * kwnames
[] = {
17343 (char *) "self",(char *) "keyword", NULL
17346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17348 if (!SWIG_IsOK(res1
)) {
17349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17351 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17353 arg2
= wxString_in_helper(obj1
);
17354 if (arg2
== NULL
) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17380 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
= 0;
17382 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17383 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17384 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17385 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17390 bool temp3
= false ;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 PyObject
* obj2
= 0 ;
17394 char * kwnames
[] = {
17395 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17400 if (!SWIG_IsOK(res1
)) {
17401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17403 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17404 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17405 if (!SWIG_IsOK(res2
)) {
17406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17408 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17411 arg3
= wxString_in_helper(obj2
);
17412 if (arg3
== NULL
) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= SWIG_Py_Void();
17437 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= 0;
17439 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17440 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17441 wxString arg3
= (wxString
) wxPyEmptyString
;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 PyObject
* obj2
= 0 ;
17449 char * kwnames
[] = {
17450 (char *) "self",(char *) "cfg",(char *) "path", NULL
17453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17455 if (!SWIG_IsOK(res1
)) {
17456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17458 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17460 if (!SWIG_IsOK(res2
)) {
17461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17463 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17466 wxString
* sptr
= wxString_in_helper(obj2
);
17467 if (sptr
== NULL
) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->ReadCustomization(arg2
,arg3
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_Py_Void();
17485 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
= 0;
17487 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17488 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17489 wxString arg3
= (wxString
) wxPyEmptyString
;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 PyObject
* obj2
= 0 ;
17497 char * kwnames
[] = {
17498 (char *) "self",(char *) "cfg",(char *) "path", NULL
17501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17503 if (!SWIG_IsOK(res1
)) {
17504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17506 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17508 if (!SWIG_IsOK(res2
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17511 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17514 wxString
* sptr
= wxString_in_helper(obj2
);
17515 if (sptr
== NULL
) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 (arg1
)->WriteCustomization(arg2
,arg3
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= SWIG_Py_Void();
17533 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17534 PyObject
*resultobj
= 0;
17535 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17538 PyObject
*swig_obj
[1] ;
17540 if (!args
) SWIG_fail
;
17541 swig_obj
[0] = args
;
17542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17546 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 (arg1
)->MakeModalIfNeeded();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_Py_Void();
17560 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17561 PyObject
*resultobj
= 0;
17562 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17563 wxWindow
*result
= 0 ;
17566 PyObject
*swig_obj
[1] ;
17568 if (!args
) SWIG_fail
;
17569 swig_obj
[0] = args
;
17570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17571 if (!SWIG_IsOK(res1
)) {
17572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17574 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= wxPyMake_wxObject(result
, 0);
17590 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17593 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17594 return SWIG_Py_Void();
17597 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17598 return SWIG_Python_InitShadowInstance(args
);
17601 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
= 0;
17603 wxWindow
*arg1
= (wxWindow
*) 0 ;
17604 wxString
*arg2
= 0 ;
17605 wxString
const &arg3_defvalue
= wxEmptyString
;
17606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17607 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17608 wxHtmlModalHelp
*result
= 0 ;
17611 bool temp2
= false ;
17612 bool temp3
= false ;
17615 PyObject
* obj0
= 0 ;
17616 PyObject
* obj1
= 0 ;
17617 PyObject
* obj2
= 0 ;
17618 PyObject
* obj3
= 0 ;
17619 char * kwnames
[] = {
17620 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17625 if (!SWIG_IsOK(res1
)) {
17626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17630 arg2
= wxString_in_helper(obj1
);
17631 if (arg2
== NULL
) SWIG_fail
;
17636 arg3
= wxString_in_helper(obj2
);
17637 if (arg3
== NULL
) SWIG_fail
;
17642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17643 if (!SWIG_IsOK(ecode4
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17646 arg4
= static_cast< int >(val4
);
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17677 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17680 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17681 return SWIG_Py_Void();
17684 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17685 return SWIG_Python_InitShadowInstance(args
);
17688 static PyMethodDef SwigMethods
[] = {
17689 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17690 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17691 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17692 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17693 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17694 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17695 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17696 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17697 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17698 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17699 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17700 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17701 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17702 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17703 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17704 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17705 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17706 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17707 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17708 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17709 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17710 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17711 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17712 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17713 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17714 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17715 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17716 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17717 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17718 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17719 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17720 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17721 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17722 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17723 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17724 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17725 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17726 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17727 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17728 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17729 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17730 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17731 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17732 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17733 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17734 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17735 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17736 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17737 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17738 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17739 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17740 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17741 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17742 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17743 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17744 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17745 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17746 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17747 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17748 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17749 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17750 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17751 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17752 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17753 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17754 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17755 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17756 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17757 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17758 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17759 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17760 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17761 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17762 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17763 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17764 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17765 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17766 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17767 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17768 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17769 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17770 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17771 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17772 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17773 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17774 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17775 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17776 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17777 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17778 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17779 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17780 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17781 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17782 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17783 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17784 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17785 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17786 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17787 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17788 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17789 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17790 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17791 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17792 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17793 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17794 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17795 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17796 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17797 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17798 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17799 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17800 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17801 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17802 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17803 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17804 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17805 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17806 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17807 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17808 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17809 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17810 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17811 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17812 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17813 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17814 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17815 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17816 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17817 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17818 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17819 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17820 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17821 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17822 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17823 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17824 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17825 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17826 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17827 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17828 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17829 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17830 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17831 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17832 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17833 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17834 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17835 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17836 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17837 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17838 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17839 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17840 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17841 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17842 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17843 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17844 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17845 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17846 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17847 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17848 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17849 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17850 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17851 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17852 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17853 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17854 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17855 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17856 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17857 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17858 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17859 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17860 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17861 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17862 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17863 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17864 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17865 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17866 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17867 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17868 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17869 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17870 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17871 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17872 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17873 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17874 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17875 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17876 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17877 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17878 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17879 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17880 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17881 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17882 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17883 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17884 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17886 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17887 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17888 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17889 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17890 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17891 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17892 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17893 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17894 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17895 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17896 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17897 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17898 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17899 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17900 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17901 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17902 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17903 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17904 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17905 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17906 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17908 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17909 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17910 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17911 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17912 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17913 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17914 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17915 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17916 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17917 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17918 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17919 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17920 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17921 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17922 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17923 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17924 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17925 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17926 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17927 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17928 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17929 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17930 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17931 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17932 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17933 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17935 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17936 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17937 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17938 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17939 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17940 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17941 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17942 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17944 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17945 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17946 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17947 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17949 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17950 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17951 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17952 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17953 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17954 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17955 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17956 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17957 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17958 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17959 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17960 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17961 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17962 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17963 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17964 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17965 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17966 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17967 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17968 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17969 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17970 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17971 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17972 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17973 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17974 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17975 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17976 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17977 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17978 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17979 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17980 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17981 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17982 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17983 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17984 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17985 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17986 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17987 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17988 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17989 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17990 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17991 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17992 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17993 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17994 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17995 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17996 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17997 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17998 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17999 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18000 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
18001 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
18002 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
18003 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18004 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18005 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18006 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
18007 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
18008 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18009 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18010 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18011 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
18012 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
18013 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18014 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18015 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18016 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18017 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
18018 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
18019 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
18020 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
18021 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
18022 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
18023 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
18024 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
18025 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
18026 { (char *)"new_HtmlCellEvent", (PyCFunction
) _wrap_new_HtmlCellEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18027 { (char *)"HtmlCellEvent_GetCell", (PyCFunction
)_wrap_HtmlCellEvent_GetCell
, METH_O
, NULL
},
18028 { (char *)"HtmlCellEvent_GetPoint", (PyCFunction
)_wrap_HtmlCellEvent_GetPoint
, METH_O
, NULL
},
18029 { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction
)_wrap_HtmlCellEvent_GetMouseEvent
, METH_O
, NULL
},
18030 { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction
) _wrap_HtmlCellEvent_SetLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18031 { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction
)_wrap_HtmlCellEvent_GetLinkClicked
, METH_O
, NULL
},
18032 { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister
, METH_VARARGS
, NULL
},
18033 { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit
, METH_VARARGS
, NULL
},
18034 { (char *)"new_HtmlLinkEvent", (PyCFunction
) _wrap_new_HtmlLinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18035 { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction
)_wrap_HtmlLinkEvent_GetLinkInfo
, METH_O
, NULL
},
18036 { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister
, METH_VARARGS
, NULL
},
18037 { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit
, METH_VARARGS
, NULL
},
18038 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18039 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18040 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18041 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
18042 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18043 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
18044 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
18045 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18046 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
18047 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
18048 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
18049 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18050 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18051 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18052 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
18053 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
18054 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18055 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
18056 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18057 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
18058 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
18059 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
18060 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18061 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
18063 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18065 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
18066 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
18071 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
18072 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18073 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
18074 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
18075 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18076 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
18077 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
18078 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18079 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
18080 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
18081 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18082 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18083 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18084 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18085 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18086 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
18087 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
18088 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18089 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18090 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18091 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
18093 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
18094 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
18095 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
18096 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
18098 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
18099 { NULL
, NULL
, 0, NULL
}
18103 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18105 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
18106 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
18108 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18111 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18112 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18114 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18115 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18117 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18118 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18120 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18121 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18123 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18124 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18126 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18127 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18129 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18130 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18132 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18135 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18136 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18138 static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x
) {
18139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
18141 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18144 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
18145 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18147 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18148 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18150 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18151 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18153 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18154 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18156 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18157 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18159 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18160 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18162 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18163 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18165 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18166 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18168 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18169 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18171 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18172 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18174 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18175 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18177 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18180 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18181 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18183 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18184 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18186 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
18187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18189 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18192 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18193 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18195 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18196 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18198 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18199 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18201 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18202 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18204 static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x
) {
18205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
18207 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18208 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18210 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18211 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18213 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18214 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18216 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18217 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18219 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18220 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18222 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18223 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18225 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18226 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18228 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18229 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18231 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18232 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18234 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18235 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18237 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18238 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18240 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18241 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18243 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18244 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18246 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18247 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18249 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18250 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18252 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18253 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18255 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18256 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18258 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18259 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18261 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18264 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18267 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
18268 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
18270 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18273 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18276 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18277 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18279 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18280 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18282 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18283 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18285 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18288 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18291 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18294 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18297 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18300 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
18301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18303 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18306 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18309 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18312 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18313 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18315 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18316 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18318 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18321 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18324 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18327 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18328 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18330 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18333 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18334 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18336 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18337 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18339 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18340 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18342 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18343 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18345 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18348 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18349 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18351 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18352 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18354 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18357 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18360 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18361 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18363 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18364 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18366 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18369 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18372 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18375 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18376 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18378 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18381 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18382 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18384 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18387 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
18390 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18393 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18396 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18399 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18402 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18403 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18405 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18408 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18411 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18414 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18417 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18420 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18423 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18426 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18429 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18430 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18432 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18433 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18435 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18436 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18438 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18439 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18441 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18442 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18444 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18445 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18447 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18448 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18450 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18451 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18453 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18454 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18456 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18457 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18459 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18462 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18465 static void *_p_wxEventTo_p_wxObject(void *x
) {
18466 return (void *)((wxObject
*) ((wxEvent
*) x
));
18468 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18471 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18472 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18474 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18475 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18477 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18478 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18480 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18483 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18486 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18487 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18489 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18490 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18492 static void *_p_wxImageTo_p_wxObject(void *x
) {
18493 return (void *)((wxObject
*) ((wxImage
*) x
));
18495 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18496 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18498 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18499 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18501 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18502 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18504 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18505 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18507 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18508 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18510 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18513 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18516 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18517 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18519 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18520 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18522 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18525 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18526 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18528 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18529 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18531 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18532 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18534 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18537 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18538 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18540 static void *_p_wxHtmlCellEventTo_p_wxObject(void *x
) {
18541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
18543 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18544 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18546 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18547 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18549 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18550 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18552 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18555 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18556 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18558 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18559 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18561 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18562 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18564 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18565 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18567 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18568 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18570 static void *_p_wxControlTo_p_wxObject(void *x
) {
18571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18573 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18576 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18577 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18579 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18580 return (void *)((wxObject
*) ((wxColourData
*) x
));
18582 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18583 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18585 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18586 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18588 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18589 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18591 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18592 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18594 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18595 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18597 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18598 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18600 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18603 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18604 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18606 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18609 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18610 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18612 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
18613 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18615 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18616 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18618 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18619 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18621 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18624 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18625 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18627 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18628 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18630 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18631 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18633 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18636 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18639 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
18640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
18642 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18645 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18648 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18649 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18651 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18652 return (void *)((wxObject
*) ((wxFontData
*) x
));
18654 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18657 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18660 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18663 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18664 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18666 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18669 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18670 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18672 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18673 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18675 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18676 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18678 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18679 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18681 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18682 return (void *)((wxObject
*) ((wxSizer
*) x
));
18684 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18685 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18687 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18688 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18690 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18691 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18693 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18694 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18696 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18697 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18699 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18700 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18702 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18705 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18706 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18708 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18711 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18712 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18714 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18717 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18718 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18720 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18721 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18723 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18724 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18726 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18727 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18729 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18732 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18735 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18738 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18741 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18744 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18745 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18747 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18750 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18751 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18753 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18754 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18756 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18757 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18759 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
18760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
18762 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18765 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18768 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18769 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18771 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18772 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18774 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18777 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18778 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18780 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18781 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18783 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18784 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18786 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18789 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18792 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18795 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18796 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18798 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18801 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18802 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18804 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18807 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18810 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18813 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18816 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18819 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18822 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18825 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18828 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18831 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18834 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18837 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18840 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18843 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18844 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18846 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18849 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18850 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18852 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18853 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18855 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18858 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18861 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18864 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
18865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18867 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18870 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18873 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18876 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18879 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18882 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18883 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18885 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18888 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18889 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18891 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18892 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18894 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18895 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18897 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18898 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18900 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
18901 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
18903 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18904 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18906 static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x
) {
18907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
18909 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18912 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18913 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18915 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18916 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18918 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18919 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18921 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18922 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18924 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18927 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18928 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18930 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18933 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18934 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18936 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18939 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18942 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18943 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18945 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18946 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18948 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18951 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18952 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18954 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18957 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18958 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18960 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18961 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18963 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18964 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18966 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18967 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18969 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18970 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18972 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18973 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18975 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18976 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18978 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18979 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18981 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18982 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18984 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18985 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18987 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18988 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18990 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18991 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
18993 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18994 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18996 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18997 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
18999 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19000 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19002 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19003 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19005 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
19006 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
19008 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
19009 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
19011 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
19012 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
19014 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
19015 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
19017 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19018 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
19020 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19021 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19023 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
19024 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19026 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
19027 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19029 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
19030 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
19032 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19033 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19035 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
19036 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19038 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
19039 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19041 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
19042 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19044 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
19045 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
19047 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
19048 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19050 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
19051 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19053 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
19054 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19056 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
19057 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19059 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
19060 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19062 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
19063 return (void *)((wxWindow
*) ((wxPanel
*) x
));
19065 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
19066 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
19068 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
19069 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19071 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
19072 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19074 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
19075 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19077 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
19078 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
19080 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
19081 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19083 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
19084 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
19086 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
19087 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
19089 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
19090 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
19092 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
19093 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
19095 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
19096 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
19098 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
19099 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
19101 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
19102 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19104 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
19105 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19107 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
19108 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
19110 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19111 return (void *)((wxWindow
*) ((wxControl
*) x
));
19113 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
19114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19116 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
19117 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19119 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
19120 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19122 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19123 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19125 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
19126 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
19128 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
19129 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19131 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
19132 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
19134 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
19135 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19137 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
19138 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19140 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
19141 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
19143 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
19144 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19146 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
19147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
19149 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
19150 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
19152 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
19153 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19155 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
19156 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19158 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
19159 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19161 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
19162 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
19164 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
19165 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19167 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
19168 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19170 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
19171 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19173 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
19174 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19176 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
19177 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19179 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
19180 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
19182 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
19183 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
19185 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
19186 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
19188 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
19189 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19191 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
19192 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
19194 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
19195 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19197 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
19198 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19200 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
19201 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
19203 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
19204 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19206 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
19207 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
19209 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
19210 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
19212 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
19213 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
19215 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
19216 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
19218 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
19219 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19221 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
19222 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19224 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
19225 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19227 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
19228 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19230 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
19231 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19233 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
19234 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
19236 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
19237 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
19239 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
19240 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19242 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
19243 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19245 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19246 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19248 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19249 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19251 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19252 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19254 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19255 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19257 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19258 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19260 static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x
) {
19261 return (void *)((wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
19263 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19264 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19266 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19267 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19269 static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x
) {
19270 return (void *)((wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
19272 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19273 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19275 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19276 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19278 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19279 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19281 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19282 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19284 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19285 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19287 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19288 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19290 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19291 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19293 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19294 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19296 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19297 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19299 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19300 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19301 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};
19302 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19303 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19304 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19305 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19306 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19307 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19308 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19309 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19310 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19311 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19312 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19313 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19314 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19315 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19316 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19317 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19318 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19319 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19320 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
19321 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19322 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19323 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19324 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19325 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19326 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19327 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19328 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19329 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19330 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19331 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19332 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19333 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19334 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19335 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19336 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19337 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19338 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19339 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19340 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19341 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19342 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19343 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19344 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19345 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19346 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19347 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
19348 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19349 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19350 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19351 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19352 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19353 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19354 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19355 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19356 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19357 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19358 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19359 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19360 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19361 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19362 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19363 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19364 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19365 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19366 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19367 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19368 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19369 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19370 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19371 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19372 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19373 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19374 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
19375 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19376 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19377 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19378 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19379 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19380 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19381 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19382 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19383 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19384 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19385 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19386 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19387 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19388 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19389 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19390 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19391 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19392 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19393 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19394 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19395 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19396 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19397 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
19398 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19399 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19400 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19401 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19402 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19403 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19404 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19405 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19406 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19407 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19408 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19409 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19410 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19411 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19412 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19413 static swig_type_info _swigt__p_wxHtmlCellEvent
= {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0};
19414 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19415 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19416 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19417 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19418 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19419 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19420 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19421 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19422 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19423 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19424 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19425 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19426 static swig_type_info _swigt__p_wxHtmlLinkEvent
= {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0};
19427 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19428 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19429 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19430 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19431 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19432 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19433 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19434 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19435 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19436 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19437 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19438 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19439 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19440 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19441 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19442 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19443 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19444 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19445 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19446 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19447 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19448 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19449 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19450 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19451 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19452 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19453 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19454 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19455 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19456 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19457 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19458 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19459 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19460 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19461 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19462 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19463 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19464 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19465 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19466 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19467 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19468 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19469 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19470 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
19471 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19472 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19473 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19474 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19475 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19476 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19477 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19478 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19479 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19480 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19481 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19482 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19483 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19484 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19485 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19486 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19487 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19488 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19489 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19490 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19491 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19492 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19493 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19494 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19495 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19496 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19497 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19498 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19499 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19500 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19502 static swig_type_info
*swig_type_initial
[] = {
19505 &_swigt__p_form_ops_t
,
19507 &_swigt__p_unsigned_char
,
19508 &_swigt__p_unsigned_int
,
19509 &_swigt__p_unsigned_long
,
19510 &_swigt__p_wxANIHandler
,
19511 &_swigt__p_wxAcceleratorTable
,
19512 &_swigt__p_wxActivateEvent
,
19513 &_swigt__p_wxArrayInt
,
19514 &_swigt__p_wxBMPHandler
,
19515 &_swigt__p_wxBitmap
,
19516 &_swigt__p_wxBoxSizer
,
19517 &_swigt__p_wxCURHandler
,
19518 &_swigt__p_wxCalculateLayoutEvent
,
19519 &_swigt__p_wxChildFocusEvent
,
19520 &_swigt__p_wxClipboardTextEvent
,
19521 &_swigt__p_wxCloseEvent
,
19522 &_swigt__p_wxColour
,
19523 &_swigt__p_wxColourData
,
19524 &_swigt__p_wxColourDialog
,
19525 &_swigt__p_wxCommandEvent
,
19526 &_swigt__p_wxConfigBase
,
19527 &_swigt__p_wxContextMenuEvent
,
19528 &_swigt__p_wxControl
,
19529 &_swigt__p_wxControlWithItems
,
19530 &_swigt__p_wxCursor
,
19532 &_swigt__p_wxDateEvent
,
19533 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19534 &_swigt__p_wxDialog
,
19535 &_swigt__p_wxDirDialog
,
19536 &_swigt__p_wxDisplayChangedEvent
,
19537 &_swigt__p_wxDropFilesEvent
,
19538 &_swigt__p_wxDuplexMode
,
19539 &_swigt__p_wxEraseEvent
,
19540 &_swigt__p_wxEvent
,
19541 &_swigt__p_wxEventBlocker
,
19542 &_swigt__p_wxEvtHandler
,
19543 &_swigt__p_wxFSFile
,
19544 &_swigt__p_wxFileDialog
,
19545 &_swigt__p_wxFileSystem
,
19546 &_swigt__p_wxFindDialogEvent
,
19547 &_swigt__p_wxFindReplaceData
,
19548 &_swigt__p_wxFindReplaceDialog
,
19549 &_swigt__p_wxFlexGridSizer
,
19550 &_swigt__p_wxFocusEvent
,
19552 &_swigt__p_wxFontData
,
19553 &_swigt__p_wxFontDialog
,
19554 &_swigt__p_wxFrame
,
19555 &_swigt__p_wxGBSizerItem
,
19556 &_swigt__p_wxGIFHandler
,
19557 &_swigt__p_wxGridBagSizer
,
19558 &_swigt__p_wxGridSizer
,
19559 &_swigt__p_wxHelpControllerBase
,
19560 &_swigt__p_wxHelpSearchMode
,
19561 &_swigt__p_wxHtmlBookRecArray
,
19562 &_swigt__p_wxHtmlBookRecord
,
19563 &_swigt__p_wxHtmlCell
,
19564 &_swigt__p_wxHtmlCellEvent
,
19565 &_swigt__p_wxHtmlColourCell
,
19566 &_swigt__p_wxHtmlContainerCell
,
19567 &_swigt__p_wxHtmlDCRenderer
,
19568 &_swigt__p_wxHtmlEasyPrinting
,
19569 &_swigt__p_wxHtmlFilter
,
19570 &_swigt__p_wxHtmlFontCell
,
19571 &_swigt__p_wxHtmlHelpController
,
19572 &_swigt__p_wxHtmlHelpData
,
19573 &_swigt__p_wxHtmlHelpDialog
,
19574 &_swigt__p_wxHtmlHelpFrame
,
19575 &_swigt__p_wxHtmlHelpFrameCfg
,
19576 &_swigt__p_wxHtmlHelpWindow
,
19577 &_swigt__p_wxHtmlLinkEvent
,
19578 &_swigt__p_wxHtmlLinkInfo
,
19579 &_swigt__p_wxHtmlModalHelp
,
19580 &_swigt__p_wxHtmlParser
,
19581 &_swigt__p_wxHtmlPrintout
,
19582 &_swigt__p_wxHtmlRenderingInfo
,
19583 &_swigt__p_wxHtmlRenderingState
,
19584 &_swigt__p_wxHtmlRenderingStyle
,
19585 &_swigt__p_wxHtmlSearchStatus
,
19586 &_swigt__p_wxHtmlSelection
,
19587 &_swigt__p_wxHtmlTag
,
19588 &_swigt__p_wxHtmlTagHandler
,
19589 &_swigt__p_wxHtmlWidgetCell
,
19590 &_swigt__p_wxHtmlWinParser
,
19591 &_swigt__p_wxHtmlWindowInterface
,
19592 &_swigt__p_wxHtmlWordCell
,
19593 &_swigt__p_wxICOHandler
,
19594 &_swigt__p_wxIconizeEvent
,
19595 &_swigt__p_wxIdleEvent
,
19596 &_swigt__p_wxImage
,
19597 &_swigt__p_wxImageHandler
,
19598 &_swigt__p_wxIndividualLayoutConstraint
,
19599 &_swigt__p_wxInitDialogEvent
,
19600 &_swigt__p_wxJPEGHandler
,
19601 &_swigt__p_wxKeyEvent
,
19602 &_swigt__p_wxLayoutAlgorithm
,
19603 &_swigt__p_wxLayoutConstraints
,
19604 &_swigt__p_wxMDIChildFrame
,
19605 &_swigt__p_wxMDIClientWindow
,
19606 &_swigt__p_wxMDIParentFrame
,
19607 &_swigt__p_wxMaximizeEvent
,
19609 &_swigt__p_wxMenuBar
,
19610 &_swigt__p_wxMenuEvent
,
19611 &_swigt__p_wxMenuItem
,
19612 &_swigt__p_wxMessageDialog
,
19613 &_swigt__p_wxMiniFrame
,
19614 &_swigt__p_wxMouseCaptureChangedEvent
,
19615 &_swigt__p_wxMouseCaptureLostEvent
,
19616 &_swigt__p_wxMouseEvent
,
19617 &_swigt__p_wxMoveEvent
,
19618 &_swigt__p_wxMultiChoiceDialog
,
19619 &_swigt__p_wxNavigationKeyEvent
,
19620 &_swigt__p_wxNcPaintEvent
,
19621 &_swigt__p_wxNotifyEvent
,
19622 &_swigt__p_wxNumberEntryDialog
,
19623 &_swigt__p_wxObject
,
19624 &_swigt__p_wxPCXHandler
,
19625 &_swigt__p_wxPNGHandler
,
19626 &_swigt__p_wxPNMHandler
,
19627 &_swigt__p_wxPageSetupDialog
,
19628 &_swigt__p_wxPageSetupDialogData
,
19629 &_swigt__p_wxPaintEvent
,
19630 &_swigt__p_wxPaletteChangedEvent
,
19631 &_swigt__p_wxPanel
,
19632 &_swigt__p_wxPaperSize
,
19633 &_swigt__p_wxPasswordEntryDialog
,
19634 &_swigt__p_wxPoint
,
19635 &_swigt__p_wxPopupWindow
,
19636 &_swigt__p_wxPreviewCanvas
,
19637 &_swigt__p_wxPreviewControlBar
,
19638 &_swigt__p_wxPreviewFrame
,
19639 &_swigt__p_wxPrintData
,
19640 &_swigt__p_wxPrintDialog
,
19641 &_swigt__p_wxPrintDialogData
,
19642 &_swigt__p_wxPrintPreview
,
19643 &_swigt__p_wxPrinter
,
19644 &_swigt__p_wxProgressDialog
,
19645 &_swigt__p_wxPyApp
,
19646 &_swigt__p_wxPyCommandEvent
,
19647 &_swigt__p_wxPyEvent
,
19648 &_swigt__p_wxPyHtmlFilter
,
19649 &_swigt__p_wxPyHtmlListBox
,
19650 &_swigt__p_wxPyHtmlTagHandler
,
19651 &_swigt__p_wxPyHtmlWinTagHandler
,
19652 &_swigt__p_wxPyHtmlWindow
,
19653 &_swigt__p_wxPyImageHandler
,
19654 &_swigt__p_wxPyPanel
,
19655 &_swigt__p_wxPyPopupTransientWindow
,
19656 &_swigt__p_wxPyPreviewControlBar
,
19657 &_swigt__p_wxPyPreviewFrame
,
19658 &_swigt__p_wxPyPrintPreview
,
19659 &_swigt__p_wxPyPrintout
,
19660 &_swigt__p_wxPyScrolledWindow
,
19661 &_swigt__p_wxPySizer
,
19662 &_swigt__p_wxPyTaskBarIcon
,
19663 &_swigt__p_wxPyVListBox
,
19664 &_swigt__p_wxPyVScrolledWindow
,
19665 &_swigt__p_wxPyValidator
,
19666 &_swigt__p_wxPyWindow
,
19667 &_swigt__p_wxQueryLayoutInfoEvent
,
19668 &_swigt__p_wxQueryNewPaletteEvent
,
19669 &_swigt__p_wxSashEvent
,
19670 &_swigt__p_wxSashLayoutWindow
,
19671 &_swigt__p_wxSashWindow
,
19672 &_swigt__p_wxScrollEvent
,
19673 &_swigt__p_wxScrollWinEvent
,
19674 &_swigt__p_wxScrolledWindow
,
19675 &_swigt__p_wxSetCursorEvent
,
19676 &_swigt__p_wxShowEvent
,
19677 &_swigt__p_wxSimpleHtmlListBox
,
19678 &_swigt__p_wxSingleChoiceDialog
,
19680 &_swigt__p_wxSizeEvent
,
19681 &_swigt__p_wxSizer
,
19682 &_swigt__p_wxSizerItem
,
19683 &_swigt__p_wxSplashScreen
,
19684 &_swigt__p_wxSplashScreenWindow
,
19685 &_swigt__p_wxSplitterEvent
,
19686 &_swigt__p_wxSplitterWindow
,
19687 &_swigt__p_wxStaticBoxSizer
,
19688 &_swigt__p_wxStatusBar
,
19689 &_swigt__p_wxStdDialogButtonSizer
,
19690 &_swigt__p_wxString
,
19691 &_swigt__p_wxSysColourChangedEvent
,
19692 &_swigt__p_wxTGAHandler
,
19693 &_swigt__p_wxTIFFHandler
,
19694 &_swigt__p_wxTaskBarIconEvent
,
19695 &_swigt__p_wxTextEntryDialog
,
19696 &_swigt__p_wxTipWindow
,
19697 &_swigt__p_wxTopLevelWindow
,
19698 &_swigt__p_wxUpdateUIEvent
,
19699 &_swigt__p_wxValidator
,
19700 &_swigt__p_wxVisualAttributes
,
19701 &_swigt__p_wxWindow
,
19702 &_swigt__p_wxWindowCreateEvent
,
19703 &_swigt__p_wxWindowDestroyEvent
,
19704 &_swigt__p_wxXPMHandler
,
19707 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19708 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19709 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19710 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19711 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19712 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19713 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19714 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19715 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19716 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19717 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19718 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19719 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19720 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19721 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19722 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19723 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19724 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19725 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19726 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19727 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19728 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19729 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19730 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}};
19731 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19732 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19733 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19734 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19735 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19736 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19737 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19738 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19739 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19740 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19741 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19742 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19743 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19744 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19745 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19746 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}};
19747 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19748 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19749 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19750 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19751 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19752 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19753 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19754 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
19755 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19756 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19757 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19758 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19759 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19760 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19761 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19762 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19763 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19764 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19765 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19766 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19767 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19768 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19769 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19770 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19771 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19772 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19773 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19774 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19775 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19776 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19777 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}};
19778 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19779 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19780 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19781 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
19782 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19783 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19784 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19785 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19786 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19787 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19788 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19789 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19790 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19791 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19792 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19793 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19794 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19795 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19796 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19797 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19798 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19799 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19800 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19801 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19802 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19803 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19804 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = {{&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19805 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19806 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19807 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19808 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19809 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19810 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19811 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19812 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_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_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
19813 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19814 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19815 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}};
19816 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}};
19817 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19818 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19819 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19820 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}};
19821 static swig_cast_info _swigc__p_wxHtmlCellEvent
[] = { {&_swigt__p_wxHtmlCellEvent
, 0, 0, 0},{0, 0, 0, 0}};
19822 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19823 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19824 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19825 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19826 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19827 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19828 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19829 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19830 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19831 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19832 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19833 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19834 static swig_cast_info _swigc__p_wxHtmlLinkEvent
[] = { {&_swigt__p_wxHtmlLinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
19835 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19836 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19837 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}};
19838 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19839 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19840 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19841 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}};
19842 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19843 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19844 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19845 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19846 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19847 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19848 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19849 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19850 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19851 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19852 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19853 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19854 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19855 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19856 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19857 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19858 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19859 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19860 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19861 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19862 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19863 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19864 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19865 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19866 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19867 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19868 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19869 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19870 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19871 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19872 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19873 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19874 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19875 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19876 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19877 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
19878 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19879 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19880 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19881 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19882 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19883 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19884 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19885 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19886 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19887 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19888 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19889 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19890 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19891 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_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWidgetCell
, _p_wxHtmlWidgetCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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_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_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_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_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_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_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_wxEventBlocker
, _p_wxEventBlockerTo_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}};
19892 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19893 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
19894 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19895 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19896 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19897 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19898 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}};
19899 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19900 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19901 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}};
19902 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}};
19903 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19904 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19905 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19906 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}};
19907 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19908 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
19910 static swig_cast_info
*swig_cast_initial
[] = {
19913 _swigc__p_form_ops_t
,
19915 _swigc__p_unsigned_char
,
19916 _swigc__p_unsigned_int
,
19917 _swigc__p_unsigned_long
,
19918 _swigc__p_wxANIHandler
,
19919 _swigc__p_wxAcceleratorTable
,
19920 _swigc__p_wxActivateEvent
,
19921 _swigc__p_wxArrayInt
,
19922 _swigc__p_wxBMPHandler
,
19923 _swigc__p_wxBitmap
,
19924 _swigc__p_wxBoxSizer
,
19925 _swigc__p_wxCURHandler
,
19926 _swigc__p_wxCalculateLayoutEvent
,
19927 _swigc__p_wxChildFocusEvent
,
19928 _swigc__p_wxClipboardTextEvent
,
19929 _swigc__p_wxCloseEvent
,
19930 _swigc__p_wxColour
,
19931 _swigc__p_wxColourData
,
19932 _swigc__p_wxColourDialog
,
19933 _swigc__p_wxCommandEvent
,
19934 _swigc__p_wxConfigBase
,
19935 _swigc__p_wxContextMenuEvent
,
19936 _swigc__p_wxControl
,
19937 _swigc__p_wxControlWithItems
,
19938 _swigc__p_wxCursor
,
19940 _swigc__p_wxDateEvent
,
19941 _swigc__p_wxDefaultHtmlRenderingStyle
,
19942 _swigc__p_wxDialog
,
19943 _swigc__p_wxDirDialog
,
19944 _swigc__p_wxDisplayChangedEvent
,
19945 _swigc__p_wxDropFilesEvent
,
19946 _swigc__p_wxDuplexMode
,
19947 _swigc__p_wxEraseEvent
,
19949 _swigc__p_wxEventBlocker
,
19950 _swigc__p_wxEvtHandler
,
19951 _swigc__p_wxFSFile
,
19952 _swigc__p_wxFileDialog
,
19953 _swigc__p_wxFileSystem
,
19954 _swigc__p_wxFindDialogEvent
,
19955 _swigc__p_wxFindReplaceData
,
19956 _swigc__p_wxFindReplaceDialog
,
19957 _swigc__p_wxFlexGridSizer
,
19958 _swigc__p_wxFocusEvent
,
19960 _swigc__p_wxFontData
,
19961 _swigc__p_wxFontDialog
,
19963 _swigc__p_wxGBSizerItem
,
19964 _swigc__p_wxGIFHandler
,
19965 _swigc__p_wxGridBagSizer
,
19966 _swigc__p_wxGridSizer
,
19967 _swigc__p_wxHelpControllerBase
,
19968 _swigc__p_wxHelpSearchMode
,
19969 _swigc__p_wxHtmlBookRecArray
,
19970 _swigc__p_wxHtmlBookRecord
,
19971 _swigc__p_wxHtmlCell
,
19972 _swigc__p_wxHtmlCellEvent
,
19973 _swigc__p_wxHtmlColourCell
,
19974 _swigc__p_wxHtmlContainerCell
,
19975 _swigc__p_wxHtmlDCRenderer
,
19976 _swigc__p_wxHtmlEasyPrinting
,
19977 _swigc__p_wxHtmlFilter
,
19978 _swigc__p_wxHtmlFontCell
,
19979 _swigc__p_wxHtmlHelpController
,
19980 _swigc__p_wxHtmlHelpData
,
19981 _swigc__p_wxHtmlHelpDialog
,
19982 _swigc__p_wxHtmlHelpFrame
,
19983 _swigc__p_wxHtmlHelpFrameCfg
,
19984 _swigc__p_wxHtmlHelpWindow
,
19985 _swigc__p_wxHtmlLinkEvent
,
19986 _swigc__p_wxHtmlLinkInfo
,
19987 _swigc__p_wxHtmlModalHelp
,
19988 _swigc__p_wxHtmlParser
,
19989 _swigc__p_wxHtmlPrintout
,
19990 _swigc__p_wxHtmlRenderingInfo
,
19991 _swigc__p_wxHtmlRenderingState
,
19992 _swigc__p_wxHtmlRenderingStyle
,
19993 _swigc__p_wxHtmlSearchStatus
,
19994 _swigc__p_wxHtmlSelection
,
19995 _swigc__p_wxHtmlTag
,
19996 _swigc__p_wxHtmlTagHandler
,
19997 _swigc__p_wxHtmlWidgetCell
,
19998 _swigc__p_wxHtmlWinParser
,
19999 _swigc__p_wxHtmlWindowInterface
,
20000 _swigc__p_wxHtmlWordCell
,
20001 _swigc__p_wxICOHandler
,
20002 _swigc__p_wxIconizeEvent
,
20003 _swigc__p_wxIdleEvent
,
20005 _swigc__p_wxImageHandler
,
20006 _swigc__p_wxIndividualLayoutConstraint
,
20007 _swigc__p_wxInitDialogEvent
,
20008 _swigc__p_wxJPEGHandler
,
20009 _swigc__p_wxKeyEvent
,
20010 _swigc__p_wxLayoutAlgorithm
,
20011 _swigc__p_wxLayoutConstraints
,
20012 _swigc__p_wxMDIChildFrame
,
20013 _swigc__p_wxMDIClientWindow
,
20014 _swigc__p_wxMDIParentFrame
,
20015 _swigc__p_wxMaximizeEvent
,
20017 _swigc__p_wxMenuBar
,
20018 _swigc__p_wxMenuEvent
,
20019 _swigc__p_wxMenuItem
,
20020 _swigc__p_wxMessageDialog
,
20021 _swigc__p_wxMiniFrame
,
20022 _swigc__p_wxMouseCaptureChangedEvent
,
20023 _swigc__p_wxMouseCaptureLostEvent
,
20024 _swigc__p_wxMouseEvent
,
20025 _swigc__p_wxMoveEvent
,
20026 _swigc__p_wxMultiChoiceDialog
,
20027 _swigc__p_wxNavigationKeyEvent
,
20028 _swigc__p_wxNcPaintEvent
,
20029 _swigc__p_wxNotifyEvent
,
20030 _swigc__p_wxNumberEntryDialog
,
20031 _swigc__p_wxObject
,
20032 _swigc__p_wxPCXHandler
,
20033 _swigc__p_wxPNGHandler
,
20034 _swigc__p_wxPNMHandler
,
20035 _swigc__p_wxPageSetupDialog
,
20036 _swigc__p_wxPageSetupDialogData
,
20037 _swigc__p_wxPaintEvent
,
20038 _swigc__p_wxPaletteChangedEvent
,
20040 _swigc__p_wxPaperSize
,
20041 _swigc__p_wxPasswordEntryDialog
,
20043 _swigc__p_wxPopupWindow
,
20044 _swigc__p_wxPreviewCanvas
,
20045 _swigc__p_wxPreviewControlBar
,
20046 _swigc__p_wxPreviewFrame
,
20047 _swigc__p_wxPrintData
,
20048 _swigc__p_wxPrintDialog
,
20049 _swigc__p_wxPrintDialogData
,
20050 _swigc__p_wxPrintPreview
,
20051 _swigc__p_wxPrinter
,
20052 _swigc__p_wxProgressDialog
,
20054 _swigc__p_wxPyCommandEvent
,
20055 _swigc__p_wxPyEvent
,
20056 _swigc__p_wxPyHtmlFilter
,
20057 _swigc__p_wxPyHtmlListBox
,
20058 _swigc__p_wxPyHtmlTagHandler
,
20059 _swigc__p_wxPyHtmlWinTagHandler
,
20060 _swigc__p_wxPyHtmlWindow
,
20061 _swigc__p_wxPyImageHandler
,
20062 _swigc__p_wxPyPanel
,
20063 _swigc__p_wxPyPopupTransientWindow
,
20064 _swigc__p_wxPyPreviewControlBar
,
20065 _swigc__p_wxPyPreviewFrame
,
20066 _swigc__p_wxPyPrintPreview
,
20067 _swigc__p_wxPyPrintout
,
20068 _swigc__p_wxPyScrolledWindow
,
20069 _swigc__p_wxPySizer
,
20070 _swigc__p_wxPyTaskBarIcon
,
20071 _swigc__p_wxPyVListBox
,
20072 _swigc__p_wxPyVScrolledWindow
,
20073 _swigc__p_wxPyValidator
,
20074 _swigc__p_wxPyWindow
,
20075 _swigc__p_wxQueryLayoutInfoEvent
,
20076 _swigc__p_wxQueryNewPaletteEvent
,
20077 _swigc__p_wxSashEvent
,
20078 _swigc__p_wxSashLayoutWindow
,
20079 _swigc__p_wxSashWindow
,
20080 _swigc__p_wxScrollEvent
,
20081 _swigc__p_wxScrollWinEvent
,
20082 _swigc__p_wxScrolledWindow
,
20083 _swigc__p_wxSetCursorEvent
,
20084 _swigc__p_wxShowEvent
,
20085 _swigc__p_wxSimpleHtmlListBox
,
20086 _swigc__p_wxSingleChoiceDialog
,
20088 _swigc__p_wxSizeEvent
,
20090 _swigc__p_wxSizerItem
,
20091 _swigc__p_wxSplashScreen
,
20092 _swigc__p_wxSplashScreenWindow
,
20093 _swigc__p_wxSplitterEvent
,
20094 _swigc__p_wxSplitterWindow
,
20095 _swigc__p_wxStaticBoxSizer
,
20096 _swigc__p_wxStatusBar
,
20097 _swigc__p_wxStdDialogButtonSizer
,
20098 _swigc__p_wxString
,
20099 _swigc__p_wxSysColourChangedEvent
,
20100 _swigc__p_wxTGAHandler
,
20101 _swigc__p_wxTIFFHandler
,
20102 _swigc__p_wxTaskBarIconEvent
,
20103 _swigc__p_wxTextEntryDialog
,
20104 _swigc__p_wxTipWindow
,
20105 _swigc__p_wxTopLevelWindow
,
20106 _swigc__p_wxUpdateUIEvent
,
20107 _swigc__p_wxValidator
,
20108 _swigc__p_wxVisualAttributes
,
20109 _swigc__p_wxWindow
,
20110 _swigc__p_wxWindowCreateEvent
,
20111 _swigc__p_wxWindowDestroyEvent
,
20112 _swigc__p_wxXPMHandler
,
20116 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20118 static swig_const_info swig_const_table
[] = {
20119 {0, 0, 0, 0.0, 0, 0}};
20124 /* -----------------------------------------------------------------------------
20125 * Type initialization:
20126 * This problem is tough by the requirement that no dynamic
20127 * memory is used. Also, since swig_type_info structures store pointers to
20128 * swig_cast_info structures and swig_cast_info structures store pointers back
20129 * to swig_type_info structures, we need some lookup code at initialization.
20130 * The idea is that swig generates all the structures that are needed.
20131 * The runtime then collects these partially filled structures.
20132 * The SWIG_InitializeModule function takes these initial arrays out of
20133 * swig_module, and does all the lookup, filling in the swig_module.types
20134 * array with the correct data and linking the correct swig_cast_info
20135 * structures together.
20137 * The generated swig_type_info structures are assigned staticly to an initial
20138 * array. We just loop though that array, and handle each type individually.
20139 * First we lookup if this type has been already loaded, and if so, use the
20140 * loaded structure instead of the generated one. Then we have to fill in the
20141 * cast linked list. The cast data is initially stored in something like a
20142 * two-dimensional array. Each row corresponds to a type (there are the same
20143 * number of rows as there are in the swig_type_initial array). Each entry in
20144 * a column is one of the swig_cast_info structures for that type.
20145 * The cast_initial array is actually an array of arrays, because each row has
20146 * a variable number of columns. So to actually build the cast linked list,
20147 * we find the array of casts associated with the type, and loop through it
20148 * adding the casts to the list. The one last trick we need to do is making
20149 * sure the type pointer in the swig_cast_info struct is correct.
20151 * First off, we lookup the cast->type name to see if it is already loaded.
20152 * There are three cases to handle:
20153 * 1) If the cast->type has already been loaded AND the type we are adding
20154 * casting info to has not been loaded (it is in this module), THEN we
20155 * replace the cast->type pointer with the type pointer that has already
20157 * 2) If BOTH types (the one we are adding casting info to, and the
20158 * cast->type) are loaded, THEN the cast info has already been loaded by
20159 * the previous module so we just ignore it.
20160 * 3) Finally, if cast->type has not already been loaded, then we add that
20161 * swig_cast_info to the linked list (because the cast->type) pointer will
20163 * ----------------------------------------------------------------------------- */
20173 #define SWIGRUNTIME_DEBUG
20177 SWIG_InitializeModule(void *clientdata
) {
20179 swig_module_info
*module_head
;
20180 static int init_run
= 0;
20182 clientdata
= clientdata
;
20184 if (init_run
) return;
20187 /* Initialize the swig_module */
20188 swig_module
.type_initial
= swig_type_initial
;
20189 swig_module
.cast_initial
= swig_cast_initial
;
20191 /* Try and load any already created modules */
20192 module_head
= SWIG_GetModule(clientdata
);
20194 swig_module
.next
= module_head
->next
;
20195 module_head
->next
= &swig_module
;
20197 /* This is the first module loaded */
20198 swig_module
.next
= &swig_module
;
20199 SWIG_SetModule(clientdata
, &swig_module
);
20202 /* Now work on filling in swig_module.types */
20203 #ifdef SWIGRUNTIME_DEBUG
20204 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
20206 for (i
= 0; i
< swig_module
.size
; ++i
) {
20207 swig_type_info
*type
= 0;
20208 swig_type_info
*ret
;
20209 swig_cast_info
*cast
;
20211 #ifdef SWIGRUNTIME_DEBUG
20212 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20215 /* if there is another module already loaded */
20216 if (swig_module
.next
!= &swig_module
) {
20217 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
20220 /* Overwrite clientdata field */
20221 #ifdef SWIGRUNTIME_DEBUG
20222 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
20224 if (swig_module
.type_initial
[i
]->clientdata
) {
20225 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
20226 #ifdef SWIGRUNTIME_DEBUG
20227 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
20231 type
= swig_module
.type_initial
[i
];
20234 /* Insert casting types */
20235 cast
= swig_module
.cast_initial
[i
];
20236 while (cast
->type
) {
20237 /* Don't need to add information already in the list */
20239 #ifdef SWIGRUNTIME_DEBUG
20240 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20242 if (swig_module
.next
!= &swig_module
) {
20243 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20244 #ifdef SWIGRUNTIME_DEBUG
20245 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20249 if (type
== swig_module
.type_initial
[i
]) {
20250 #ifdef SWIGRUNTIME_DEBUG
20251 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20256 /* Check for casting already in the list */
20257 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20258 #ifdef SWIGRUNTIME_DEBUG
20259 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20261 if (!ocast
) ret
= 0;
20266 #ifdef SWIGRUNTIME_DEBUG
20267 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20270 type
->cast
->prev
= cast
;
20271 cast
->next
= type
->cast
;
20277 /* Set entry in modules->types array equal to the type */
20278 swig_module
.types
[i
] = type
;
20280 swig_module
.types
[i
] = 0;
20282 #ifdef SWIGRUNTIME_DEBUG
20283 printf("**** SWIG_InitializeModule: Cast List ******\n");
20284 for (i
= 0; i
< swig_module
.size
; ++i
) {
20286 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20287 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20288 while (cast
->type
) {
20289 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20293 printf("---- Total casts: %d\n",j
);
20295 printf("**** SWIG_InitializeModule: Cast List ******\n");
20299 /* This function will propagate the clientdata field of type to
20300 * any new swig_type_info structures that have been added into the list
20301 * of equivalent types. It is like calling
20302 * SWIG_TypeClientData(type, clientdata) a second time.
20305 SWIG_PropagateClientData(void) {
20307 swig_cast_info
*equiv
;
20308 static int init_run
= 0;
20310 if (init_run
) return;
20313 for (i
= 0; i
< swig_module
.size
; i
++) {
20314 if (swig_module
.types
[i
]->clientdata
) {
20315 equiv
= swig_module
.types
[i
]->cast
;
20317 if (!equiv
->converter
) {
20318 if (equiv
->type
&& !equiv
->type
->clientdata
)
20319 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20321 equiv
= equiv
->next
;
20341 /* Python-specific SWIG API */
20342 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20343 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20344 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20346 /* -----------------------------------------------------------------------------
20347 * global variable support code.
20348 * ----------------------------------------------------------------------------- */
20350 typedef struct swig_globalvar
{
20351 char *name
; /* Name of global variable */
20352 PyObject
*(*get_attr
)(void); /* Return the current value */
20353 int (*set_attr
)(PyObject
*); /* Set the value */
20354 struct swig_globalvar
*next
;
20357 typedef struct swig_varlinkobject
{
20359 swig_globalvar
*vars
;
20360 } swig_varlinkobject
;
20362 SWIGINTERN PyObject
*
20363 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20364 return PyString_FromString("<Swig global variables>");
20367 SWIGINTERN PyObject
*
20368 swig_varlink_str(swig_varlinkobject
*v
) {
20369 PyObject
*str
= PyString_FromString("(");
20370 swig_globalvar
*var
;
20371 for (var
= v
->vars
; var
; var
=var
->next
) {
20372 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20373 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20375 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20380 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20381 PyObject
*str
= swig_varlink_str(v
);
20382 fprintf(fp
,"Swig global variables ");
20383 fprintf(fp
,"%s\n", PyString_AsString(str
));
20389 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20390 swig_globalvar
*var
= v
->vars
;
20392 swig_globalvar
*n
= var
->next
;
20399 SWIGINTERN PyObject
*
20400 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20401 PyObject
*res
= NULL
;
20402 swig_globalvar
*var
= v
->vars
;
20404 if (strcmp(var
->name
,n
) == 0) {
20405 res
= (*var
->get_attr
)();
20410 if (res
== NULL
&& !PyErr_Occurred()) {
20411 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20417 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20419 swig_globalvar
*var
= v
->vars
;
20421 if (strcmp(var
->name
,n
) == 0) {
20422 res
= (*var
->set_attr
)(p
);
20427 if (res
== 1 && !PyErr_Occurred()) {
20428 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20433 SWIGINTERN PyTypeObject
*
20434 swig_varlink_type(void) {
20435 static char varlink__doc__
[] = "Swig var link object";
20436 static PyTypeObject varlink_type
;
20437 static int type_init
= 0;
20439 const PyTypeObject tmp
20441 PyObject_HEAD_INIT(NULL
)
20442 0, /* Number of items in variable part (ob_size) */
20443 (char *)"swigvarlink", /* Type name (tp_name) */
20444 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20445 0, /* Itemsize (tp_itemsize) */
20446 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20447 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20448 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20449 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20450 0, /* tp_compare */
20451 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20452 0, /* tp_as_number */
20453 0, /* tp_as_sequence */
20454 0, /* tp_as_mapping */
20457 (reprfunc
)swig_varlink_str
, /* tp_str */
20458 0, /* tp_getattro */
20459 0, /* tp_setattro */
20460 0, /* tp_as_buffer */
20462 varlink__doc__
, /* tp_doc */
20463 0, /* tp_traverse */
20465 0, /* tp_richcompare */
20466 0, /* tp_weaklistoffset */
20467 #if PY_VERSION_HEX >= 0x02020000
20468 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20470 #if PY_VERSION_HEX >= 0x02030000
20473 #ifdef COUNT_ALLOCS
20474 0,0,0,0 /* tp_alloc -> tp_next */
20477 varlink_type
= tmp
;
20478 varlink_type
.ob_type
= &PyType_Type
;
20481 return &varlink_type
;
20484 /* Create a variable linking object for use later */
20485 SWIGINTERN PyObject
*
20486 SWIG_Python_newvarlink(void) {
20487 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20491 return ((PyObject
*) result
);
20495 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20496 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20497 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20499 size_t size
= strlen(name
)+1;
20500 gv
->name
= (char *)malloc(size
);
20502 strncpy(gv
->name
,name
,size
);
20503 gv
->get_attr
= get_attr
;
20504 gv
->set_attr
= set_attr
;
20505 gv
->next
= v
->vars
;
20511 SWIGINTERN PyObject
*
20513 static PyObject
*_SWIG_globals
= 0;
20514 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20515 return _SWIG_globals
;
20518 /* -----------------------------------------------------------------------------
20519 * constants/methods manipulation
20520 * ----------------------------------------------------------------------------- */
20522 /* Install Constants */
20524 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20527 for (i
= 0; constants
[i
].type
; ++i
) {
20528 switch(constants
[i
].type
) {
20529 case SWIG_PY_POINTER
:
20530 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20532 case SWIG_PY_BINARY
:
20533 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20540 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20546 /* -----------------------------------------------------------------------------*/
20547 /* Fix SwigMethods to carry the callback ptrs when needed */
20548 /* -----------------------------------------------------------------------------*/
20551 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20552 swig_const_info
*const_table
,
20553 swig_type_info
**types
,
20554 swig_type_info
**types_initial
) {
20556 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20557 const char *c
= methods
[i
].ml_doc
;
20558 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20560 swig_const_info
*ci
= 0;
20561 const char *name
= c
+ 10;
20562 for (j
= 0; const_table
[j
].type
; ++j
) {
20563 if (strncmp(const_table
[j
].name
, name
,
20564 strlen(const_table
[j
].name
)) == 0) {
20565 ci
= &(const_table
[j
]);
20570 size_t shift
= (ci
->ptype
) - types
;
20571 swig_type_info
*ty
= types_initial
[shift
];
20572 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20573 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20574 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20577 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20579 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20581 strncpy(buff
, "swig_ptr: ", 10);
20583 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20584 methods
[i
].ml_doc
= ndoc
;
20596 /* -----------------------------------------------------------------------------*
20597 * Partial Init method
20598 * -----------------------------------------------------------------------------*/
20603 SWIGEXPORT
void SWIG_init(void) {
20606 /* Fix SwigMethods to carry the callback ptrs when needed */
20607 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20609 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20610 d
= PyModule_GetDict(m
);
20612 SWIG_InitializeModule(0);
20613 SWIG_InstallConstants(d
,swig_const_table
);
20616 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20617 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20618 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20619 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20620 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20621 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20622 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20623 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20624 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20625 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20626 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20627 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20628 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20629 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20630 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20631 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20632 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20633 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20634 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20635 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20636 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20637 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20638 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20639 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20640 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20641 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20642 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20643 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20644 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20645 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20646 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20647 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20648 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20649 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20650 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20651 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20652 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20653 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20654 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20655 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20656 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20657 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20658 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20659 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20660 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20661 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20662 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20663 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20664 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20665 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20666 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20667 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20668 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20669 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20670 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20671 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20672 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20673 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20674 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20675 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20676 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20677 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20678 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20679 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20680 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20681 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20682 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20683 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20684 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20685 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20686 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20687 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20688 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20689 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20690 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20691 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20692 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20693 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20694 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20695 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20696 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20697 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20698 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20699 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20700 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20701 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20702 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20703 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20704 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20705 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20706 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED
));
20707 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER
));
20708 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED
));
20710 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20711 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20712 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20713 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");