1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxCursor swig_types[27]
2494 #define SWIGTYPE_p_wxDC swig_types[28]
2495 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2497 #define SWIGTYPE_p_wxDialog swig_types[31]
2498 #define SWIGTYPE_p_wxDirDialog swig_types[32]
2499 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2505 #define SWIGTYPE_p_wxFSFile swig_types[39]
2506 #define SWIGTYPE_p_wxFileDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceData swig_types[43]
2510 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
2511 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFontData swig_types[48]
2515 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2516 #define SWIGTYPE_p_wxFrame swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2519 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2520 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
2522 #define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
2523 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
2524 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
2525 #define SWIGTYPE_p_wxHtmlCell swig_types[59]
2526 #define SWIGTYPE_p_wxHtmlCellEvent swig_types[60]
2527 #define SWIGTYPE_p_wxHtmlColourCell swig_types[61]
2528 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[62]
2529 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[63]
2530 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[64]
2531 #define SWIGTYPE_p_wxHtmlFilter swig_types[65]
2532 #define SWIGTYPE_p_wxHtmlFontCell swig_types[66]
2533 #define SWIGTYPE_p_wxHtmlHelpController swig_types[67]
2534 #define SWIGTYPE_p_wxHtmlHelpData swig_types[68]
2535 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[69]
2536 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[70]
2537 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[71]
2538 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[72]
2539 #define SWIGTYPE_p_wxHtmlLinkEvent swig_types[73]
2540 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[74]
2541 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[75]
2542 #define SWIGTYPE_p_wxHtmlParser swig_types[76]
2543 #define SWIGTYPE_p_wxHtmlPrintout swig_types[77]
2544 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[78]
2545 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[79]
2546 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[80]
2547 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[81]
2548 #define SWIGTYPE_p_wxHtmlSelection swig_types[82]
2549 #define SWIGTYPE_p_wxHtmlTag swig_types[83]
2550 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[84]
2551 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[85]
2552 #define SWIGTYPE_p_wxHtmlWinParser swig_types[86]
2553 #define SWIGTYPE_p_wxHtmlWindow 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_wxSingleChoiceDialog swig_types[174]
2641 #define SWIGTYPE_p_wxSize swig_types[175]
2642 #define SWIGTYPE_p_wxSizeEvent swig_types[176]
2643 #define SWIGTYPE_p_wxSizer swig_types[177]
2644 #define SWIGTYPE_p_wxSizerItem swig_types[178]
2645 #define SWIGTYPE_p_wxSplashScreen swig_types[179]
2646 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[180]
2647 #define SWIGTYPE_p_wxSplitterEvent swig_types[181]
2648 #define SWIGTYPE_p_wxSplitterWindow swig_types[182]
2649 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[183]
2650 #define SWIGTYPE_p_wxStatusBar swig_types[184]
2651 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[185]
2652 #define SWIGTYPE_p_wxString swig_types[186]
2653 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[187]
2654 #define SWIGTYPE_p_wxTGAHandler swig_types[188]
2655 #define SWIGTYPE_p_wxTIFFHandler swig_types[189]
2656 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[190]
2657 #define SWIGTYPE_p_wxTextEntryDialog swig_types[191]
2658 #define SWIGTYPE_p_wxTipWindow swig_types[192]
2659 #define SWIGTYPE_p_wxTopLevelWindow swig_types[193]
2660 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[194]
2661 #define SWIGTYPE_p_wxValidator swig_types[195]
2662 #define SWIGTYPE_p_wxVisualAttributes swig_types[196]
2663 #define SWIGTYPE_p_wxWindow swig_types[197]
2664 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[198]
2665 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[199]
2666 #define SWIGTYPE_p_wxXPMHandler swig_types[200]
2667 static swig_type_info
*swig_types
[202];
2668 static swig_module_info swig_module
= {swig_types
, 201, 0, 0, 0, 0};
2669 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2670 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2672 /* -------- TYPES TABLE (END) -------- */
2674 #if (PY_VERSION_HEX <= 0x02000000)
2675 # if !defined(SWIG_PYTHON_CLASSIC)
2676 # error "This python version requires to use swig with the '-classic' option"
2679 #if (PY_VERSION_HEX <= 0x02020000)
2680 # error "This python version requires to use swig with the '-nomodern' option"
2682 #if (PY_VERSION_HEX <= 0x02020000)
2683 # error "This python version requires to use swig with the '-nomodernargs' option"
2686 # error "This python version requires to use swig with the '-nofastunpack' option"
2689 /*-----------------------------------------------
2690 @(target):= _html.so
2691 ------------------------------------------------*/
2692 #define SWIG_init init_html
2694 #define SWIG_name "_html"
2696 #define SWIGVERSION 0x010329
2699 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2700 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2703 #include <stdexcept>
2707 class PyObject_ptr
{
2712 PyObject_ptr() :_obj(0)
2716 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2721 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2723 if (initial_ref
) Py_XINCREF(_obj
);
2726 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2728 Py_XINCREF(item
._obj
);
2739 operator PyObject
*() const
2744 PyObject
*operator->() const
2753 struct PyObject_var
: PyObject_ptr
{
2754 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2756 PyObject_var
& operator = (PyObject
* obj
)
2766 #include "wx/wxPython/wxPython.h"
2767 #include "wx/wxPython/pyclasses.h"
2768 #include "wx/wxPython/pyistream.h"
2769 #include "wx/wxPython/printfw.h"
2771 #include <wx/html/htmlwin.h>
2772 #include <wx/html/htmprint.h>
2773 #include <wx/html/helpctrl.h>
2774 #include <wx/html/helpwnd.h>
2775 #include <wx/html/helpfrm.h>
2776 #include <wx/html/helpdlg.h>
2779 static const wxString
wxPyEmptyString(wxEmptyString
);
2780 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2781 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2782 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2784 #define SWIG_From_long PyInt_FromLong
2787 SWIGINTERNINLINE PyObject
*
2788 SWIG_From_int (int value
)
2790 return SWIG_From_long (value
);
2796 # define LLONG_MIN LONG_LONG_MIN
2799 # define LLONG_MAX LONG_LONG_MAX
2802 # define ULLONG_MAX ULONG_LONG_MAX
2807 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyInt_AsLong(obj
);
2813 return SWIG_TypeError
;
2818 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2821 int res
= SWIG_AsVal_long (obj
, &v
);
2822 if (SWIG_IsOK(res
)) {
2823 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2824 return SWIG_OverflowError
;
2826 if (val
) *val
= static_cast< int >(v
);
2832 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2834 if (sizes
) temp
= int_LIST_helper(sizes
);
2835 self
->SetFonts(normal_face
, fixed_face
, temp
);
2840 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2841 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2843 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2845 wxHtmlParser
* GetParser() { return m_Parser
; }
2846 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2848 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2849 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2854 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2856 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2857 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2860 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2861 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2863 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2865 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2866 void ParseInner(const wxHtmlTag
& tag
)
2867 { wxHtmlWinTagHandler::ParseInner(tag
); }
2869 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2870 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2875 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2877 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2878 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2882 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2884 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2885 m_tagHandlerClass
= thc
;
2886 Py_INCREF(m_tagHandlerClass
);
2887 RegisterModule(this);
2888 wxHtmlWinParser::AddModule(this);
2892 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2893 Py_DECREF(m_tagHandlerClass
);
2894 m_tagHandlerClass
= NULL
;
2895 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2896 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2899 wxPyEndBlockThreads(blocked
);
2902 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2903 // Wave our magic wand... (if it works it's a miracle! ;-)
2905 // First, make a new instance of the tag handler
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 PyObject
* arg
= PyTuple_New(0);
2908 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2911 // now figure out where it's C++ object is...
2912 wxPyHtmlWinTagHandler
* thPtr
;
2913 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2914 wxPyEndBlockThreads(blocked
);
2917 wxPyEndBlockThreads(blocked
);
2920 parser
->AddTagHandler(thPtr
);
2923 m_objArray
.Add(obj
);
2927 PyObject
* m_tagHandlerClass
;
2928 wxArrayPtrVoid m_objArray
;
2933 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2934 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2935 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2936 new wxPyHtmlTagsModule(tagHandlerClass
);
2940 SWIGINTERNINLINE PyObject
*
2941 SWIG_From_bool (bool value
)
2943 return PyBool_FromLong(value
? 1 : 0);
2948 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2950 if (obj
== Py_True
) {
2951 if (val
) *val
= true;
2953 } else if (obj
== Py_False
) {
2954 if (val
) *val
= false;
2958 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2959 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2966 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2969 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2970 return SWIG_TypeError
;
2973 *val
= (unsigned long)v
;
2979 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2982 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2983 if (SWIG_IsOK(res
)) {
2984 if ((v
> UINT_MAX
)) {
2985 return SWIG_OverflowError
;
2987 if (val
) *val
= static_cast< unsigned int >(v
);
2994 SWIGINTERNINLINE PyObject
*
2995 SWIG_From_unsigned_SS_long (unsigned long value
)
2997 return (value
> LONG_MAX
) ?
2998 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3002 SWIGINTERNINLINE PyObject
*
3003 SWIG_From_unsigned_SS_int (unsigned int value
)
3005 return SWIG_From_unsigned_SS_long (value
);
3008 // here's the C++ version
3009 class wxPyHtmlFilter
: public wxHtmlFilter
{
3010 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3012 wxPyHtmlFilter() : wxHtmlFilter() {}
3014 // returns True if this filter is able to open&read given file
3015 virtual bool CanRead(const wxFSFile
& file
) const {
3018 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3019 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3020 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3021 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3024 wxPyEndBlockThreads(blocked
);
3029 // Reads given file and returns HTML document.
3030 // Returns empty string if opening failed
3031 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3034 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3035 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3036 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3038 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3041 rval
= Py2wxString(ro
);
3045 wxPyEndBlockThreads(blocked
);
3052 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3055 class wxPyHtmlWindow
: public wxHtmlWindow
{
3056 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3058 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3059 const wxPoint
& pos
= wxDefaultPosition
,
3060 const wxSize
& size
= wxDefaultSize
,
3061 long style
= wxHW_DEFAULT_STYLE
,
3062 const wxString
& name
= wxPyHtmlWindowNameStr
)
3063 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3064 wxPyHtmlWindow() : wxHtmlWindow() {};
3066 bool ScrollToAnchor(const wxString
& anchor
) {
3067 return wxHtmlWindow::ScrollToAnchor(anchor
);
3070 bool HasAnchor(const wxString
& anchor
) {
3071 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3075 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3077 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3078 const wxString
& url
,
3079 wxString
*redirect
) const;
3081 DEC_PYCALLBACK__STRING(OnSetTitle
);
3082 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3083 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3088 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3089 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3090 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3091 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3094 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3098 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3099 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3102 wxPyEndBlockThreads(blocked
);
3104 wxHtmlWindow::OnLinkClicked(link
);
3108 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3109 const wxString
& url
,
3110 wxString
*redirect
) const {
3112 wxHtmlOpeningStatus rval
;
3113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3114 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3116 PyObject
* s
= wx2PyString(url
);
3117 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3119 if (PyString_Check(ro
)
3120 #if PYTHON_API_VERSION >= 1009
3121 || PyUnicode_Check(ro
)
3124 *redirect
= Py2wxString(ro
);
3125 rval
= wxHTML_REDIRECT
;
3128 PyObject
* num
= PyNumber_Int(ro
);
3129 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3134 wxPyEndBlockThreads(blocked
);
3136 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3142 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3144 if (sizes
) temp
= int_LIST_helper(sizes
);
3145 self
->SetFonts(normal_face
, fixed_face
, temp
);
3149 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3151 if (sizes
) temp
= int_LIST_helper(sizes
);
3152 self
->SetFonts(normal_face
, fixed_face
, temp
);
3156 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3158 if (sizes
) temp
= int_LIST_helper(sizes
);
3159 self
->SetFonts(normal_face
, fixed_face
, temp
);
3168 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3170 if (PyNumber_Check(obj
)) {
3171 if (val
) *val
= PyFloat_AsDouble(obj
);
3174 return SWIG_TypeError
;
3179 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3182 int res
= SWIG_AsVal_double (obj
, &v
);
3183 if (SWIG_IsOK(res
)) {
3184 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3185 return SWIG_OverflowError
;
3187 if (val
) *val
= static_cast< float >(v
);
3193 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3195 if (sizes
) temp
= int_LIST_helper(sizes
);
3196 self
->SetFonts(normal_face
, fixed_face
, temp
);
3201 typedef wxTreeCtrl wxPyTreeCtrl
;
3206 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3207 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3212 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3213 PyObject
*pyobj
= 0;
3217 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3219 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3226 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3227 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3232 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3233 PyObject
*pyobj
= 0;
3237 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3239 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3246 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3247 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3252 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3253 PyObject
*pyobj
= 0;
3257 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3259 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3266 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
= 0;
3268 wxString
*arg1
= 0 ;
3269 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3270 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3271 wxHtmlLinkInfo
*result
= 0 ;
3272 bool temp1
= false ;
3273 bool temp2
= false ;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 char * kwnames
[] = {
3277 (char *) "href",(char *) "target", NULL
3280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3282 arg1
= wxString_in_helper(obj0
);
3283 if (arg1
== NULL
) SWIG_fail
;
3288 arg2
= wxString_in_helper(obj1
);
3289 if (arg2
== NULL
) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3322 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3323 PyObject
*resultobj
= 0;
3324 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3328 PyObject
*swig_obj
[1] ;
3330 if (!args
) SWIG_fail
;
3332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3333 if (!SWIG_IsOK(res1
)) {
3334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3336 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (arg1
)->GetHref();
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3356 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3357 PyObject
*resultobj
= 0;
3358 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3362 PyObject
*swig_obj
[1] ;
3364 if (!args
) SWIG_fail
;
3366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3367 if (!SWIG_IsOK(res1
)) {
3368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3370 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (arg1
)->GetTarget();
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3390 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3391 PyObject
*resultobj
= 0;
3392 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3393 wxMouseEvent
*result
= 0 ;
3396 PyObject
*swig_obj
[1] ;
3398 if (!args
) SWIG_fail
;
3400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3401 if (!SWIG_IsOK(res1
)) {
3402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3404 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= wxPyMake_wxObject(result
, 0);
3420 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3421 PyObject
*resultobj
= 0;
3422 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3423 wxHtmlCell
*result
= 0 ;
3426 PyObject
*swig_obj
[1] ;
3428 if (!args
) SWIG_fail
;
3430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3431 if (!SWIG_IsOK(res1
)) {
3432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3434 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3448 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
= 0;
3450 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3451 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3458 char * kwnames
[] = {
3459 (char *) "self",(char *) "e", NULL
3462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3464 if (!SWIG_IsOK(res1
)) {
3465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3467 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3469 if (!SWIG_IsOK(res2
)) {
3470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3472 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= SWIG_Py_Void();
3486 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
= 0;
3488 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3489 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3495 PyObject
* obj1
= 0 ;
3496 char * kwnames
[] = {
3497 (char *) "self",(char *) "e", NULL
3500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3502 if (!SWIG_IsOK(res1
)) {
3503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3505 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3507 if (!SWIG_IsOK(res2
)) {
3508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3510 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 resultobj
= SWIG_Py_Void();
3524 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3527 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3528 return SWIG_Py_Void();
3531 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3532 return SWIG_Python_InitShadowInstance(args
);
3535 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3536 PyObject
*resultobj
= 0;
3537 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3541 PyObject
*swig_obj
[1] ;
3543 if (!args
) SWIG_fail
;
3545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3546 if (!SWIG_IsOK(res1
)) {
3547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3549 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (arg1
)->GetName();
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3569 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
= 0;
3571 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3572 wxString
*arg2
= 0 ;
3576 bool temp2
= false ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3579 char * kwnames
[] = {
3580 (char *) "self",(char *) "par", NULL
3583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3585 if (!SWIG_IsOK(res1
)) {
3586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3588 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3590 arg2
= wxString_in_helper(obj1
);
3591 if (arg2
== NULL
) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3617 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
= 0;
3619 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3620 wxString
*arg2
= 0 ;
3621 int arg3
= (int) false ;
3625 bool temp2
= false ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3630 PyObject
* obj2
= 0 ;
3631 char * kwnames
[] = {
3632 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3637 if (!SWIG_IsOK(res1
)) {
3638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3640 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3642 arg2
= wxString_in_helper(obj1
);
3643 if (arg2
== NULL
) SWIG_fail
;
3647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3648 if (!SWIG_IsOK(ecode3
)) {
3649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3651 arg3
= static_cast< int >(val3
);
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3680 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3681 PyObject
*resultobj
= 0;
3682 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3686 PyObject
*swig_obj
[1] ;
3688 if (!args
) SWIG_fail
;
3690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3691 if (!SWIG_IsOK(res1
)) {
3692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3694 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 result
= (arg1
)->GetAllParams();
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3714 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3715 PyObject
*resultobj
= 0;
3716 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3720 PyObject
*swig_obj
[1] ;
3722 if (!args
) SWIG_fail
;
3724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3725 if (!SWIG_IsOK(res1
)) {
3726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3728 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 result
= (bool)(arg1
)->HasEnding();
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3744 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3745 PyObject
*resultobj
= 0;
3746 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3750 PyObject
*swig_obj
[1] ;
3752 if (!args
) SWIG_fail
;
3754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3755 if (!SWIG_IsOK(res1
)) {
3756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3758 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 result
= (int)(arg1
)->GetBeginPos();
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_From_int(static_cast< int >(result
));
3772 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3773 PyObject
*resultobj
= 0;
3774 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3778 PyObject
*swig_obj
[1] ;
3780 if (!args
) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3786 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 result
= (int)(arg1
)->GetEndPos1();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= SWIG_From_int(static_cast< int >(result
));
3800 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3801 PyObject
*resultobj
= 0;
3802 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3806 PyObject
*swig_obj
[1] ;
3808 if (!args
) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3814 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (int)(arg1
)->GetEndPos2();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_From_int(static_cast< int >(result
));
3828 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3831 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3832 return SWIG_Py_Void();
3835 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
= 0;
3837 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3838 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3843 PyObject
* obj0
= 0 ;
3844 PyObject
* obj1
= 0 ;
3845 char * kwnames
[] = {
3846 (char *) "self",(char *) "fs", NULL
3849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3851 if (!SWIG_IsOK(res1
)) {
3852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3854 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3856 if (!SWIG_IsOK(res2
)) {
3857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3859 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 (arg1
)->SetFS(arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= SWIG_Py_Void();
3873 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3874 PyObject
*resultobj
= 0;
3875 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3876 wxFileSystem
*result
= 0 ;
3879 PyObject
*swig_obj
[1] ;
3881 if (!args
) SWIG_fail
;
3883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3884 if (!SWIG_IsOK(res1
)) {
3885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3887 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 result
= (wxFileSystem
*)(arg1
)->GetFS();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3895 resultobj
= wxPyMake_wxObject(result
, 0);
3903 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
= 0;
3905 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3906 wxString
*arg2
= 0 ;
3907 wxObject
*result
= 0 ;
3910 bool temp2
= false ;
3911 PyObject
* obj0
= 0 ;
3912 PyObject
* obj1
= 0 ;
3913 char * kwnames
[] = {
3914 (char *) "self",(char *) "source", NULL
3917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3919 if (!SWIG_IsOK(res1
)) {
3920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3922 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3924 arg2
= wxString_in_helper(obj1
);
3925 if (arg2
== NULL
) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3951 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
= 0;
3953 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3954 wxString
*arg2
= 0 ;
3957 bool temp2
= false ;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3960 char * kwnames
[] = {
3961 (char *) "self",(char *) "source", NULL
3964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3966 if (!SWIG_IsOK(res1
)) {
3967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3969 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3971 arg2
= wxString_in_helper(obj1
);
3972 if (arg2
== NULL
) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 (arg1
)->InitParser((wxString
const &)*arg2
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= SWIG_Py_Void();
3996 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3997 PyObject
*resultobj
= 0;
3998 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4001 PyObject
*swig_obj
[1] ;
4003 if (!args
) SWIG_fail
;
4005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4006 if (!SWIG_IsOK(res1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4009 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 (arg1
)->DoneParser();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_Py_Void();
4023 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
= 0;
4025 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4036 PyObject
* obj2
= 0 ;
4037 char * kwnames
[] = {
4038 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4043 if (!SWIG_IsOK(res1
)) {
4044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4046 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4048 if (!SWIG_IsOK(ecode2
)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4051 arg2
= static_cast< int >(val2
);
4052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4053 if (!SWIG_IsOK(ecode3
)) {
4054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4056 arg3
= static_cast< int >(val3
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 (arg1
)->DoParsing(arg2
,arg3
);
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_Py_Void();
4070 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4071 PyObject
*resultobj
= 0;
4072 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4083 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 (arg1
)->StopParsing();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_Py_Void();
4097 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
= 0;
4099 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4100 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4107 char * kwnames
[] = {
4108 (char *) "self",(char *) "handler", NULL
4111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4113 if (!SWIG_IsOK(res1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4116 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4118 if (!SWIG_IsOK(res2
)) {
4119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4121 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->AddTagHandler(arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_Py_Void();
4135 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4136 PyObject
*resultobj
= 0;
4137 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4138 wxString
*result
= 0 ;
4141 PyObject
*swig_obj
[1] ;
4143 if (!args
) SWIG_fail
;
4145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4146 if (!SWIG_IsOK(res1
)) {
4147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4149 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (wxString
*)(arg1
)->GetSource();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4160 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4169 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
= 0;
4171 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4172 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4180 PyObject
* obj2
= 0 ;
4181 char * kwnames
[] = {
4182 (char *) "self",(char *) "handler",(char *) "tags", NULL
4185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4187 if (!SWIG_IsOK(res1
)) {
4188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4190 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4192 if (!SWIG_IsOK(res2
)) {
4193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4195 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4197 wxString
* sptr
= wxString_in_helper(obj2
);
4198 if (sptr
== NULL
) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 (arg1
)->PushTagHandler(arg2
,arg3
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4208 resultobj
= SWIG_Py_Void();
4215 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4216 PyObject
*resultobj
= 0;
4217 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4220 PyObject
*swig_obj
[1] ;
4222 if (!args
) SWIG_fail
;
4224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4225 if (!SWIG_IsOK(res1
)) {
4226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4228 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 (arg1
)->PopTagHandler();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_Py_Void();
4242 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
= 0;
4244 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4245 wxHtmlTag
*arg2
= 0 ;
4251 PyObject
* obj0
= 0 ;
4252 PyObject
* obj1
= 0 ;
4253 char * kwnames
[] = {
4254 (char *) "self",(char *) "tag", NULL
4257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4259 if (!SWIG_IsOK(res1
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4262 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4264 if (!SWIG_IsOK(res2
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4270 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4290 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4293 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4294 return SWIG_Py_Void();
4297 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
= 0;
4299 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4300 wxHtmlWinParser
*result
= 0 ;
4303 PyObject
* obj0
= 0 ;
4304 char * kwnames
[] = {
4305 (char *) "wnd", NULL
4308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4311 if (!SWIG_IsOK(res1
)) {
4312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4314 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4329 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
= 0;
4331 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4332 wxDC
*arg2
= (wxDC
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4339 char * kwnames
[] = {
4340 (char *) "self",(char *) "dc", NULL
4343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4345 if (!SWIG_IsOK(res1
)) {
4346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4348 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4350 if (!SWIG_IsOK(res2
)) {
4351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4353 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 (arg1
)->SetDC(arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_Py_Void();
4367 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4368 PyObject
*resultobj
= 0;
4369 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4373 PyObject
*swig_obj
[1] ;
4375 if (!args
) SWIG_fail
;
4377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4378 if (!SWIG_IsOK(res1
)) {
4379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4381 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 result
= (wxDC
*)(arg1
)->GetDC();
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4397 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4398 PyObject
*resultobj
= 0;
4399 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4403 PyObject
*swig_obj
[1] ;
4405 if (!args
) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4411 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (int)(arg1
)->GetCharHeight();
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_From_int(static_cast< int >(result
));
4425 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4426 PyObject
*resultobj
= 0;
4427 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4431 PyObject
*swig_obj
[1] ;
4433 if (!args
) SWIG_fail
;
4435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4436 if (!SWIG_IsOK(res1
)) {
4437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4439 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (int)(arg1
)->GetCharWidth();
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_From_int(static_cast< int >(result
));
4453 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4454 PyObject
*resultobj
= 0;
4455 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4456 wxPyHtmlWindow
*result
= 0 ;
4459 PyObject
*swig_obj
[1] ;
4461 if (!args
) SWIG_fail
;
4463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4464 if (!SWIG_IsOK(res1
)) {
4465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4467 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4483 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4484 PyObject
*resultobj
= 0;
4485 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4486 wxHtmlWindowInterface
*result
= 0 ;
4489 PyObject
*swig_obj
[1] ;
4491 if (!args
) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4497 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4511 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
= 0;
4513 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4516 PyObject
*arg4
= (PyObject
*) NULL
;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4521 PyObject
* obj2
= 0 ;
4522 PyObject
* obj3
= 0 ;
4523 char * kwnames
[] = {
4524 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4529 if (!SWIG_IsOK(res1
)) {
4530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4532 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4534 wxString
* sptr
= wxString_in_helper(obj1
);
4535 if (sptr
== NULL
) SWIG_fail
;
4540 wxString
* sptr
= wxString_in_helper(obj2
);
4541 if (sptr
== NULL
) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4561 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= 0;
4563 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4564 int arg2
= (int) -1 ;
4565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4573 bool temp3
= false ;
4574 bool temp4
= false ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4577 PyObject
* obj2
= 0 ;
4578 PyObject
* obj3
= 0 ;
4579 char * kwnames
[] = {
4580 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4585 if (!SWIG_IsOK(res1
)) {
4586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4588 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4591 if (!SWIG_IsOK(ecode2
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4594 arg2
= static_cast< int >(val2
);
4598 arg3
= wxString_in_helper(obj2
);
4599 if (arg3
== NULL
) SWIG_fail
;
4605 arg4
= wxString_in_helper(obj3
);
4606 if (arg4
== NULL
) SWIG_fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_Py_Void();
4639 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4640 PyObject
*resultobj
= 0;
4641 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4642 wxHtmlContainerCell
*result
= 0 ;
4645 PyObject
*swig_obj
[1] ;
4647 if (!args
) SWIG_fail
;
4649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4650 if (!SWIG_IsOK(res1
)) {
4651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4653 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4667 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4668 PyObject
*resultobj
= 0;
4669 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4670 wxHtmlContainerCell
*result
= 0 ;
4673 PyObject
*swig_obj
[1] ;
4675 if (!args
) SWIG_fail
;
4677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4678 if (!SWIG_IsOK(res1
)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4681 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4695 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
= 0;
4697 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4698 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4699 wxHtmlContainerCell
*result
= 0 ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4706 char * kwnames
[] = {
4707 (char *) "self",(char *) "c", NULL
4710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4715 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4717 if (!SWIG_IsOK(res2
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4720 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4734 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4735 PyObject
*resultobj
= 0;
4736 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4737 wxHtmlContainerCell
*result
= 0 ;
4740 PyObject
*swig_obj
[1] ;
4742 if (!args
) SWIG_fail
;
4744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4745 if (!SWIG_IsOK(res1
)) {
4746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4748 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4762 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4763 PyObject
*resultobj
= 0;
4764 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4768 PyObject
*swig_obj
[1] ;
4770 if (!args
) SWIG_fail
;
4772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4773 if (!SWIG_IsOK(res1
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4776 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (int)(arg1
)->GetFontSize();
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_From_int(static_cast< int >(result
));
4790 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
= 0;
4792 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 char * kwnames
[] = {
4801 (char *) "self",(char *) "s", NULL
4804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4806 if (!SWIG_IsOK(res1
)) {
4807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4809 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4811 if (!SWIG_IsOK(ecode2
)) {
4812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4814 arg2
= static_cast< int >(val2
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 (arg1
)->SetFontSize(arg2
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_Py_Void();
4828 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4829 PyObject
*resultobj
= 0;
4830 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4834 PyObject
*swig_obj
[1] ;
4836 if (!args
) SWIG_fail
;
4838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4839 if (!SWIG_IsOK(res1
)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4842 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (int)(arg1
)->GetFontBold();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_From_int(static_cast< int >(result
));
4856 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
= 0;
4858 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4866 char * kwnames
[] = {
4867 (char *) "self",(char *) "x", NULL
4870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4872 if (!SWIG_IsOK(res1
)) {
4873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4875 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4877 if (!SWIG_IsOK(ecode2
)) {
4878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4880 arg2
= static_cast< int >(val2
);
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 (arg1
)->SetFontBold(arg2
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_Py_Void();
4894 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4895 PyObject
*resultobj
= 0;
4896 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4900 PyObject
*swig_obj
[1] ;
4902 if (!args
) SWIG_fail
;
4904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4905 if (!SWIG_IsOK(res1
)) {
4906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4908 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (int)(arg1
)->GetFontItalic();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_From_int(static_cast< int >(result
));
4922 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
= 0;
4924 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4932 char * kwnames
[] = {
4933 (char *) "self",(char *) "x", NULL
4936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4938 if (!SWIG_IsOK(res1
)) {
4939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4941 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4943 if (!SWIG_IsOK(ecode2
)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4946 arg2
= static_cast< int >(val2
);
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 (arg1
)->SetFontItalic(arg2
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_Py_Void();
4960 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4961 PyObject
*resultobj
= 0;
4962 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4966 PyObject
*swig_obj
[1] ;
4968 if (!args
) SWIG_fail
;
4970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4971 if (!SWIG_IsOK(res1
)) {
4972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4974 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (int)(arg1
)->GetFontUnderlined();
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= SWIG_From_int(static_cast< int >(result
));
4988 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
= 0;
4990 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 char * kwnames
[] = {
4999 (char *) "self",(char *) "x", NULL
5002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5007 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5009 if (!SWIG_IsOK(ecode2
)) {
5010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5012 arg2
= static_cast< int >(val2
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 (arg1
)->SetFontUnderlined(arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= SWIG_Py_Void();
5026 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5027 PyObject
*resultobj
= 0;
5028 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5032 PyObject
*swig_obj
[1] ;
5034 if (!args
) SWIG_fail
;
5036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5037 if (!SWIG_IsOK(res1
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5040 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (int)(arg1
)->GetFontFixed();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_From_int(static_cast< int >(result
));
5054 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
= 0;
5056 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 char * kwnames
[] = {
5065 (char *) "self",(char *) "x", NULL
5068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5070 if (!SWIG_IsOK(res1
)) {
5071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5073 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5075 if (!SWIG_IsOK(ecode2
)) {
5076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5078 arg2
= static_cast< int >(val2
);
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 (arg1
)->SetFontFixed(arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_Py_Void();
5092 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5093 PyObject
*resultobj
= 0;
5094 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5098 PyObject
*swig_obj
[1] ;
5100 if (!args
) SWIG_fail
;
5102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5103 if (!SWIG_IsOK(res1
)) {
5104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5106 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 result
= (int)(arg1
)->GetAlign();
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= SWIG_From_int(static_cast< int >(result
));
5120 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= 0;
5122 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 char * kwnames
[] = {
5131 (char *) "self",(char *) "a", NULL
5134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5136 if (!SWIG_IsOK(res1
)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5139 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5141 if (!SWIG_IsOK(ecode2
)) {
5142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5144 arg2
= static_cast< int >(val2
);
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 (arg1
)->SetAlign(arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_Py_Void();
5158 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5159 PyObject
*resultobj
= 0;
5160 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5164 PyObject
*swig_obj
[1] ;
5166 if (!args
) SWIG_fail
;
5168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5169 if (!SWIG_IsOK(res1
)) {
5170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5172 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (arg1
)->GetLinkColor();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5186 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
= 0;
5188 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5189 wxColour
*arg2
= 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "self",(char *) "clr", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5204 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_Py_Void();
5222 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5223 PyObject
*resultobj
= 0;
5224 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5228 PyObject
*swig_obj
[1] ;
5230 if (!args
) SWIG_fail
;
5232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5233 if (!SWIG_IsOK(res1
)) {
5234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5236 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (arg1
)->GetActualColor();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5250 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5253 wxColour
*arg2
= 0 ;
5257 PyObject
* obj0
= 0 ;
5258 PyObject
* obj1
= 0 ;
5259 char * kwnames
[] = {
5260 (char *) "self",(char *) "clr", NULL
5263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5265 if (!SWIG_IsOK(res1
)) {
5266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5268 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5271 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_Py_Void();
5286 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= 0;
5288 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5289 wxString
*arg2
= 0 ;
5292 bool temp2
= false ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "link", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5304 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5306 arg2
= wxString_in_helper(obj1
);
5307 if (arg2
== NULL
) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->SetLink((wxString
const &)*arg2
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= SWIG_Py_Void();
5331 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5332 PyObject
*resultobj
= 0;
5333 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5334 wxFont
*result
= 0 ;
5337 PyObject
*swig_obj
[1] ;
5339 if (!args
) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5345 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5359 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5360 PyObject
*resultobj
= 0;
5361 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5362 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5365 PyObject
*swig_obj
[1] ;
5367 if (!args
) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5373 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (arg1
)->GetLink();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5387 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5390 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5391 return SWIG_Py_Void();
5394 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5395 return SWIG_Python_InitShadowInstance(args
);
5398 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5399 PyObject
*resultobj
= 0;
5400 wxPyHtmlTagHandler
*result
= 0 ;
5402 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5416 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
= 0;
5418 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5419 PyObject
*arg2
= (PyObject
*) 0 ;
5420 PyObject
*arg3
= (PyObject
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "self",(char *) "self",(char *) "_class", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5432 if (!SWIG_IsOK(res1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5435 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_Py_Void();
5451 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
= 0;
5453 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5454 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5461 char * kwnames
[] = {
5462 (char *) "self",(char *) "parser", NULL
5465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5467 if (!SWIG_IsOK(res1
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5470 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5472 if (!SWIG_IsOK(res2
)) {
5473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5475 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 (arg1
)->SetParser(arg2
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_Py_Void();
5489 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5490 PyObject
*resultobj
= 0;
5491 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5492 wxHtmlParser
*result
= 0 ;
5495 PyObject
*swig_obj
[1] ;
5497 if (!args
) SWIG_fail
;
5499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5500 if (!SWIG_IsOK(res1
)) {
5501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5503 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5517 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
= 0;
5519 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5520 wxHtmlTag
*arg2
= 0 ;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5527 char * kwnames
[] = {
5528 (char *) "self",(char *) "tag", NULL
5531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5533 if (!SWIG_IsOK(res1
)) {
5534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5536 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5538 if (!SWIG_IsOK(res2
)) {
5539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5544 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= SWIG_Py_Void();
5558 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5561 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5562 return SWIG_Py_Void();
5565 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5566 return SWIG_Python_InitShadowInstance(args
);
5569 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5570 PyObject
*resultobj
= 0;
5571 wxPyHtmlWinTagHandler
*result
= 0 ;
5573 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5587 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
= 0;
5589 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5590 PyObject
*arg2
= (PyObject
*) 0 ;
5591 PyObject
*arg3
= (PyObject
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 PyObject
* obj2
= 0 ;
5597 char * kwnames
[] = {
5598 (char *) "self",(char *) "self",(char *) "_class", NULL
5601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5603 if (!SWIG_IsOK(res1
)) {
5604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5606 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_Py_Void();
5622 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
= 0;
5624 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5625 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5632 char * kwnames
[] = {
5633 (char *) "self",(char *) "parser", NULL
5636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5641 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5643 if (!SWIG_IsOK(res2
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5646 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 (arg1
)->SetParser(arg2
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_Py_Void();
5660 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5661 PyObject
*resultobj
= 0;
5662 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5663 wxHtmlWinParser
*result
= 0 ;
5666 PyObject
*swig_obj
[1] ;
5668 if (!args
) SWIG_fail
;
5670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5671 if (!SWIG_IsOK(res1
)) {
5672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5674 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5688 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
= 0;
5690 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5691 wxHtmlTag
*arg2
= 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5698 char * kwnames
[] = {
5699 (char *) "self",(char *) "tag", NULL
5702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5704 if (!SWIG_IsOK(res1
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5707 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5709 if (!SWIG_IsOK(res2
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5715 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= SWIG_Py_Void();
5729 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5732 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5733 return SWIG_Py_Void();
5736 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5737 return SWIG_Python_InitShadowInstance(args
);
5740 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
= 0;
5742 PyObject
*arg1
= (PyObject
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 char * kwnames
[] = {
5745 (char *) "tagHandlerClass", NULL
5748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 wxHtmlWinParser_AddTagHandler(arg1
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= SWIG_Py_Void();
5763 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5764 PyObject
*resultobj
= 0;
5765 wxHtmlSelection
*result
= 0 ;
5767 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5781 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5782 PyObject
*resultobj
= 0;
5783 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5786 PyObject
*swig_obj
[1] ;
5788 if (!args
) SWIG_fail
;
5790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5791 if (!SWIG_IsOK(res1
)) {
5792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5794 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_Py_Void();
5809 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
= 0;
5811 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5813 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5815 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5826 PyObject
* obj2
= 0 ;
5827 PyObject
* obj3
= 0 ;
5828 PyObject
* obj4
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5838 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5843 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5844 if (!SWIG_IsOK(res3
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5847 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5852 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5853 if (!SWIG_IsOK(res5
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5856 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_Py_Void();
5870 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5872 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5873 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5874 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5884 char * kwnames
[] = {
5885 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5893 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5895 if (!SWIG_IsOK(res2
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5898 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5899 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5900 if (!SWIG_IsOK(res3
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5903 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= SWIG_Py_Void();
5917 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5918 PyObject
*resultobj
= 0;
5919 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5920 wxHtmlCell
*result
= 0 ;
5923 PyObject
*swig_obj
[1] ;
5925 if (!args
) SWIG_fail
;
5927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5928 if (!SWIG_IsOK(res1
)) {
5929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5931 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= wxPyMake_wxObject(result
, 0);
5947 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5948 PyObject
*resultobj
= 0;
5949 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5950 wxHtmlCell
*result
= 0 ;
5953 PyObject
*swig_obj
[1] ;
5955 if (!args
) SWIG_fail
;
5957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5958 if (!SWIG_IsOK(res1
)) {
5959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5961 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= wxPyMake_wxObject(result
, 0);
5977 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5978 PyObject
*resultobj
= 0;
5979 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5980 wxPoint
*result
= 0 ;
5983 PyObject
*swig_obj
[1] ;
5985 if (!args
) SWIG_fail
;
5987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5988 if (!SWIG_IsOK(res1
)) {
5989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5991 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5996 result
= (wxPoint
*) &_result_ref
;
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6008 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6009 PyObject
*resultobj
= 0;
6010 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6011 wxPoint
*result
= 0 ;
6014 PyObject
*swig_obj
[1] ;
6016 if (!args
) SWIG_fail
;
6018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6019 if (!SWIG_IsOK(res1
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6022 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6027 result
= (wxPoint
*) &_result_ref
;
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6039 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6040 PyObject
*resultobj
= 0;
6041 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6042 wxPoint
*result
= 0 ;
6045 PyObject
*swig_obj
[1] ;
6047 if (!args
) SWIG_fail
;
6049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6050 if (!SWIG_IsOK(res1
)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6053 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6058 result
= (wxPoint
*) &_result_ref
;
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6070 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6071 PyObject
*resultobj
= 0;
6072 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6073 wxPoint
*result
= 0 ;
6076 PyObject
*swig_obj
[1] ;
6078 if (!args
) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6084 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6089 result
= (wxPoint
*) &_result_ref
;
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6101 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
= 0;
6103 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6110 char * kwnames
[] = {
6111 (char *) "self",(char *) "pos", NULL
6114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6116 if (!SWIG_IsOK(res1
)) {
6117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6119 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_Py_Void();
6137 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6139 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "self",(char *) "pos", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6155 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= SWIG_Py_Void();
6173 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6174 PyObject
*resultobj
= 0;
6175 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6178 PyObject
*swig_obj
[1] ;
6180 if (!args
) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6186 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->ClearPrivPos();
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_Py_Void();
6200 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6201 PyObject
*resultobj
= 0;
6202 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6206 PyObject
*swig_obj
[1] ;
6208 if (!args
) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6214 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6228 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6231 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6232 return SWIG_Py_Void();
6235 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6236 return SWIG_Python_InitShadowInstance(args
);
6239 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 PyObject
*resultobj
= 0;
6241 wxHtmlRenderingState
*result
= 0 ;
6243 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6257 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6258 PyObject
*resultobj
= 0;
6259 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6262 PyObject
*swig_obj
[1] ;
6264 if (!args
) SWIG_fail
;
6266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6267 if (!SWIG_IsOK(res1
)) {
6268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6270 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_Py_Void();
6285 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
= 0;
6287 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6288 wxHtmlSelectionState arg2
;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 char * kwnames
[] = {
6296 (char *) "self",(char *) "s", NULL
6299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6304 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6306 if (!SWIG_IsOK(ecode2
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6309 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 (arg1
)->SetSelectionState(arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_Py_Void();
6323 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6324 PyObject
*resultobj
= 0;
6325 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6326 wxHtmlSelectionState result
;
6329 PyObject
*swig_obj
[1] ;
6331 if (!args
) SWIG_fail
;
6333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6334 if (!SWIG_IsOK(res1
)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6337 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= SWIG_From_int(static_cast< int >(result
));
6351 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
= 0;
6353 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6354 wxColour
*arg2
= 0 ;
6358 PyObject
* obj0
= 0 ;
6359 PyObject
* obj1
= 0 ;
6360 char * kwnames
[] = {
6361 (char *) "self",(char *) "c", NULL
6364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6366 if (!SWIG_IsOK(res1
)) {
6367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6369 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6372 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_Py_Void();
6387 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6388 PyObject
*resultobj
= 0;
6389 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6390 wxColour
*result
= 0 ;
6393 PyObject
*swig_obj
[1] ;
6395 if (!args
) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6401 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6406 result
= (wxColour
*) &_result_ref
;
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6418 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
= 0;
6420 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6421 wxColour
*arg2
= 0 ;
6425 PyObject
* obj0
= 0 ;
6426 PyObject
* obj1
= 0 ;
6427 char * kwnames
[] = {
6428 (char *) "self",(char *) "c", NULL
6431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6433 if (!SWIG_IsOK(res1
)) {
6434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6436 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_Py_Void();
6454 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6455 PyObject
*resultobj
= 0;
6456 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6457 wxColour
*result
= 0 ;
6460 PyObject
*swig_obj
[1] ;
6462 if (!args
) SWIG_fail
;
6464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6465 if (!SWIG_IsOK(res1
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6468 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6473 result
= (wxColour
*) &_result_ref
;
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6485 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6488 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6489 return SWIG_Py_Void();
6492 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6493 return SWIG_Python_InitShadowInstance(args
);
6496 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
= 0;
6498 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6499 wxColour
*arg2
= 0 ;
6504 PyObject
* obj0
= 0 ;
6505 PyObject
* obj1
= 0 ;
6506 char * kwnames
[] = {
6507 (char *) "self",(char *) "clr", NULL
6510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6512 if (!SWIG_IsOK(res1
)) {
6513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6515 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6533 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= 0;
6535 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6536 wxColour
*arg2
= 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 char * kwnames
[] = {
6544 (char *) "self",(char *) "clr", NULL
6547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6552 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6570 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6573 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6574 return SWIG_Py_Void();
6577 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6580 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6581 return SWIG_Py_Void();
6584 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6585 PyObject
*resultobj
= 0;
6586 wxHtmlRenderingInfo
*result
= 0 ;
6588 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6602 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6603 PyObject
*resultobj
= 0;
6604 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6607 PyObject
*swig_obj
[1] ;
6609 if (!args
) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6615 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_Py_Void();
6630 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
= 0;
6632 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6633 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 char * kwnames
[] = {
6641 (char *) "self",(char *) "s", NULL
6644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6646 if (!SWIG_IsOK(res1
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6649 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6651 if (!SWIG_IsOK(res2
)) {
6652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6654 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->SetSelection(arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6668 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6669 PyObject
*resultobj
= 0;
6670 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6671 wxHtmlSelection
*result
= 0 ;
6674 PyObject
*swig_obj
[1] ;
6676 if (!args
) SWIG_fail
;
6678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6679 if (!SWIG_IsOK(res1
)) {
6680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6682 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6696 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
= 0;
6698 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6699 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6706 char * kwnames
[] = {
6707 (char *) "self",(char *) "style", NULL
6710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6712 if (!SWIG_IsOK(res1
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6715 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6717 if (!SWIG_IsOK(res2
)) {
6718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6720 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 (arg1
)->SetStyle(arg2
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_Py_Void();
6734 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6735 PyObject
*resultobj
= 0;
6736 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6737 wxHtmlRenderingStyle
*result
= 0 ;
6740 PyObject
*swig_obj
[1] ;
6742 if (!args
) SWIG_fail
;
6744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6745 if (!SWIG_IsOK(res1
)) {
6746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6748 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6753 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6765 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6766 PyObject
*resultobj
= 0;
6767 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6768 wxHtmlRenderingState
*result
= 0 ;
6771 PyObject
*swig_obj
[1] ;
6773 if (!args
) SWIG_fail
;
6775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6776 if (!SWIG_IsOK(res1
)) {
6777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6779 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6784 result
= (wxHtmlRenderingState
*) &_result_ref
;
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6796 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6799 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6800 return SWIG_Py_Void();
6803 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6804 return SWIG_Python_InitShadowInstance(args
);
6807 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6808 PyObject
*resultobj
= 0;
6809 wxHtmlCell
*result
= 0 ;
6811 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxHtmlCell
*)new wxHtmlCell();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6825 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6826 PyObject
*resultobj
= 0;
6827 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
, SWIG_POINTER_DISOWN
| 0 );
6835 if (!SWIG_IsOK(res1
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6838 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_Py_Void();
6853 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6854 PyObject
*resultobj
= 0;
6855 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6859 PyObject
*swig_obj
[1] ;
6861 if (!args
) SWIG_fail
;
6863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6864 if (!SWIG_IsOK(res1
)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6867 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= (int)(arg1
)->GetPosX();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= SWIG_From_int(static_cast< int >(result
));
6881 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6882 PyObject
*resultobj
= 0;
6883 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6887 PyObject
*swig_obj
[1] ;
6889 if (!args
) SWIG_fail
;
6891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6892 if (!SWIG_IsOK(res1
)) {
6893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6895 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (int)(arg1
)->GetPosY();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_From_int(static_cast< int >(result
));
6909 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6910 PyObject
*resultobj
= 0;
6911 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6915 PyObject
*swig_obj
[1] ;
6917 if (!args
) SWIG_fail
;
6919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6920 if (!SWIG_IsOK(res1
)) {
6921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6923 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (int)(arg1
)->GetWidth();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_From_int(static_cast< int >(result
));
6937 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6938 PyObject
*resultobj
= 0;
6939 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6943 PyObject
*swig_obj
[1] ;
6945 if (!args
) SWIG_fail
;
6947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6948 if (!SWIG_IsOK(res1
)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6951 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (int)(arg1
)->GetHeight();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_From_int(static_cast< int >(result
));
6965 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6966 PyObject
*resultobj
= 0;
6967 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6971 PyObject
*swig_obj
[1] ;
6973 if (!args
) SWIG_fail
;
6975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6976 if (!SWIG_IsOK(res1
)) {
6977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6979 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (int)(arg1
)->GetDescent();
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_From_int(static_cast< int >(result
));
6993 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6994 PyObject
*resultobj
= 0;
6995 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6999 PyObject
*swig_obj
[1] ;
7001 if (!args
) SWIG_fail
;
7003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7004 if (!SWIG_IsOK(res1
)) {
7005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7007 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_From_int(static_cast< int >(result
));
7021 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7022 PyObject
*resultobj
= 0;
7023 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7024 wxString
*result
= 0 ;
7027 PyObject
*swig_obj
[1] ;
7029 if (!args
) SWIG_fail
;
7031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7032 if (!SWIG_IsOK(res1
)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7035 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7040 result
= (wxString
*) &_result_ref
;
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7049 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7058 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
= 0;
7060 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7061 wxString
*arg2
= 0 ;
7064 bool temp2
= false ;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7067 char * kwnames
[] = {
7068 (char *) "self",(char *) "id", NULL
7071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7073 if (!SWIG_IsOK(res1
)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7076 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7078 arg2
= wxString_in_helper(obj1
);
7079 if (arg2
== NULL
) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 (arg1
)->SetId((wxString
const &)*arg2
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= SWIG_Py_Void();
7103 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= 0;
7105 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7106 int arg2
= (int) 0 ;
7107 int arg3
= (int) 0 ;
7108 wxHtmlLinkInfo
*result
= 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7117 PyObject
* obj2
= 0 ;
7118 char * kwnames
[] = {
7119 (char *) "self",(char *) "x",(char *) "y", NULL
7122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7127 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7130 if (!SWIG_IsOK(ecode2
)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7133 arg2
= static_cast< int >(val2
);
7136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7137 if (!SWIG_IsOK(ecode3
)) {
7138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7140 arg3
= static_cast< int >(val3
);
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7155 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7156 PyObject
*resultobj
= 0;
7157 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7158 wxHtmlCell
*result
= 0 ;
7161 PyObject
*swig_obj
[1] ;
7163 if (!args
) SWIG_fail
;
7165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7166 if (!SWIG_IsOK(res1
)) {
7167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7169 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= wxPyMake_wxObject(result
, 0);
7185 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7186 PyObject
*resultobj
= 0;
7187 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7188 wxHtmlContainerCell
*result
= 0 ;
7191 PyObject
*swig_obj
[1] ;
7193 if (!args
) SWIG_fail
;
7195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7196 if (!SWIG_IsOK(res1
)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7199 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7213 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7214 PyObject
*resultobj
= 0;
7215 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7216 wxHtmlCell
*result
= 0 ;
7219 PyObject
*swig_obj
[1] ;
7221 if (!args
) SWIG_fail
;
7223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7224 if (!SWIG_IsOK(res1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7227 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= wxPyMake_wxObject(result
, 0);
7243 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
= 0;
7245 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7246 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 char * kwnames
[] = {
7255 (char *) "self",(char *) "window", NULL
7258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7260 if (!SWIG_IsOK(res1
)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7263 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7265 if (!SWIG_IsOK(res2
)) {
7266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7268 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7282 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 PyObject
*resultobj
= 0;
7284 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7288 PyObject
*swig_obj
[1] ;
7290 if (!args
) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7296 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7310 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7324 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7340 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
= 0;
7342 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7343 wxHtmlLinkInfo
*arg2
= 0 ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7350 char * kwnames
[] = {
7351 (char *) "self",(char *) "link", NULL
7354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7359 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7361 if (!SWIG_IsOK(res2
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7367 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_Py_Void();
7381 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
= 0;
7383 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7384 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 char * kwnames
[] = {
7390 (char *) "self",(char *) "cell", NULL
7393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7394 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7395 if (!SWIG_IsOK(res1
)) {
7396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7398 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7399 if (!SWIG_IsOK(res2
)) {
7400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->SetNext(arg2
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_Py_Void();
7415 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
= 0;
7417 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7418 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7423 PyObject
* obj0
= 0 ;
7424 PyObject
* obj1
= 0 ;
7425 char * kwnames
[] = {
7426 (char *) "self",(char *) "p", NULL
7429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7431 if (!SWIG_IsOK(res1
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7434 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7436 if (!SWIG_IsOK(res2
)) {
7437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7439 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 (arg1
)->SetParent(arg2
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_Py_Void();
7453 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= 0;
7455 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7466 PyObject
* obj2
= 0 ;
7467 char * kwnames
[] = {
7468 (char *) "self",(char *) "x",(char *) "y", NULL
7471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7476 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7478 if (!SWIG_IsOK(ecode2
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7481 arg2
= static_cast< int >(val2
);
7482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7483 if (!SWIG_IsOK(ecode3
)) {
7484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7486 arg3
= static_cast< int >(val3
);
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->SetPos(arg2
,arg3
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= SWIG_Py_Void();
7500 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
= 0;
7502 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7510 char * kwnames
[] = {
7511 (char *) "self",(char *) "w", NULL
7514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7519 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7521 if (!SWIG_IsOK(ecode2
)) {
7522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7524 arg2
= static_cast< int >(val2
);
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->Layout(arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_Py_Void();
7538 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
= 0;
7540 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7546 wxHtmlRenderingInfo
*arg7
= 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7563 PyObject
* obj2
= 0 ;
7564 PyObject
* obj3
= 0 ;
7565 PyObject
* obj4
= 0 ;
7566 PyObject
* obj5
= 0 ;
7567 PyObject
* obj6
= 0 ;
7568 char * kwnames
[] = {
7569 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7574 if (!SWIG_IsOK(res1
)) {
7575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7577 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7579 if (!SWIG_IsOK(res2
)) {
7580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7585 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7587 if (!SWIG_IsOK(ecode3
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7590 arg3
= static_cast< int >(val3
);
7591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7592 if (!SWIG_IsOK(ecode4
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7595 arg4
= static_cast< int >(val4
);
7596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7597 if (!SWIG_IsOK(ecode5
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7600 arg5
= static_cast< int >(val5
);
7601 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7602 if (!SWIG_IsOK(ecode6
)) {
7603 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7605 arg6
= static_cast< int >(val6
);
7606 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7607 if (!SWIG_IsOK(res7
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7613 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= SWIG_Py_Void();
7627 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
= 0;
7629 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7633 wxHtmlRenderingInfo
*arg5
= 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7646 PyObject
* obj2
= 0 ;
7647 PyObject
* obj3
= 0 ;
7648 PyObject
* obj4
= 0 ;
7649 char * kwnames
[] = {
7650 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7655 if (!SWIG_IsOK(res1
)) {
7656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7658 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7660 if (!SWIG_IsOK(res2
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7666 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7668 if (!SWIG_IsOK(ecode3
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7671 arg3
= static_cast< int >(val3
);
7672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7673 if (!SWIG_IsOK(ecode4
)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7676 arg4
= static_cast< int >(val4
);
7677 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7678 if (!SWIG_IsOK(res5
)) {
7679 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7684 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_Py_Void();
7698 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
= 0;
7700 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7702 void *arg3
= (void *) 0 ;
7703 wxHtmlCell
*result
= 0 ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 PyObject
* obj2
= 0 ;
7712 char * kwnames
[] = {
7713 (char *) "self",(char *) "condition",(char *) "param", NULL
7716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7718 if (!SWIG_IsOK(res1
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7721 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7723 if (!SWIG_IsOK(ecode2
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7726 arg2
= static_cast< int >(val2
);
7727 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7728 if (!SWIG_IsOK(res3
)) {
7729 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= wxPyMake_wxObject(result
, 0);
7746 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= 0;
7748 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7749 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7751 wxMouseEvent
*arg4
= 0 ;
7760 PyObject
* obj0
= 0 ;
7761 PyObject
* obj1
= 0 ;
7762 PyObject
* obj2
= 0 ;
7763 PyObject
* obj3
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7773 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7775 if (!SWIG_IsOK(res2
)) {
7776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7778 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7783 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7784 if (!SWIG_IsOK(res4
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7790 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
= 0;
7808 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 char * kwnames
[] = {
7817 (char *) "self",(char *) "can", NULL
7820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7822 if (!SWIG_IsOK(res1
)) {
7823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7825 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7826 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7827 if (!SWIG_IsOK(ecode2
)) {
7828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7830 arg2
= static_cast< bool >(val2
);
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_Py_Void();
7844 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7845 PyObject
*resultobj
= 0;
7846 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7850 PyObject
*swig_obj
[1] ;
7852 if (!args
) SWIG_fail
;
7854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7855 if (!SWIG_IsOK(res1
)) {
7856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7858 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7874 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7875 PyObject
*resultobj
= 0;
7876 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7880 PyObject
*swig_obj
[1] ;
7882 if (!args
) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7888 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7904 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
= 0;
7906 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7909 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7910 wxHtmlCell
*result
= 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7922 PyObject
* obj3
= 0 ;
7923 char * kwnames
[] = {
7924 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7932 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7934 if (!SWIG_IsOK(ecode2
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7937 arg2
= static_cast< int >(val2
);
7938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7939 if (!SWIG_IsOK(ecode3
)) {
7940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7942 arg3
= static_cast< int >(val3
);
7944 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7945 if (!SWIG_IsOK(ecode4
)) {
7946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7948 arg4
= static_cast< unsigned int >(val4
);
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= wxPyMake_wxObject(result
, 0);
7965 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
= 0;
7967 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7968 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 char * kwnames
[] = {
7977 (char *) "self",(char *) "rootCell", NULL
7980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7985 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7988 if (!SWIG_IsOK(res2
)) {
7989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7991 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8006 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 PyObject
*resultobj
= 0;
8008 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8009 wxHtmlCell
*result
= 0 ;
8012 PyObject
*swig_obj
[1] ;
8014 if (!args
) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8020 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= wxPyMake_wxObject(result
, 0);
8036 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8039 wxHtmlCell
*result
= 0 ;
8042 PyObject
*swig_obj
[1] ;
8044 if (!args
) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8050 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= wxPyMake_wxObject(result
, 0);
8066 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8067 PyObject
*resultobj
= 0;
8068 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8069 wxHtmlCell
*result
= 0 ;
8072 PyObject
*swig_obj
[1] ;
8074 if (!args
) SWIG_fail
;
8076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8077 if (!SWIG_IsOK(res1
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8080 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= wxPyMake_wxObject(result
, 0);
8096 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8097 PyObject
*resultobj
= 0;
8098 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8099 unsigned int result
;
8102 PyObject
*swig_obj
[1] ;
8104 if (!args
) SWIG_fail
;
8106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8107 if (!SWIG_IsOK(res1
)) {
8108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8110 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8124 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
= 0;
8126 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8127 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 char * kwnames
[] = {
8136 (char *) "self",(char *) "cell", NULL
8139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8141 if (!SWIG_IsOK(res1
)) {
8142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8144 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8146 if (!SWIG_IsOK(res2
)) {
8147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8149 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8165 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8168 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "self",(char *) "sel", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8182 if (!SWIG_IsOK(res1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8185 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8187 if (!SWIG_IsOK(res2
)) {
8188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8190 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8210 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8213 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8214 return SWIG_Py_Void();
8217 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8218 return SWIG_Python_InitShadowInstance(args
);
8221 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
= 0;
8223 wxString
*arg1
= 0 ;
8225 wxHtmlWordCell
*result
= 0 ;
8226 bool temp1
= false ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8231 char * kwnames
[] = {
8232 (char *) "word",(char *) "dc", NULL
8235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8237 arg1
= wxString_in_helper(obj0
);
8238 if (arg1
== NULL
) SWIG_fail
;
8241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8242 if (!SWIG_IsOK(res2
)) {
8243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8248 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8270 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
= 0;
8272 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8273 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8281 char * kwnames
[] = {
8282 (char *) "self",(char *) "sel", NULL
8285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8287 if (!SWIG_IsOK(res1
)) {
8288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8290 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8292 if (!SWIG_IsOK(res2
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8295 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8315 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8316 PyObject
*resultobj
= 0;
8317 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8321 PyObject
*swig_obj
[1] ;
8323 if (!args
) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8329 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8345 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
= 0;
8347 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8348 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8353 PyObject
* obj0
= 0 ;
8354 PyObject
* obj1
= 0 ;
8355 char * kwnames
[] = {
8356 (char *) "self",(char *) "cell", NULL
8359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8361 if (!SWIG_IsOK(res1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8364 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8366 if (!SWIG_IsOK(res2
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8369 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 (arg1
)->SetPreviousWord(arg2
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_Py_Void();
8383 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8386 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8387 return SWIG_Py_Void();
8390 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 return SWIG_Python_InitShadowInstance(args
);
8394 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
= 0;
8396 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8397 wxHtmlContainerCell
*result
= 0 ;
8400 PyObject
* obj0
= 0 ;
8401 char * kwnames
[] = {
8402 (char *) "parent", NULL
8405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8410 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8424 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
= 0;
8426 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8427 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8433 char * kwnames
[] = {
8434 (char *) "self",(char *) "cell", NULL
8437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8439 if (!SWIG_IsOK(res1
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8442 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8443 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8444 if (!SWIG_IsOK(res2
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 (arg1
)->InsertCell(arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_Py_Void();
8460 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
= 0;
8462 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 char * kwnames
[] = {
8471 (char *) "self",(char *) "al", NULL
8474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8479 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8481 if (!SWIG_IsOK(ecode2
)) {
8482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8484 arg2
= static_cast< int >(val2
);
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 (arg1
)->SetAlignHor(arg2
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_Py_Void();
8498 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 PyObject
*resultobj
= 0;
8500 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8504 PyObject
*swig_obj
[1] ;
8506 if (!args
) SWIG_fail
;
8508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8509 if (!SWIG_IsOK(res1
)) {
8510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8512 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= (int)(arg1
)->GetAlignHor();
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= SWIG_From_int(static_cast< int >(result
));
8526 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
= 0;
8528 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 char * kwnames
[] = {
8537 (char *) "self",(char *) "al", NULL
8540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8542 if (!SWIG_IsOK(res1
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8545 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8547 if (!SWIG_IsOK(ecode2
)) {
8548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8550 arg2
= static_cast< int >(val2
);
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 (arg1
)->SetAlignVer(arg2
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= SWIG_Py_Void();
8564 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8565 PyObject
*resultobj
= 0;
8566 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8570 PyObject
*swig_obj
[1] ;
8572 if (!args
) SWIG_fail
;
8574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8575 if (!SWIG_IsOK(res1
)) {
8576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8578 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (int)(arg1
)->GetAlignVer();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_From_int(static_cast< int >(result
));
8592 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
= 0;
8594 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8597 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8609 PyObject
* obj3
= 0 ;
8610 char * kwnames
[] = {
8611 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8619 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8621 if (!SWIG_IsOK(ecode2
)) {
8622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8624 arg2
= static_cast< int >(val2
);
8625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8626 if (!SWIG_IsOK(ecode3
)) {
8627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8629 arg3
= static_cast< int >(val3
);
8631 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8632 if (!SWIG_IsOK(ecode4
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8635 arg4
= static_cast< int >(val4
);
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_Py_Void();
8650 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
= 0;
8652 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8661 char * kwnames
[] = {
8662 (char *) "self",(char *) "ind", NULL
8665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8667 if (!SWIG_IsOK(res1
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8670 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8672 if (!SWIG_IsOK(ecode2
)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8675 arg2
= static_cast< int >(val2
);
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (int)(arg1
)->GetIndent(arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_From_int(static_cast< int >(result
));
8689 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
= 0;
8691 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8700 char * kwnames
[] = {
8701 (char *) "self",(char *) "ind", NULL
8704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8706 if (!SWIG_IsOK(res1
)) {
8707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8709 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8711 if (!SWIG_IsOK(ecode2
)) {
8712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8714 arg2
= static_cast< int >(val2
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_From_int(static_cast< int >(result
));
8728 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8731 wxHtmlTag
*arg2
= 0 ;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 char * kwnames
[] = {
8739 (char *) "self",(char *) "tag", NULL
8742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8744 if (!SWIG_IsOK(res1
)) {
8745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8747 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8749 if (!SWIG_IsOK(res2
)) {
8750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8755 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_Py_Void();
8769 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
= 0;
8771 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8783 char * kwnames
[] = {
8784 (char *) "self",(char *) "w",(char *) "units", NULL
8787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8789 if (!SWIG_IsOK(res1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8792 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8794 if (!SWIG_IsOK(ecode2
)) {
8795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8797 arg2
= static_cast< int >(val2
);
8798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8799 if (!SWIG_IsOK(ecode3
)) {
8800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8802 arg3
= static_cast< int >(val3
);
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 (arg1
)->SetWidthFloat(arg2
,arg3
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 resultobj
= SWIG_Py_Void();
8816 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
= 0;
8818 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8819 wxHtmlTag
*arg2
= 0 ;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8826 char * kwnames
[] = {
8827 (char *) "self",(char *) "tag", NULL
8830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8835 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8837 if (!SWIG_IsOK(res2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8843 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_Py_Void();
8857 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
= 0;
8859 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8861 int arg3
= (int) wxHTML_ALIGN_TOP
;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8870 PyObject
* obj2
= 0 ;
8871 char * kwnames
[] = {
8872 (char *) "self",(char *) "h",(char *) "align", NULL
8875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8877 if (!SWIG_IsOK(res1
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8880 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8882 if (!SWIG_IsOK(ecode2
)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8885 arg2
= static_cast< int >(val2
);
8887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8888 if (!SWIG_IsOK(ecode3
)) {
8889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8891 arg3
= static_cast< int >(val3
);
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->SetMinHeight(arg2
,arg3
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_Py_Void();
8906 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8909 wxColour
*arg2
= 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 char * kwnames
[] = {
8916 (char *) "self",(char *) "clr", NULL
8919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8921 if (!SWIG_IsOK(res1
)) {
8922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8924 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_Py_Void();
8942 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8943 PyObject
*resultobj
= 0;
8944 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8948 PyObject
*swig_obj
[1] ;
8950 if (!args
) SWIG_fail
;
8952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8953 if (!SWIG_IsOK(res1
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8956 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (arg1
)->GetBackgroundColour();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8970 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
= 0;
8972 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8973 wxColour
*arg2
= 0 ;
8974 wxColour
*arg3
= 0 ;
8979 PyObject
* obj0
= 0 ;
8980 PyObject
* obj1
= 0 ;
8981 PyObject
* obj2
= 0 ;
8982 char * kwnames
[] = {
8983 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8988 if (!SWIG_IsOK(res1
)) {
8989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8991 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8994 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8998 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_Py_Void();
9013 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9014 PyObject
*resultobj
= 0;
9015 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9016 wxHtmlCell
*result
= 0 ;
9019 PyObject
*swig_obj
[1] ;
9021 if (!args
) SWIG_fail
;
9023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9024 if (!SWIG_IsOK(res1
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9027 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= wxPyMake_wxObject(result
, 0);
9043 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9046 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9047 return SWIG_Py_Void();
9050 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9051 return SWIG_Python_InitShadowInstance(args
);
9054 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
= 0;
9056 wxColour
*arg1
= 0 ;
9057 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9058 wxHtmlColourCell
*result
= 0 ;
9062 PyObject
* obj0
= 0 ;
9063 PyObject
* obj1
= 0 ;
9064 char * kwnames
[] = {
9065 (char *) "clr",(char *) "flags", NULL
9068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9071 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9075 if (!SWIG_IsOK(ecode2
)) {
9076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9078 arg2
= static_cast< int >(val2
);
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9093 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9096 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9097 return SWIG_Py_Void();
9100 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9101 return SWIG_Python_InitShadowInstance(args
);
9104 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
= 0;
9106 wxFont
*arg1
= (wxFont
*) 0 ;
9107 wxHtmlFontCell
*result
= 0 ;
9110 PyObject
* obj0
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "font", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9120 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9134 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9137 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9138 return SWIG_Py_Void();
9141 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9142 return SWIG_Python_InitShadowInstance(args
);
9145 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
= 0;
9147 wxWindow
*arg1
= (wxWindow
*) 0 ;
9148 int arg2
= (int) 0 ;
9149 wxHtmlWidgetCell
*result
= 0 ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 char * kwnames
[] = {
9157 (char *) "wnd",(char *) "w", NULL
9160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9162 if (!SWIG_IsOK(res1
)) {
9163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9168 if (!SWIG_IsOK(ecode2
)) {
9169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9171 arg2
= static_cast< int >(val2
);
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9186 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9189 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9190 return SWIG_Py_Void();
9193 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9194 return SWIG_Python_InitShadowInstance(args
);
9197 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9198 PyObject
*resultobj
= 0;
9199 wxPyHtmlFilter
*result
= 0 ;
9201 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9215 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
= 0;
9217 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9218 PyObject
*arg2
= (PyObject
*) 0 ;
9219 PyObject
*arg3
= (PyObject
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 PyObject
* obj2
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "self",(char *) "_class", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9234 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_Py_Void();
9250 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9253 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9254 return SWIG_Py_Void();
9257 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9258 return SWIG_Python_InitShadowInstance(args
);
9261 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9262 PyObject
*resultobj
= 0;
9263 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9266 PyObject
*swig_obj
[1] ;
9268 if (!args
) SWIG_fail
;
9270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9271 if (!SWIG_IsOK(res1
)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9274 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_Py_Void();
9289 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
= 0;
9291 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9292 wxString
*arg2
= 0 ;
9295 bool temp2
= false ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "self",(char *) "title", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9304 if (!SWIG_IsOK(res1
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9307 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9309 arg2
= wxString_in_helper(obj1
);
9310 if (arg2
== NULL
) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= SWIG_Py_Void();
9334 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9337 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 PyObject
* obj2
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "cell",(char *) "pos", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9357 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9359 if (!SWIG_IsOK(res2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9362 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9380 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9381 PyObject
*resultobj
= 0;
9382 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9383 wxWindow
*result
= 0 ;
9386 PyObject
*swig_obj
[1] ;
9388 if (!args
) SWIG_fail
;
9390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9391 if (!SWIG_IsOK(res1
)) {
9392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9394 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= wxPyMake_wxObject(result
, 0);
9410 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9411 PyObject
*resultobj
= 0;
9412 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9416 PyObject
*swig_obj
[1] ;
9418 if (!args
) SWIG_fail
;
9420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9421 if (!SWIG_IsOK(res1
)) {
9422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9424 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9438 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
= 0;
9440 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9441 wxColour
*arg2
= 0 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "clr", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9456 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_Py_Void();
9474 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= 0;
9476 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9477 wxBitmap
*arg2
= 0 ;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 char * kwnames
[] = {
9485 (char *) "self",(char *) "bmpBg", NULL
9488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9490 if (!SWIG_IsOK(res1
)) {
9491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9493 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9495 if (!SWIG_IsOK(res2
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9501 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_Py_Void();
9515 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
= 0;
9517 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9518 wxString
*arg2
= 0 ;
9521 bool temp2
= false ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "self",(char *) "text", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9533 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9535 arg2
= wxString_in_helper(obj1
);
9536 if (arg2
== NULL
) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_Py_Void();
9560 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9563 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9564 return SWIG_Py_Void();
9567 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
= 0;
9569 wxWindow
*arg1
= (wxWindow
*) 0 ;
9570 int arg2
= (int) -1 ;
9571 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9572 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9573 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9574 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9575 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9576 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9577 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9578 wxPyHtmlWindow
*result
= 0 ;
9587 bool temp6
= false ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 PyObject
* obj2
= 0 ;
9591 PyObject
* obj3
= 0 ;
9592 PyObject
* obj4
= 0 ;
9593 PyObject
* obj5
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9603 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9606 if (!SWIG_IsOK(ecode2
)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9609 arg2
= static_cast< int >(val2
);
9614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9625 if (!SWIG_IsOK(ecode5
)) {
9626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9628 arg5
= static_cast< int >(val5
);
9632 arg6
= wxString_in_helper(obj5
);
9633 if (arg6
== NULL
) SWIG_fail
;
9638 if (!wxPyCheckForApp()) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9659 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9660 PyObject
*resultobj
= 0;
9661 wxPyHtmlWindow
*result
= 0 ;
9663 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9665 if (!wxPyCheckForApp()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9678 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
= 0;
9680 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9681 wxWindow
*arg2
= (wxWindow
*) 0 ;
9682 int arg3
= (int) -1 ;
9683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9687 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9688 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9689 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9701 bool temp7
= false ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 PyObject
* obj2
= 0 ;
9705 PyObject
* obj3
= 0 ;
9706 PyObject
* obj4
= 0 ;
9707 PyObject
* obj5
= 0 ;
9708 PyObject
* obj6
= 0 ;
9709 char * kwnames
[] = {
9710 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9715 if (!SWIG_IsOK(res1
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9718 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9720 if (!SWIG_IsOK(res2
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9726 if (!SWIG_IsOK(ecode3
)) {
9727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9729 arg3
= static_cast< int >(val3
);
9734 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9740 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9744 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9745 if (!SWIG_IsOK(ecode6
)) {
9746 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9748 arg6
= static_cast< int >(val6
);
9752 arg7
= wxString_in_helper(obj6
);
9753 if (arg7
== NULL
) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9780 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9783 PyObject
*arg2
= (PyObject
*) 0 ;
9784 PyObject
*arg3
= (PyObject
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 PyObject
* obj2
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "self",(char *) "_class", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9799 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_Py_Void();
9815 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9818 wxString
*arg2
= 0 ;
9822 bool temp2
= false ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 char * kwnames
[] = {
9826 (char *) "self",(char *) "source", NULL
9829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9831 if (!SWIG_IsOK(res1
)) {
9832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9834 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9836 arg2
= wxString_in_helper(obj1
);
9837 if (arg2
== NULL
) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9866 wxString
*arg2
= 0 ;
9870 bool temp2
= false ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "self",(char *) "location", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9882 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9884 arg2
= wxString_in_helper(obj1
);
9885 if (arg2
== NULL
) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9911 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
= 0;
9913 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9914 wxString
*arg2
= 0 ;
9918 bool temp2
= false ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "filename", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9930 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9932 arg2
= wxString_in_helper(obj1
);
9933 if (arg2
== NULL
) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9959 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= 0;
9961 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9962 wxString
*arg2
= 0 ;
9966 bool temp2
= false ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 char * kwnames
[] = {
9970 (char *) "self",(char *) "source", NULL
9973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9975 if (!SWIG_IsOK(res1
)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9978 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9980 arg2
= wxString_in_helper(obj1
);
9981 if (arg2
== NULL
) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10007 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10008 PyObject
*resultobj
= 0;
10009 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10013 PyObject
*swig_obj
[1] ;
10015 if (!args
) SWIG_fail
;
10016 swig_obj
[0] = args
;
10017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10018 if (!SWIG_IsOK(res1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10021 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (arg1
)->GetOpenedPage();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10041 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10042 PyObject
*resultobj
= 0;
10043 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10047 PyObject
*swig_obj
[1] ;
10049 if (!args
) SWIG_fail
;
10050 swig_obj
[0] = args
;
10051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10055 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (arg1
)->GetOpenedAnchor();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10075 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10076 PyObject
*resultobj
= 0;
10077 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10081 PyObject
*swig_obj
[1] ;
10083 if (!args
) SWIG_fail
;
10084 swig_obj
[0] = args
;
10085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10086 if (!SWIG_IsOK(res1
)) {
10087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10089 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (arg1
)->GetOpenedPageTitle();
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10109 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
= 0;
10111 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10112 wxFrame
*arg2
= (wxFrame
*) 0 ;
10113 wxString
*arg3
= 0 ;
10118 bool temp3
= false ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 PyObject
* obj2
= 0 ;
10122 char * kwnames
[] = {
10123 (char *) "self",(char *) "frame",(char *) "format", NULL
10126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10131 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10133 if (!SWIG_IsOK(res2
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10136 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10138 arg3
= wxString_in_helper(obj2
);
10139 if (arg3
== NULL
) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= SWIG_Py_Void();
10163 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10164 PyObject
*resultobj
= 0;
10165 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10166 wxFrame
*result
= 0 ;
10169 PyObject
*swig_obj
[1] ;
10171 if (!args
) SWIG_fail
;
10172 swig_obj
[0] = args
;
10173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10174 if (!SWIG_IsOK(res1
)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10177 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= wxPyMake_wxObject(result
, 0);
10193 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
= 0;
10195 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 char * kwnames
[] = {
10204 (char *) "self",(char *) "bar", NULL
10207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10212 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10214 if (!SWIG_IsOK(ecode2
)) {
10215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10217 arg2
= static_cast< int >(val2
);
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 (arg1
)->SetRelatedStatusBar(arg2
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= SWIG_Py_Void();
10231 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
= 0;
10233 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10236 PyObject
*arg4
= (PyObject
*) NULL
;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 PyObject
* obj2
= 0 ;
10242 PyObject
* obj3
= 0 ;
10243 char * kwnames
[] = {
10244 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10252 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10254 wxString
* sptr
= wxString_in_helper(obj1
);
10255 if (sptr
== NULL
) SWIG_fail
;
10260 wxString
* sptr
= wxString_in_helper(obj2
);
10261 if (sptr
== NULL
) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_Py_Void();
10281 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
= 0;
10283 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10284 int arg2
= (int) -1 ;
10285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10293 bool temp3
= false ;
10294 bool temp4
= false ;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 PyObject
* obj2
= 0 ;
10298 PyObject
* obj3
= 0 ;
10299 char * kwnames
[] = {
10300 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10308 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10311 if (!SWIG_IsOK(ecode2
)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10314 arg2
= static_cast< int >(val2
);
10318 arg3
= wxString_in_helper(obj2
);
10319 if (arg3
== NULL
) SWIG_fail
;
10325 arg4
= wxString_in_helper(obj3
);
10326 if (arg4
== NULL
) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_Py_Void();
10359 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char * kwnames
[] = {
10370 (char *) "self",(char *) "b", NULL
10373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10375 if (!SWIG_IsOK(res1
)) {
10376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10378 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10380 if (!SWIG_IsOK(ecode2
)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10383 arg2
= static_cast< int >(val2
);
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 (arg1
)->SetBorders(arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_Py_Void();
10397 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
= 0;
10399 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10400 wxBitmap
*arg2
= 0 ;
10405 PyObject
* obj0
= 0 ;
10406 PyObject
* obj1
= 0 ;
10407 char * kwnames
[] = {
10408 (char *) "self",(char *) "bmpBg", NULL
10411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10413 if (!SWIG_IsOK(res1
)) {
10414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10416 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10418 if (!SWIG_IsOK(res2
)) {
10419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10424 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_Py_Void();
10438 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
= 0;
10440 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10441 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10442 wxString arg3
= (wxString
) wxPyEmptyString
;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 PyObject
* obj2
= 0 ;
10450 char * kwnames
[] = {
10451 (char *) "self",(char *) "cfg",(char *) "path", NULL
10454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10456 if (!SWIG_IsOK(res1
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10459 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10461 if (!SWIG_IsOK(res2
)) {
10462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10464 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10467 wxString
* sptr
= wxString_in_helper(obj2
);
10468 if (sptr
== NULL
) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 (arg1
)->ReadCustomization(arg2
,arg3
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_Py_Void();
10486 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
= 0;
10488 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10489 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10490 wxString arg3
= (wxString
) wxPyEmptyString
;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 PyObject
* obj2
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "self",(char *) "cfg",(char *) "path", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10504 if (!SWIG_IsOK(res1
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10507 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10509 if (!SWIG_IsOK(res2
)) {
10510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10512 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10515 wxString
* sptr
= wxString_in_helper(obj2
);
10516 if (sptr
== NULL
) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 (arg1
)->WriteCustomization(arg2
,arg3
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_Py_Void();
10534 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10535 PyObject
*resultobj
= 0;
10536 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10540 PyObject
*swig_obj
[1] ;
10542 if (!args
) SWIG_fail
;
10543 swig_obj
[0] = args
;
10544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10545 if (!SWIG_IsOK(res1
)) {
10546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10548 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (bool)(arg1
)->HistoryBack();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10564 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10565 PyObject
*resultobj
= 0;
10566 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10570 PyObject
*swig_obj
[1] ;
10572 if (!args
) SWIG_fail
;
10573 swig_obj
[0] = args
;
10574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10575 if (!SWIG_IsOK(res1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10578 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (bool)(arg1
)->HistoryForward();
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10594 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10595 PyObject
*resultobj
= 0;
10596 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10600 PyObject
*swig_obj
[1] ;
10602 if (!args
) SWIG_fail
;
10603 swig_obj
[0] = args
;
10604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10605 if (!SWIG_IsOK(res1
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10608 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (bool)(arg1
)->HistoryCanBack();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10624 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10625 PyObject
*resultobj
= 0;
10626 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 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_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10638 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (bool)(arg1
)->HistoryCanForward();
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10654 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10655 PyObject
*resultobj
= 0;
10656 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10659 PyObject
*swig_obj
[1] ;
10661 if (!args
) SWIG_fail
;
10662 swig_obj
[0] = args
;
10663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10664 if (!SWIG_IsOK(res1
)) {
10665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10667 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->HistoryClear();
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10681 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10682 PyObject
*resultobj
= 0;
10683 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10684 wxHtmlContainerCell
*result
= 0 ;
10687 PyObject
*swig_obj
[1] ;
10689 if (!args
) SWIG_fail
;
10690 swig_obj
[0] = args
;
10691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10695 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10709 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10710 PyObject
*resultobj
= 0;
10711 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10712 wxHtmlWinParser
*result
= 0 ;
10715 PyObject
*swig_obj
[1] ;
10717 if (!args
) SWIG_fail
;
10718 swig_obj
[0] = args
;
10719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10720 if (!SWIG_IsOK(res1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10723 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10737 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
= 0;
10739 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10740 wxString
*arg2
= 0 ;
10744 bool temp2
= false ;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 char * kwnames
[] = {
10748 (char *) "self",(char *) "anchor", NULL
10751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10756 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10758 arg2
= wxString_in_helper(obj1
);
10759 if (arg2
== NULL
) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= 0;
10787 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10788 wxString
*arg2
= 0 ;
10792 bool temp2
= false ;
10793 PyObject
* obj0
= 0 ;
10794 PyObject
* obj1
= 0 ;
10795 char * kwnames
[] = {
10796 (char *) "self",(char *) "anchor", NULL
10799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10804 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10806 arg2
= wxString_in_helper(obj1
);
10807 if (arg2
== NULL
) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= 0;
10835 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 char * kwnames
[] = {
10840 (char *) "filter", NULL
10843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10845 if (!SWIG_IsOK(res1
)) {
10846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10848 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 wxPyHtmlWindow::AddFilter(arg1
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= SWIG_Py_Void();
10862 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
= 0;
10864 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10865 wxPoint
*arg2
= 0 ;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 char * kwnames
[] = {
10872 (char *) "self",(char *) "pos", NULL
10875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10877 if (!SWIG_IsOK(res1
)) {
10878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10880 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= SWIG_Py_Void();
10898 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
= 0;
10900 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10901 wxPoint
*arg2
= 0 ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 char * kwnames
[] = {
10908 (char *) "self",(char *) "pos", NULL
10911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10913 if (!SWIG_IsOK(res1
)) {
10914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10916 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_Py_Void();
10934 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10935 PyObject
*resultobj
= 0;
10936 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10939 PyObject
*swig_obj
[1] ;
10941 if (!args
) SWIG_fail
;
10942 swig_obj
[0] = args
;
10943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10944 if (!SWIG_IsOK(res1
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10947 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 (arg1
)->SelectAll();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_Py_Void();
10961 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10962 PyObject
*resultobj
= 0;
10963 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10967 PyObject
*swig_obj
[1] ;
10969 if (!args
) SWIG_fail
;
10970 swig_obj
[0] = args
;
10971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10975 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (arg1
)->SelectionToText();
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10995 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10996 PyObject
*resultobj
= 0;
10997 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11001 PyObject
*swig_obj
[1] ;
11003 if (!args
) SWIG_fail
;
11004 swig_obj
[0] = args
;
11005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11006 if (!SWIG_IsOK(res1
)) {
11007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11009 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (arg1
)->ToText();
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11029 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
= 0;
11031 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11032 wxHtmlLinkInfo
*arg2
= 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 char * kwnames
[] = {
11040 (char *) "self",(char *) "link", NULL
11043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11045 if (!SWIG_IsOK(res1
)) {
11046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11048 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11050 if (!SWIG_IsOK(res2
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11056 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= SWIG_Py_Void();
11070 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
= 0;
11072 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11073 wxString
*arg2
= 0 ;
11076 bool temp2
= false ;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 char * kwnames
[] = {
11080 (char *) "self",(char *) "title", NULL
11083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11085 if (!SWIG_IsOK(res1
)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11088 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11090 arg2
= wxString_in_helper(obj1
);
11091 if (arg2
== NULL
) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_Py_Void();
11115 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
= 0;
11117 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11118 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 PyObject
* obj2
= 0 ;
11132 PyObject
* obj3
= 0 ;
11133 char * kwnames
[] = {
11134 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11142 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11144 if (!SWIG_IsOK(res2
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11147 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11149 if (!SWIG_IsOK(ecode3
)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11152 arg3
= static_cast< int >(val3
);
11153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11154 if (!SWIG_IsOK(ecode4
)) {
11155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11157 arg4
= static_cast< int >(val4
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= SWIG_Py_Void();
11171 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= 0;
11173 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11174 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11177 wxMouseEvent
*arg5
= 0 ;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 PyObject
* obj2
= 0 ;
11192 PyObject
* obj3
= 0 ;
11193 PyObject
* obj4
= 0 ;
11194 char * kwnames
[] = {
11195 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11203 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11205 if (!SWIG_IsOK(res2
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11208 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11210 if (!SWIG_IsOK(ecode3
)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11213 arg3
= static_cast< int >(val3
);
11214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11215 if (!SWIG_IsOK(ecode4
)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11218 arg4
= static_cast< int >(val4
);
11219 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11220 if (!SWIG_IsOK(res5
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11226 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11242 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
= 0;
11244 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11245 wxHtmlURLType arg2
;
11246 wxString
*arg3
= 0 ;
11247 wxString
*arg4
= (wxString
*) 0 ;
11248 wxHtmlOpeningStatus result
;
11253 bool temp3
= false ;
11254 bool temp4
= false ;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 PyObject
* obj2
= 0 ;
11258 PyObject
* obj3
= 0 ;
11259 char * kwnames
[] = {
11260 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11265 if (!SWIG_IsOK(res1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11268 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11270 if (!SWIG_IsOK(ecode2
)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11273 arg2
= static_cast< wxHtmlURLType
>(val2
);
11275 arg3
= wxString_in_helper(obj2
);
11276 if (arg3
== NULL
) SWIG_fail
;
11280 arg4
= wxString_in_helper(obj3
);
11281 if (arg4
== NULL
) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_From_int(static_cast< int >(result
));
11313 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
= 0;
11315 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11316 SwigValueWrapper
<wxVisualAttributes
> result
;
11319 PyObject
* obj0
= 0 ;
11320 char * kwnames
[] = {
11321 (char *) "variant", NULL
11324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11326 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11327 if (!SWIG_IsOK(ecode1
)) {
11328 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11330 arg1
= static_cast< wxWindowVariant
>(val1
);
11333 if (!wxPyCheckForApp()) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11346 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
= 0;
11348 wxPyHtmlWindow::HTMLCursor arg1
;
11352 PyObject
* obj0
= 0 ;
11353 char * kwnames
[] = {
11354 (char *) "type", NULL
11357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11359 if (!SWIG_IsOK(ecode1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11362 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11376 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11379 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11380 return SWIG_Py_Void();
11383 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11384 return SWIG_Python_InitShadowInstance(args
);
11387 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11388 PyObject
*resultobj
= 0;
11389 wxHtmlDCRenderer
*result
= 0 ;
11391 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11393 if (!wxPyCheckForApp()) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11406 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 PyObject
*resultobj
= 0;
11408 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11411 PyObject
*swig_obj
[1] ;
11413 if (!args
) SWIG_fail
;
11414 swig_obj
[0] = args
;
11415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11416 if (!SWIG_IsOK(res1
)) {
11417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11419 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_Py_Void();
11434 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
= 0;
11436 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11437 wxDC
*arg2
= (wxDC
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 PyObject
* obj2
= 0 ;
11448 char * kwnames
[] = {
11449 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11454 if (!SWIG_IsOK(res1
)) {
11455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11457 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11459 if (!SWIG_IsOK(res2
)) {
11460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11462 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11464 if (!SWIG_IsOK(ecode3
)) {
11465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11467 arg3
= static_cast< int >(val3
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 (arg1
)->SetDC(arg2
,arg3
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_Py_Void();
11481 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
= 0;
11483 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 PyObject
* obj2
= 0 ;
11495 char * kwnames
[] = {
11496 (char *) "self",(char *) "width",(char *) "height", NULL
11499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11504 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11506 if (!SWIG_IsOK(ecode2
)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11509 arg2
= static_cast< int >(val2
);
11510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11511 if (!SWIG_IsOK(ecode3
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11514 arg3
= static_cast< int >(val3
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetSize(arg2
,arg3
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_Py_Void();
11528 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
= 0;
11530 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11531 wxString
*arg2
= 0 ;
11532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11534 bool arg4
= (bool) true ;
11537 bool temp2
= false ;
11538 bool temp3
= false ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 PyObject
* obj2
= 0 ;
11544 PyObject
* obj3
= 0 ;
11545 char * kwnames
[] = {
11546 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11551 if (!SWIG_IsOK(res1
)) {
11552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11554 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11556 arg2
= wxString_in_helper(obj1
);
11557 if (arg2
== NULL
) SWIG_fail
;
11562 arg3
= wxString_in_helper(obj2
);
11563 if (arg3
== NULL
) SWIG_fail
;
11568 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11569 if (!SWIG_IsOK(ecode4
)) {
11570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11572 arg4
= static_cast< bool >(val4
);
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= SWIG_Py_Void();
11603 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
= 0;
11605 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11608 PyObject
*arg4
= (PyObject
*) NULL
;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 PyObject
* obj2
= 0 ;
11614 PyObject
* obj3
= 0 ;
11615 char * kwnames
[] = {
11616 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11621 if (!SWIG_IsOK(res1
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11624 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11626 wxString
* sptr
= wxString_in_helper(obj1
);
11627 if (sptr
== NULL
) SWIG_fail
;
11632 wxString
* sptr
= wxString_in_helper(obj2
);
11633 if (sptr
== NULL
) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_Py_Void();
11653 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
= 0;
11655 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11656 int arg2
= (int) -1 ;
11657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11659 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11660 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11665 bool temp3
= false ;
11666 bool temp4
= false ;
11667 PyObject
* obj0
= 0 ;
11668 PyObject
* obj1
= 0 ;
11669 PyObject
* obj2
= 0 ;
11670 PyObject
* obj3
= 0 ;
11671 char * kwnames
[] = {
11672 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11680 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11683 if (!SWIG_IsOK(ecode2
)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11686 arg2
= static_cast< int >(val2
);
11690 arg3
= wxString_in_helper(obj2
);
11691 if (arg3
== NULL
) SWIG_fail
;
11697 arg4
= wxString_in_helper(obj3
);
11698 if (arg4
== NULL
) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= SWIG_Py_Void();
11731 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
= 0;
11733 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11736 wxArrayInt
*arg4
= 0 ;
11737 int arg5
= (int) 0 ;
11738 int arg6
= (int) FALSE
;
11739 int arg7
= (int) INT_MAX
;
11747 bool temp4
= false ;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 PyObject
* obj2
= 0 ;
11757 PyObject
* obj3
= 0 ;
11758 PyObject
* obj4
= 0 ;
11759 PyObject
* obj5
= 0 ;
11760 PyObject
* obj6
= 0 ;
11761 char * kwnames
[] = {
11762 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11770 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11772 if (!SWIG_IsOK(ecode2
)) {
11773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11775 arg2
= static_cast< int >(val2
);
11776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11777 if (!SWIG_IsOK(ecode3
)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11780 arg3
= static_cast< int >(val3
);
11782 if (! PySequence_Check(obj3
)) {
11783 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11786 arg4
= new wxArrayInt
;
11788 int i
, len
=PySequence_Length(obj3
);
11789 for (i
=0; i
<len
; i
++) {
11790 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11791 PyObject
* number
= PyNumber_Int(item
);
11792 arg4
->Add(PyInt_AS_LONG(number
));
11798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11799 if (!SWIG_IsOK(ecode5
)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11802 arg5
= static_cast< int >(val5
);
11805 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11806 if (!SWIG_IsOK(ecode6
)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11809 arg6
= static_cast< int >(val6
);
11812 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11813 if (!SWIG_IsOK(ecode7
)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11816 arg7
= static_cast< int >(val7
);
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= SWIG_From_int(static_cast< int >(result
));
11826 if (temp4
) delete arg4
;
11831 if (temp4
) delete arg4
;
11837 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11838 PyObject
*resultobj
= 0;
11839 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11843 PyObject
*swig_obj
[1] ;
11845 if (!args
) SWIG_fail
;
11846 swig_obj
[0] = args
;
11847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11848 if (!SWIG_IsOK(res1
)) {
11849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11851 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (int)(arg1
)->GetTotalHeight();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_int(static_cast< int >(result
));
11865 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11868 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11869 return SWIG_Py_Void();
11872 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11873 return SWIG_Python_InitShadowInstance(args
);
11876 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
= 0;
11878 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11879 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11880 wxHtmlPrintout
*result
= 0 ;
11881 bool temp1
= false ;
11882 PyObject
* obj0
= 0 ;
11883 char * kwnames
[] = {
11884 (char *) "title", NULL
11887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11890 arg1
= wxString_in_helper(obj0
);
11891 if (arg1
== NULL
) SWIG_fail
;
11896 if (!wxPyCheckForApp()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11917 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
= 0;
11919 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11920 wxString
*arg2
= 0 ;
11921 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11923 bool arg4
= (bool) true ;
11926 bool temp2
= false ;
11927 bool temp3
= false ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 PyObject
* obj2
= 0 ;
11933 PyObject
* obj3
= 0 ;
11934 char * kwnames
[] = {
11935 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11940 if (!SWIG_IsOK(res1
)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11943 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11945 arg2
= wxString_in_helper(obj1
);
11946 if (arg2
== NULL
) SWIG_fail
;
11951 arg3
= wxString_in_helper(obj2
);
11952 if (arg3
== NULL
) SWIG_fail
;
11957 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11958 if (!SWIG_IsOK(ecode4
)) {
11959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11961 arg4
= static_cast< bool >(val4
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11992 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
= 0;
11994 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11995 wxString
*arg2
= 0 ;
11998 bool temp2
= false ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char * kwnames
[] = {
12002 (char *) "self",(char *) "htmlfile", NULL
12005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12010 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12012 arg2
= wxString_in_helper(obj1
);
12013 if (arg2
== NULL
) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_Py_Void();
12037 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
= 0;
12039 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12040 wxString
*arg2
= 0 ;
12041 int arg3
= (int) wxPAGE_ALL
;
12044 bool temp2
= false ;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 PyObject
* obj2
= 0 ;
12050 char * kwnames
[] = {
12051 (char *) "self",(char *) "header",(char *) "pg", NULL
12054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12059 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12061 arg2
= wxString_in_helper(obj1
);
12062 if (arg2
== NULL
) SWIG_fail
;
12066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12067 if (!SWIG_IsOK(ecode3
)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12070 arg3
= static_cast< int >(val3
);
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_Py_Void();
12093 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
= 0;
12095 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12096 wxString
*arg2
= 0 ;
12097 int arg3
= (int) wxPAGE_ALL
;
12100 bool temp2
= false ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 PyObject
* obj2
= 0 ;
12106 char * kwnames
[] = {
12107 (char *) "self",(char *) "footer",(char *) "pg", NULL
12110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12115 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12117 arg2
= wxString_in_helper(obj1
);
12118 if (arg2
== NULL
) SWIG_fail
;
12122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12123 if (!SWIG_IsOK(ecode3
)) {
12124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12126 arg3
= static_cast< int >(val3
);
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_Py_Void();
12149 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
= 0;
12151 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12154 PyObject
*arg4
= (PyObject
*) NULL
;
12157 PyObject
* obj0
= 0 ;
12158 PyObject
* obj1
= 0 ;
12159 PyObject
* obj2
= 0 ;
12160 PyObject
* obj3
= 0 ;
12161 char * kwnames
[] = {
12162 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12170 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12172 wxString
* sptr
= wxString_in_helper(obj1
);
12173 if (sptr
== NULL
) SWIG_fail
;
12178 wxString
* sptr
= wxString_in_helper(obj2
);
12179 if (sptr
== NULL
) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_Py_Void();
12199 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12202 int arg2
= (int) -1 ;
12203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12205 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12206 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12211 bool temp3
= false ;
12212 bool temp4
= false ;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 PyObject
* obj2
= 0 ;
12216 PyObject
* obj3
= 0 ;
12217 char * kwnames
[] = {
12218 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12226 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12229 if (!SWIG_IsOK(ecode2
)) {
12230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12232 arg2
= static_cast< int >(val2
);
12236 arg3
= wxString_in_helper(obj2
);
12237 if (arg3
== NULL
) SWIG_fail
;
12243 arg4
= wxString_in_helper(obj3
);
12244 if (arg4
== NULL
) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_Py_Void();
12277 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
= 0;
12279 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12280 float arg2
= (float) 25.2 ;
12281 float arg3
= (float) 25.2 ;
12282 float arg4
= (float) 25.2 ;
12283 float arg5
= (float) 25.2 ;
12284 float arg6
= (float) 5 ;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 PyObject
* obj2
= 0 ;
12300 PyObject
* obj3
= 0 ;
12301 PyObject
* obj4
= 0 ;
12302 PyObject
* obj5
= 0 ;
12303 char * kwnames
[] = {
12304 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12312 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12314 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12315 if (!SWIG_IsOK(ecode2
)) {
12316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12318 arg2
= static_cast< float >(val2
);
12321 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12322 if (!SWIG_IsOK(ecode3
)) {
12323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12325 arg3
= static_cast< float >(val3
);
12328 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12329 if (!SWIG_IsOK(ecode4
)) {
12330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12332 arg4
= static_cast< float >(val4
);
12335 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12336 if (!SWIG_IsOK(ecode5
)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12339 arg5
= static_cast< float >(val5
);
12342 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12343 if (!SWIG_IsOK(ecode6
)) {
12344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12346 arg6
= static_cast< float >(val6
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_Py_Void();
12361 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
= 0;
12363 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 char * kwnames
[] = {
12368 (char *) "filter", NULL
12371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12376 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 wxHtmlPrintout::AddFilter(arg1
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_Py_Void();
12390 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12391 PyObject
*resultobj
= 0;
12393 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 wxHtmlPrintout::CleanUpStatics();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12410 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12411 return SWIG_Py_Void();
12414 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12415 return SWIG_Python_InitShadowInstance(args
);
12418 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
= 0;
12420 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12421 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12422 wxWindow
*arg2
= (wxWindow
*) NULL
;
12423 wxHtmlEasyPrinting
*result
= 0 ;
12424 bool temp1
= false ;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 char * kwnames
[] = {
12430 (char *) "name",(char *) "parentWindow", NULL
12433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12436 arg1
= wxString_in_helper(obj0
);
12437 if (arg1
== NULL
) SWIG_fail
;
12442 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12443 if (!SWIG_IsOK(res2
)) {
12444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12446 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12449 if (!wxPyCheckForApp()) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12470 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12471 PyObject
*resultobj
= 0;
12472 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12475 PyObject
*swig_obj
[1] ;
12477 if (!args
) SWIG_fail
;
12478 swig_obj
[0] = args
;
12479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12480 if (!SWIG_IsOK(res1
)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12483 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_Py_Void();
12498 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
= 0;
12500 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12501 wxString
*arg2
= 0 ;
12504 bool temp2
= false ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 char * kwnames
[] = {
12508 (char *) "self",(char *) "htmlfile", NULL
12511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12516 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12518 arg2
= wxString_in_helper(obj1
);
12519 if (arg2
== NULL
) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_Py_Void();
12543 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
= 0;
12545 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12546 wxString
*arg2
= 0 ;
12547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12551 bool temp2
= false ;
12552 bool temp3
= false ;
12553 PyObject
* obj0
= 0 ;
12554 PyObject
* obj1
= 0 ;
12555 PyObject
* obj2
= 0 ;
12556 char * kwnames
[] = {
12557 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12562 if (!SWIG_IsOK(res1
)) {
12563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12565 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12567 arg2
= wxString_in_helper(obj1
);
12568 if (arg2
== NULL
) SWIG_fail
;
12573 arg3
= wxString_in_helper(obj2
);
12574 if (arg3
== NULL
) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= SWIG_Py_Void();
12607 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
= 0;
12609 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12610 wxString
*arg2
= 0 ;
12613 bool temp2
= false ;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 char * kwnames
[] = {
12617 (char *) "self",(char *) "htmlfile", NULL
12620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12625 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12627 arg2
= wxString_in_helper(obj1
);
12628 if (arg2
== NULL
) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 (arg1
)->PrintFile((wxString
const &)*arg2
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_Py_Void();
12652 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
= 0;
12654 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12655 wxString
*arg2
= 0 ;
12656 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12657 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12660 bool temp2
= false ;
12661 bool temp3
= false ;
12662 PyObject
* obj0
= 0 ;
12663 PyObject
* obj1
= 0 ;
12664 PyObject
* obj2
= 0 ;
12665 char * kwnames
[] = {
12666 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12671 if (!SWIG_IsOK(res1
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12674 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12676 arg2
= wxString_in_helper(obj1
);
12677 if (arg2
== NULL
) SWIG_fail
;
12682 arg3
= wxString_in_helper(obj2
);
12683 if (arg3
== NULL
) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12716 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12717 PyObject
*resultobj
= 0;
12718 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12721 PyObject
*swig_obj
[1] ;
12723 if (!args
) SWIG_fail
;
12724 swig_obj
[0] = args
;
12725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12726 if (!SWIG_IsOK(res1
)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12729 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 (arg1
)->PageSetup();
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= SWIG_Py_Void();
12743 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
= 0;
12745 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12746 wxString
*arg2
= 0 ;
12747 int arg3
= (int) wxPAGE_ALL
;
12750 bool temp2
= false ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 PyObject
* obj2
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "header",(char *) "pg", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12765 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12767 arg2
= wxString_in_helper(obj1
);
12768 if (arg2
== NULL
) SWIG_fail
;
12772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12773 if (!SWIG_IsOK(ecode3
)) {
12774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12776 arg3
= static_cast< int >(val3
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_Py_Void();
12799 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
= 0;
12801 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12802 wxString
*arg2
= 0 ;
12803 int arg3
= (int) wxPAGE_ALL
;
12806 bool temp2
= false ;
12809 PyObject
* obj0
= 0 ;
12810 PyObject
* obj1
= 0 ;
12811 PyObject
* obj2
= 0 ;
12812 char * kwnames
[] = {
12813 (char *) "self",(char *) "footer",(char *) "pg", NULL
12816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12818 if (!SWIG_IsOK(res1
)) {
12819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12821 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12823 arg2
= wxString_in_helper(obj1
);
12824 if (arg2
== NULL
) SWIG_fail
;
12828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12829 if (!SWIG_IsOK(ecode3
)) {
12830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12832 arg3
= static_cast< int >(val3
);
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_Py_Void();
12855 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
= 0;
12857 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12860 PyObject
*arg4
= (PyObject
*) NULL
;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 PyObject
* obj2
= 0 ;
12866 PyObject
* obj3
= 0 ;
12867 char * kwnames
[] = {
12868 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12873 if (!SWIG_IsOK(res1
)) {
12874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12876 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12878 wxString
* sptr
= wxString_in_helper(obj1
);
12879 if (sptr
== NULL
) SWIG_fail
;
12884 wxString
* sptr
= wxString_in_helper(obj2
);
12885 if (sptr
== NULL
) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_Py_Void();
12905 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= 0;
12907 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12908 int arg2
= (int) -1 ;
12909 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12910 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12911 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12912 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12917 bool temp3
= false ;
12918 bool temp4
= false ;
12919 PyObject
* obj0
= 0 ;
12920 PyObject
* obj1
= 0 ;
12921 PyObject
* obj2
= 0 ;
12922 PyObject
* obj3
= 0 ;
12923 char * kwnames
[] = {
12924 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12932 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12935 if (!SWIG_IsOK(ecode2
)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12938 arg2
= static_cast< int >(val2
);
12942 arg3
= wxString_in_helper(obj2
);
12943 if (arg3
== NULL
) SWIG_fail
;
12949 arg4
= wxString_in_helper(obj3
);
12950 if (arg4
== NULL
) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_Py_Void();
12983 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12984 PyObject
*resultobj
= 0;
12985 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12986 wxPrintData
*result
= 0 ;
12989 PyObject
*swig_obj
[1] ;
12991 if (!args
) SWIG_fail
;
12992 swig_obj
[0] = args
;
12993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12997 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (wxPrintData
*)(arg1
)->GetPrintData();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13011 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13012 PyObject
*resultobj
= 0;
13013 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13014 wxPageSetupDialogData
*result
= 0 ;
13017 PyObject
*swig_obj
[1] ;
13019 if (!args
) SWIG_fail
;
13020 swig_obj
[0] = args
;
13021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13022 if (!SWIG_IsOK(res1
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13025 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13039 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13042 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13043 return SWIG_Py_Void();
13046 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13047 return SWIG_Python_InitShadowInstance(args
);
13050 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
= 0;
13052 wxString
*arg1
= 0 ;
13053 wxString
*arg2
= 0 ;
13054 wxString
*arg3
= 0 ;
13055 wxString
*arg4
= 0 ;
13056 wxHtmlBookRecord
*result
= 0 ;
13057 bool temp1
= false ;
13058 bool temp2
= false ;
13059 bool temp3
= false ;
13060 bool temp4
= false ;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 PyObject
* obj2
= 0 ;
13064 PyObject
* obj3
= 0 ;
13065 char * kwnames
[] = {
13066 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13071 arg1
= wxString_in_helper(obj0
);
13072 if (arg1
== NULL
) SWIG_fail
;
13076 arg2
= wxString_in_helper(obj1
);
13077 if (arg2
== NULL
) SWIG_fail
;
13081 arg3
= wxString_in_helper(obj2
);
13082 if (arg3
== NULL
) SWIG_fail
;
13086 arg4
= wxString_in_helper(obj3
);
13087 if (arg4
== NULL
) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13135 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13136 PyObject
*resultobj
= 0;
13137 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13141 PyObject
*swig_obj
[1] ;
13143 if (!args
) SWIG_fail
;
13144 swig_obj
[0] = args
;
13145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13146 if (!SWIG_IsOK(res1
)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13149 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (arg1
)->GetBookFile();
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13169 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 PyObject
*resultobj
= 0;
13171 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13175 PyObject
*swig_obj
[1] ;
13177 if (!args
) SWIG_fail
;
13178 swig_obj
[0] = args
;
13179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13183 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 result
= (arg1
)->GetTitle();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13203 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13204 PyObject
*resultobj
= 0;
13205 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13209 PyObject
*swig_obj
[1] ;
13211 if (!args
) SWIG_fail
;
13212 swig_obj
[0] = args
;
13213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13217 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (arg1
)->GetStart();
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13237 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13238 PyObject
*resultobj
= 0;
13239 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13243 PyObject
*swig_obj
[1] ;
13245 if (!args
) SWIG_fail
;
13246 swig_obj
[0] = args
;
13247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13248 if (!SWIG_IsOK(res1
)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13251 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (arg1
)->GetBasePath();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13271 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
= 0;
13273 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 PyObject
* obj2
= 0 ;
13285 char * kwnames
[] = {
13286 (char *) "self",(char *) "start",(char *) "end", NULL
13289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13291 if (!SWIG_IsOK(res1
)) {
13292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13294 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13296 if (!SWIG_IsOK(ecode2
)) {
13297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13299 arg2
= static_cast< int >(val2
);
13300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13301 if (!SWIG_IsOK(ecode3
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13304 arg3
= static_cast< int >(val3
);
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 (arg1
)->SetContentsRange(arg2
,arg3
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_Py_Void();
13318 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13319 PyObject
*resultobj
= 0;
13320 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13324 PyObject
*swig_obj
[1] ;
13326 if (!args
) SWIG_fail
;
13327 swig_obj
[0] = args
;
13328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13329 if (!SWIG_IsOK(res1
)) {
13330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13332 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (int)(arg1
)->GetContentsStart();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_From_int(static_cast< int >(result
));
13346 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13347 PyObject
*resultobj
= 0;
13348 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13352 PyObject
*swig_obj
[1] ;
13354 if (!args
) SWIG_fail
;
13355 swig_obj
[0] = args
;
13356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13357 if (!SWIG_IsOK(res1
)) {
13358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13360 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (int)(arg1
)->GetContentsEnd();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_From_int(static_cast< int >(result
));
13374 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
= 0;
13376 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13377 wxString
*arg2
= 0 ;
13380 bool temp2
= false ;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char * kwnames
[] = {
13384 (char *) "self",(char *) "title", NULL
13387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13389 if (!SWIG_IsOK(res1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13392 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13394 arg2
= wxString_in_helper(obj1
);
13395 if (arg2
== NULL
) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetTitle((wxString
const &)*arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_Py_Void();
13419 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
= 0;
13421 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13422 wxString
*arg2
= 0 ;
13425 bool temp2
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char * kwnames
[] = {
13429 (char *) "self",(char *) "path", NULL
13432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13437 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13439 arg2
= wxString_in_helper(obj1
);
13440 if (arg2
== NULL
) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_Py_Void();
13464 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
= 0;
13466 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13467 wxString
*arg2
= 0 ;
13470 bool temp2
= false ;
13471 PyObject
* obj0
= 0 ;
13472 PyObject
* obj1
= 0 ;
13473 char * kwnames
[] = {
13474 (char *) "self",(char *) "start", NULL
13477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13482 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13484 arg2
= wxString_in_helper(obj1
);
13485 if (arg2
== NULL
) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 (arg1
)->SetStart((wxString
const &)*arg2
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_Py_Void();
13509 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
= 0;
13511 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13512 wxString
*arg2
= 0 ;
13516 bool temp2
= false ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 char * kwnames
[] = {
13520 (char *) "self",(char *) "page", NULL
13523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13528 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13530 arg2
= wxString_in_helper(obj1
);
13531 if (arg2
== NULL
) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13561 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13564 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13565 return SWIG_Py_Void();
13568 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13569 return SWIG_Python_InitShadowInstance(args
);
13572 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13573 PyObject
*resultobj
= 0;
13574 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13578 PyObject
*swig_obj
[1] ;
13580 if (!args
) SWIG_fail
;
13581 swig_obj
[0] = args
;
13582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13583 if (!SWIG_IsOK(res1
)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13586 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)(arg1
)->Search();
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13602 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13603 PyObject
*resultobj
= 0;
13604 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13608 PyObject
*swig_obj
[1] ;
13610 if (!args
) SWIG_fail
;
13611 swig_obj
[0] = args
;
13612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13613 if (!SWIG_IsOK(res1
)) {
13614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13616 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (bool)(arg1
)->IsActive();
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13632 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13633 PyObject
*resultobj
= 0;
13634 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13638 PyObject
*swig_obj
[1] ;
13640 if (!args
) SWIG_fail
;
13641 swig_obj
[0] = args
;
13642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13646 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 result
= (int)(arg1
)->GetCurIndex();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_From_int(static_cast< int >(result
));
13660 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13661 PyObject
*resultobj
= 0;
13662 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13666 PyObject
*swig_obj
[1] ;
13668 if (!args
) SWIG_fail
;
13669 swig_obj
[0] = args
;
13670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13674 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (int)(arg1
)->GetMaxIndex();
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_From_int(static_cast< int >(result
));
13688 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13689 PyObject
*resultobj
= 0;
13690 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13691 wxString
*result
= 0 ;
13694 PyObject
*swig_obj
[1] ;
13696 if (!args
) SWIG_fail
;
13697 swig_obj
[0] = args
;
13698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13702 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 wxString
const &_result_ref
= (arg1
)->GetName();
13707 result
= (wxString
*) &_result_ref
;
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13725 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13728 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13729 return SWIG_Py_Void();
13732 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13733 PyObject
*resultobj
= 0;
13734 wxHtmlHelpData
*result
= 0 ;
13736 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13750 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13751 PyObject
*resultobj
= 0;
13752 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13755 PyObject
*swig_obj
[1] ;
13757 if (!args
) SWIG_fail
;
13758 swig_obj
[0] = args
;
13759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13760 if (!SWIG_IsOK(res1
)) {
13761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13763 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_Py_Void();
13778 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13780 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13781 wxString
*arg2
= 0 ;
13784 bool temp2
= false ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "self",(char *) "path", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13793 if (!SWIG_IsOK(res1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13796 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13798 arg2
= wxString_in_helper(obj1
);
13799 if (arg2
== NULL
) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
= 0;
13825 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13826 wxString
*arg2
= 0 ;
13830 bool temp2
= false ;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 char * kwnames
[] = {
13834 (char *) "self",(char *) "book", NULL
13837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13839 if (!SWIG_IsOK(res1
)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13842 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13844 arg2
= wxString_in_helper(obj1
);
13845 if (arg2
== NULL
) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13871 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
= 0;
13873 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13874 wxString
*arg2
= 0 ;
13878 bool temp2
= false ;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 char * kwnames
[] = {
13882 (char *) "self",(char *) "page", NULL
13885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",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_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13890 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13892 arg2
= wxString_in_helper(obj1
);
13893 if (arg2
== NULL
) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (arg1
)->FindPageByName((wxString
const &)*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());
13923 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 char * kwnames
[] = {
13935 (char *) "self",(char *) "id", NULL
13938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13940 if (!SWIG_IsOK(res1
)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13943 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13945 if (!SWIG_IsOK(ecode2
)) {
13946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13948 arg2
= static_cast< int >(val2
);
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (arg1
)->FindPageById(arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13968 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13969 PyObject
*resultobj
= 0;
13970 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13971 wxHtmlBookRecArray
*result
= 0 ;
13974 PyObject
*swig_obj
[1] ;
13976 if (!args
) SWIG_fail
;
13977 swig_obj
[0] = args
;
13978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13979 if (!SWIG_IsOK(res1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13982 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13987 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13999 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14002 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
14003 return SWIG_Py_Void();
14006 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 return SWIG_Python_InitShadowInstance(args
);
14010 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
= 0;
14012 wxWindow
*arg1
= (wxWindow
*) 0 ;
14014 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14015 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14018 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14019 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14020 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14021 wxHtmlHelpWindow
*result
= 0 ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 PyObject
* obj2
= 0 ;
14037 PyObject
* obj3
= 0 ;
14038 PyObject
* obj4
= 0 ;
14039 PyObject
* obj5
= 0 ;
14040 PyObject
* obj6
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14052 if (!SWIG_IsOK(ecode2
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14055 arg2
= static_cast< int >(val2
);
14059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14065 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14069 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14070 if (!SWIG_IsOK(ecode5
)) {
14071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14073 arg5
= static_cast< int >(val5
);
14076 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14077 if (!SWIG_IsOK(ecode6
)) {
14078 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14080 arg6
= static_cast< int >(val6
);
14083 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14084 if (!SWIG_IsOK(res7
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14087 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14090 if (!wxPyCheckForApp()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14103 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
= 0;
14105 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14106 wxHtmlHelpWindow
*result
= 0 ;
14109 PyObject
* obj0
= 0 ;
14110 char * kwnames
[] = {
14111 (char *) "data", NULL
14114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14117 if (!SWIG_IsOK(res1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14120 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14123 if (!wxPyCheckForApp()) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14136 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
= 0;
14138 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14139 wxWindow
*arg2
= (wxWindow
*) 0 ;
14141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14145 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14146 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14160 PyObject
* obj0
= 0 ;
14161 PyObject
* obj1
= 0 ;
14162 PyObject
* obj2
= 0 ;
14163 PyObject
* obj3
= 0 ;
14164 PyObject
* obj4
= 0 ;
14165 PyObject
* obj5
= 0 ;
14166 PyObject
* obj6
= 0 ;
14167 char * kwnames
[] = {
14168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14176 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14178 if (!SWIG_IsOK(res2
)) {
14179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14183 if (!SWIG_IsOK(ecode3
)) {
14184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14186 arg3
= static_cast< int >(val3
);
14190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14200 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14201 if (!SWIG_IsOK(ecode6
)) {
14202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14204 arg6
= static_cast< int >(val6
);
14207 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14208 if (!SWIG_IsOK(ecode7
)) {
14209 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14211 arg7
= static_cast< int >(val7
);
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14228 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14229 PyObject
*resultobj
= 0;
14230 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14231 wxHtmlHelpData
*result
= 0 ;
14234 PyObject
*swig_obj
[1] ;
14236 if (!args
) SWIG_fail
;
14237 swig_obj
[0] = args
;
14238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14242 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14256 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14257 PyObject
*resultobj
= 0;
14258 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14259 wxHtmlHelpController
*result
= 0 ;
14262 PyObject
*swig_obj
[1] ;
14264 if (!args
) SWIG_fail
;
14265 swig_obj
[0] = args
;
14266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14267 if (!SWIG_IsOK(res1
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14270 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14284 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
= 0;
14286 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14287 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char * kwnames
[] = {
14294 (char *) "self",(char *) "controller", NULL
14297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14302 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14303 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14304 if (!SWIG_IsOK(res2
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 (arg1
)->SetController(arg2
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= SWIG_Py_Void();
14320 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
= 0;
14322 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14323 wxString
*arg2
= 0 ;
14327 bool temp2
= false ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 char * kwnames
[] = {
14331 (char *) "self",(char *) "x", NULL
14334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14339 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14341 arg2
= wxString_in_helper(obj1
);
14342 if (arg2
== NULL
) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14368 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
= 0;
14370 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 char * kwnames
[] = {
14380 (char *) "self",(char *) "id", NULL
14383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14388 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14390 if (!SWIG_IsOK(ecode2
)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14393 arg2
= static_cast< int >(val2
);
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (bool)(arg1
)->Display(arg2
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14409 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14410 PyObject
*resultobj
= 0;
14411 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14415 PyObject
*swig_obj
[1] ;
14417 if (!args
) SWIG_fail
;
14418 swig_obj
[0] = args
;
14419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14420 if (!SWIG_IsOK(res1
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14423 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (bool)(arg1
)->DisplayContents();
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14439 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14440 PyObject
*resultobj
= 0;
14441 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14445 PyObject
*swig_obj
[1] ;
14447 if (!args
) SWIG_fail
;
14448 swig_obj
[0] = args
;
14449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14450 if (!SWIG_IsOK(res1
)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14453 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)(arg1
)->DisplayIndex();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
= 0;
14471 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14472 wxString
*arg2
= 0 ;
14473 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14477 bool temp2
= false ;
14480 PyObject
* obj0
= 0 ;
14481 PyObject
* obj1
= 0 ;
14482 PyObject
* obj2
= 0 ;
14483 char * kwnames
[] = {
14484 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14489 if (!SWIG_IsOK(res1
)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14492 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14494 arg2
= wxString_in_helper(obj1
);
14495 if (arg2
== NULL
) SWIG_fail
;
14500 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14501 if (!SWIG_IsOK(res3
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14507 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14509 if (SWIG_IsNewObj(res3
)) delete temp
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
= 0;
14538 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14539 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14540 wxString
const &arg3_defvalue
= wxEmptyString
;
14541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14546 bool temp3
= false ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 PyObject
* obj2
= 0 ;
14550 char * kwnames
[] = {
14551 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14559 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14561 if (!SWIG_IsOK(res2
)) {
14562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14564 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14567 arg3
= wxString_in_helper(obj2
);
14568 if (arg3
== NULL
) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14578 resultobj
= SWIG_Py_Void();
14593 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
= 0;
14595 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14596 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14597 wxString
const &arg3_defvalue
= wxEmptyString
;
14598 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14603 bool temp3
= false ;
14604 PyObject
* obj0
= 0 ;
14605 PyObject
* obj1
= 0 ;
14606 PyObject
* obj2
= 0 ;
14607 char * kwnames
[] = {
14608 (char *) "self",(char *) "cfg",(char *) "path", NULL
14611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14613 if (!SWIG_IsOK(res1
)) {
14614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14616 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14618 if (!SWIG_IsOK(res2
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14621 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14624 arg3
= wxString_in_helper(obj2
);
14625 if (arg3
== NULL
) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= SWIG_Py_Void();
14650 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
= 0;
14652 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14653 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14654 wxString
const &arg3_defvalue
= wxEmptyString
;
14655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14660 bool temp3
= false ;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 PyObject
* obj2
= 0 ;
14664 char * kwnames
[] = {
14665 (char *) "self",(char *) "cfg",(char *) "path", NULL
14668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14670 if (!SWIG_IsOK(res1
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14673 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14675 if (!SWIG_IsOK(res2
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14678 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14681 arg3
= wxString_in_helper(obj2
);
14682 if (arg3
== NULL
) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_Py_Void();
14707 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14708 PyObject
*resultobj
= 0;
14709 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14712 PyObject
*swig_obj
[1] ;
14714 if (!args
) SWIG_fail
;
14715 swig_obj
[0] = args
;
14716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14717 if (!SWIG_IsOK(res1
)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14720 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 (arg1
)->NotifyPageChanged();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_Py_Void();
14734 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14735 PyObject
*resultobj
= 0;
14736 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14739 PyObject
*swig_obj
[1] ;
14741 if (!args
) SWIG_fail
;
14742 swig_obj
[0] = args
;
14743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14744 if (!SWIG_IsOK(res1
)) {
14745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14747 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 (arg1
)->RefreshLists();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_Py_Void();
14761 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14762 PyObject
*resultobj
= 0;
14763 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14764 wxHtmlWindow
*result
= 0 ;
14767 PyObject
*swig_obj
[1] ;
14769 if (!args
) SWIG_fail
;
14770 swig_obj
[0] = args
;
14771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14772 if (!SWIG_IsOK(res1
)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14775 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14789 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14790 PyObject
*resultobj
= 0;
14791 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14792 wxSplitterWindow
*result
= 0 ;
14795 PyObject
*swig_obj
[1] ;
14797 if (!args
) SWIG_fail
;
14798 swig_obj
[0] = args
;
14799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14803 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14817 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14818 PyObject
*resultobj
= 0;
14819 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14820 wxToolBar
*result
= 0 ;
14823 PyObject
*swig_obj
[1] ;
14825 if (!args
) SWIG_fail
;
14826 swig_obj
[0] = args
;
14827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14831 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14847 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14848 PyObject
*resultobj
= 0;
14849 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14850 wxHtmlHelpFrameCfg
*result
= 0 ;
14853 PyObject
*swig_obj
[1] ;
14855 if (!args
) SWIG_fail
;
14856 swig_obj
[0] = args
;
14857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14861 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14866 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14878 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14879 PyObject
*resultobj
= 0;
14880 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14881 wxPyTreeCtrl
*result
= 0 ;
14884 PyObject
*swig_obj
[1] ;
14886 if (!args
) SWIG_fail
;
14887 swig_obj
[0] = args
;
14888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14889 if (!SWIG_IsOK(res1
)) {
14890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14892 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (wxPyTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14908 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14910 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14911 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14912 return SWIG_Py_Void();
14915 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14916 return SWIG_Python_InitShadowInstance(args
);
14919 SWIGINTERN PyObject
*_wrap_new_HtmlCellEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
= 0;
14923 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
14924 wxPoint
*arg4
= 0 ;
14925 wxMouseEvent
*arg5
= 0 ;
14926 wxHtmlCellEvent
*result
= 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 PyObject
* obj2
= 0 ;
14939 PyObject
* obj3
= 0 ;
14940 PyObject
* obj4
= 0 ;
14941 char * kwnames
[] = {
14942 (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL
14945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_HtmlCellEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14946 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14947 if (!SWIG_IsOK(ecode1
)) {
14948 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14950 arg1
= static_cast< wxEventType
>(val1
);
14951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14952 if (!SWIG_IsOK(ecode2
)) {
14953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'");
14955 arg2
= static_cast< int >(val2
);
14956 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
14957 if (!SWIG_IsOK(res3
)) {
14958 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'");
14960 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
14963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14965 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14966 if (!SWIG_IsOK(res5
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
14970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
14972 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (wxHtmlCellEvent
*)new wxHtmlCellEvent(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxMouseEvent
const &)*arg5
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCellEvent
, SWIG_POINTER_NEW
| 0 );
14986 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14987 PyObject
*resultobj
= 0;
14988 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
14989 wxHtmlCell
*result
= 0 ;
14992 PyObject
*swig_obj
[1] ;
14994 if (!args
) SWIG_fail
;
14995 swig_obj
[0] = args
;
14996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
14997 if (!SWIG_IsOK(res1
)) {
14998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15000 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (wxHtmlCell
*)((wxHtmlCellEvent
const *)arg1
)->GetCell();
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= wxPyMake_wxObject(result
, 0);
15016 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15017 PyObject
*resultobj
= 0;
15018 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15022 PyObject
*swig_obj
[1] ;
15024 if (!args
) SWIG_fail
;
15025 swig_obj
[0] = args
;
15026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15027 if (!SWIG_IsOK(res1
)) {
15028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15030 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= ((wxHtmlCellEvent
const *)arg1
)->GetPoint();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15044 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 PyObject
*resultobj
= 0;
15046 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15047 wxMouseEvent result
;
15050 PyObject
*swig_obj
[1] ;
15052 if (!args
) SWIG_fail
;
15053 swig_obj
[0] = args
;
15054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15055 if (!SWIG_IsOK(res1
)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15058 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= ((wxHtmlCellEvent
const *)arg1
)->GetMouseEvent();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent
& >(result
))), SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_OWN
| 0 );
15072 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_SetLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
= 0;
15074 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char * kwnames
[] = {
15083 (char *) "self",(char *) "linkclicked", NULL
15086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15088 if (!SWIG_IsOK(res1
)) {
15089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'");
15091 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15092 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15093 if (!SWIG_IsOK(ecode2
)) {
15094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'");
15096 arg2
= static_cast< bool >(val2
);
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 (arg1
)->SetLinkClicked(arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_Py_Void();
15110 SWIGINTERN PyObject
*_wrap_HtmlCellEvent_GetLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15111 PyObject
*resultobj
= 0;
15112 wxHtmlCellEvent
*arg1
= (wxHtmlCellEvent
*) 0 ;
15116 PyObject
*swig_obj
[1] ;
15118 if (!args
) SWIG_fail
;
15119 swig_obj
[0] = args
;
15120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCellEvent
, 0 | 0 );
15121 if (!SWIG_IsOK(res1
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'");
15124 arg1
= reinterpret_cast< wxHtmlCellEvent
* >(argp1
);
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (bool)((wxHtmlCellEvent
const *)arg1
)->GetLinkClicked();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15140 SWIGINTERN PyObject
*HtmlCellEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15143 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent
, SWIG_NewClientData(obj
));
15144 return SWIG_Py_Void();
15147 SWIGINTERN PyObject
*HtmlCellEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15148 return SWIG_Python_InitShadowInstance(args
);
15151 SWIGINTERN PyObject
*_wrap_new_HtmlLinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
= 0;
15154 wxHtmlLinkInfo
*arg2
= 0 ;
15155 wxHtmlLinkEvent
*result
= 0 ;
15160 PyObject
* obj0
= 0 ;
15161 PyObject
* obj1
= 0 ;
15162 char * kwnames
[] = {
15163 (char *) "id",(char *) "linkinfo", NULL
15166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlLinkEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15167 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15168 if (!SWIG_IsOK(ecode1
)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'");
15171 arg1
= static_cast< int >(val1
);
15172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15173 if (!SWIG_IsOK(res2
)) {
15174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
15179 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (wxHtmlLinkEvent
*)new wxHtmlLinkEvent(arg1
,(wxHtmlLinkInfo
const &)*arg2
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkEvent
, SWIG_POINTER_NEW
| 0 );
15193 SWIGINTERN PyObject
*_wrap_HtmlLinkEvent_GetLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15194 PyObject
*resultobj
= 0;
15195 wxHtmlLinkEvent
*arg1
= (wxHtmlLinkEvent
*) 0 ;
15196 wxHtmlLinkInfo
*result
= 0 ;
15199 PyObject
*swig_obj
[1] ;
15201 if (!args
) SWIG_fail
;
15202 swig_obj
[0] = args
;
15203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkEvent
, 0 | 0 );
15204 if (!SWIG_IsOK(res1
)) {
15205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'");
15207 arg1
= reinterpret_cast< wxHtmlLinkEvent
* >(argp1
);
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 wxHtmlLinkInfo
const &_result_ref
= ((wxHtmlLinkEvent
const *)arg1
)->GetLinkInfo();
15212 result
= (wxHtmlLinkInfo
*) &_result_ref
;
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
15224 SWIGINTERN PyObject
*HtmlLinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15227 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent
, SWIG_NewClientData(obj
));
15228 return SWIG_Py_Void();
15231 SWIGINTERN PyObject
*HtmlLinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15232 return SWIG_Python_InitShadowInstance(args
);
15235 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
= 0;
15237 wxWindow
*arg1
= (wxWindow
*) 0 ;
15239 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15240 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15241 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15242 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15243 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15244 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15246 wxHtmlHelpFrame
*result
= 0 ;
15251 bool temp3
= false ;
15258 bool temp7
= false ;
15259 PyObject
* obj0
= 0 ;
15260 PyObject
* obj1
= 0 ;
15261 PyObject
* obj2
= 0 ;
15262 PyObject
* obj3
= 0 ;
15263 PyObject
* obj4
= 0 ;
15264 PyObject
* obj5
= 0 ;
15265 PyObject
* obj6
= 0 ;
15266 char * kwnames
[] = {
15267 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL
15270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15272 if (!SWIG_IsOK(res1
)) {
15273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15275 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15277 if (!SWIG_IsOK(ecode2
)) {
15278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15280 arg2
= static_cast< int >(val2
);
15283 arg3
= wxString_in_helper(obj2
);
15284 if (arg3
== NULL
) SWIG_fail
;
15289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15290 if (!SWIG_IsOK(ecode4
)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15293 arg4
= static_cast< int >(val4
);
15296 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15297 if (!SWIG_IsOK(res5
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15300 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15303 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15304 if (!SWIG_IsOK(res6
)) {
15305 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15307 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15311 arg7
= wxString_in_helper(obj6
);
15312 if (arg7
== NULL
) SWIG_fail
;
15317 if (!wxPyCheckForApp()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15346 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
= 0;
15348 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15349 wxHtmlHelpFrame
*result
= 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char * kwnames
[] = {
15354 (char *) "data", NULL
15357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15363 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15366 if (!wxPyCheckForApp()) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15379 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
= 0;
15381 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15382 wxWindow
*arg2
= (wxWindow
*) 0 ;
15384 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15385 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15386 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15387 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15388 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15389 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15397 bool temp4
= false ;
15402 bool temp7
= false ;
15403 PyObject
* obj0
= 0 ;
15404 PyObject
* obj1
= 0 ;
15405 PyObject
* obj2
= 0 ;
15406 PyObject
* obj3
= 0 ;
15407 PyObject
* obj4
= 0 ;
15408 PyObject
* obj5
= 0 ;
15409 PyObject
* obj6
= 0 ;
15410 char * kwnames
[] = {
15411 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL
15414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15416 if (!SWIG_IsOK(res1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15419 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15421 if (!SWIG_IsOK(res2
)) {
15422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15426 if (!SWIG_IsOK(ecode3
)) {
15427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15429 arg3
= static_cast< int >(val3
);
15432 arg4
= wxString_in_helper(obj3
);
15433 if (arg4
== NULL
) SWIG_fail
;
15438 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15439 if (!SWIG_IsOK(ecode5
)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15442 arg5
= static_cast< int >(val5
);
15445 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15446 if (!SWIG_IsOK(res6
)) {
15447 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15449 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15453 arg7
= wxString_in_helper(obj6
);
15454 if (arg7
== NULL
) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15489 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15490 PyObject
*resultobj
= 0;
15491 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15492 wxHtmlHelpData
*result
= 0 ;
15495 PyObject
*swig_obj
[1] ;
15497 if (!args
) SWIG_fail
;
15498 swig_obj
[0] = args
;
15499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15500 if (!SWIG_IsOK(res1
)) {
15501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15503 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15517 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
= 0;
15519 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15520 wxString
*arg2
= 0 ;
15523 bool temp2
= false ;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 char * kwnames
[] = {
15527 (char *) "self",(char *) "format", NULL
15530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15532 if (!SWIG_IsOK(res1
)) {
15533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15535 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15537 arg2
= wxString_in_helper(obj1
);
15538 if (arg2
== NULL
) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= SWIG_Py_Void();
15562 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15563 PyObject
*resultobj
= 0;
15564 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15567 PyObject
*swig_obj
[1] ;
15569 if (!args
) SWIG_fail
;
15570 swig_obj
[0] = args
;
15571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15572 if (!SWIG_IsOK(res1
)) {
15573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15575 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 (arg1
)->AddGrabIfNeeded();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= SWIG_Py_Void();
15589 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15590 PyObject
*resultobj
= 0;
15591 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15592 wxHtmlHelpController
*result
= 0 ;
15595 PyObject
*swig_obj
[1] ;
15597 if (!args
) SWIG_fail
;
15598 swig_obj
[0] = args
;
15599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15600 if (!SWIG_IsOK(res1
)) {
15601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15603 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15617 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
= 0;
15619 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15620 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 char * kwnames
[] = {
15627 (char *) "self",(char *) "controller", NULL
15630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15635 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15636 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15637 if (!SWIG_IsOK(res2
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 (arg1
)->SetController(arg2
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= SWIG_Py_Void();
15653 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15654 PyObject
*resultobj
= 0;
15655 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15656 wxHtmlHelpWindow
*result
= 0 ;
15659 PyObject
*swig_obj
[1] ;
15661 if (!args
) SWIG_fail
;
15662 swig_obj
[0] = args
;
15663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15664 if (!SWIG_IsOK(res1
)) {
15665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15667 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= wxPyMake_wxObject(result
, 0);
15683 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15686 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15687 return SWIG_Py_Void();
15690 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15691 return SWIG_Python_InitShadowInstance(args
);
15694 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
= 0;
15696 wxWindow
*arg1
= (wxWindow
*) 0 ;
15698 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15699 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15700 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15701 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15702 wxHtmlHelpDialog
*result
= 0 ;
15707 bool temp3
= false ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 PyObject
* obj2
= 0 ;
15715 PyObject
* obj3
= 0 ;
15716 PyObject
* obj4
= 0 ;
15717 char * kwnames
[] = {
15718 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15726 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15728 if (!SWIG_IsOK(ecode2
)) {
15729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15731 arg2
= static_cast< int >(val2
);
15734 arg3
= wxString_in_helper(obj2
);
15735 if (arg3
== NULL
) SWIG_fail
;
15740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15741 if (!SWIG_IsOK(ecode4
)) {
15742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15744 arg4
= static_cast< int >(val4
);
15747 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15748 if (!SWIG_IsOK(res5
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15751 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15754 if (!wxPyCheckForApp()) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15775 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
= 0;
15777 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15778 wxHtmlHelpDialog
*result
= 0 ;
15781 PyObject
* obj0
= 0 ;
15782 char * kwnames
[] = {
15783 (char *) "data", NULL
15786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15789 if (!SWIG_IsOK(res1
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15792 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15795 if (!wxPyCheckForApp()) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15808 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
= 0;
15810 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15811 wxWindow
*arg2
= (wxWindow
*) 0 ;
15813 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15814 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15815 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15823 bool temp4
= false ;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 PyObject
* obj2
= 0 ;
15829 PyObject
* obj3
= 0 ;
15830 PyObject
* obj4
= 0 ;
15831 char * kwnames
[] = {
15832 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15840 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15842 if (!SWIG_IsOK(res2
)) {
15843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15845 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15847 if (!SWIG_IsOK(ecode3
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15850 arg3
= static_cast< int >(val3
);
15853 arg4
= wxString_in_helper(obj3
);
15854 if (arg4
== NULL
) SWIG_fail
;
15859 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15860 if (!SWIG_IsOK(ecode5
)) {
15861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15863 arg5
= static_cast< int >(val5
);
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15888 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15889 PyObject
*resultobj
= 0;
15890 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15891 wxHtmlHelpData
*result
= 0 ;
15894 PyObject
*swig_obj
[1] ;
15896 if (!args
) SWIG_fail
;
15897 swig_obj
[0] = args
;
15898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15902 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15916 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15917 PyObject
*resultobj
= 0;
15918 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15919 wxHtmlHelpController
*result
= 0 ;
15922 PyObject
*swig_obj
[1] ;
15924 if (!args
) SWIG_fail
;
15925 swig_obj
[0] = args
;
15926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15930 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15944 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= 0;
15946 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15947 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 char * kwnames
[] = {
15954 (char *) "self",(char *) "controller", NULL
15957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15959 if (!SWIG_IsOK(res1
)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15962 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15963 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15964 if (!SWIG_IsOK(res2
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 (arg1
)->SetController(arg2
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_Py_Void();
15980 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15981 PyObject
*resultobj
= 0;
15982 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15983 wxHtmlHelpWindow
*result
= 0 ;
15986 PyObject
*swig_obj
[1] ;
15988 if (!args
) SWIG_fail
;
15989 swig_obj
[0] = args
;
15990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15991 if (!SWIG_IsOK(res1
)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15994 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= wxPyMake_wxObject(result
, 0);
16010 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
= 0;
16012 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
16013 wxString
*arg2
= 0 ;
16016 bool temp2
= false ;
16017 PyObject
* obj0
= 0 ;
16018 PyObject
* obj1
= 0 ;
16019 char * kwnames
[] = {
16020 (char *) "self",(char *) "format", NULL
16023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
16025 if (!SWIG_IsOK(res1
)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
16028 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
16030 arg2
= wxString_in_helper(obj1
);
16031 if (arg2
== NULL
) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= SWIG_Py_Void();
16055 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16058 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
16059 return SWIG_Py_Void();
16062 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16063 return SWIG_Python_InitShadowInstance(args
);
16066 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16067 PyObject
*resultobj
= 0;
16068 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16069 wxString
*arg2
= 0 ;
16074 bool temp2
= false ;
16078 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16080 if (!SWIG_IsOK(res1
)) {
16081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16083 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16085 arg2
= wxString_in_helper(swig_obj
[1]);
16086 if (arg2
== NULL
) SWIG_fail
;
16089 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
16090 if (!SWIG_IsOK(ecode3
)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
16093 arg3
= static_cast< int >(val3
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16117 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16118 PyObject
*resultobj
= 0;
16119 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16120 wxString
*arg2
= 0 ;
16124 bool temp2
= false ;
16126 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16128 if (!SWIG_IsOK(res1
)) {
16129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16131 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16133 arg2
= wxString_in_helper(swig_obj
[1]);
16134 if (arg2
== NULL
) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16160 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
16164 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
16167 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
16170 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
16174 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
16179 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
= 0;
16181 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16182 wxString
*arg2
= 0 ;
16183 long arg3
= (long) 0 ;
16186 bool temp2
= false ;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 PyObject
* obj2
= 0 ;
16192 char * kwnames
[] = {
16193 (char *) "self",(char *) "viewer",(char *) "flags", NULL
16196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16201 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16203 arg2
= wxString_in_helper(obj1
);
16204 if (arg2
== NULL
) SWIG_fail
;
16208 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16209 if (!SWIG_IsOK(ecode3
)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16212 arg3
= static_cast< long >(val3
);
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= SWIG_Py_Void();
16235 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
= 0;
16237 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16238 wxString
const &arg2_defvalue
= wxEmptyString
;
16239 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16243 bool temp2
= false ;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 char * kwnames
[] = {
16247 (char *) "self",(char *) "file", NULL
16250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16252 if (!SWIG_IsOK(res1
)) {
16253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16255 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16258 arg2
= wxString_in_helper(obj1
);
16259 if (arg2
== NULL
) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16286 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16287 PyObject
*resultobj
= 0;
16288 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16292 PyObject
*swig_obj
[1] ;
16294 if (!args
) SWIG_fail
;
16295 swig_obj
[0] = args
;
16296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16297 if (!SWIG_IsOK(res1
)) {
16298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16300 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (bool)(arg1
)->DisplayContents();
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16316 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16317 PyObject
*resultobj
= 0;
16318 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16326 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16331 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16332 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16333 if (!SWIG_IsOK(ecode2
)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16336 arg2
= static_cast< int >(val2
);
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (bool)(arg1
)->DisplaySection(arg2
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16352 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
= 0;
16354 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char * kwnames
[] = {
16364 (char *) "self",(char *) "contextId", NULL
16367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16372 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16374 if (!SWIG_IsOK(ecode2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16377 arg2
= static_cast< int >(val2
);
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16393 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
= 0;
16395 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16396 wxString
*arg2
= 0 ;
16397 wxPoint
*arg3
= 0 ;
16401 bool temp2
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 PyObject
* obj2
= 0 ;
16406 char * kwnames
[] = {
16407 (char *) "self",(char *) "text",(char *) "pos", NULL
16410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16415 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16417 arg2
= wxString_in_helper(obj1
);
16418 if (arg2
== NULL
) SWIG_fail
;
16423 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16448 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16449 PyObject
*resultobj
= 0;
16450 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16451 wxString
*arg2
= 0 ;
16455 bool temp2
= false ;
16457 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16462 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16464 arg2
= wxString_in_helper(swig_obj
[1]);
16465 if (arg2
== NULL
) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16495 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16501 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16504 if (!_v
) goto check_1
;
16505 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16510 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16514 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16519 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
= 0;
16521 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 char * kwnames
[] = {
16531 (char *) "self",(char *) "blockNo", NULL
16534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16536 if (!SWIG_IsOK(res1
)) {
16537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16539 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16540 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16541 if (!SWIG_IsOK(ecode2
)) {
16542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16544 arg2
= static_cast< long >(val2
);
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16560 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
= 0;
16562 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16563 wxString
*arg2
= 0 ;
16564 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16568 bool temp2
= false ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 PyObject
* obj2
= 0 ;
16574 char * kwnames
[] = {
16575 (char *) "self",(char *) "k",(char *) "mode", NULL
16578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16583 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16585 arg2
= wxString_in_helper(obj1
);
16586 if (arg2
== NULL
) SWIG_fail
;
16591 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16592 if (!SWIG_IsOK(res3
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16598 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16600 if (SWIG_IsNewObj(res3
)) delete temp
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16627 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
= 0;
16629 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16630 wxString
*arg2
= 0 ;
16632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16634 bool arg5
= (bool) false ;
16637 bool temp2
= false ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 PyObject
* obj2
= 0 ;
16645 PyObject
* obj3
= 0 ;
16646 PyObject
* obj4
= 0 ;
16647 char * kwnames
[] = {
16648 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16656 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16658 arg2
= wxString_in_helper(obj1
);
16659 if (arg2
== NULL
) SWIG_fail
;
16664 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16673 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16674 if (!SWIG_IsOK(ecode5
)) {
16675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16677 arg5
= static_cast< bool >(val5
);
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_Py_Void();
16700 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
= 0;
16702 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16703 wxSize
*arg2
= (wxSize
*) NULL
;
16704 wxPoint
*arg3
= (wxPoint
*) NULL
;
16705 bool *arg4
= (bool *) NULL
;
16706 wxFrame
*result
= 0 ;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 PyObject
* obj2
= 0 ;
16718 PyObject
* obj3
= 0 ;
16719 char * kwnames
[] = {
16720 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16725 if (!SWIG_IsOK(res1
)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16728 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16731 if (!SWIG_IsOK(res2
)) {
16732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16734 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16737 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16738 if (!SWIG_IsOK(res3
)) {
16739 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16741 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16744 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16745 if (!SWIG_IsOK(res4
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16748 arg4
= reinterpret_cast< bool * >(argp4
);
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= wxPyMake_wxObject(result
, 0);
16765 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16766 PyObject
*resultobj
= 0;
16767 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16771 PyObject
*swig_obj
[1] ;
16773 if (!args
) SWIG_fail
;
16774 swig_obj
[0] = args
;
16775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16776 if (!SWIG_IsOK(res1
)) {
16777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16779 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (bool)(arg1
)->Quit();
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16795 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16796 PyObject
*resultobj
= 0;
16797 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16800 PyObject
*swig_obj
[1] ;
16802 if (!args
) SWIG_fail
;
16803 swig_obj
[0] = args
;
16804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16808 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_Py_Void();
16822 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
= 0;
16824 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16825 wxWindow
*arg2
= (wxWindow
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char * kwnames
[] = {
16833 (char *) "self",(char *) "win", NULL
16836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16838 if (!SWIG_IsOK(res1
)) {
16839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16841 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16843 if (!SWIG_IsOK(res2
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16846 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 (arg1
)->SetParentWindow(arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_Py_Void();
16860 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16861 PyObject
*resultobj
= 0;
16862 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16863 wxWindow
*result
= 0 ;
16866 PyObject
*swig_obj
[1] ;
16868 if (!args
) SWIG_fail
;
16869 swig_obj
[0] = args
;
16870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16871 if (!SWIG_IsOK(res1
)) {
16872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16874 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= wxPyMake_wxObject(result
, 0);
16890 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16893 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16894 return SWIG_Py_Void();
16897 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
= 0;
16899 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16900 wxWindow
*arg2
= (wxWindow
*) NULL
;
16901 wxHtmlHelpController
*result
= 0 ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char * kwnames
[] = {
16909 (char *) "style",(char *) "parentWindow", NULL
16912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16915 if (!SWIG_IsOK(ecode1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16918 arg1
= static_cast< int >(val1
);
16921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16922 if (!SWIG_IsOK(res2
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16928 if (!wxPyCheckForApp()) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16941 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16942 PyObject
*resultobj
= 0;
16943 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16946 PyObject
*swig_obj
[1] ;
16948 if (!args
) SWIG_fail
;
16949 swig_obj
[0] = args
;
16950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16954 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_Py_Void();
16969 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16970 PyObject
*resultobj
= 0;
16971 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16972 wxHtmlHelpWindow
*result
= 0 ;
16975 PyObject
*swig_obj
[1] ;
16977 if (!args
) SWIG_fail
;
16978 swig_obj
[0] = args
;
16979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16983 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= wxPyMake_wxObject(result
, 0);
16999 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
= 0;
17001 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17002 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 char * kwnames
[] = {
17010 (char *) "self",(char *) "helpWindow", NULL
17013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17015 if (!SWIG_IsOK(res1
)) {
17016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17018 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
17020 if (!SWIG_IsOK(res2
)) {
17021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
17023 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 (arg1
)->SetHelpWindow(arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= SWIG_Py_Void();
17037 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17038 PyObject
*resultobj
= 0;
17039 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17040 wxHtmlHelpFrame
*result
= 0 ;
17043 PyObject
*swig_obj
[1] ;
17045 if (!args
) SWIG_fail
;
17046 swig_obj
[0] = args
;
17047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17048 if (!SWIG_IsOK(res1
)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17051 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= wxPyMake_wxObject(result
, 0);
17067 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17068 PyObject
*resultobj
= 0;
17069 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17070 wxHtmlHelpDialog
*result
= 0 ;
17073 PyObject
*swig_obj
[1] ;
17075 if (!args
) SWIG_fail
;
17076 swig_obj
[0] = args
;
17077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17078 if (!SWIG_IsOK(res1
)) {
17079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17081 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= wxPyMake_wxObject(result
, 0);
17097 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
= 0;
17099 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17100 wxString
*arg2
= 0 ;
17103 bool temp2
= false ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "self",(char *) "format", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17115 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17117 arg2
= wxString_in_helper(obj1
);
17118 if (arg2
== NULL
) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_Py_Void();
17142 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
= 0;
17144 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17145 wxString
*arg2
= 0 ;
17148 bool temp2
= false ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "path", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17160 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17162 arg2
= wxString_in_helper(obj1
);
17163 if (arg2
== NULL
) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->SetTempDir((wxString
const &)*arg2
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_Py_Void();
17187 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17190 wxString
*arg2
= 0 ;
17191 int arg3
= (int) false ;
17195 bool temp2
= false ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 PyObject
* obj2
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17207 if (!SWIG_IsOK(res1
)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17210 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17212 arg2
= wxString_in_helper(obj1
);
17213 if (arg2
== NULL
) SWIG_fail
;
17217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17218 if (!SWIG_IsOK(ecode3
)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17221 arg3
= static_cast< int >(val3
);
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17246 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
= 0;
17248 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17249 wxString
*arg2
= 0 ;
17252 bool temp2
= false ;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 char * kwnames
[] = {
17256 (char *) "self",(char *) "x", NULL
17259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17261 if (!SWIG_IsOK(res1
)) {
17262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17264 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17266 arg2
= wxString_in_helper(obj1
);
17267 if (arg2
== NULL
) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 (arg1
)->Display((wxString
const &)*arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= SWIG_Py_Void();
17291 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
= 0;
17293 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 char * kwnames
[] = {
17302 (char *) "self",(char *) "id", NULL
17305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17310 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17312 if (!SWIG_IsOK(ecode2
)) {
17313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17315 arg2
= static_cast< int >(val2
);
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 (arg1
)->Display(arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_Py_Void();
17329 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17330 PyObject
*resultobj
= 0;
17331 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17334 PyObject
*swig_obj
[1] ;
17336 if (!args
) SWIG_fail
;
17337 swig_obj
[0] = args
;
17338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17339 if (!SWIG_IsOK(res1
)) {
17340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17342 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 (arg1
)->DisplayContents();
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= SWIG_Py_Void();
17356 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17357 PyObject
*resultobj
= 0;
17358 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17361 PyObject
*swig_obj
[1] ;
17363 if (!args
) SWIG_fail
;
17364 swig_obj
[0] = args
;
17365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17366 if (!SWIG_IsOK(res1
)) {
17367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17369 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->DisplayIndex();
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_Py_Void();
17383 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
= 0;
17385 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17386 wxString
*arg2
= 0 ;
17390 bool temp2
= false ;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 char * kwnames
[] = {
17394 (char *) "self",(char *) "keyword", NULL
17397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17399 if (!SWIG_IsOK(res1
)) {
17400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17402 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17404 arg2
= wxString_in_helper(obj1
);
17405 if (arg2
== NULL
) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17431 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
= 0;
17433 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17434 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17441 bool temp3
= false ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 PyObject
* obj2
= 0 ;
17445 char * kwnames
[] = {
17446 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17451 if (!SWIG_IsOK(res1
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17454 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17456 if (!SWIG_IsOK(res2
)) {
17457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17459 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17462 arg3
= wxString_in_helper(obj2
);
17463 if (arg3
== NULL
) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_Py_Void();
17488 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
= 0;
17490 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17491 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17492 wxString arg3
= (wxString
) wxPyEmptyString
;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 PyObject
* obj2
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "cfg",(char *) "path", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17509 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17511 if (!SWIG_IsOK(res2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17514 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17517 wxString
* sptr
= wxString_in_helper(obj2
);
17518 if (sptr
== NULL
) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 (arg1
)->ReadCustomization(arg2
,arg3
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_Py_Void();
17536 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
= 0;
17538 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17539 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17540 wxString arg3
= (wxString
) wxPyEmptyString
;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 PyObject
* obj2
= 0 ;
17548 char * kwnames
[] = {
17549 (char *) "self",(char *) "cfg",(char *) "path", NULL
17552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17554 if (!SWIG_IsOK(res1
)) {
17555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17557 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17559 if (!SWIG_IsOK(res2
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17562 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17565 wxString
* sptr
= wxString_in_helper(obj2
);
17566 if (sptr
== NULL
) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 (arg1
)->WriteCustomization(arg2
,arg3
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_Py_Void();
17584 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17585 PyObject
*resultobj
= 0;
17586 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17589 PyObject
*swig_obj
[1] ;
17591 if (!args
) SWIG_fail
;
17592 swig_obj
[0] = args
;
17593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17594 if (!SWIG_IsOK(res1
)) {
17595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17597 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->MakeModalIfNeeded();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_Py_Void();
17611 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17612 PyObject
*resultobj
= 0;
17613 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17614 wxWindow
*result
= 0 ;
17617 PyObject
*swig_obj
[1] ;
17619 if (!args
) SWIG_fail
;
17620 swig_obj
[0] = args
;
17621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17622 if (!SWIG_IsOK(res1
)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17625 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= wxPyMake_wxObject(result
, 0);
17641 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17644 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17645 return SWIG_Py_Void();
17648 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17649 return SWIG_Python_InitShadowInstance(args
);
17652 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= 0;
17654 wxWindow
*arg1
= (wxWindow
*) 0 ;
17655 wxString
*arg2
= 0 ;
17656 wxString
const &arg3_defvalue
= wxEmptyString
;
17657 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17658 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17659 wxHtmlModalHelp
*result
= 0 ;
17662 bool temp2
= false ;
17663 bool temp3
= false ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 PyObject
* obj2
= 0 ;
17669 PyObject
* obj3
= 0 ;
17670 char * kwnames
[] = {
17671 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17676 if (!SWIG_IsOK(res1
)) {
17677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17679 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17681 arg2
= wxString_in_helper(obj1
);
17682 if (arg2
== NULL
) SWIG_fail
;
17687 arg3
= wxString_in_helper(obj2
);
17688 if (arg3
== NULL
) SWIG_fail
;
17693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17694 if (!SWIG_IsOK(ecode4
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17697 arg4
= static_cast< int >(val4
);
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17728 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17731 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17732 return SWIG_Py_Void();
17735 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17736 return SWIG_Python_InitShadowInstance(args
);
17739 static PyMethodDef SwigMethods
[] = {
17740 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17741 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17742 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17743 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17744 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17745 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17746 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17747 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17748 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17749 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17750 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17751 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17752 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17753 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17754 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17755 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17756 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17757 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17758 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17759 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17760 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17761 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17762 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17763 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17764 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17765 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17766 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17767 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17768 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17769 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17770 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17771 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17772 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17773 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17774 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17775 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17776 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17777 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17778 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17779 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17780 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17781 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17782 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17783 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17784 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17785 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17786 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17787 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17788 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17789 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17790 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17791 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17792 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17793 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17794 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17795 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17796 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17797 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17798 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17799 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17800 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17801 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17802 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17803 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17804 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17805 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17806 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17807 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17808 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17809 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17810 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17811 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17812 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17813 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17814 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17816 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17817 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17818 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17819 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17820 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17821 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17822 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17823 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17824 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17825 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17826 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17827 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17828 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17829 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17830 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17831 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17832 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17833 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17834 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17835 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17836 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17837 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17838 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17839 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17840 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17841 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17842 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17843 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17844 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17845 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17846 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17847 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17848 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17849 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17850 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17851 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17852 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17853 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17854 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17855 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17856 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17857 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17858 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17859 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17860 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17861 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17862 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17863 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17864 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17865 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17866 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17867 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17868 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17869 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17870 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17871 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17872 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17873 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17874 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17875 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17876 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17877 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17878 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17879 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17880 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17881 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17883 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17884 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17886 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17887 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17888 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17889 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17890 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17891 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17892 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17893 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17894 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17895 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17896 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17897 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17898 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17899 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17900 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17901 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17902 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17903 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17904 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17905 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17906 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17908 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17909 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17910 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17911 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17912 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17913 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17914 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17915 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17916 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17917 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17918 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17919 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17920 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17921 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17922 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17923 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17924 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17925 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17926 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17927 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17928 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17929 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17930 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17931 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17932 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17933 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17935 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17936 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17937 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17938 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17939 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17940 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17941 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17942 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17944 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17945 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17946 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17947 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17949 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17950 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17951 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17952 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17953 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17954 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17955 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17956 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17957 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17958 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17959 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17960 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17961 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17962 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17963 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17964 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17965 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17966 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17967 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17968 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17969 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17970 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17971 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17972 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17973 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17974 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17975 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17976 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17977 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17978 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17979 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17980 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17981 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17982 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17983 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17984 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17985 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17986 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17987 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17988 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17989 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17990 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17991 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17992 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17993 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17994 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17995 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17996 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17997 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17998 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17999 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
18000 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18001 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18002 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18003 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18004 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18005 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18006 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18007 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18008 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18009 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
18010 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
18011 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
18012 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18013 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
18014 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18015 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18016 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18017 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18018 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
18019 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18020 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18021 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18022 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18023 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
18024 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
18025 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
18026 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
18027 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18028 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
18029 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
18030 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
18031 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
18032 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18033 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
18034 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
18035 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18036 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18037 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18038 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18039 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
18040 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
18041 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
18042 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
18043 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
18044 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
18045 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
18046 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
18047 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
18048 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
18049 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18050 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18051 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18052 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18053 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
18054 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
18055 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
18056 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18057 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18058 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18059 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
18060 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
18061 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18062 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18063 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
18065 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
18066 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18069 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
18071 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
18072 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
18073 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
18074 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
18075 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
18076 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
18077 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
18078 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
18079 { (char *)"new_HtmlCellEvent", (PyCFunction
) _wrap_new_HtmlCellEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18080 { (char *)"HtmlCellEvent_GetCell", (PyCFunction
)_wrap_HtmlCellEvent_GetCell
, METH_O
, NULL
},
18081 { (char *)"HtmlCellEvent_GetPoint", (PyCFunction
)_wrap_HtmlCellEvent_GetPoint
, METH_O
, NULL
},
18082 { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction
)_wrap_HtmlCellEvent_GetMouseEvent
, METH_O
, NULL
},
18083 { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction
) _wrap_HtmlCellEvent_SetLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18084 { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction
)_wrap_HtmlCellEvent_GetLinkClicked
, METH_O
, NULL
},
18085 { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister
, METH_VARARGS
, NULL
},
18086 { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit
, METH_VARARGS
, NULL
},
18087 { (char *)"new_HtmlLinkEvent", (PyCFunction
) _wrap_new_HtmlLinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18088 { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction
)_wrap_HtmlLinkEvent_GetLinkInfo
, METH_O
, NULL
},
18089 { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister
, METH_VARARGS
, NULL
},
18090 { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit
, METH_VARARGS
, NULL
},
18091 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18093 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18094 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
18095 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18096 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
18097 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
18098 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18099 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
18100 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
18101 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
18102 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18103 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18104 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18105 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
18106 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
18107 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
18109 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
18111 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
18112 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
18113 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18114 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18115 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
18116 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18117 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18118 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
18119 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18121 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18122 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18123 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
18124 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
18125 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
18127 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
18128 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
18130 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
18131 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18132 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
18133 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
18134 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18135 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18136 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18138 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18139 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
18140 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
18141 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18145 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
18146 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
18147 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
18148 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
18149 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
18151 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
18152 { NULL
, NULL
, 0, NULL
}
18156 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18158 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
18159 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
18161 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
18162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18164 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
18165 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
18167 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
18168 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
18170 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
18171 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
18173 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
18174 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
18176 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
18177 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
18179 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
18180 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18182 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
18183 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
18185 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
18186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
18188 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18191 static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x
) {
18192 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
18194 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18197 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
18198 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18200 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18201 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18203 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18204 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18206 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18207 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18209 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18212 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18213 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18215 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18216 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18218 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18219 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18221 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18222 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18224 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18225 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18227 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18228 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18230 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18233 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18234 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18236 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18237 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18239 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
18240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18242 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18245 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18246 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18248 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18249 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18251 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18252 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18254 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18255 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18257 static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x
) {
18258 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
18260 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18261 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18263 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18264 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18266 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18269 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18272 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18273 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18275 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18276 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18278 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18279 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18281 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18284 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18285 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18287 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18288 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18290 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18291 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18293 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18294 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18296 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18297 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18299 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18300 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18302 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18303 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18305 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18306 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18308 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18309 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18311 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18312 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18314 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18317 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18320 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18323 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18324 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18326 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18327 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18329 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18330 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18332 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18333 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18335 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18338 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18341 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18344 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18347 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18350 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
18351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18353 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18356 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18359 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18362 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18363 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18365 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18366 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18368 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18371 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18374 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18377 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18378 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18380 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18383 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18384 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18386 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18387 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18389 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18390 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18392 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18393 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18395 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18398 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18399 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18401 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18402 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18404 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18407 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18410 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18411 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18413 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18416 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18419 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18422 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18425 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18426 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18428 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18431 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18432 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18434 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18437 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18440 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18443 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18446 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18449 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18450 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18452 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18455 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18458 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18461 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18464 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18467 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18470 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18473 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18476 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18477 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18479 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18480 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18482 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18483 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18485 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18486 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18488 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18489 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18491 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18492 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18494 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18495 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18497 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18498 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18500 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18501 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18503 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18504 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18506 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18509 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18512 static void *_p_wxEventTo_p_wxObject(void *x
) {
18513 return (void *)((wxObject
*) ((wxEvent
*) x
));
18515 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18518 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18519 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18521 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18522 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18524 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18525 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18527 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18530 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18533 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18534 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18536 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18537 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18539 static void *_p_wxImageTo_p_wxObject(void *x
) {
18540 return (void *)((wxObject
*) ((wxImage
*) x
));
18542 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18543 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18545 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18546 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18548 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18549 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18551 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18552 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18554 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18555 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18557 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18560 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18563 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18564 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18566 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18567 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18569 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18572 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18573 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18575 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18576 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18578 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18579 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18581 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18582 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18584 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18587 static void *_p_wxHtmlCellEventTo_p_wxObject(void *x
) {
18588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
18590 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18591 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18593 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18594 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18596 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18597 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18599 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18602 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18603 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18605 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18606 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18608 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18609 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18611 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18612 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18614 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18615 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18617 static void *_p_wxControlTo_p_wxObject(void *x
) {
18618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18620 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18623 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18624 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18626 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18627 return (void *)((wxObject
*) ((wxColourData
*) x
));
18629 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18630 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18632 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18633 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18635 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18636 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18638 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18639 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18641 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18642 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18644 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18645 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18647 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18650 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18651 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18653 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18656 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18657 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18659 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
18660 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18662 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18663 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18665 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18666 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18668 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18671 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18672 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18674 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18675 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18677 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18678 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18680 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18683 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18686 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18689 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18692 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18693 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18695 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18696 return (void *)((wxObject
*) ((wxFontData
*) x
));
18698 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18701 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18704 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18707 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18708 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18710 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18713 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18714 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18716 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18717 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18719 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18720 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18722 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18723 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18725 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18726 return (void *)((wxObject
*) ((wxSizer
*) x
));
18728 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18729 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18731 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18732 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18734 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18735 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18737 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18738 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18740 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18741 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18743 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18744 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18746 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18749 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18750 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18752 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18755 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18756 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18758 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18759 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18761 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18762 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18764 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18765 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18767 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18768 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18770 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18771 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18773 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18776 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18779 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18782 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18785 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18788 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18789 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18791 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18794 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18795 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18797 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18798 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18800 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18801 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18803 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
18804 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
18806 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18809 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18812 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18813 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18815 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18818 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18821 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18822 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18824 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18825 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18827 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18828 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18830 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18833 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18834 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18836 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18839 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18840 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18842 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18843 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18845 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18846 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18848 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18851 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18854 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18857 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18860 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18863 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18866 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18869 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18872 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18875 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18878 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18881 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18884 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18887 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18890 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18891 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18893 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18894 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18896 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18897 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18899 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18902 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18905 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18908 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
18909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18911 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18914 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18917 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18920 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18923 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18926 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18927 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18929 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18932 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18933 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18935 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18936 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18938 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18939 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18941 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18942 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18944 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18945 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18947 static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x
) {
18948 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
18950 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18953 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18954 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18956 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18957 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18959 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18960 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18962 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18963 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18965 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18968 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18969 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18971 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18974 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18975 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18977 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18980 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18983 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18984 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18986 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18987 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18989 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18992 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18993 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18995 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18998 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18999 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
19001 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
19002 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
19004 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
19005 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
19007 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
19008 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
19010 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
19011 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
19013 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
19014 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
19016 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
19017 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19019 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
19020 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
19022 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
19023 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
19025 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
19026 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
19028 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
19029 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
19031 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
19032 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
19034 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
19035 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19037 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
19038 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
19040 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19041 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19043 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19044 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19046 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
19047 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
19049 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
19050 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
19052 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
19053 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
19055 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
19056 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
19058 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19059 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
19061 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19062 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19064 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
19065 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
19067 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
19068 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
19070 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
19071 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
19073 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19074 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19076 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
19077 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
19079 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
19080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
19082 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
19083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
19085 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
19086 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
19088 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
19089 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19091 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
19092 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
19094 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
19095 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19097 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
19098 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19100 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
19101 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
19103 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
19104 return (void *)((wxWindow
*) ((wxPanel
*) x
));
19106 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
19107 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
19109 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
19110 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19112 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
19113 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
19115 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
19116 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
19118 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
19119 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
19121 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
19122 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
19124 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
19125 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
19127 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
19128 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
19130 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
19131 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
19133 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
19134 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
19136 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
19137 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
19139 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
19140 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
19142 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
19143 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19145 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
19146 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19148 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
19149 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
19151 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19152 return (void *)((wxWindow
*) ((wxControl
*) x
));
19154 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
19155 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
19157 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
19158 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19160 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
19161 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
19163 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19164 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19166 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
19167 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
19169 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
19170 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19172 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
19173 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19175 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
19176 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19178 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
19179 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
19181 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
19182 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19184 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
19185 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
19187 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
19188 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
19190 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
19191 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
19193 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
19194 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
19196 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
19197 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
19199 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
19200 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
19202 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
19203 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19205 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
19206 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
19208 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
19209 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19211 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
19212 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19214 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
19215 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19217 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
19218 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
19220 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
19221 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
19223 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
19224 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
19226 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
19227 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19229 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
19230 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
19232 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
19233 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19235 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
19236 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19238 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
19239 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
19241 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
19242 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19244 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
19245 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
19247 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
19248 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
19250 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
19251 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
19253 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
19254 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
19256 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
19257 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19259 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
19260 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19262 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
19263 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19265 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
19266 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19268 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
19269 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19271 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
19272 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
19274 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
19275 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19277 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
19278 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19280 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19281 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19283 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19284 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19286 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19287 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19289 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19290 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19292 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19293 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19295 static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x
) {
19296 return (void *)((wxCommandEvent
*) ((wxHtmlLinkEvent
*) x
));
19298 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19299 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19301 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19302 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19304 static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x
) {
19305 return (void *)((wxCommandEvent
*) ((wxHtmlCellEvent
*) x
));
19307 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19308 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19310 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19311 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19313 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19314 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19316 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19317 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19319 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19320 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19322 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19323 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19325 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19326 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19328 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19329 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19331 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19332 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19334 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19335 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19336 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};
19337 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19338 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19339 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19340 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19341 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19342 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19343 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19344 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19345 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19346 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19347 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19348 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19349 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19350 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19351 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19352 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19353 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19354 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19355 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
19356 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19357 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19358 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19359 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19360 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19361 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19362 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19363 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19364 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19365 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19366 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19367 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19368 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19369 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19370 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19371 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19372 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19373 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19374 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19375 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19376 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19377 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19378 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19379 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19380 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19381 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19382 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
19383 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19384 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19385 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19386 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19387 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19388 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19389 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19390 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19391 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19392 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19393 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19394 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19395 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19396 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19397 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19398 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19399 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19400 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19401 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19402 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19403 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19404 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19405 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19406 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19407 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19408 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19409 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19410 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19411 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19412 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19413 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19414 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19415 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19416 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19417 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19418 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19419 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19420 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19421 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19422 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19423 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19424 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19425 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19426 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19427 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19428 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19429 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19430 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19431 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19432 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19433 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19434 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19435 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19436 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19437 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19438 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19439 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19440 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19441 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19442 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19443 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19444 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19445 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19446 static swig_type_info _swigt__p_wxHtmlCellEvent
= {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0};
19447 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19448 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19449 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19450 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19451 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19452 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19453 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19454 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19455 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19456 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19457 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19458 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19459 static swig_type_info _swigt__p_wxHtmlLinkEvent
= {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0};
19460 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19461 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19462 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19463 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19464 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19465 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19466 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19467 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19468 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19469 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19470 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19471 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19472 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19473 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19474 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19475 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19476 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19477 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19478 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19479 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19480 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19481 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19482 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19483 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19484 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19485 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19486 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19487 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19488 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19489 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19490 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19491 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19492 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19493 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19494 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19495 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19496 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19497 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19498 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19499 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19500 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19501 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19502 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19503 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19504 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
19505 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19506 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19507 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19508 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19509 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19510 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19511 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19512 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19513 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19514 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19515 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19516 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19517 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19518 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19519 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19520 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19521 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19522 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19523 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19524 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19525 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19526 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19527 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19528 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19529 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19530 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19531 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19532 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19533 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19534 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19536 static swig_type_info
*swig_type_initial
[] = {
19539 &_swigt__p_form_ops_t
,
19541 &_swigt__p_unsigned_char
,
19542 &_swigt__p_unsigned_int
,
19543 &_swigt__p_unsigned_long
,
19544 &_swigt__p_wxANIHandler
,
19545 &_swigt__p_wxAcceleratorTable
,
19546 &_swigt__p_wxActivateEvent
,
19547 &_swigt__p_wxArrayInt
,
19548 &_swigt__p_wxBMPHandler
,
19549 &_swigt__p_wxBitmap
,
19550 &_swigt__p_wxBoxSizer
,
19551 &_swigt__p_wxCURHandler
,
19552 &_swigt__p_wxCalculateLayoutEvent
,
19553 &_swigt__p_wxChildFocusEvent
,
19554 &_swigt__p_wxClipboardTextEvent
,
19555 &_swigt__p_wxCloseEvent
,
19556 &_swigt__p_wxColour
,
19557 &_swigt__p_wxColourData
,
19558 &_swigt__p_wxColourDialog
,
19559 &_swigt__p_wxCommandEvent
,
19560 &_swigt__p_wxConfigBase
,
19561 &_swigt__p_wxContextMenuEvent
,
19562 &_swigt__p_wxControl
,
19563 &_swigt__p_wxControlWithItems
,
19564 &_swigt__p_wxCursor
,
19566 &_swigt__p_wxDateEvent
,
19567 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19568 &_swigt__p_wxDialog
,
19569 &_swigt__p_wxDirDialog
,
19570 &_swigt__p_wxDisplayChangedEvent
,
19571 &_swigt__p_wxDropFilesEvent
,
19572 &_swigt__p_wxDuplexMode
,
19573 &_swigt__p_wxEraseEvent
,
19574 &_swigt__p_wxEvent
,
19575 &_swigt__p_wxEvtHandler
,
19576 &_swigt__p_wxFSFile
,
19577 &_swigt__p_wxFileDialog
,
19578 &_swigt__p_wxFileSystem
,
19579 &_swigt__p_wxFindDialogEvent
,
19580 &_swigt__p_wxFindReplaceData
,
19581 &_swigt__p_wxFindReplaceDialog
,
19582 &_swigt__p_wxFlexGridSizer
,
19583 &_swigt__p_wxFocusEvent
,
19585 &_swigt__p_wxFontData
,
19586 &_swigt__p_wxFontDialog
,
19587 &_swigt__p_wxFrame
,
19588 &_swigt__p_wxGBSizerItem
,
19589 &_swigt__p_wxGIFHandler
,
19590 &_swigt__p_wxGridBagSizer
,
19591 &_swigt__p_wxGridSizer
,
19592 &_swigt__p_wxHelpControllerBase
,
19593 &_swigt__p_wxHelpSearchMode
,
19594 &_swigt__p_wxHtmlBookRecArray
,
19595 &_swigt__p_wxHtmlBookRecord
,
19596 &_swigt__p_wxHtmlCell
,
19597 &_swigt__p_wxHtmlCellEvent
,
19598 &_swigt__p_wxHtmlColourCell
,
19599 &_swigt__p_wxHtmlContainerCell
,
19600 &_swigt__p_wxHtmlDCRenderer
,
19601 &_swigt__p_wxHtmlEasyPrinting
,
19602 &_swigt__p_wxHtmlFilter
,
19603 &_swigt__p_wxHtmlFontCell
,
19604 &_swigt__p_wxHtmlHelpController
,
19605 &_swigt__p_wxHtmlHelpData
,
19606 &_swigt__p_wxHtmlHelpDialog
,
19607 &_swigt__p_wxHtmlHelpFrame
,
19608 &_swigt__p_wxHtmlHelpFrameCfg
,
19609 &_swigt__p_wxHtmlHelpWindow
,
19610 &_swigt__p_wxHtmlLinkEvent
,
19611 &_swigt__p_wxHtmlLinkInfo
,
19612 &_swigt__p_wxHtmlModalHelp
,
19613 &_swigt__p_wxHtmlParser
,
19614 &_swigt__p_wxHtmlPrintout
,
19615 &_swigt__p_wxHtmlRenderingInfo
,
19616 &_swigt__p_wxHtmlRenderingState
,
19617 &_swigt__p_wxHtmlRenderingStyle
,
19618 &_swigt__p_wxHtmlSearchStatus
,
19619 &_swigt__p_wxHtmlSelection
,
19620 &_swigt__p_wxHtmlTag
,
19621 &_swigt__p_wxHtmlTagHandler
,
19622 &_swigt__p_wxHtmlWidgetCell
,
19623 &_swigt__p_wxHtmlWinParser
,
19624 &_swigt__p_wxHtmlWindow
,
19625 &_swigt__p_wxHtmlWindowInterface
,
19626 &_swigt__p_wxHtmlWordCell
,
19627 &_swigt__p_wxICOHandler
,
19628 &_swigt__p_wxIconizeEvent
,
19629 &_swigt__p_wxIdleEvent
,
19630 &_swigt__p_wxImage
,
19631 &_swigt__p_wxImageHandler
,
19632 &_swigt__p_wxIndividualLayoutConstraint
,
19633 &_swigt__p_wxInitDialogEvent
,
19634 &_swigt__p_wxJPEGHandler
,
19635 &_swigt__p_wxKeyEvent
,
19636 &_swigt__p_wxLayoutAlgorithm
,
19637 &_swigt__p_wxLayoutConstraints
,
19638 &_swigt__p_wxMDIChildFrame
,
19639 &_swigt__p_wxMDIClientWindow
,
19640 &_swigt__p_wxMDIParentFrame
,
19641 &_swigt__p_wxMaximizeEvent
,
19643 &_swigt__p_wxMenuBar
,
19644 &_swigt__p_wxMenuEvent
,
19645 &_swigt__p_wxMenuItem
,
19646 &_swigt__p_wxMessageDialog
,
19647 &_swigt__p_wxMiniFrame
,
19648 &_swigt__p_wxMouseCaptureChangedEvent
,
19649 &_swigt__p_wxMouseCaptureLostEvent
,
19650 &_swigt__p_wxMouseEvent
,
19651 &_swigt__p_wxMoveEvent
,
19652 &_swigt__p_wxMultiChoiceDialog
,
19653 &_swigt__p_wxNavigationKeyEvent
,
19654 &_swigt__p_wxNcPaintEvent
,
19655 &_swigt__p_wxNotifyEvent
,
19656 &_swigt__p_wxNumberEntryDialog
,
19657 &_swigt__p_wxObject
,
19658 &_swigt__p_wxPCXHandler
,
19659 &_swigt__p_wxPNGHandler
,
19660 &_swigt__p_wxPNMHandler
,
19661 &_swigt__p_wxPageSetupDialog
,
19662 &_swigt__p_wxPageSetupDialogData
,
19663 &_swigt__p_wxPaintEvent
,
19664 &_swigt__p_wxPaletteChangedEvent
,
19665 &_swigt__p_wxPanel
,
19666 &_swigt__p_wxPaperSize
,
19667 &_swigt__p_wxPasswordEntryDialog
,
19668 &_swigt__p_wxPoint
,
19669 &_swigt__p_wxPopupWindow
,
19670 &_swigt__p_wxPreviewCanvas
,
19671 &_swigt__p_wxPreviewControlBar
,
19672 &_swigt__p_wxPreviewFrame
,
19673 &_swigt__p_wxPrintData
,
19674 &_swigt__p_wxPrintDialog
,
19675 &_swigt__p_wxPrintDialogData
,
19676 &_swigt__p_wxPrintPreview
,
19677 &_swigt__p_wxPrinter
,
19678 &_swigt__p_wxProgressDialog
,
19679 &_swigt__p_wxPyApp
,
19680 &_swigt__p_wxPyCommandEvent
,
19681 &_swigt__p_wxPyEvent
,
19682 &_swigt__p_wxPyHtmlFilter
,
19683 &_swigt__p_wxPyHtmlListBox
,
19684 &_swigt__p_wxPyHtmlTagHandler
,
19685 &_swigt__p_wxPyHtmlWinTagHandler
,
19686 &_swigt__p_wxPyHtmlWindow
,
19687 &_swigt__p_wxPyImageHandler
,
19688 &_swigt__p_wxPyPanel
,
19689 &_swigt__p_wxPyPopupTransientWindow
,
19690 &_swigt__p_wxPyPreviewControlBar
,
19691 &_swigt__p_wxPyPreviewFrame
,
19692 &_swigt__p_wxPyPrintPreview
,
19693 &_swigt__p_wxPyPrintout
,
19694 &_swigt__p_wxPyScrolledWindow
,
19695 &_swigt__p_wxPySizer
,
19696 &_swigt__p_wxPyTaskBarIcon
,
19697 &_swigt__p_wxPyVListBox
,
19698 &_swigt__p_wxPyVScrolledWindow
,
19699 &_swigt__p_wxPyValidator
,
19700 &_swigt__p_wxPyWindow
,
19701 &_swigt__p_wxQueryLayoutInfoEvent
,
19702 &_swigt__p_wxQueryNewPaletteEvent
,
19703 &_swigt__p_wxSashEvent
,
19704 &_swigt__p_wxSashLayoutWindow
,
19705 &_swigt__p_wxSashWindow
,
19706 &_swigt__p_wxScrollEvent
,
19707 &_swigt__p_wxScrollWinEvent
,
19708 &_swigt__p_wxScrolledWindow
,
19709 &_swigt__p_wxSetCursorEvent
,
19710 &_swigt__p_wxShowEvent
,
19711 &_swigt__p_wxSingleChoiceDialog
,
19713 &_swigt__p_wxSizeEvent
,
19714 &_swigt__p_wxSizer
,
19715 &_swigt__p_wxSizerItem
,
19716 &_swigt__p_wxSplashScreen
,
19717 &_swigt__p_wxSplashScreenWindow
,
19718 &_swigt__p_wxSplitterEvent
,
19719 &_swigt__p_wxSplitterWindow
,
19720 &_swigt__p_wxStaticBoxSizer
,
19721 &_swigt__p_wxStatusBar
,
19722 &_swigt__p_wxStdDialogButtonSizer
,
19723 &_swigt__p_wxString
,
19724 &_swigt__p_wxSysColourChangedEvent
,
19725 &_swigt__p_wxTGAHandler
,
19726 &_swigt__p_wxTIFFHandler
,
19727 &_swigt__p_wxTaskBarIconEvent
,
19728 &_swigt__p_wxTextEntryDialog
,
19729 &_swigt__p_wxTipWindow
,
19730 &_swigt__p_wxTopLevelWindow
,
19731 &_swigt__p_wxUpdateUIEvent
,
19732 &_swigt__p_wxValidator
,
19733 &_swigt__p_wxVisualAttributes
,
19734 &_swigt__p_wxWindow
,
19735 &_swigt__p_wxWindowCreateEvent
,
19736 &_swigt__p_wxWindowDestroyEvent
,
19737 &_swigt__p_wxXPMHandler
,
19740 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19741 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19742 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19743 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19744 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19745 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19746 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19747 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19748 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19749 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19750 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19751 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19752 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19753 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19754 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19755 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19756 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19757 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19758 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19759 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19760 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19761 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19762 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19763 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}};
19764 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19765 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19766 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19767 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19768 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19769 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19770 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19771 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19772 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19773 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19774 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19775 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19776 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19777 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19778 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19779 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}};
19780 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19781 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19782 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19783 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19784 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19785 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19786 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19787 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
19788 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19789 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19790 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19791 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19792 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19793 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19794 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19795 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19796 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19797 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19798 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19799 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19800 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19801 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19802 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19803 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19804 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19805 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19806 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19807 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19808 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19809 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19810 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}};
19811 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19812 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19813 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19814 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19815 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19816 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19817 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19818 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19819 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19820 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19821 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19822 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19823 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19824 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19825 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19826 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19827 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19828 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19829 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19830 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19831 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19832 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19833 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19834 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19835 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19836 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19837 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19838 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19839 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19840 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19841 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19842 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19843 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
19844 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19845 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19846 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}};
19847 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}};
19848 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19849 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19850 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19851 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}};
19852 static swig_cast_info _swigc__p_wxHtmlCellEvent
[] = { {&_swigt__p_wxHtmlCellEvent
, 0, 0, 0},{0, 0, 0, 0}};
19853 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19854 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19855 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19856 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19857 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19858 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19859 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19860 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19861 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19862 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19863 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19864 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19865 static swig_cast_info _swigc__p_wxHtmlLinkEvent
[] = { {&_swigt__p_wxHtmlLinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
19866 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19867 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19868 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}};
19869 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19870 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19871 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19872 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}};
19873 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19874 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19875 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19876 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19877 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19878 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19879 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19880 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19881 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19882 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19883 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19884 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19885 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19886 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19887 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19888 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19889 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19890 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19891 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19892 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19893 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19894 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19895 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19896 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19897 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19898 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19899 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19900 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19901 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19902 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19903 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19904 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19905 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19906 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19907 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19908 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19909 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
19910 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19911 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19912 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19913 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19914 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19915 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19916 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19917 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19918 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19919 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19920 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19921 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19922 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19923 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlFontCell
, _p_wxHtmlFontCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlTag
, _p_wxHtmlTagTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlFilter
, _p_wxPyHtmlFilterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting
, _p_wxHtmlEasyPrintingTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlCellEvent
, _p_wxHtmlCellEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser
, _p_wxHtmlWinParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlParser
, _p_wxHtmlParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWidgetCell
, _p_wxHtmlWidgetCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlPrintout
, _p_wxHtmlPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlContainerCell
, _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpControllerBase
, _p_wxHelpControllerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlDCRenderer
, _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkInfo
, _p_wxHtmlLinkInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpController
, _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkEvent
, _p_wxHtmlLinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlCell
, _p_wxHtmlCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlColourCell
, _p_wxHtmlColourCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWordCell
, _p_wxHtmlWordCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
19924 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19925 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
19926 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19927 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19928 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19929 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19930 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}};
19931 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19932 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19933 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}};
19934 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}};
19935 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19936 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19937 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19938 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}};
19939 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19940 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
19942 static swig_cast_info
*swig_cast_initial
[] = {
19945 _swigc__p_form_ops_t
,
19947 _swigc__p_unsigned_char
,
19948 _swigc__p_unsigned_int
,
19949 _swigc__p_unsigned_long
,
19950 _swigc__p_wxANIHandler
,
19951 _swigc__p_wxAcceleratorTable
,
19952 _swigc__p_wxActivateEvent
,
19953 _swigc__p_wxArrayInt
,
19954 _swigc__p_wxBMPHandler
,
19955 _swigc__p_wxBitmap
,
19956 _swigc__p_wxBoxSizer
,
19957 _swigc__p_wxCURHandler
,
19958 _swigc__p_wxCalculateLayoutEvent
,
19959 _swigc__p_wxChildFocusEvent
,
19960 _swigc__p_wxClipboardTextEvent
,
19961 _swigc__p_wxCloseEvent
,
19962 _swigc__p_wxColour
,
19963 _swigc__p_wxColourData
,
19964 _swigc__p_wxColourDialog
,
19965 _swigc__p_wxCommandEvent
,
19966 _swigc__p_wxConfigBase
,
19967 _swigc__p_wxContextMenuEvent
,
19968 _swigc__p_wxControl
,
19969 _swigc__p_wxControlWithItems
,
19970 _swigc__p_wxCursor
,
19972 _swigc__p_wxDateEvent
,
19973 _swigc__p_wxDefaultHtmlRenderingStyle
,
19974 _swigc__p_wxDialog
,
19975 _swigc__p_wxDirDialog
,
19976 _swigc__p_wxDisplayChangedEvent
,
19977 _swigc__p_wxDropFilesEvent
,
19978 _swigc__p_wxDuplexMode
,
19979 _swigc__p_wxEraseEvent
,
19981 _swigc__p_wxEvtHandler
,
19982 _swigc__p_wxFSFile
,
19983 _swigc__p_wxFileDialog
,
19984 _swigc__p_wxFileSystem
,
19985 _swigc__p_wxFindDialogEvent
,
19986 _swigc__p_wxFindReplaceData
,
19987 _swigc__p_wxFindReplaceDialog
,
19988 _swigc__p_wxFlexGridSizer
,
19989 _swigc__p_wxFocusEvent
,
19991 _swigc__p_wxFontData
,
19992 _swigc__p_wxFontDialog
,
19994 _swigc__p_wxGBSizerItem
,
19995 _swigc__p_wxGIFHandler
,
19996 _swigc__p_wxGridBagSizer
,
19997 _swigc__p_wxGridSizer
,
19998 _swigc__p_wxHelpControllerBase
,
19999 _swigc__p_wxHelpSearchMode
,
20000 _swigc__p_wxHtmlBookRecArray
,
20001 _swigc__p_wxHtmlBookRecord
,
20002 _swigc__p_wxHtmlCell
,
20003 _swigc__p_wxHtmlCellEvent
,
20004 _swigc__p_wxHtmlColourCell
,
20005 _swigc__p_wxHtmlContainerCell
,
20006 _swigc__p_wxHtmlDCRenderer
,
20007 _swigc__p_wxHtmlEasyPrinting
,
20008 _swigc__p_wxHtmlFilter
,
20009 _swigc__p_wxHtmlFontCell
,
20010 _swigc__p_wxHtmlHelpController
,
20011 _swigc__p_wxHtmlHelpData
,
20012 _swigc__p_wxHtmlHelpDialog
,
20013 _swigc__p_wxHtmlHelpFrame
,
20014 _swigc__p_wxHtmlHelpFrameCfg
,
20015 _swigc__p_wxHtmlHelpWindow
,
20016 _swigc__p_wxHtmlLinkEvent
,
20017 _swigc__p_wxHtmlLinkInfo
,
20018 _swigc__p_wxHtmlModalHelp
,
20019 _swigc__p_wxHtmlParser
,
20020 _swigc__p_wxHtmlPrintout
,
20021 _swigc__p_wxHtmlRenderingInfo
,
20022 _swigc__p_wxHtmlRenderingState
,
20023 _swigc__p_wxHtmlRenderingStyle
,
20024 _swigc__p_wxHtmlSearchStatus
,
20025 _swigc__p_wxHtmlSelection
,
20026 _swigc__p_wxHtmlTag
,
20027 _swigc__p_wxHtmlTagHandler
,
20028 _swigc__p_wxHtmlWidgetCell
,
20029 _swigc__p_wxHtmlWinParser
,
20030 _swigc__p_wxHtmlWindow
,
20031 _swigc__p_wxHtmlWindowInterface
,
20032 _swigc__p_wxHtmlWordCell
,
20033 _swigc__p_wxICOHandler
,
20034 _swigc__p_wxIconizeEvent
,
20035 _swigc__p_wxIdleEvent
,
20037 _swigc__p_wxImageHandler
,
20038 _swigc__p_wxIndividualLayoutConstraint
,
20039 _swigc__p_wxInitDialogEvent
,
20040 _swigc__p_wxJPEGHandler
,
20041 _swigc__p_wxKeyEvent
,
20042 _swigc__p_wxLayoutAlgorithm
,
20043 _swigc__p_wxLayoutConstraints
,
20044 _swigc__p_wxMDIChildFrame
,
20045 _swigc__p_wxMDIClientWindow
,
20046 _swigc__p_wxMDIParentFrame
,
20047 _swigc__p_wxMaximizeEvent
,
20049 _swigc__p_wxMenuBar
,
20050 _swigc__p_wxMenuEvent
,
20051 _swigc__p_wxMenuItem
,
20052 _swigc__p_wxMessageDialog
,
20053 _swigc__p_wxMiniFrame
,
20054 _swigc__p_wxMouseCaptureChangedEvent
,
20055 _swigc__p_wxMouseCaptureLostEvent
,
20056 _swigc__p_wxMouseEvent
,
20057 _swigc__p_wxMoveEvent
,
20058 _swigc__p_wxMultiChoiceDialog
,
20059 _swigc__p_wxNavigationKeyEvent
,
20060 _swigc__p_wxNcPaintEvent
,
20061 _swigc__p_wxNotifyEvent
,
20062 _swigc__p_wxNumberEntryDialog
,
20063 _swigc__p_wxObject
,
20064 _swigc__p_wxPCXHandler
,
20065 _swigc__p_wxPNGHandler
,
20066 _swigc__p_wxPNMHandler
,
20067 _swigc__p_wxPageSetupDialog
,
20068 _swigc__p_wxPageSetupDialogData
,
20069 _swigc__p_wxPaintEvent
,
20070 _swigc__p_wxPaletteChangedEvent
,
20072 _swigc__p_wxPaperSize
,
20073 _swigc__p_wxPasswordEntryDialog
,
20075 _swigc__p_wxPopupWindow
,
20076 _swigc__p_wxPreviewCanvas
,
20077 _swigc__p_wxPreviewControlBar
,
20078 _swigc__p_wxPreviewFrame
,
20079 _swigc__p_wxPrintData
,
20080 _swigc__p_wxPrintDialog
,
20081 _swigc__p_wxPrintDialogData
,
20082 _swigc__p_wxPrintPreview
,
20083 _swigc__p_wxPrinter
,
20084 _swigc__p_wxProgressDialog
,
20086 _swigc__p_wxPyCommandEvent
,
20087 _swigc__p_wxPyEvent
,
20088 _swigc__p_wxPyHtmlFilter
,
20089 _swigc__p_wxPyHtmlListBox
,
20090 _swigc__p_wxPyHtmlTagHandler
,
20091 _swigc__p_wxPyHtmlWinTagHandler
,
20092 _swigc__p_wxPyHtmlWindow
,
20093 _swigc__p_wxPyImageHandler
,
20094 _swigc__p_wxPyPanel
,
20095 _swigc__p_wxPyPopupTransientWindow
,
20096 _swigc__p_wxPyPreviewControlBar
,
20097 _swigc__p_wxPyPreviewFrame
,
20098 _swigc__p_wxPyPrintPreview
,
20099 _swigc__p_wxPyPrintout
,
20100 _swigc__p_wxPyScrolledWindow
,
20101 _swigc__p_wxPySizer
,
20102 _swigc__p_wxPyTaskBarIcon
,
20103 _swigc__p_wxPyVListBox
,
20104 _swigc__p_wxPyVScrolledWindow
,
20105 _swigc__p_wxPyValidator
,
20106 _swigc__p_wxPyWindow
,
20107 _swigc__p_wxQueryLayoutInfoEvent
,
20108 _swigc__p_wxQueryNewPaletteEvent
,
20109 _swigc__p_wxSashEvent
,
20110 _swigc__p_wxSashLayoutWindow
,
20111 _swigc__p_wxSashWindow
,
20112 _swigc__p_wxScrollEvent
,
20113 _swigc__p_wxScrollWinEvent
,
20114 _swigc__p_wxScrolledWindow
,
20115 _swigc__p_wxSetCursorEvent
,
20116 _swigc__p_wxShowEvent
,
20117 _swigc__p_wxSingleChoiceDialog
,
20119 _swigc__p_wxSizeEvent
,
20121 _swigc__p_wxSizerItem
,
20122 _swigc__p_wxSplashScreen
,
20123 _swigc__p_wxSplashScreenWindow
,
20124 _swigc__p_wxSplitterEvent
,
20125 _swigc__p_wxSplitterWindow
,
20126 _swigc__p_wxStaticBoxSizer
,
20127 _swigc__p_wxStatusBar
,
20128 _swigc__p_wxStdDialogButtonSizer
,
20129 _swigc__p_wxString
,
20130 _swigc__p_wxSysColourChangedEvent
,
20131 _swigc__p_wxTGAHandler
,
20132 _swigc__p_wxTIFFHandler
,
20133 _swigc__p_wxTaskBarIconEvent
,
20134 _swigc__p_wxTextEntryDialog
,
20135 _swigc__p_wxTipWindow
,
20136 _swigc__p_wxTopLevelWindow
,
20137 _swigc__p_wxUpdateUIEvent
,
20138 _swigc__p_wxValidator
,
20139 _swigc__p_wxVisualAttributes
,
20140 _swigc__p_wxWindow
,
20141 _swigc__p_wxWindowCreateEvent
,
20142 _swigc__p_wxWindowDestroyEvent
,
20143 _swigc__p_wxXPMHandler
,
20147 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20149 static swig_const_info swig_const_table
[] = {
20150 {0, 0, 0, 0.0, 0, 0}};
20155 /* -----------------------------------------------------------------------------
20156 * Type initialization:
20157 * This problem is tough by the requirement that no dynamic
20158 * memory is used. Also, since swig_type_info structures store pointers to
20159 * swig_cast_info structures and swig_cast_info structures store pointers back
20160 * to swig_type_info structures, we need some lookup code at initialization.
20161 * The idea is that swig generates all the structures that are needed.
20162 * The runtime then collects these partially filled structures.
20163 * The SWIG_InitializeModule function takes these initial arrays out of
20164 * swig_module, and does all the lookup, filling in the swig_module.types
20165 * array with the correct data and linking the correct swig_cast_info
20166 * structures together.
20168 * The generated swig_type_info structures are assigned staticly to an initial
20169 * array. We just loop though that array, and handle each type individually.
20170 * First we lookup if this type has been already loaded, and if so, use the
20171 * loaded structure instead of the generated one. Then we have to fill in the
20172 * cast linked list. The cast data is initially stored in something like a
20173 * two-dimensional array. Each row corresponds to a type (there are the same
20174 * number of rows as there are in the swig_type_initial array). Each entry in
20175 * a column is one of the swig_cast_info structures for that type.
20176 * The cast_initial array is actually an array of arrays, because each row has
20177 * a variable number of columns. So to actually build the cast linked list,
20178 * we find the array of casts associated with the type, and loop through it
20179 * adding the casts to the list. The one last trick we need to do is making
20180 * sure the type pointer in the swig_cast_info struct is correct.
20182 * First off, we lookup the cast->type name to see if it is already loaded.
20183 * There are three cases to handle:
20184 * 1) If the cast->type has already been loaded AND the type we are adding
20185 * casting info to has not been loaded (it is in this module), THEN we
20186 * replace the cast->type pointer with the type pointer that has already
20188 * 2) If BOTH types (the one we are adding casting info to, and the
20189 * cast->type) are loaded, THEN the cast info has already been loaded by
20190 * the previous module so we just ignore it.
20191 * 3) Finally, if cast->type has not already been loaded, then we add that
20192 * swig_cast_info to the linked list (because the cast->type) pointer will
20194 * ----------------------------------------------------------------------------- */
20204 #define SWIGRUNTIME_DEBUG
20208 SWIG_InitializeModule(void *clientdata
) {
20210 swig_module_info
*module_head
;
20211 static int init_run
= 0;
20213 clientdata
= clientdata
;
20215 if (init_run
) return;
20218 /* Initialize the swig_module */
20219 swig_module
.type_initial
= swig_type_initial
;
20220 swig_module
.cast_initial
= swig_cast_initial
;
20222 /* Try and load any already created modules */
20223 module_head
= SWIG_GetModule(clientdata
);
20225 swig_module
.next
= module_head
->next
;
20226 module_head
->next
= &swig_module
;
20228 /* This is the first module loaded */
20229 swig_module
.next
= &swig_module
;
20230 SWIG_SetModule(clientdata
, &swig_module
);
20233 /* Now work on filling in swig_module.types */
20234 #ifdef SWIGRUNTIME_DEBUG
20235 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
20237 for (i
= 0; i
< swig_module
.size
; ++i
) {
20238 swig_type_info
*type
= 0;
20239 swig_type_info
*ret
;
20240 swig_cast_info
*cast
;
20242 #ifdef SWIGRUNTIME_DEBUG
20243 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20246 /* if there is another module already loaded */
20247 if (swig_module
.next
!= &swig_module
) {
20248 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
20251 /* Overwrite clientdata field */
20252 #ifdef SWIGRUNTIME_DEBUG
20253 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
20255 if (swig_module
.type_initial
[i
]->clientdata
) {
20256 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
20257 #ifdef SWIGRUNTIME_DEBUG
20258 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
20262 type
= swig_module
.type_initial
[i
];
20265 /* Insert casting types */
20266 cast
= swig_module
.cast_initial
[i
];
20267 while (cast
->type
) {
20268 /* Don't need to add information already in the list */
20270 #ifdef SWIGRUNTIME_DEBUG
20271 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20273 if (swig_module
.next
!= &swig_module
) {
20274 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20275 #ifdef SWIGRUNTIME_DEBUG
20276 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20280 if (type
== swig_module
.type_initial
[i
]) {
20281 #ifdef SWIGRUNTIME_DEBUG
20282 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20287 /* Check for casting already in the list */
20288 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20289 #ifdef SWIGRUNTIME_DEBUG
20290 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20292 if (!ocast
) ret
= 0;
20297 #ifdef SWIGRUNTIME_DEBUG
20298 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20301 type
->cast
->prev
= cast
;
20302 cast
->next
= type
->cast
;
20308 /* Set entry in modules->types array equal to the type */
20309 swig_module
.types
[i
] = type
;
20311 swig_module
.types
[i
] = 0;
20313 #ifdef SWIGRUNTIME_DEBUG
20314 printf("**** SWIG_InitializeModule: Cast List ******\n");
20315 for (i
= 0; i
< swig_module
.size
; ++i
) {
20317 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20318 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20319 while (cast
->type
) {
20320 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20324 printf("---- Total casts: %d\n",j
);
20326 printf("**** SWIG_InitializeModule: Cast List ******\n");
20330 /* This function will propagate the clientdata field of type to
20331 * any new swig_type_info structures that have been added into the list
20332 * of equivalent types. It is like calling
20333 * SWIG_TypeClientData(type, clientdata) a second time.
20336 SWIG_PropagateClientData(void) {
20338 swig_cast_info
*equiv
;
20339 static int init_run
= 0;
20341 if (init_run
) return;
20344 for (i
= 0; i
< swig_module
.size
; i
++) {
20345 if (swig_module
.types
[i
]->clientdata
) {
20346 equiv
= swig_module
.types
[i
]->cast
;
20348 if (!equiv
->converter
) {
20349 if (equiv
->type
&& !equiv
->type
->clientdata
)
20350 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20352 equiv
= equiv
->next
;
20372 /* Python-specific SWIG API */
20373 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20374 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20375 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20377 /* -----------------------------------------------------------------------------
20378 * global variable support code.
20379 * ----------------------------------------------------------------------------- */
20381 typedef struct swig_globalvar
{
20382 char *name
; /* Name of global variable */
20383 PyObject
*(*get_attr
)(void); /* Return the current value */
20384 int (*set_attr
)(PyObject
*); /* Set the value */
20385 struct swig_globalvar
*next
;
20388 typedef struct swig_varlinkobject
{
20390 swig_globalvar
*vars
;
20391 } swig_varlinkobject
;
20393 SWIGINTERN PyObject
*
20394 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20395 return PyString_FromString("<Swig global variables>");
20398 SWIGINTERN PyObject
*
20399 swig_varlink_str(swig_varlinkobject
*v
) {
20400 PyObject
*str
= PyString_FromString("(");
20401 swig_globalvar
*var
;
20402 for (var
= v
->vars
; var
; var
=var
->next
) {
20403 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20404 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20406 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20411 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20412 PyObject
*str
= swig_varlink_str(v
);
20413 fprintf(fp
,"Swig global variables ");
20414 fprintf(fp
,"%s\n", PyString_AsString(str
));
20420 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20421 swig_globalvar
*var
= v
->vars
;
20423 swig_globalvar
*n
= var
->next
;
20430 SWIGINTERN PyObject
*
20431 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20432 PyObject
*res
= NULL
;
20433 swig_globalvar
*var
= v
->vars
;
20435 if (strcmp(var
->name
,n
) == 0) {
20436 res
= (*var
->get_attr
)();
20441 if (res
== NULL
&& !PyErr_Occurred()) {
20442 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20448 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20450 swig_globalvar
*var
= v
->vars
;
20452 if (strcmp(var
->name
,n
) == 0) {
20453 res
= (*var
->set_attr
)(p
);
20458 if (res
== 1 && !PyErr_Occurred()) {
20459 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20464 SWIGINTERN PyTypeObject
*
20465 swig_varlink_type(void) {
20466 static char varlink__doc__
[] = "Swig var link object";
20467 static PyTypeObject varlink_type
;
20468 static int type_init
= 0;
20470 const PyTypeObject tmp
20472 PyObject_HEAD_INIT(NULL
)
20473 0, /* Number of items in variable part (ob_size) */
20474 (char *)"swigvarlink", /* Type name (tp_name) */
20475 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20476 0, /* Itemsize (tp_itemsize) */
20477 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20478 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20479 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20480 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20481 0, /* tp_compare */
20482 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20483 0, /* tp_as_number */
20484 0, /* tp_as_sequence */
20485 0, /* tp_as_mapping */
20488 (reprfunc
)swig_varlink_str
, /* tp_str */
20489 0, /* tp_getattro */
20490 0, /* tp_setattro */
20491 0, /* tp_as_buffer */
20493 varlink__doc__
, /* tp_doc */
20494 0, /* tp_traverse */
20496 0, /* tp_richcompare */
20497 0, /* tp_weaklistoffset */
20498 #if PY_VERSION_HEX >= 0x02020000
20499 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20501 #if PY_VERSION_HEX >= 0x02030000
20504 #ifdef COUNT_ALLOCS
20505 0,0,0,0 /* tp_alloc -> tp_next */
20508 varlink_type
= tmp
;
20509 varlink_type
.ob_type
= &PyType_Type
;
20512 return &varlink_type
;
20515 /* Create a variable linking object for use later */
20516 SWIGINTERN PyObject
*
20517 SWIG_Python_newvarlink(void) {
20518 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20522 return ((PyObject
*) result
);
20526 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20527 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20528 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20530 size_t size
= strlen(name
)+1;
20531 gv
->name
= (char *)malloc(size
);
20533 strncpy(gv
->name
,name
,size
);
20534 gv
->get_attr
= get_attr
;
20535 gv
->set_attr
= set_attr
;
20536 gv
->next
= v
->vars
;
20542 SWIGINTERN PyObject
*
20544 static PyObject
*_SWIG_globals
= 0;
20545 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20546 return _SWIG_globals
;
20549 /* -----------------------------------------------------------------------------
20550 * constants/methods manipulation
20551 * ----------------------------------------------------------------------------- */
20553 /* Install Constants */
20555 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20558 for (i
= 0; constants
[i
].type
; ++i
) {
20559 switch(constants
[i
].type
) {
20560 case SWIG_PY_POINTER
:
20561 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20563 case SWIG_PY_BINARY
:
20564 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20571 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20577 /* -----------------------------------------------------------------------------*/
20578 /* Fix SwigMethods to carry the callback ptrs when needed */
20579 /* -----------------------------------------------------------------------------*/
20582 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20583 swig_const_info
*const_table
,
20584 swig_type_info
**types
,
20585 swig_type_info
**types_initial
) {
20587 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20588 const char *c
= methods
[i
].ml_doc
;
20589 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20591 swig_const_info
*ci
= 0;
20592 const char *name
= c
+ 10;
20593 for (j
= 0; const_table
[j
].type
; ++j
) {
20594 if (strncmp(const_table
[j
].name
, name
,
20595 strlen(const_table
[j
].name
)) == 0) {
20596 ci
= &(const_table
[j
]);
20601 size_t shift
= (ci
->ptype
) - types
;
20602 swig_type_info
*ty
= types_initial
[shift
];
20603 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20604 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20605 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20608 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20610 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20612 strncpy(buff
, "swig_ptr: ", 10);
20614 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20615 methods
[i
].ml_doc
= ndoc
;
20627 /* -----------------------------------------------------------------------------*
20628 * Partial Init method
20629 * -----------------------------------------------------------------------------*/
20634 SWIGEXPORT
void SWIG_init(void) {
20637 /* Fix SwigMethods to carry the callback ptrs when needed */
20638 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20640 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20641 d
= PyModule_GetDict(m
);
20643 SWIG_InitializeModule(0);
20644 SWIG_InstallConstants(d
,swig_const_table
);
20647 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20648 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20649 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20650 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20651 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20652 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20653 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20654 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20655 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20656 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20657 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20658 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20659 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20660 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20661 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20662 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20663 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20664 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20665 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20666 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20667 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20668 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20669 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20670 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20671 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20672 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20673 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20674 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20675 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20676 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20677 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20678 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20679 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20680 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20681 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20682 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20683 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20684 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20685 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20686 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20687 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20688 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20689 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20690 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20691 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20692 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20693 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20694 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20695 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20696 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20697 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20698 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20699 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20700 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20701 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20702 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20703 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20704 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20705 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20706 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20707 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20708 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20709 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20710 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20711 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20712 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20713 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20714 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20715 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20716 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20717 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20718 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20719 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20720 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20721 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20722 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20723 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20724 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20725 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20726 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20727 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20728 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20729 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20730 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20731 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20732 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20733 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20734 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20735 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20736 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20737 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED
));
20738 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER
));
20739 PyDict_SetItemString(d
, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED
));
20741 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20742 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20743 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20744 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");