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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxConfigBase swig_types[21]
2484 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2485 #define SWIGTYPE_p_wxControl swig_types[23]
2486 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2487 #define SWIGTYPE_p_wxCursor swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28]
2491 #define SWIGTYPE_p_wxDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
2499 #define SWIGTYPE_p_wxFSFile swig_types[37]
2500 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2501 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2502 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2504 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2505 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2506 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2507 #define SWIGTYPE_p_wxFont swig_types[45]
2508 #define SWIGTYPE_p_wxFontData swig_types[46]
2509 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2510 #define SWIGTYPE_p_wxFrame swig_types[48]
2511 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2512 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2513 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2514 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxHelpControllerBase swig_types[53]
2516 #define SWIGTYPE_p_wxHelpSearchMode swig_types[54]
2517 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55]
2518 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[56]
2519 #define SWIGTYPE_p_wxHtmlCell swig_types[57]
2520 #define SWIGTYPE_p_wxHtmlColourCell swig_types[58]
2521 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[59]
2522 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60]
2523 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61]
2524 #define SWIGTYPE_p_wxHtmlFilter swig_types[62]
2525 #define SWIGTYPE_p_wxHtmlFontCell swig_types[63]
2526 #define SWIGTYPE_p_wxHtmlHelpController swig_types[64]
2527 #define SWIGTYPE_p_wxHtmlHelpData swig_types[65]
2528 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66]
2529 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67]
2530 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68]
2531 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69]
2532 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70]
2533 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[71]
2534 #define SWIGTYPE_p_wxHtmlParser swig_types[72]
2535 #define SWIGTYPE_p_wxHtmlPrintout swig_types[73]
2536 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74]
2537 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[75]
2538 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76]
2539 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77]
2540 #define SWIGTYPE_p_wxHtmlSelection swig_types[78]
2541 #define SWIGTYPE_p_wxHtmlTag swig_types[79]
2542 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[80]
2543 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81]
2544 #define SWIGTYPE_p_wxHtmlWinParser swig_types[82]
2545 #define SWIGTYPE_p_wxHtmlWindow swig_types[83]
2546 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84]
2547 #define SWIGTYPE_p_wxHtmlWordCell swig_types[85]
2548 #define SWIGTYPE_p_wxICOHandler swig_types[86]
2549 #define SWIGTYPE_p_wxIconizeEvent swig_types[87]
2550 #define SWIGTYPE_p_wxIdleEvent swig_types[88]
2551 #define SWIGTYPE_p_wxImage swig_types[89]
2552 #define SWIGTYPE_p_wxImageHandler swig_types[90]
2553 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91]
2554 #define SWIGTYPE_p_wxInitDialogEvent swig_types[92]
2555 #define SWIGTYPE_p_wxJPEGHandler swig_types[93]
2556 #define SWIGTYPE_p_wxKeyEvent swig_types[94]
2557 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95]
2558 #define SWIGTYPE_p_wxLayoutConstraints swig_types[96]
2559 #define SWIGTYPE_p_wxMDIChildFrame swig_types[97]
2560 #define SWIGTYPE_p_wxMDIClientWindow swig_types[98]
2561 #define SWIGTYPE_p_wxMDIParentFrame swig_types[99]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMenu swig_types[101]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[102]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[103]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[104]
2567 #define SWIGTYPE_p_wxMessageDialog swig_types[105]
2568 #define SWIGTYPE_p_wxMiniFrame swig_types[106]
2569 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[108]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[109]
2572 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110]
2573 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111]
2574 #define SWIGTYPE_p_wxNcPaintEvent swig_types[112]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[113]
2576 #define SWIGTYPE_p_wxObject swig_types[114]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[115]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[116]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[117]
2580 #define SWIGTYPE_p_wxPageSetupDialog swig_types[118]
2581 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[119]
2582 #define SWIGTYPE_p_wxPaintEvent swig_types[120]
2583 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121]
2584 #define SWIGTYPE_p_wxPanel swig_types[122]
2585 #define SWIGTYPE_p_wxPaperSize swig_types[123]
2586 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124]
2587 #define SWIGTYPE_p_wxPoint swig_types[125]
2588 #define SWIGTYPE_p_wxPopupWindow swig_types[126]
2589 #define SWIGTYPE_p_wxPreviewCanvas swig_types[127]
2590 #define SWIGTYPE_p_wxPreviewControlBar swig_types[128]
2591 #define SWIGTYPE_p_wxPreviewFrame swig_types[129]
2592 #define SWIGTYPE_p_wxPrintData swig_types[130]
2593 #define SWIGTYPE_p_wxPrintDialog swig_types[131]
2594 #define SWIGTYPE_p_wxPrintDialogData swig_types[132]
2595 #define SWIGTYPE_p_wxPrintPreview swig_types[133]
2596 #define SWIGTYPE_p_wxPrinter swig_types[134]
2597 #define SWIGTYPE_p_wxProgressDialog swig_types[135]
2598 #define SWIGTYPE_p_wxPyApp swig_types[136]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[137]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[138]
2601 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[139]
2602 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[140]
2603 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141]
2604 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142]
2605 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[143]
2606 #define SWIGTYPE_p_wxPyImageHandler swig_types[144]
2607 #define SWIGTYPE_p_wxPyPanel swig_types[145]
2608 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146]
2609 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147]
2610 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[148]
2611 #define SWIGTYPE_p_wxPyPrintPreview swig_types[149]
2612 #define SWIGTYPE_p_wxPyPrintout swig_types[150]
2613 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[151]
2614 #define SWIGTYPE_p_wxPySizer swig_types[152]
2615 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153]
2616 #define SWIGTYPE_p_wxPyVListBox swig_types[154]
2617 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155]
2618 #define SWIGTYPE_p_wxPyValidator swig_types[156]
2619 #define SWIGTYPE_p_wxPyWindow swig_types[157]
2620 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158]
2621 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159]
2622 #define SWIGTYPE_p_wxSashEvent swig_types[160]
2623 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[161]
2624 #define SWIGTYPE_p_wxSashWindow swig_types[162]
2625 #define SWIGTYPE_p_wxScrollEvent swig_types[163]
2626 #define SWIGTYPE_p_wxScrollWinEvent swig_types[164]
2627 #define SWIGTYPE_p_wxScrolledWindow swig_types[165]
2628 #define SWIGTYPE_p_wxSetCursorEvent swig_types[166]
2629 #define SWIGTYPE_p_wxShowEvent swig_types[167]
2630 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168]
2631 #define SWIGTYPE_p_wxSize swig_types[169]
2632 #define SWIGTYPE_p_wxSizeEvent swig_types[170]
2633 #define SWIGTYPE_p_wxSizer swig_types[171]
2634 #define SWIGTYPE_p_wxSizerItem swig_types[172]
2635 #define SWIGTYPE_p_wxSplashScreen swig_types[173]
2636 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[174]
2637 #define SWIGTYPE_p_wxSplitterEvent swig_types[175]
2638 #define SWIGTYPE_p_wxSplitterWindow swig_types[176]
2639 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[177]
2640 #define SWIGTYPE_p_wxStatusBar swig_types[178]
2641 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179]
2642 #define SWIGTYPE_p_wxString swig_types[180]
2643 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181]
2644 #define SWIGTYPE_p_wxTIFFHandler swig_types[182]
2645 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183]
2646 #define SWIGTYPE_p_wxTextEntryDialog swig_types[184]
2647 #define SWIGTYPE_p_wxTipWindow swig_types[185]
2648 #define SWIGTYPE_p_wxTopLevelWindow swig_types[186]
2649 #define SWIGTYPE_p_wxTreeCtrl swig_types[187]
2650 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[188]
2651 #define SWIGTYPE_p_wxValidator swig_types[189]
2652 #define SWIGTYPE_p_wxVisualAttributes swig_types[190]
2653 #define SWIGTYPE_p_wxWindow swig_types[191]
2654 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[192]
2655 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193]
2656 #define SWIGTYPE_p_wxXPMHandler swig_types[194]
2657 static swig_type_info
*swig_types
[196];
2658 static swig_module_info swig_module
= {swig_types
, 195, 0, 0, 0, 0};
2659 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2660 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2662 /* -------- TYPES TABLE (END) -------- */
2664 #if (PY_VERSION_HEX <= 0x02000000)
2665 # if !defined(SWIG_PYTHON_CLASSIC)
2666 # error "This python version requires to use swig with the '-classic' option"
2669 #if (PY_VERSION_HEX <= 0x02020000)
2670 # error "This python version requires to use swig with the '-nomodern' option"
2672 #if (PY_VERSION_HEX <= 0x02020000)
2673 # error "This python version requires to use swig with the '-nomodernargs' option"
2676 # error "This python version requires to use swig with the '-nofastunpack' option"
2679 /*-----------------------------------------------
2680 @(target):= _html.so
2681 ------------------------------------------------*/
2682 #define SWIG_init init_html
2684 #define SWIG_name "_html"
2686 #define SWIGVERSION 0x010329
2689 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2690 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2693 #include <stdexcept>
2697 class PyObject_ptr
{
2702 PyObject_ptr() :_obj(0)
2706 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2711 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2713 if (initial_ref
) Py_XINCREF(_obj
);
2716 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2718 Py_XINCREF(item
._obj
);
2729 operator PyObject
*() const
2734 PyObject
*operator->() const
2743 struct PyObject_var
: PyObject_ptr
{
2744 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2746 PyObject_var
& operator = (PyObject
* obj
)
2756 #include "wx/wxPython/wxPython.h"
2757 #include "wx/wxPython/pyclasses.h"
2758 #include "wx/wxPython/pyistream.h"
2759 #include "wx/wxPython/printfw.h"
2761 #include <wx/html/htmlwin.h>
2762 #include <wx/html/htmprint.h>
2763 #include <wx/html/helpctrl.h>
2764 #include <wx/html/helpwnd.h>
2765 #include <wx/html/helpfrm.h>
2766 #include <wx/html/helpdlg.h>
2769 static const wxString
wxPyEmptyString(wxEmptyString
);
2770 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2771 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2772 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2774 #define SWIG_From_long PyInt_FromLong
2777 SWIGINTERNINLINE PyObject
*
2778 SWIG_From_int (int value
)
2780 return SWIG_From_long (value
);
2786 # define LLONG_MIN LONG_LONG_MIN
2789 # define LLONG_MAX LONG_LONG_MAX
2792 # define ULLONG_MAX ULONG_LONG_MAX
2797 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2799 if (PyNumber_Check(obj
)) {
2800 if (val
) *val
= PyInt_AsLong(obj
);
2803 return SWIG_TypeError
;
2808 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2811 int res
= SWIG_AsVal_long (obj
, &v
);
2812 if (SWIG_IsOK(res
)) {
2813 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2814 return SWIG_OverflowError
;
2816 if (val
) *val
= static_cast< int >(v
);
2822 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2824 if (sizes
) temp
= int_LIST_helper(sizes
);
2825 self
->SetFonts(normal_face
, fixed_face
, temp
);
2830 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2831 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2833 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2835 wxHtmlParser
* GetParser() { return m_Parser
; }
2836 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2838 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2839 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2844 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2846 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2847 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2850 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2851 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2853 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2855 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2856 void ParseInner(const wxHtmlTag
& tag
)
2857 { wxHtmlWinTagHandler::ParseInner(tag
); }
2859 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2860 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2865 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2867 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2868 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2872 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2874 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2875 m_tagHandlerClass
= thc
;
2876 Py_INCREF(m_tagHandlerClass
);
2877 RegisterModule(this);
2878 wxHtmlWinParser::AddModule(this);
2882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2883 Py_DECREF(m_tagHandlerClass
);
2884 m_tagHandlerClass
= NULL
;
2885 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2886 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2889 wxPyEndBlockThreads(blocked
);
2892 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2893 // Wave our magic wand... (if it works it's a miracle! ;-)
2895 // First, make a new instance of the tag handler
2896 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2897 PyObject
* arg
= PyTuple_New(0);
2898 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2901 // now figure out where it's C++ object is...
2902 wxPyHtmlWinTagHandler
* thPtr
;
2903 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2904 wxPyEndBlockThreads(blocked
);
2907 wxPyEndBlockThreads(blocked
);
2910 parser
->AddTagHandler(thPtr
);
2913 m_objArray
.Add(obj
);
2917 PyObject
* m_tagHandlerClass
;
2918 wxArrayPtrVoid m_objArray
;
2923 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2924 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2925 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2926 new wxPyHtmlTagsModule(tagHandlerClass
);
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_bool (bool value
)
2933 return PyBool_FromLong(value
? 1 : 0);
2938 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2940 if (obj
== Py_True
) {
2941 if (val
) *val
= true;
2943 } else if (obj
== Py_False
) {
2944 if (val
) *val
= false;
2948 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2949 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2956 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2959 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2960 return SWIG_TypeError
;
2963 *val
= (unsigned long)v
;
2969 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2972 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2973 if (SWIG_IsOK(res
)) {
2974 if ((v
> UINT_MAX
)) {
2975 return SWIG_OverflowError
;
2977 if (val
) *val
= static_cast< unsigned int >(v
);
2984 SWIGINTERNINLINE PyObject
*
2985 SWIG_From_unsigned_SS_long (unsigned long value
)
2987 return (value
> LONG_MAX
) ?
2988 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2992 SWIGINTERNINLINE PyObject
*
2993 SWIG_From_unsigned_SS_int (unsigned int value
)
2995 return SWIG_From_unsigned_SS_long (value
);
2998 // here's the C++ version
2999 class wxPyHtmlFilter
: public wxHtmlFilter
{
3000 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3002 wxPyHtmlFilter() : wxHtmlFilter() {}
3004 // returns True if this filter is able to open&read given file
3005 virtual bool CanRead(const wxFSFile
& file
) const {
3008 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3009 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3010 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3011 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3014 wxPyEndBlockThreads(blocked
);
3019 // Reads given file and returns HTML document.
3020 // Returns empty string if opening failed
3021 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3024 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3025 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3026 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3028 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3031 rval
= Py2wxString(ro
);
3035 wxPyEndBlockThreads(blocked
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3045 class wxPyHtmlWindow
: public wxHtmlWindow
{
3046 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3048 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3049 const wxPoint
& pos
= wxDefaultPosition
,
3050 const wxSize
& size
= wxDefaultSize
,
3051 long style
= wxHW_DEFAULT_STYLE
,
3052 const wxString
& name
= wxPyHtmlWindowNameStr
)
3053 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3054 wxPyHtmlWindow() : wxHtmlWindow() {};
3056 bool ScrollToAnchor(const wxString
& anchor
) {
3057 return wxHtmlWindow::ScrollToAnchor(anchor
);
3060 bool HasAnchor(const wxString
& anchor
) {
3061 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3065 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3067 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3068 const wxString
& url
,
3069 wxString
*redirect
) const;
3071 DEC_PYCALLBACK__STRING(OnSetTitle
);
3072 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3073 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
3077 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3078 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3079 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3080 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3083 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3085 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3086 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3087 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3088 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3091 wxPyEndBlockThreads(blocked
);
3093 wxHtmlWindow::OnLinkClicked(link
);
3097 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3098 const wxString
& url
,
3099 wxString
*redirect
) const {
3101 wxHtmlOpeningStatus rval
;
3102 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3103 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3105 PyObject
* s
= wx2PyString(url
);
3106 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3108 if (PyString_Check(ro
)
3109 #if PYTHON_API_VERSION >= 1009
3110 || PyUnicode_Check(ro
)
3113 *redirect
= Py2wxString(ro
);
3114 rval
= wxHTML_REDIRECT
;
3117 PyObject
* num
= PyNumber_Int(ro
);
3118 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3123 wxPyEndBlockThreads(blocked
);
3125 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3131 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3133 if (sizes
) temp
= int_LIST_helper(sizes
);
3134 self
->SetFonts(normal_face
, fixed_face
, temp
);
3138 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3140 if (sizes
) temp
= int_LIST_helper(sizes
);
3141 self
->SetFonts(normal_face
, fixed_face
, temp
);
3145 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3147 if (sizes
) temp
= int_LIST_helper(sizes
);
3148 self
->SetFonts(normal_face
, fixed_face
, temp
);
3157 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3159 if (PyNumber_Check(obj
)) {
3160 if (val
) *val
= PyFloat_AsDouble(obj
);
3163 return SWIG_TypeError
;
3168 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3171 int res
= SWIG_AsVal_double (obj
, &v
);
3172 if (SWIG_IsOK(res
)) {
3173 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3174 return SWIG_OverflowError
;
3176 if (val
) *val
= static_cast< float >(v
);
3182 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3184 if (sizes
) temp
= int_LIST_helper(sizes
);
3185 self
->SetFonts(normal_face
, fixed_face
, temp
);
3192 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3193 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3198 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3199 PyObject
*pyobj
= 0;
3203 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3205 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3212 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3213 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3218 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3219 PyObject
*pyobj
= 0;
3223 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3225 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3232 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3233 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3238 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3239 PyObject
*pyobj
= 0;
3243 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3245 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3252 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
= 0;
3254 wxString
*arg1
= 0 ;
3255 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3256 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3257 wxHtmlLinkInfo
*result
= 0 ;
3258 bool temp1
= false ;
3259 bool temp2
= false ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3262 char * kwnames
[] = {
3263 (char *) "href",(char *) "target", NULL
3266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3268 arg1
= wxString_in_helper(obj0
);
3269 if (arg1
== NULL
) SWIG_fail
;
3274 arg2
= wxString_in_helper(obj1
);
3275 if (arg2
== NULL
) SWIG_fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3308 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3309 PyObject
*resultobj
= 0;
3310 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3314 PyObject
*swig_obj
[1] ;
3316 if (!args
) SWIG_fail
;
3318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3319 if (!SWIG_IsOK(res1
)) {
3320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3322 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 result
= (arg1
)->GetHref();
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3342 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3343 PyObject
*resultobj
= 0;
3344 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3348 PyObject
*swig_obj
[1] ;
3350 if (!args
) SWIG_fail
;
3352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3353 if (!SWIG_IsOK(res1
)) {
3354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3356 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 result
= (arg1
)->GetTarget();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3376 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3377 PyObject
*resultobj
= 0;
3378 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3379 wxMouseEvent
*result
= 0 ;
3382 PyObject
*swig_obj
[1] ;
3384 if (!args
) SWIG_fail
;
3386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3387 if (!SWIG_IsOK(res1
)) {
3388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3390 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3406 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3407 PyObject
*resultobj
= 0;
3408 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3409 wxHtmlCell
*result
= 0 ;
3412 PyObject
*swig_obj
[1] ;
3414 if (!args
) SWIG_fail
;
3416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3417 if (!SWIG_IsOK(res1
)) {
3418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3420 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3434 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
= 0;
3436 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3437 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3442 PyObject
* obj0
= 0 ;
3443 PyObject
* obj1
= 0 ;
3444 char * kwnames
[] = {
3445 (char *) "self",(char *) "e", NULL
3448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3450 if (!SWIG_IsOK(res1
)) {
3451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3453 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3455 if (!SWIG_IsOK(res2
)) {
3456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3458 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_Py_Void();
3472 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
= 0;
3474 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3475 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3482 char * kwnames
[] = {
3483 (char *) "self",(char *) "e", NULL
3486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3488 if (!SWIG_IsOK(res1
)) {
3489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3491 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3493 if (!SWIG_IsOK(res2
)) {
3494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3496 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= SWIG_Py_Void();
3510 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3513 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3514 return SWIG_Py_Void();
3517 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3518 return SWIG_Python_InitShadowInstance(args
);
3521 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3522 PyObject
*resultobj
= 0;
3523 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3527 PyObject
*swig_obj
[1] ;
3529 if (!args
) SWIG_fail
;
3531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3532 if (!SWIG_IsOK(res1
)) {
3533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3535 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (arg1
)->GetName();
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3555 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
= 0;
3557 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3558 wxString
*arg2
= 0 ;
3562 bool temp2
= false ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3565 char * kwnames
[] = {
3566 (char *) "self",(char *) "par", NULL
3569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3571 if (!SWIG_IsOK(res1
)) {
3572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3574 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3576 arg2
= wxString_in_helper(obj1
);
3577 if (arg2
== NULL
) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3603 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
= 0;
3605 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3606 wxString
*arg2
= 0 ;
3607 int arg3
= (int) false ;
3611 bool temp2
= false ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 char * kwnames
[] = {
3618 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3623 if (!SWIG_IsOK(res1
)) {
3624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3626 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3628 arg2
= wxString_in_helper(obj1
);
3629 if (arg2
== NULL
) SWIG_fail
;
3633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3634 if (!SWIG_IsOK(ecode3
)) {
3635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3637 arg3
= static_cast< int >(val3
);
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3666 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3667 PyObject
*resultobj
= 0;
3668 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3672 PyObject
*swig_obj
[1] ;
3674 if (!args
) SWIG_fail
;
3676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3677 if (!SWIG_IsOK(res1
)) {
3678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3680 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 result
= (arg1
)->GetAllParams();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3700 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3701 PyObject
*resultobj
= 0;
3702 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3706 PyObject
*swig_obj
[1] ;
3708 if (!args
) SWIG_fail
;
3710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3711 if (!SWIG_IsOK(res1
)) {
3712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3714 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (bool)(arg1
)->HasEnding();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3730 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3731 PyObject
*resultobj
= 0;
3732 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3736 PyObject
*swig_obj
[1] ;
3738 if (!args
) SWIG_fail
;
3740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3741 if (!SWIG_IsOK(res1
)) {
3742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3744 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= (int)(arg1
)->GetBeginPos();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_From_int(static_cast< int >(result
));
3758 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 PyObject
*resultobj
= 0;
3760 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3764 PyObject
*swig_obj
[1] ;
3766 if (!args
) SWIG_fail
;
3768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3769 if (!SWIG_IsOK(res1
)) {
3770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3772 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (int)(arg1
)->GetEndPos1();
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_From_int(static_cast< int >(result
));
3786 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3787 PyObject
*resultobj
= 0;
3788 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3792 PyObject
*swig_obj
[1] ;
3794 if (!args
) SWIG_fail
;
3796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3797 if (!SWIG_IsOK(res1
)) {
3798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3800 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (int)(arg1
)->GetEndPos2();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_int(static_cast< int >(result
));
3814 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3817 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3818 return SWIG_Py_Void();
3821 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
= 0;
3823 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3824 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3831 char * kwnames
[] = {
3832 (char *) "self",(char *) "fs", NULL
3835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3837 if (!SWIG_IsOK(res1
)) {
3838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3840 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3842 if (!SWIG_IsOK(res2
)) {
3843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3845 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 (arg1
)->SetFS(arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_Py_Void();
3859 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3862 wxFileSystem
*result
= 0 ;
3865 PyObject
*swig_obj
[1] ;
3867 if (!args
) SWIG_fail
;
3869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3870 if (!SWIG_IsOK(res1
)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3873 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (wxFileSystem
*)(arg1
)->GetFS();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3889 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
= 0;
3891 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3892 wxString
*arg2
= 0 ;
3893 wxObject
*result
= 0 ;
3896 bool temp2
= false ;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3899 char * kwnames
[] = {
3900 (char *) "self",(char *) "source", NULL
3903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3905 if (!SWIG_IsOK(res1
)) {
3906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3908 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3910 arg2
= wxString_in_helper(obj1
);
3911 if (arg2
== NULL
) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3937 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
= 0;
3939 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3940 wxString
*arg2
= 0 ;
3943 bool temp2
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 char * kwnames
[] = {
3947 (char *) "self",(char *) "source", NULL
3950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3952 if (!SWIG_IsOK(res1
)) {
3953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3955 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3957 arg2
= wxString_in_helper(obj1
);
3958 if (arg2
== NULL
) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 (arg1
)->InitParser((wxString
const &)*arg2
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 resultobj
= SWIG_Py_Void();
3982 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3983 PyObject
*resultobj
= 0;
3984 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3987 PyObject
*swig_obj
[1] ;
3989 if (!args
) SWIG_fail
;
3991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3992 if (!SWIG_IsOK(res1
)) {
3993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3995 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 (arg1
)->DoneParser();
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= SWIG_Py_Void();
4009 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
= 0;
4011 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4022 PyObject
* obj2
= 0 ;
4023 char * kwnames
[] = {
4024 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4029 if (!SWIG_IsOK(res1
)) {
4030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4032 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4034 if (!SWIG_IsOK(ecode2
)) {
4035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4037 arg2
= static_cast< int >(val2
);
4038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4039 if (!SWIG_IsOK(ecode3
)) {
4040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4042 arg3
= static_cast< int >(val3
);
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 (arg1
)->DoParsing(arg2
,arg3
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= SWIG_Py_Void();
4056 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4057 PyObject
*resultobj
= 0;
4058 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4061 PyObject
*swig_obj
[1] ;
4063 if (!args
) SWIG_fail
;
4065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4066 if (!SWIG_IsOK(res1
)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4069 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 (arg1
)->StopParsing();
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= SWIG_Py_Void();
4083 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
= 0;
4085 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4086 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4092 PyObject
* obj1
= 0 ;
4093 char * kwnames
[] = {
4094 (char *) "self",(char *) "handler", NULL
4097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4099 if (!SWIG_IsOK(res1
)) {
4100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4102 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4104 if (!SWIG_IsOK(res2
)) {
4105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4107 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 (arg1
)->AddTagHandler(arg2
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_Py_Void();
4121 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4124 wxString
*result
= 0 ;
4127 PyObject
*swig_obj
[1] ;
4129 if (!args
) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4135 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (wxString
*)(arg1
)->GetSource();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4146 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4155 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4158 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4166 PyObject
* obj2
= 0 ;
4167 char * kwnames
[] = {
4168 (char *) "self",(char *) "handler",(char *) "tags", NULL
4171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4173 if (!SWIG_IsOK(res1
)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4176 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4178 if (!SWIG_IsOK(res2
)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4181 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4183 wxString
* sptr
= wxString_in_helper(obj2
);
4184 if (sptr
== NULL
) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 (arg1
)->PushTagHandler(arg2
,arg3
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_Py_Void();
4201 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4202 PyObject
*resultobj
= 0;
4203 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4206 PyObject
*swig_obj
[1] ;
4208 if (!args
) SWIG_fail
;
4210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4211 if (!SWIG_IsOK(res1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4214 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 (arg1
)->PopTagHandler();
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= SWIG_Py_Void();
4228 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4231 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4232 return SWIG_Py_Void();
4235 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= 0;
4237 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4238 wxHtmlWinParser
*result
= 0 ;
4241 PyObject
* obj0
= 0 ;
4242 char * kwnames
[] = {
4243 (char *) "wnd", NULL
4246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4249 if (!SWIG_IsOK(res1
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4252 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4267 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
= 0;
4269 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4270 wxDC
*arg2
= (wxDC
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 char * kwnames
[] = {
4278 (char *) "self",(char *) "dc", NULL
4281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4283 if (!SWIG_IsOK(res1
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4286 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4288 if (!SWIG_IsOK(res2
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4291 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 (arg1
)->SetDC(arg2
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= SWIG_Py_Void();
4305 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4306 PyObject
*resultobj
= 0;
4307 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4311 PyObject
*swig_obj
[1] ;
4313 if (!args
) SWIG_fail
;
4315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4316 if (!SWIG_IsOK(res1
)) {
4317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4319 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= (wxDC
*)(arg1
)->GetDC();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4335 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4336 PyObject
*resultobj
= 0;
4337 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4341 PyObject
*swig_obj
[1] ;
4343 if (!args
) SWIG_fail
;
4345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4346 if (!SWIG_IsOK(res1
)) {
4347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4349 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (int)(arg1
)->GetCharHeight();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_From_int(static_cast< int >(result
));
4363 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4364 PyObject
*resultobj
= 0;
4365 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4369 PyObject
*swig_obj
[1] ;
4371 if (!args
) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4377 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 result
= (int)(arg1
)->GetCharWidth();
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= SWIG_From_int(static_cast< int >(result
));
4391 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4392 PyObject
*resultobj
= 0;
4393 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4394 wxPyHtmlWindow
*result
= 0 ;
4397 PyObject
*swig_obj
[1] ;
4399 if (!args
) SWIG_fail
;
4401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4402 if (!SWIG_IsOK(res1
)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4405 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4421 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4426 PyObject
*arg4
= (PyObject
*) NULL
;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4431 PyObject
* obj2
= 0 ;
4432 PyObject
* obj3
= 0 ;
4433 char * kwnames
[] = {
4434 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4439 if (!SWIG_IsOK(res1
)) {
4440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4442 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4444 wxString
* sptr
= wxString_in_helper(obj1
);
4445 if (sptr
== NULL
) SWIG_fail
;
4450 wxString
* sptr
= wxString_in_helper(obj2
);
4451 if (sptr
== NULL
) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_Py_Void();
4471 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= 0;
4473 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4474 int arg2
= (int) -1 ;
4475 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4476 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4477 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4478 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4483 bool temp3
= false ;
4484 bool temp4
= false ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4487 PyObject
* obj2
= 0 ;
4488 PyObject
* obj3
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4498 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4501 if (!SWIG_IsOK(ecode2
)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4504 arg2
= static_cast< int >(val2
);
4508 arg3
= wxString_in_helper(obj2
);
4509 if (arg3
== NULL
) SWIG_fail
;
4515 arg4
= wxString_in_helper(obj3
);
4516 if (arg4
== NULL
) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_Py_Void();
4549 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4550 PyObject
*resultobj
= 0;
4551 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4552 wxHtmlContainerCell
*result
= 0 ;
4555 PyObject
*swig_obj
[1] ;
4557 if (!args
) SWIG_fail
;
4559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4560 if (!SWIG_IsOK(res1
)) {
4561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4563 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4577 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4578 PyObject
*resultobj
= 0;
4579 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4580 wxHtmlContainerCell
*result
= 0 ;
4583 PyObject
*swig_obj
[1] ;
4585 if (!args
) SWIG_fail
;
4587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4588 if (!SWIG_IsOK(res1
)) {
4589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4591 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4605 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
= 0;
4607 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4608 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4609 wxHtmlContainerCell
*result
= 0 ;
4614 PyObject
* obj0
= 0 ;
4615 PyObject
* obj1
= 0 ;
4616 char * kwnames
[] = {
4617 (char *) "self",(char *) "c", NULL
4620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4622 if (!SWIG_IsOK(res1
)) {
4623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4625 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4627 if (!SWIG_IsOK(res2
)) {
4628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4630 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4644 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4645 PyObject
*resultobj
= 0;
4646 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4647 wxHtmlContainerCell
*result
= 0 ;
4650 PyObject
*swig_obj
[1] ;
4652 if (!args
) SWIG_fail
;
4654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4655 if (!SWIG_IsOK(res1
)) {
4656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4658 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4672 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4673 PyObject
*resultobj
= 0;
4674 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4678 PyObject
*swig_obj
[1] ;
4680 if (!args
) SWIG_fail
;
4682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4683 if (!SWIG_IsOK(res1
)) {
4684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4686 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 result
= (int)(arg1
)->GetFontSize();
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= SWIG_From_int(static_cast< int >(result
));
4700 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
= 0;
4702 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 char * kwnames
[] = {
4711 (char *) "self",(char *) "s", NULL
4714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4719 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4721 if (!SWIG_IsOK(ecode2
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4724 arg2
= static_cast< int >(val2
);
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 (arg1
)->SetFontSize(arg2
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_Py_Void();
4738 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4739 PyObject
*resultobj
= 0;
4740 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4744 PyObject
*swig_obj
[1] ;
4746 if (!args
) SWIG_fail
;
4748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4749 if (!SWIG_IsOK(res1
)) {
4750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4752 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (int)(arg1
)->GetFontBold();
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= SWIG_From_int(static_cast< int >(result
));
4766 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
= 0;
4768 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 char * kwnames
[] = {
4777 (char *) "self",(char *) "x", NULL
4780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4782 if (!SWIG_IsOK(res1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4785 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4787 if (!SWIG_IsOK(ecode2
)) {
4788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4790 arg2
= static_cast< int >(val2
);
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 (arg1
)->SetFontBold(arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= SWIG_Py_Void();
4804 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4818 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (int)(arg1
)->GetFontItalic();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_From_int(static_cast< int >(result
));
4832 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
= 0;
4834 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4842 char * kwnames
[] = {
4843 (char *) "self",(char *) "x", NULL
4846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4848 if (!SWIG_IsOK(res1
)) {
4849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4851 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4853 if (!SWIG_IsOK(ecode2
)) {
4854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4856 arg2
= static_cast< int >(val2
);
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 (arg1
)->SetFontItalic(arg2
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_Py_Void();
4870 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4871 PyObject
*resultobj
= 0;
4872 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4876 PyObject
*swig_obj
[1] ;
4878 if (!args
) SWIG_fail
;
4880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4881 if (!SWIG_IsOK(res1
)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4884 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (int)(arg1
)->GetFontUnderlined();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_From_int(static_cast< int >(result
));
4898 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
= 0;
4900 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4908 char * kwnames
[] = {
4909 (char *) "self",(char *) "x", NULL
4912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4914 if (!SWIG_IsOK(res1
)) {
4915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4917 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4919 if (!SWIG_IsOK(ecode2
)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
4922 arg2
= static_cast< int >(val2
);
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 (arg1
)->SetFontUnderlined(arg2
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_Py_Void();
4936 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4937 PyObject
*resultobj
= 0;
4938 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4942 PyObject
*swig_obj
[1] ;
4944 if (!args
) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4950 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 result
= (int)(arg1
)->GetFontFixed();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_From_int(static_cast< int >(result
));
4964 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
= 0;
4966 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4974 char * kwnames
[] = {
4975 (char *) "self",(char *) "x", NULL
4978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4983 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4985 if (!SWIG_IsOK(ecode2
)) {
4986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
4988 arg2
= static_cast< int >(val2
);
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 (arg1
)->SetFontFixed(arg2
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_Py_Void();
5002 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5003 PyObject
*resultobj
= 0;
5004 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5008 PyObject
*swig_obj
[1] ;
5010 if (!args
) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5016 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (int)(arg1
)->GetAlign();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_From_int(static_cast< int >(result
));
5030 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
= 0;
5032 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5040 char * kwnames
[] = {
5041 (char *) "self",(char *) "a", NULL
5044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5046 if (!SWIG_IsOK(res1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5049 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5051 if (!SWIG_IsOK(ecode2
)) {
5052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5054 arg2
= static_cast< int >(val2
);
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 (arg1
)->SetAlign(arg2
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_Py_Void();
5068 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 PyObject
*resultobj
= 0;
5070 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5074 PyObject
*swig_obj
[1] ;
5076 if (!args
) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5082 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (arg1
)->GetLinkColor();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5096 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
= 0;
5098 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5099 wxColour
*arg2
= 0 ;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5105 char * kwnames
[] = {
5106 (char *) "self",(char *) "clr", NULL
5109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5114 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5117 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_Py_Void();
5132 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5133 PyObject
*resultobj
= 0;
5134 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5138 PyObject
*swig_obj
[1] ;
5140 if (!args
) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5146 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (arg1
)->GetActualColor();
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5160 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
= 0;
5162 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5163 wxColour
*arg2
= 0 ;
5167 PyObject
* obj0
= 0 ;
5168 PyObject
* obj1
= 0 ;
5169 char * kwnames
[] = {
5170 (char *) "self",(char *) "clr", NULL
5173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5175 if (!SWIG_IsOK(res1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5178 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5181 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_Py_Void();
5196 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
= 0;
5198 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5199 wxString
*arg2
= 0 ;
5202 bool temp2
= false ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 char * kwnames
[] = {
5206 (char *) "self",(char *) "link", NULL
5209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5211 if (!SWIG_IsOK(res1
)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5214 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5216 arg2
= wxString_in_helper(obj1
);
5217 if (arg2
== NULL
) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 (arg1
)->SetLink((wxString
const &)*arg2
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_Py_Void();
5241 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5242 PyObject
*resultobj
= 0;
5243 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5244 wxFont
*result
= 0 ;
5247 PyObject
*swig_obj
[1] ;
5249 if (!args
) SWIG_fail
;
5251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5252 if (!SWIG_IsOK(res1
)) {
5253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5255 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5269 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5270 PyObject
*resultobj
= 0;
5271 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5272 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5275 PyObject
*swig_obj
[1] ;
5277 if (!args
) SWIG_fail
;
5279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5280 if (!SWIG_IsOK(res1
)) {
5281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5283 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (arg1
)->GetLink();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5297 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5300 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5301 return SWIG_Py_Void();
5304 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5305 return SWIG_Python_InitShadowInstance(args
);
5308 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5309 PyObject
*resultobj
= 0;
5310 wxPyHtmlTagHandler
*result
= 0 ;
5312 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5326 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
= 0;
5328 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5329 PyObject
*arg2
= (PyObject
*) 0 ;
5330 PyObject
*arg3
= (PyObject
*) 0 ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5335 PyObject
* obj2
= 0 ;
5336 char * kwnames
[] = {
5337 (char *) "self",(char *) "self",(char *) "_class", NULL
5340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5345 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_Py_Void();
5361 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
= 0;
5363 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5364 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "self",(char *) "parser", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5380 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5382 if (!SWIG_IsOK(res2
)) {
5383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5385 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->SetParser(arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_Py_Void();
5399 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5401 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5402 wxHtmlParser
*result
= 0 ;
5405 PyObject
*swig_obj
[1] ;
5407 if (!args
) SWIG_fail
;
5409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5410 if (!SWIG_IsOK(res1
)) {
5411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5413 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5427 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
= 0;
5429 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5430 wxHtmlTag
*arg2
= 0 ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 char * kwnames
[] = {
5438 (char *) "self",(char *) "tag", NULL
5441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5443 if (!SWIG_IsOK(res1
)) {
5444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5446 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5448 if (!SWIG_IsOK(res2
)) {
5449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5454 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_Py_Void();
5468 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5472 return SWIG_Py_Void();
5475 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5476 return SWIG_Python_InitShadowInstance(args
);
5479 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5480 PyObject
*resultobj
= 0;
5481 wxPyHtmlWinTagHandler
*result
= 0 ;
5483 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5497 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
= 0;
5499 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5500 PyObject
*arg2
= (PyObject
*) 0 ;
5501 PyObject
*arg3
= (PyObject
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5505 PyObject
* obj1
= 0 ;
5506 PyObject
* obj2
= 0 ;
5507 char * kwnames
[] = {
5508 (char *) "self",(char *) "self",(char *) "_class", NULL
5511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5513 if (!SWIG_IsOK(res1
)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5516 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_Py_Void();
5532 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
= 0;
5534 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5535 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5540 PyObject
* obj0
= 0 ;
5541 PyObject
* obj1
= 0 ;
5542 char * kwnames
[] = {
5543 (char *) "self",(char *) "parser", NULL
5546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5548 if (!SWIG_IsOK(res1
)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5551 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5553 if (!SWIG_IsOK(res2
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5556 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 (arg1
)->SetParser(arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_Py_Void();
5570 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5571 PyObject
*resultobj
= 0;
5572 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5573 wxHtmlWinParser
*result
= 0 ;
5576 PyObject
*swig_obj
[1] ;
5578 if (!args
) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5584 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5598 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= 0;
5600 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5601 wxHtmlTag
*arg2
= 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "self",(char *) "tag", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5617 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5619 if (!SWIG_IsOK(res2
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5625 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_Py_Void();
5639 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5642 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5643 return SWIG_Py_Void();
5646 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5647 return SWIG_Python_InitShadowInstance(args
);
5650 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
= 0;
5652 PyObject
*arg1
= (PyObject
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 char * kwnames
[] = {
5655 (char *) "tagHandlerClass", NULL
5658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxHtmlWinParser_AddTagHandler(arg1
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= SWIG_Py_Void();
5673 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5674 PyObject
*resultobj
= 0;
5675 wxHtmlSelection
*result
= 0 ;
5677 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5691 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 PyObject
*resultobj
= 0;
5693 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5696 PyObject
*swig_obj
[1] ;
5698 if (!args
) SWIG_fail
;
5700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5701 if (!SWIG_IsOK(res1
)) {
5702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5704 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_Py_Void();
5719 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
= 0;
5721 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5723 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5725 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5736 PyObject
* obj2
= 0 ;
5737 PyObject
* obj3
= 0 ;
5738 PyObject
* obj4
= 0 ;
5739 char * kwnames
[] = {
5740 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5745 if (!SWIG_IsOK(res1
)) {
5746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5748 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5751 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5753 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5754 if (!SWIG_IsOK(res3
)) {
5755 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5757 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5760 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5762 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5763 if (!SWIG_IsOK(res5
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5766 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_Py_Void();
5780 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
= 0;
5782 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5783 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5784 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5793 PyObject
* obj2
= 0 ;
5794 char * kwnames
[] = {
5795 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5800 if (!SWIG_IsOK(res1
)) {
5801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5803 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5805 if (!SWIG_IsOK(res2
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5808 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5809 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5810 if (!SWIG_IsOK(res3
)) {
5811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5813 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= SWIG_Py_Void();
5827 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5828 PyObject
*resultobj
= 0;
5829 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5830 wxHtmlCell
*result
= 0 ;
5833 PyObject
*swig_obj
[1] ;
5835 if (!args
) SWIG_fail
;
5837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5838 if (!SWIG_IsOK(res1
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5841 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= wxPyMake_wxObject(result
, 0);
5857 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5858 PyObject
*resultobj
= 0;
5859 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5860 wxHtmlCell
*result
= 0 ;
5863 PyObject
*swig_obj
[1] ;
5865 if (!args
) SWIG_fail
;
5867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5868 if (!SWIG_IsOK(res1
)) {
5869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5871 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= wxPyMake_wxObject(result
, 0);
5887 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5888 PyObject
*resultobj
= 0;
5889 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5890 wxPoint
*result
= 0 ;
5893 PyObject
*swig_obj
[1] ;
5895 if (!args
) SWIG_fail
;
5897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5898 if (!SWIG_IsOK(res1
)) {
5899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5901 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5906 result
= (wxPoint
*) &_result_ref
;
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
5918 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5919 PyObject
*resultobj
= 0;
5920 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5921 wxPoint
*result
= 0 ;
5924 PyObject
*swig_obj
[1] ;
5926 if (!args
) SWIG_fail
;
5928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5929 if (!SWIG_IsOK(res1
)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5932 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
5937 result
= (wxPoint
*) &_result_ref
;
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
5949 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5950 PyObject
*resultobj
= 0;
5951 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5952 wxPoint
*result
= 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5963 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
5968 result
= (wxPoint
*) &_result_ref
;
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
5980 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5981 PyObject
*resultobj
= 0;
5982 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5983 wxPoint
*result
= 0 ;
5986 PyObject
*swig_obj
[1] ;
5988 if (!args
) SWIG_fail
;
5990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5991 if (!SWIG_IsOK(res1
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5994 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
5999 result
= (wxPoint
*) &_result_ref
;
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6011 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= 0;
6013 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6020 char * kwnames
[] = {
6021 (char *) "self",(char *) "pos", NULL
6024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6029 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_Py_Void();
6047 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
= 0;
6049 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 char * kwnames
[] = {
6057 (char *) "self",(char *) "pos", NULL
6060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6062 if (!SWIG_IsOK(res1
)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6065 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= SWIG_Py_Void();
6083 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6084 PyObject
*resultobj
= 0;
6085 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6088 PyObject
*swig_obj
[1] ;
6090 if (!args
) SWIG_fail
;
6092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6093 if (!SWIG_IsOK(res1
)) {
6094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6096 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 (arg1
)->ClearPrivPos();
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_Py_Void();
6110 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6111 PyObject
*resultobj
= 0;
6112 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6116 PyObject
*swig_obj
[1] ;
6118 if (!args
) SWIG_fail
;
6120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6121 if (!SWIG_IsOK(res1
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6124 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6138 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6141 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6142 return SWIG_Py_Void();
6145 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6146 return SWIG_Python_InitShadowInstance(args
);
6149 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6150 PyObject
*resultobj
= 0;
6151 wxHtmlRenderingState
*result
= 0 ;
6153 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6167 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6168 PyObject
*resultobj
= 0;
6169 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6172 PyObject
*swig_obj
[1] ;
6174 if (!args
) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6180 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6197 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6198 wxHtmlSelectionState arg2
;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 char * kwnames
[] = {
6206 (char *) "self",(char *) "s", NULL
6209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6214 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6216 if (!SWIG_IsOK(ecode2
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6219 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 (arg1
)->SetSelectionState(arg2
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_Py_Void();
6233 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6236 wxHtmlSelectionState result
;
6239 PyObject
*swig_obj
[1] ;
6241 if (!args
) SWIG_fail
;
6243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6244 if (!SWIG_IsOK(res1
)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6247 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_From_int(static_cast< int >(result
));
6261 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6264 wxColour
*arg2
= 0 ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "c", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6279 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6282 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= SWIG_Py_Void();
6297 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6298 PyObject
*resultobj
= 0;
6299 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6300 wxColour
*result
= 0 ;
6303 PyObject
*swig_obj
[1] ;
6305 if (!args
) SWIG_fail
;
6307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6308 if (!SWIG_IsOK(res1
)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6311 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6316 result
= (wxColour
*) &_result_ref
;
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6328 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6331 wxColour
*arg2
= 0 ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 char * kwnames
[] = {
6338 (char *) "self",(char *) "c", NULL
6341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6343 if (!SWIG_IsOK(res1
)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6346 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6349 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= SWIG_Py_Void();
6364 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6365 PyObject
*resultobj
= 0;
6366 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6367 wxColour
*result
= 0 ;
6370 PyObject
*swig_obj
[1] ;
6372 if (!args
) SWIG_fail
;
6374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6375 if (!SWIG_IsOK(res1
)) {
6376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6378 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6383 result
= (wxColour
*) &_result_ref
;
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6395 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6398 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6399 return SWIG_Py_Void();
6402 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6403 return SWIG_Python_InitShadowInstance(args
);
6406 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
= 0;
6408 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6409 wxColour
*arg2
= 0 ;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6416 char * kwnames
[] = {
6417 (char *) "self",(char *) "clr", NULL
6420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6422 if (!SWIG_IsOK(res1
)) {
6423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6425 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6428 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6443 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
= 0;
6445 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6446 wxColour
*arg2
= 0 ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6453 char * kwnames
[] = {
6454 (char *) "self",(char *) "clr", NULL
6457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6462 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6480 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6483 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6484 return SWIG_Py_Void();
6487 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6490 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6491 return SWIG_Py_Void();
6494 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6495 PyObject
*resultobj
= 0;
6496 wxHtmlRenderingInfo
*result
= 0 ;
6498 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6512 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6513 PyObject
*resultobj
= 0;
6514 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6525 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_Py_Void();
6540 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
= 0;
6542 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6543 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6550 char * kwnames
[] = {
6551 (char *) "self",(char *) "s", NULL
6554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6556 if (!SWIG_IsOK(res1
)) {
6557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6559 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6561 if (!SWIG_IsOK(res2
)) {
6562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6564 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 (arg1
)->SetSelection(arg2
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_Py_Void();
6578 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6581 wxHtmlSelection
*result
= 0 ;
6584 PyObject
*swig_obj
[1] ;
6586 if (!args
) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6592 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6606 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
= 0;
6608 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6609 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6614 PyObject
* obj0
= 0 ;
6615 PyObject
* obj1
= 0 ;
6616 char * kwnames
[] = {
6617 (char *) "self",(char *) "style", NULL
6620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6622 if (!SWIG_IsOK(res1
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6625 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6627 if (!SWIG_IsOK(res2
)) {
6628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6630 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 (arg1
)->SetStyle(arg2
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_Py_Void();
6644 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6647 wxHtmlRenderingStyle
*result
= 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6658 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6663 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6675 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6678 wxHtmlRenderingState
*result
= 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6689 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6694 result
= (wxHtmlRenderingState
*) &_result_ref
;
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6706 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6709 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6710 return SWIG_Py_Void();
6713 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6714 return SWIG_Python_InitShadowInstance(args
);
6717 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6718 PyObject
*resultobj
= 0;
6719 wxHtmlCell
*result
= 0 ;
6721 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (wxHtmlCell
*)new wxHtmlCell();
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6735 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6736 PyObject
*resultobj
= 0;
6737 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6740 PyObject
*swig_obj
[1] ;
6742 if (!args
) SWIG_fail
;
6744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6745 if (!SWIG_IsOK(res1
)) {
6746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6748 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= SWIG_Py_Void();
6763 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6764 PyObject
*resultobj
= 0;
6765 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6769 PyObject
*swig_obj
[1] ;
6771 if (!args
) SWIG_fail
;
6773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6774 if (!SWIG_IsOK(res1
)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6777 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (int)(arg1
)->GetPosX();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_From_int(static_cast< int >(result
));
6791 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6792 PyObject
*resultobj
= 0;
6793 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6797 PyObject
*swig_obj
[1] ;
6799 if (!args
) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6805 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (int)(arg1
)->GetPosY();
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_From_int(static_cast< int >(result
));
6819 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6821 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6825 PyObject
*swig_obj
[1] ;
6827 if (!args
) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6833 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (int)(arg1
)->GetWidth();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_From_int(static_cast< int >(result
));
6847 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6848 PyObject
*resultobj
= 0;
6849 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6853 PyObject
*swig_obj
[1] ;
6855 if (!args
) SWIG_fail
;
6857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6858 if (!SWIG_IsOK(res1
)) {
6859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6861 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (int)(arg1
)->GetHeight();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= SWIG_From_int(static_cast< int >(result
));
6875 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6876 PyObject
*resultobj
= 0;
6877 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6881 PyObject
*swig_obj
[1] ;
6883 if (!args
) SWIG_fail
;
6885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6886 if (!SWIG_IsOK(res1
)) {
6887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6889 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (int)(arg1
)->GetDescent();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_From_int(static_cast< int >(result
));
6903 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6904 PyObject
*resultobj
= 0;
6905 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6909 PyObject
*swig_obj
[1] ;
6911 if (!args
) SWIG_fail
;
6913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6914 if (!SWIG_IsOK(res1
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6917 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_From_int(static_cast< int >(result
));
6931 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6932 PyObject
*resultobj
= 0;
6933 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6934 wxString
*result
= 0 ;
6937 PyObject
*swig_obj
[1] ;
6939 if (!args
) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6945 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
6950 result
= (wxString
*) &_result_ref
;
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6959 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6968 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
= 0;
6970 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6971 wxString
*arg2
= 0 ;
6974 bool temp2
= false ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 char * kwnames
[] = {
6978 (char *) "self",(char *) "id", NULL
6981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6986 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6988 arg2
= wxString_in_helper(obj1
);
6989 if (arg2
== NULL
) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 (arg1
)->SetId((wxString
const &)*arg2
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= SWIG_Py_Void();
7013 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
= 0;
7015 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7016 int arg2
= (int) 0 ;
7017 int arg3
= (int) 0 ;
7018 wxHtmlLinkInfo
*result
= 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 PyObject
* obj2
= 0 ;
7028 char * kwnames
[] = {
7029 (char *) "self",(char *) "x",(char *) "y", NULL
7032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7034 if (!SWIG_IsOK(res1
)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7037 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7040 if (!SWIG_IsOK(ecode2
)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7043 arg2
= static_cast< int >(val2
);
7046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7047 if (!SWIG_IsOK(ecode3
)) {
7048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7050 arg3
= static_cast< int >(val3
);
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7065 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7066 PyObject
*resultobj
= 0;
7067 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7068 wxHtmlCell
*result
= 0 ;
7071 PyObject
*swig_obj
[1] ;
7073 if (!args
) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7079 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= wxPyMake_wxObject(result
, 0);
7095 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7096 PyObject
*resultobj
= 0;
7097 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7098 wxHtmlContainerCell
*result
= 0 ;
7101 PyObject
*swig_obj
[1] ;
7103 if (!args
) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7109 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7123 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7124 PyObject
*resultobj
= 0;
7125 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7126 wxHtmlCell
*result
= 0 ;
7129 PyObject
*swig_obj
[1] ;
7131 if (!args
) SWIG_fail
;
7133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7134 if (!SWIG_IsOK(res1
)) {
7135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7137 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= wxPyMake_wxObject(result
, 0);
7153 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7154 PyObject
*resultobj
= 0;
7155 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7159 PyObject
*swig_obj
[1] ;
7161 if (!args
) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7167 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7181 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7182 PyObject
*resultobj
= 0;
7183 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7187 PyObject
*swig_obj
[1] ;
7189 if (!args
) SWIG_fail
;
7191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7192 if (!SWIG_IsOK(res1
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7195 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7211 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7213 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7214 wxHtmlLinkInfo
*arg2
= 0 ;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 char * kwnames
[] = {
7222 (char *) "self",(char *) "link", NULL
7225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7227 if (!SWIG_IsOK(res1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7230 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7232 if (!SWIG_IsOK(res2
)) {
7233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7238 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_Py_Void();
7252 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7254 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7255 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 char * kwnames
[] = {
7261 (char *) "self",(char *) "cell", NULL
7264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7265 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7266 if (!SWIG_IsOK(res1
)) {
7267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7269 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7270 if (!SWIG_IsOK(res2
)) {
7271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 (arg1
)->SetNext(arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_Py_Void();
7286 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
= 0;
7288 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7289 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7296 char * kwnames
[] = {
7297 (char *) "self",(char *) "p", NULL
7300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7302 if (!SWIG_IsOK(res1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7305 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7307 if (!SWIG_IsOK(res2
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7310 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 (arg1
)->SetParent(arg2
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_Py_Void();
7324 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= 0;
7326 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7337 PyObject
* obj2
= 0 ;
7338 char * kwnames
[] = {
7339 (char *) "self",(char *) "x",(char *) "y", NULL
7342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7344 if (!SWIG_IsOK(res1
)) {
7345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7347 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7349 if (!SWIG_IsOK(ecode2
)) {
7350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7352 arg2
= static_cast< int >(val2
);
7353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7354 if (!SWIG_IsOK(ecode3
)) {
7355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7357 arg3
= static_cast< int >(val3
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 (arg1
)->SetPos(arg2
,arg3
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_Py_Void();
7371 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
= 0;
7373 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7381 char * kwnames
[] = {
7382 (char *) "self",(char *) "w", NULL
7385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7387 if (!SWIG_IsOK(res1
)) {
7388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7390 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7392 if (!SWIG_IsOK(ecode2
)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7395 arg2
= static_cast< int >(val2
);
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->Layout(arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_Py_Void();
7409 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
= 0;
7411 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7417 wxHtmlRenderingInfo
*arg7
= 0 ;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7434 PyObject
* obj2
= 0 ;
7435 PyObject
* obj3
= 0 ;
7436 PyObject
* obj4
= 0 ;
7437 PyObject
* obj5
= 0 ;
7438 PyObject
* obj6
= 0 ;
7439 char * kwnames
[] = {
7440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7445 if (!SWIG_IsOK(res1
)) {
7446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7448 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7450 if (!SWIG_IsOK(res2
)) {
7451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7456 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7458 if (!SWIG_IsOK(ecode3
)) {
7459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7461 arg3
= static_cast< int >(val3
);
7462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7463 if (!SWIG_IsOK(ecode4
)) {
7464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7466 arg4
= static_cast< int >(val4
);
7467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7468 if (!SWIG_IsOK(ecode5
)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7471 arg5
= static_cast< int >(val5
);
7472 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7473 if (!SWIG_IsOK(ecode6
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7476 arg6
= static_cast< int >(val6
);
7477 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7478 if (!SWIG_IsOK(res7
)) {
7479 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7484 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_Py_Void();
7498 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
= 0;
7500 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7504 wxHtmlRenderingInfo
*arg5
= 0 ;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7517 PyObject
* obj2
= 0 ;
7518 PyObject
* obj3
= 0 ;
7519 PyObject
* obj4
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7529 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7531 if (!SWIG_IsOK(res2
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7537 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7539 if (!SWIG_IsOK(ecode3
)) {
7540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7542 arg3
= static_cast< int >(val3
);
7543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7544 if (!SWIG_IsOK(ecode4
)) {
7545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7547 arg4
= static_cast< int >(val4
);
7548 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7549 if (!SWIG_IsOK(res5
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7555 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_Py_Void();
7569 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= 0;
7571 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7573 void *arg3
= (void *) 0 ;
7574 wxHtmlCell
*result
= 0 ;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7582 PyObject
* obj2
= 0 ;
7583 char * kwnames
[] = {
7584 (char *) "self",(char *) "condition",(char *) "param", NULL
7587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7589 if (!SWIG_IsOK(res1
)) {
7590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7592 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7594 if (!SWIG_IsOK(ecode2
)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7597 arg2
= static_cast< int >(val2
);
7598 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7599 if (!SWIG_IsOK(res3
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= wxPyMake_wxObject(result
, 0);
7617 SWIGINTERN PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
= 0;
7619 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7620 int *arg2
= (int *) 0 ;
7626 PyObject
* obj0
= 0 ;
7627 PyObject
* obj1
= 0 ;
7628 char * kwnames
[] = {
7629 (char *) "self",(char *) "INOUT", NULL
7632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7634 if (!SWIG_IsOK(res1
)) {
7635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7637 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7638 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
7640 int ecode
= SWIG_AsVal_int(obj1
, &val
);
7641 if (!SWIG_IsOK(ecode
)) {
7642 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "2"" of type '" "int""'");
7644 temp2
= static_cast< int >(val
);
7646 res2
= SWIG_AddTmpMask(ecode
);
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7657 if (SWIG_IsTmpObj(res2
)) {
7658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
7660 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
7669 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
= 0;
7671 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7678 PyObject
* obj1
= 0 ;
7679 char * kwnames
[] = {
7680 (char *) "self",(char *) "can", NULL
7683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7685 if (!SWIG_IsOK(res1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7688 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7690 if (!SWIG_IsOK(ecode2
)) {
7691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7693 arg2
= static_cast< bool >(val2
);
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= SWIG_Py_Void();
7707 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7708 PyObject
*resultobj
= 0;
7709 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7713 PyObject
*swig_obj
[1] ;
7715 if (!args
) SWIG_fail
;
7717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7718 if (!SWIG_IsOK(res1
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7721 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7737 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7738 PyObject
*resultobj
= 0;
7739 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7743 PyObject
*swig_obj
[1] ;
7745 if (!args
) SWIG_fail
;
7747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7748 if (!SWIG_IsOK(res1
)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7751 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7767 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
= 0;
7769 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7772 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7773 wxHtmlCell
*result
= 0 ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7784 PyObject
* obj2
= 0 ;
7785 PyObject
* obj3
= 0 ;
7786 char * kwnames
[] = {
7787 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7795 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7797 if (!SWIG_IsOK(ecode2
)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7800 arg2
= static_cast< int >(val2
);
7801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7802 if (!SWIG_IsOK(ecode3
)) {
7803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7805 arg3
= static_cast< int >(val3
);
7807 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7808 if (!SWIG_IsOK(ecode4
)) {
7809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7811 arg4
= static_cast< unsigned int >(val4
);
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= wxPyMake_wxObject(result
, 0);
7828 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7829 PyObject
*resultobj
= 0;
7830 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7834 PyObject
*swig_obj
[1] ;
7836 if (!args
) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7842 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos();
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7856 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7857 PyObject
*resultobj
= 0;
7858 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7859 wxHtmlCell
*result
= 0 ;
7862 PyObject
*swig_obj
[1] ;
7864 if (!args
) SWIG_fail
;
7866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7867 if (!SWIG_IsOK(res1
)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7870 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= wxPyMake_wxObject(result
, 0);
7886 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7887 PyObject
*resultobj
= 0;
7888 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7889 wxHtmlCell
*result
= 0 ;
7892 PyObject
*swig_obj
[1] ;
7894 if (!args
) SWIG_fail
;
7896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7897 if (!SWIG_IsOK(res1
)) {
7898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7900 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= wxPyMake_wxObject(result
, 0);
7916 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7917 PyObject
*resultobj
= 0;
7918 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7919 unsigned int result
;
7922 PyObject
*swig_obj
[1] ;
7924 if (!args
) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7930 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
7944 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
= 0;
7946 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7947 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7954 PyObject
* obj1
= 0 ;
7955 char * kwnames
[] = {
7956 (char *) "self",(char *) "cell", NULL
7959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7964 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7966 if (!SWIG_IsOK(res2
)) {
7967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7969 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7985 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
= 0;
7987 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7988 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7995 PyObject
* obj1
= 0 ;
7996 char * kwnames
[] = {
7997 (char *) "self",(char *) "sel", NULL
8000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8002 if (!SWIG_IsOK(res1
)) {
8003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8005 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8007 if (!SWIG_IsOK(res2
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8010 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8030 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8033 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8034 return SWIG_Py_Void();
8037 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8038 return SWIG_Python_InitShadowInstance(args
);
8041 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
= 0;
8043 wxString
*arg1
= 0 ;
8045 wxHtmlWordCell
*result
= 0 ;
8046 bool temp1
= false ;
8049 PyObject
* obj0
= 0 ;
8050 PyObject
* obj1
= 0 ;
8051 char * kwnames
[] = {
8052 (char *) "word",(char *) "dc", NULL
8055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8057 arg1
= wxString_in_helper(obj0
);
8058 if (arg1
== NULL
) SWIG_fail
;
8061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8062 if (!SWIG_IsOK(res2
)) {
8063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8068 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8090 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
= 0;
8092 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8093 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8101 char * kwnames
[] = {
8102 (char *) "self",(char *) "sel", NULL
8105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8107 if (!SWIG_IsOK(res1
)) {
8108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8110 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8112 if (!SWIG_IsOK(res2
)) {
8113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8115 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8135 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8136 PyObject
*resultobj
= 0;
8137 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8141 PyObject
*swig_obj
[1] ;
8143 if (!args
) SWIG_fail
;
8145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8146 if (!SWIG_IsOK(res1
)) {
8147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8149 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8165 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8168 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 char * kwnames
[] = {
8176 (char *) "self",(char *) "cell", NULL
8179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8181 if (!SWIG_IsOK(res1
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8184 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8186 if (!SWIG_IsOK(res2
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8189 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 (arg1
)->SetPreviousWord(arg2
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_Py_Void();
8203 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8206 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8207 return SWIG_Py_Void();
8210 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8211 return SWIG_Python_InitShadowInstance(args
);
8214 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
= 0;
8216 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8217 wxHtmlContainerCell
*result
= 0 ;
8220 PyObject
* obj0
= 0 ;
8221 char * kwnames
[] = {
8222 (char *) "parent", NULL
8225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8230 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8244 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
= 0;
8246 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8247 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 char * kwnames
[] = {
8254 (char *) "self",(char *) "cell", NULL
8257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8259 if (!SWIG_IsOK(res1
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8262 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8263 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8264 if (!SWIG_IsOK(res2
)) {
8265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 (arg1
)->InsertCell(arg2
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_Py_Void();
8280 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
= 0;
8282 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8290 char * kwnames
[] = {
8291 (char *) "self",(char *) "al", NULL
8294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8296 if (!SWIG_IsOK(res1
)) {
8297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8299 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8301 if (!SWIG_IsOK(ecode2
)) {
8302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8304 arg2
= static_cast< int >(val2
);
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 (arg1
)->SetAlignHor(arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= SWIG_Py_Void();
8318 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8324 PyObject
*swig_obj
[1] ;
8326 if (!args
) SWIG_fail
;
8328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8329 if (!SWIG_IsOK(res1
)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8332 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (int)(arg1
)->GetAlignHor();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_From_int(static_cast< int >(result
));
8346 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
= 0;
8348 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8356 char * kwnames
[] = {
8357 (char *) "self",(char *) "al", NULL
8360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8362 if (!SWIG_IsOK(res1
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8365 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8367 if (!SWIG_IsOK(ecode2
)) {
8368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8370 arg2
= static_cast< int >(val2
);
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 (arg1
)->SetAlignVer(arg2
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_Py_Void();
8384 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 PyObject
*resultobj
= 0;
8386 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8390 PyObject
*swig_obj
[1] ;
8392 if (!args
) SWIG_fail
;
8394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8395 if (!SWIG_IsOK(res1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8398 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (int)(arg1
)->GetAlignVer();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_From_int(static_cast< int >(result
));
8412 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
= 0;
8414 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8417 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 PyObject
* obj2
= 0 ;
8429 PyObject
* obj3
= 0 ;
8430 char * kwnames
[] = {
8431 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8436 if (!SWIG_IsOK(res1
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8439 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8441 if (!SWIG_IsOK(ecode2
)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8444 arg2
= static_cast< int >(val2
);
8445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8446 if (!SWIG_IsOK(ecode3
)) {
8447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8449 arg3
= static_cast< int >(val3
);
8451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8452 if (!SWIG_IsOK(ecode4
)) {
8453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8455 arg4
= static_cast< int >(val4
);
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_Py_Void();
8470 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
= 0;
8472 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8480 PyObject
* obj1
= 0 ;
8481 char * kwnames
[] = {
8482 (char *) "self",(char *) "ind", NULL
8485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8487 if (!SWIG_IsOK(res1
)) {
8488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8490 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8492 if (!SWIG_IsOK(ecode2
)) {
8493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8495 arg2
= static_cast< int >(val2
);
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= (int)(arg1
)->GetIndent(arg2
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= SWIG_From_int(static_cast< int >(result
));
8509 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
= 0;
8511 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8519 PyObject
* obj1
= 0 ;
8520 char * kwnames
[] = {
8521 (char *) "self",(char *) "ind", NULL
8524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8526 if (!SWIG_IsOK(res1
)) {
8527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8529 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8531 if (!SWIG_IsOK(ecode2
)) {
8532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8534 arg2
= static_cast< int >(val2
);
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_From_int(static_cast< int >(result
));
8548 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= 0;
8550 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8551 wxHtmlTag
*arg2
= 0 ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8558 char * kwnames
[] = {
8559 (char *) "self",(char *) "tag", NULL
8562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8564 if (!SWIG_IsOK(res1
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8567 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8569 if (!SWIG_IsOK(res2
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8575 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_Py_Void();
8589 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
= 0;
8591 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8602 PyObject
* obj2
= 0 ;
8603 char * kwnames
[] = {
8604 (char *) "self",(char *) "w",(char *) "units", NULL
8607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8609 if (!SWIG_IsOK(res1
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8612 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8614 if (!SWIG_IsOK(ecode2
)) {
8615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8617 arg2
= static_cast< int >(val2
);
8618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8619 if (!SWIG_IsOK(ecode3
)) {
8620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8622 arg3
= static_cast< int >(val3
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 (arg1
)->SetWidthFloat(arg2
,arg3
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_Py_Void();
8636 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
= 0;
8638 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8639 wxHtmlTag
*arg2
= 0 ;
8644 PyObject
* obj0
= 0 ;
8645 PyObject
* obj1
= 0 ;
8646 char * kwnames
[] = {
8647 (char *) "self",(char *) "tag", NULL
8650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8652 if (!SWIG_IsOK(res1
)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8655 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8657 if (!SWIG_IsOK(res2
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8663 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_Py_Void();
8677 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
= 0;
8679 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8681 int arg3
= (int) wxHTML_ALIGN_TOP
;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8691 char * kwnames
[] = {
8692 (char *) "self",(char *) "h",(char *) "align", NULL
8695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8700 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8702 if (!SWIG_IsOK(ecode2
)) {
8703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8705 arg2
= static_cast< int >(val2
);
8707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8708 if (!SWIG_IsOK(ecode3
)) {
8709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8711 arg3
= static_cast< int >(val3
);
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 (arg1
)->SetMinHeight(arg2
,arg3
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= SWIG_Py_Void();
8726 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
= 0;
8728 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8729 wxColour
*arg2
= 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "self",(char *) "clr", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8741 if (!SWIG_IsOK(res1
)) {
8742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8744 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_Py_Void();
8762 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 PyObject
*resultobj
= 0;
8764 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8768 PyObject
*swig_obj
[1] ;
8770 if (!args
) SWIG_fail
;
8772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8773 if (!SWIG_IsOK(res1
)) {
8774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8776 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (arg1
)->GetBackgroundColour();
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8790 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
= 0;
8792 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8793 wxColour
*arg2
= 0 ;
8794 wxColour
*arg3
= 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8811 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8818 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= SWIG_Py_Void();
8833 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8834 PyObject
*resultobj
= 0;
8835 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8836 wxHtmlCell
*result
= 0 ;
8839 PyObject
*swig_obj
[1] ;
8841 if (!args
) SWIG_fail
;
8843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8844 if (!SWIG_IsOK(res1
)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8847 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= wxPyMake_wxObject(result
, 0);
8863 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8866 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
8867 return SWIG_Py_Void();
8870 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8871 return SWIG_Python_InitShadowInstance(args
);
8874 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
= 0;
8876 wxColour
*arg1
= 0 ;
8877 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
8878 wxHtmlColourCell
*result
= 0 ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 char * kwnames
[] = {
8885 (char *) "clr",(char *) "flags", NULL
8888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8891 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8895 if (!SWIG_IsOK(ecode2
)) {
8896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
8898 arg2
= static_cast< int >(val2
);
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
8913 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8916 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
8917 return SWIG_Py_Void();
8920 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8921 return SWIG_Python_InitShadowInstance(args
);
8924 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
= 0;
8926 wxFont
*arg1
= (wxFont
*) 0 ;
8927 wxHtmlFontCell
*result
= 0 ;
8930 PyObject
* obj0
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "font", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
8940 arg1
= reinterpret_cast< wxFont
* >(argp1
);
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
8954 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8957 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
8958 return SWIG_Py_Void();
8961 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8962 return SWIG_Python_InitShadowInstance(args
);
8965 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8967 wxWindow
*arg1
= (wxWindow
*) 0 ;
8968 int arg2
= (int) 0 ;
8969 wxHtmlWidgetCell
*result
= 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 char * kwnames
[] = {
8977 (char *) "wnd",(char *) "w", NULL
8980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8982 if (!SWIG_IsOK(res1
)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
8985 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8988 if (!SWIG_IsOK(ecode2
)) {
8989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
8991 arg2
= static_cast< int >(val2
);
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9006 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9009 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9010 return SWIG_Py_Void();
9013 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9014 return SWIG_Python_InitShadowInstance(args
);
9017 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9018 PyObject
*resultobj
= 0;
9019 wxPyHtmlFilter
*result
= 0 ;
9021 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9035 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
= 0;
9037 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9038 PyObject
*arg2
= (PyObject
*) 0 ;
9039 PyObject
*arg3
= (PyObject
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9044 PyObject
* obj2
= 0 ;
9045 char * kwnames
[] = {
9046 (char *) "self",(char *) "self",(char *) "_class", NULL
9049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9051 if (!SWIG_IsOK(res1
)) {
9052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9054 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= SWIG_Py_Void();
9070 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9073 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9074 return SWIG_Py_Void();
9077 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 return SWIG_Python_InitShadowInstance(args
);
9081 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
= 0;
9083 wxWindow
*arg1
= (wxWindow
*) 0 ;
9084 int arg2
= (int) -1 ;
9085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9089 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9090 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9091 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9092 wxPyHtmlWindow
*result
= 0 ;
9101 bool temp6
= false ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9104 PyObject
* obj2
= 0 ;
9105 PyObject
* obj3
= 0 ;
9106 PyObject
* obj4
= 0 ;
9107 PyObject
* obj5
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9120 if (!SWIG_IsOK(ecode2
)) {
9121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9123 arg2
= static_cast< int >(val2
);
9128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9138 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9139 if (!SWIG_IsOK(ecode5
)) {
9140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9142 arg5
= static_cast< int >(val5
);
9146 arg6
= wxString_in_helper(obj5
);
9147 if (arg6
== NULL
) SWIG_fail
;
9152 if (!wxPyCheckForApp()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9173 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9174 PyObject
*resultobj
= 0;
9175 wxPyHtmlWindow
*result
= 0 ;
9177 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9179 if (!wxPyCheckForApp()) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9192 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
= 0;
9194 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9195 wxWindow
*arg2
= (wxWindow
*) 0 ;
9196 int arg3
= (int) -1 ;
9197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9201 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9202 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9203 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9215 bool temp7
= false ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 PyObject
* obj2
= 0 ;
9219 PyObject
* obj3
= 0 ;
9220 PyObject
* obj4
= 0 ;
9221 PyObject
* obj5
= 0 ;
9222 PyObject
* obj6
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9229 if (!SWIG_IsOK(res1
)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9232 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9234 if (!SWIG_IsOK(res2
)) {
9235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9240 if (!SWIG_IsOK(ecode3
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9243 arg3
= static_cast< int >(val3
);
9248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9258 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9259 if (!SWIG_IsOK(ecode6
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9262 arg6
= static_cast< int >(val6
);
9266 arg7
= wxString_in_helper(obj6
);
9267 if (arg7
== NULL
) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9294 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
= 0;
9296 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9297 PyObject
*arg2
= (PyObject
*) 0 ;
9298 PyObject
*arg3
= (PyObject
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9303 PyObject
* obj2
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "self",(char *) "self",(char *) "_class", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9313 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
= 0;
9331 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9332 wxString
*arg2
= 0 ;
9336 bool temp2
= false ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9339 char * kwnames
[] = {
9340 (char *) "self",(char *) "source", NULL
9343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9345 if (!SWIG_IsOK(res1
)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9348 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9350 arg2
= wxString_in_helper(obj1
);
9351 if (arg2
== NULL
) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9377 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9380 wxString
*arg2
= 0 ;
9384 bool temp2
= false ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "location", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9396 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9398 arg2
= wxString_in_helper(obj1
);
9399 if (arg2
== NULL
) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9425 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9428 wxString
*arg2
= 0 ;
9432 bool temp2
= false ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "self",(char *) "filename", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9444 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9446 arg2
= wxString_in_helper(obj1
);
9447 if (arg2
== NULL
) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9473 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9476 wxString
*arg2
= 0 ;
9480 bool temp2
= false ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 char * kwnames
[] = {
9484 (char *) "self",(char *) "source", NULL
9487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9489 if (!SWIG_IsOK(res1
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9492 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9494 arg2
= wxString_in_helper(obj1
);
9495 if (arg2
== NULL
) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9521 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9522 PyObject
*resultobj
= 0;
9523 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9527 PyObject
*swig_obj
[1] ;
9529 if (!args
) SWIG_fail
;
9531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9532 if (!SWIG_IsOK(res1
)) {
9533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9535 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (arg1
)->GetOpenedPage();
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9555 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9556 PyObject
*resultobj
= 0;
9557 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9561 PyObject
*swig_obj
[1] ;
9563 if (!args
) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9569 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (arg1
)->GetOpenedAnchor();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9589 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9590 PyObject
*resultobj
= 0;
9591 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9595 PyObject
*swig_obj
[1] ;
9597 if (!args
) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9603 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (arg1
)->GetOpenedPageTitle();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9623 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= 0;
9625 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9626 wxFrame
*arg2
= (wxFrame
*) 0 ;
9627 wxString
*arg3
= 0 ;
9632 bool temp3
= false ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 PyObject
* obj2
= 0 ;
9636 char * kwnames
[] = {
9637 (char *) "self",(char *) "frame",(char *) "format", NULL
9640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9645 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
9647 if (!SWIG_IsOK(res2
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
9650 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
9652 arg3
= wxString_in_helper(obj2
);
9653 if (arg3
== NULL
) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9677 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 PyObject
*resultobj
= 0;
9679 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9680 wxFrame
*result
= 0 ;
9683 PyObject
*swig_obj
[1] ;
9685 if (!args
) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9691 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= wxPyMake_wxObject(result
, 0);
9707 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "bar", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9726 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9728 if (!SWIG_IsOK(ecode2
)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
9731 arg2
= static_cast< int >(val2
);
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->SetRelatedStatusBar(arg2
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_Py_Void();
9745 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
= 0;
9747 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9750 PyObject
*arg4
= (PyObject
*) NULL
;
9753 PyObject
* obj0
= 0 ;
9754 PyObject
* obj1
= 0 ;
9755 PyObject
* obj2
= 0 ;
9756 PyObject
* obj3
= 0 ;
9757 char * kwnames
[] = {
9758 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
9761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9766 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9768 wxString
* sptr
= wxString_in_helper(obj1
);
9769 if (sptr
== NULL
) SWIG_fail
;
9774 wxString
* sptr
= wxString_in_helper(obj2
);
9775 if (sptr
== NULL
) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_Py_Void();
9795 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= 0;
9797 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9798 int arg2
= (int) -1 ;
9799 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9800 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9801 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9802 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9807 bool temp3
= false ;
9808 bool temp4
= false ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 PyObject
* obj2
= 0 ;
9812 PyObject
* obj3
= 0 ;
9813 char * kwnames
[] = {
9814 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
9817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9819 if (!SWIG_IsOK(res1
)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9822 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9825 if (!SWIG_IsOK(ecode2
)) {
9826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
9828 arg2
= static_cast< int >(val2
);
9832 arg3
= wxString_in_helper(obj2
);
9833 if (arg3
== NULL
) SWIG_fail
;
9839 arg4
= wxString_in_helper(obj3
);
9840 if (arg4
== NULL
) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= SWIG_Py_Void();
9873 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= 0;
9875 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9883 char * kwnames
[] = {
9884 (char *) "self",(char *) "b", NULL
9887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9889 if (!SWIG_IsOK(res1
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9892 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9894 if (!SWIG_IsOK(ecode2
)) {
9895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
9897 arg2
= static_cast< int >(val2
);
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 (arg1
)->SetBorders(arg2
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_Py_Void();
9911 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
= 0;
9913 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9914 wxBitmap
*arg2
= 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "bmpBg", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",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_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9930 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9932 if (!SWIG_IsOK(res2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9938 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_Py_Void();
9952 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9955 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
9956 wxString arg3
= (wxString
) wxPyEmptyString
;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 PyObject
* obj2
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "self",(char *) "cfg",(char *) "path", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9970 if (!SWIG_IsOK(res1
)) {
9971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9973 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
9975 if (!SWIG_IsOK(res2
)) {
9976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
9978 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9981 wxString
* sptr
= wxString_in_helper(obj2
);
9982 if (sptr
== NULL
) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 (arg1
)->ReadCustomization(arg2
,arg3
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_Py_Void();
10000 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= 0;
10002 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10003 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10004 wxString arg3
= (wxString
) wxPyEmptyString
;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 char * kwnames
[] = {
10013 (char *) "self",(char *) "cfg",(char *) "path", NULL
10016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10018 if (!SWIG_IsOK(res1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10021 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10023 if (!SWIG_IsOK(res2
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10026 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10029 wxString
* sptr
= wxString_in_helper(obj2
);
10030 if (sptr
== NULL
) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->WriteCustomization(arg2
,arg3
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10049 PyObject
*resultobj
= 0;
10050 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10054 PyObject
*swig_obj
[1] ;
10056 if (!args
) SWIG_fail
;
10057 swig_obj
[0] = args
;
10058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10062 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (bool)(arg1
)->HistoryBack();
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10078 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10079 PyObject
*resultobj
= 0;
10080 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10084 PyObject
*swig_obj
[1] ;
10086 if (!args
) SWIG_fail
;
10087 swig_obj
[0] = args
;
10088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10092 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (bool)(arg1
)->HistoryForward();
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10108 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10109 PyObject
*resultobj
= 0;
10110 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10114 PyObject
*swig_obj
[1] ;
10116 if (!args
) SWIG_fail
;
10117 swig_obj
[0] = args
;
10118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10119 if (!SWIG_IsOK(res1
)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10122 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (bool)(arg1
)->HistoryCanBack();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10138 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10139 PyObject
*resultobj
= 0;
10140 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10144 PyObject
*swig_obj
[1] ;
10146 if (!args
) SWIG_fail
;
10147 swig_obj
[0] = args
;
10148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10149 if (!SWIG_IsOK(res1
)) {
10150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10152 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (bool)(arg1
)->HistoryCanForward();
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10168 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10169 PyObject
*resultobj
= 0;
10170 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10173 PyObject
*swig_obj
[1] ;
10175 if (!args
) SWIG_fail
;
10176 swig_obj
[0] = args
;
10177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10178 if (!SWIG_IsOK(res1
)) {
10179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10181 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 (arg1
)->HistoryClear();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_Py_Void();
10195 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10196 PyObject
*resultobj
= 0;
10197 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10198 wxHtmlContainerCell
*result
= 0 ;
10201 PyObject
*swig_obj
[1] ;
10203 if (!args
) SWIG_fail
;
10204 swig_obj
[0] = args
;
10205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10206 if (!SWIG_IsOK(res1
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10209 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10223 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10224 PyObject
*resultobj
= 0;
10225 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10226 wxHtmlWinParser
*result
= 0 ;
10229 PyObject
*swig_obj
[1] ;
10231 if (!args
) SWIG_fail
;
10232 swig_obj
[0] = args
;
10233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10234 if (!SWIG_IsOK(res1
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10237 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10251 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
= 0;
10253 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10254 wxString
*arg2
= 0 ;
10258 bool temp2
= false ;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 char * kwnames
[] = {
10262 (char *) "self",(char *) "anchor", NULL
10265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10267 if (!SWIG_IsOK(res1
)) {
10268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10270 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10272 arg2
= wxString_in_helper(obj1
);
10273 if (arg2
== NULL
) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10299 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
= 0;
10301 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10302 wxString
*arg2
= 0 ;
10306 bool temp2
= false ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "self",(char *) "anchor", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10318 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10320 arg2
= wxString_in_helper(obj1
);
10321 if (arg2
== NULL
) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10347 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
= 0;
10349 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "filter", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10359 if (!SWIG_IsOK(res1
)) {
10360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10362 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 wxPyHtmlWindow::AddFilter(arg1
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_Py_Void();
10376 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10379 wxPoint
*arg2
= 0 ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 char * kwnames
[] = {
10386 (char *) "self",(char *) "pos", NULL
10389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10391 if (!SWIG_IsOK(res1
)) {
10392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10394 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10397 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_Py_Void();
10412 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
= 0;
10414 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10415 wxPoint
*arg2
= 0 ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 char * kwnames
[] = {
10422 (char *) "self",(char *) "pos", NULL
10425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10430 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_Py_Void();
10448 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 PyObject
*resultobj
= 0;
10450 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10453 PyObject
*swig_obj
[1] ;
10455 if (!args
) SWIG_fail
;
10456 swig_obj
[0] = args
;
10457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10458 if (!SWIG_IsOK(res1
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10461 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 (arg1
)->SelectAll();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_Py_Void();
10475 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10476 PyObject
*resultobj
= 0;
10477 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10481 PyObject
*swig_obj
[1] ;
10483 if (!args
) SWIG_fail
;
10484 swig_obj
[0] = args
;
10485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10489 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (arg1
)->SelectionToText();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10509 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10510 PyObject
*resultobj
= 0;
10511 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10515 PyObject
*swig_obj
[1] ;
10517 if (!args
) SWIG_fail
;
10518 swig_obj
[0] = args
;
10519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10520 if (!SWIG_IsOK(res1
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10523 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (arg1
)->ToText();
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10543 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= 0;
10545 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10546 wxHtmlLinkInfo
*arg2
= 0 ;
10551 PyObject
* obj0
= 0 ;
10552 PyObject
* obj1
= 0 ;
10553 char * kwnames
[] = {
10554 (char *) "self",(char *) "link", NULL
10557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10559 if (!SWIG_IsOK(res1
)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10562 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
10564 if (!SWIG_IsOK(res2
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
10568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
10570 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_Py_Void();
10584 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10587 wxString
*arg2
= 0 ;
10590 bool temp2
= false ;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 char * kwnames
[] = {
10594 (char *) "self",(char *) "title", NULL
10597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10602 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10604 arg2
= wxString_in_helper(obj1
);
10605 if (arg2
== NULL
) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_Py_Void();
10629 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
= 0;
10631 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10632 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj1
= 0 ;
10645 PyObject
* obj2
= 0 ;
10646 PyObject
* obj3
= 0 ;
10647 char * kwnames
[] = {
10648 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
10651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10653 if (!SWIG_IsOK(res1
)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10656 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
10658 if (!SWIG_IsOK(res2
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
10661 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
10662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10663 if (!SWIG_IsOK(ecode3
)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
10666 arg3
= static_cast< int >(val3
);
10667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10668 if (!SWIG_IsOK(ecode4
)) {
10669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
10671 arg4
= static_cast< int >(val4
);
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= SWIG_Py_Void();
10685 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= 0;
10687 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10688 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
10691 wxMouseEvent
*arg5
= 0 ;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 PyObject
* obj2
= 0 ;
10705 PyObject
* obj3
= 0 ;
10706 PyObject
* obj4
= 0 ;
10707 char * kwnames
[] = {
10708 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
10711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10713 if (!SWIG_IsOK(res1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10716 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
10718 if (!SWIG_IsOK(res2
)) {
10719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
10721 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
10722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10723 if (!SWIG_IsOK(ecode3
)) {
10724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
10726 arg3
= static_cast< int >(val3
);
10727 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10728 if (!SWIG_IsOK(ecode4
)) {
10729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
10731 arg4
= static_cast< int >(val4
);
10732 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
10733 if (!SWIG_IsOK(res5
)) {
10734 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
10737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
10739 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_Py_Void();
10753 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= 0;
10755 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10756 SwigValueWrapper
<wxVisualAttributes
> result
;
10759 PyObject
* obj0
= 0 ;
10760 char * kwnames
[] = {
10761 (char *) "variant", NULL
10764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10766 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10767 if (!SWIG_IsOK(ecode1
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10770 arg1
= static_cast< wxWindowVariant
>(val1
);
10773 if (!wxPyCheckForApp()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10786 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10789 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
10790 return SWIG_Py_Void();
10793 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10794 return SWIG_Python_InitShadowInstance(args
);
10797 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10798 PyObject
*resultobj
= 0;
10799 wxHtmlDCRenderer
*result
= 0 ;
10801 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
10803 if (!wxPyCheckForApp()) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
10816 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10817 PyObject
*resultobj
= 0;
10818 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
10821 PyObject
*swig_obj
[1] ;
10823 if (!args
) SWIG_fail
;
10824 swig_obj
[0] = args
;
10825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
10826 if (!SWIG_IsOK(res1
)) {
10827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
10829 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_Py_Void();
10844 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
= 0;
10846 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
10847 wxDC
*arg2
= (wxDC
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 PyObject
* obj2
= 0 ;
10858 char * kwnames
[] = {
10859 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
10862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
10864 if (!SWIG_IsOK(res1
)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
10867 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
10868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
10869 if (!SWIG_IsOK(res2
)) {
10870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
10872 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10874 if (!SWIG_IsOK(ecode3
)) {
10875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
10877 arg3
= static_cast< int >(val3
);
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 (arg1
)->SetDC(arg2
,arg3
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= SWIG_Py_Void();
10891 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
= 0;
10893 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 PyObject
* obj2
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "width",(char *) "height", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
10914 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
10915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
10919 arg2
= static_cast< int >(val2
);
10920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10921 if (!SWIG_IsOK(ecode3
)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
10924 arg3
= static_cast< int >(val3
);
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->SetSize(arg2
,arg3
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= SWIG_Py_Void();
10938 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
= 0;
10940 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
10941 wxString
*arg2
= 0 ;
10942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10944 bool arg4
= (bool) true ;
10947 bool temp2
= false ;
10948 bool temp3
= false ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 PyObject
* obj2
= 0 ;
10954 PyObject
* obj3
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
10964 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
10966 arg2
= wxString_in_helper(obj1
);
10967 if (arg2
== NULL
) SWIG_fail
;
10972 arg3
= wxString_in_helper(obj2
);
10973 if (arg3
== NULL
) SWIG_fail
;
10978 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10979 if (!SWIG_IsOK(ecode4
)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
10982 arg4
= static_cast< bool >(val4
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_Py_Void();
11013 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
= 0;
11015 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11018 PyObject
*arg4
= (PyObject
*) NULL
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11034 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11036 wxString
* sptr
= wxString_in_helper(obj1
);
11037 if (sptr
== NULL
) SWIG_fail
;
11042 wxString
* sptr
= wxString_in_helper(obj2
);
11043 if (sptr
== NULL
) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= SWIG_Py_Void();
11063 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
= 0;
11065 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11066 int arg2
= (int) -1 ;
11067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11069 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11070 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11075 bool temp3
= false ;
11076 bool temp4
= false ;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 PyObject
* obj2
= 0 ;
11080 PyObject
* obj3
= 0 ;
11081 char * kwnames
[] = {
11082 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11090 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11093 if (!SWIG_IsOK(ecode2
)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11096 arg2
= static_cast< int >(val2
);
11100 arg3
= wxString_in_helper(obj2
);
11101 if (arg3
== NULL
) SWIG_fail
;
11107 arg4
= wxString_in_helper(obj3
);
11108 if (arg4
== NULL
) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_Py_Void();
11141 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
= 0;
11143 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11146 int arg4
= (int) 0 ;
11147 int arg5
= (int) false ;
11148 int arg6
= (int) INT_MAX
;
11149 int *arg7
= (int *) NULL
;
11150 int arg8
= (int) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 PyObject
* obj2
= 0 ;
11171 PyObject
* obj3
= 0 ;
11172 PyObject
* obj4
= 0 ;
11173 PyObject
* obj5
= 0 ;
11174 PyObject
* obj6
= 0 ;
11175 PyObject
* obj7
= 0 ;
11176 char * kwnames
[] = {
11177 (char *) "self",(char *) "x",(char *) "y",(char *) "_from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
11180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11185 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11187 if (!SWIG_IsOK(ecode2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11190 arg2
= static_cast< int >(val2
);
11191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11192 if (!SWIG_IsOK(ecode3
)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11195 arg3
= static_cast< int >(val3
);
11197 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11198 if (!SWIG_IsOK(ecode4
)) {
11199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "4"" of type '" "int""'");
11201 arg4
= static_cast< int >(val4
);
11204 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11205 if (!SWIG_IsOK(ecode5
)) {
11206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11208 arg5
= static_cast< int >(val5
);
11211 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11212 if (!SWIG_IsOK(ecode6
)) {
11213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11215 arg6
= static_cast< int >(val6
);
11218 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_int
, 0 | 0 );
11219 if (!SWIG_IsOK(res7
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int *""'");
11222 arg7
= reinterpret_cast< int * >(argp7
);
11225 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
11226 if (!SWIG_IsOK(ecode8
)) {
11227 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "8"" of type '" "int""'");
11229 arg8
= static_cast< int >(val8
);
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= SWIG_From_int(static_cast< int >(result
));
11244 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11245 PyObject
*resultobj
= 0;
11246 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11250 PyObject
*swig_obj
[1] ;
11252 if (!args
) SWIG_fail
;
11253 swig_obj
[0] = args
;
11254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11258 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (int)(arg1
)->GetTotalHeight();
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_From_int(static_cast< int >(result
));
11272 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11275 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11276 return SWIG_Py_Void();
11279 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 return SWIG_Python_InitShadowInstance(args
);
11283 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
= 0;
11285 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11286 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11287 wxHtmlPrintout
*result
= 0 ;
11288 bool temp1
= false ;
11289 PyObject
* obj0
= 0 ;
11290 char * kwnames
[] = {
11291 (char *) "title", NULL
11294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11297 arg1
= wxString_in_helper(obj0
);
11298 if (arg1
== NULL
) SWIG_fail
;
11303 if (!wxPyCheckForApp()) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11324 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= 0;
11326 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11327 wxString
*arg2
= 0 ;
11328 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11330 bool arg4
= (bool) true ;
11333 bool temp2
= false ;
11334 bool temp3
= false ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 PyObject
* obj2
= 0 ;
11340 PyObject
* obj3
= 0 ;
11341 char * kwnames
[] = {
11342 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11347 if (!SWIG_IsOK(res1
)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11350 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11352 arg2
= wxString_in_helper(obj1
);
11353 if (arg2
== NULL
) SWIG_fail
;
11358 arg3
= wxString_in_helper(obj2
);
11359 if (arg3
== NULL
) SWIG_fail
;
11364 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11365 if (!SWIG_IsOK(ecode4
)) {
11366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11368 arg4
= static_cast< bool >(val4
);
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_Py_Void();
11399 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
= 0;
11401 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11402 wxString
*arg2
= 0 ;
11405 bool temp2
= false ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char * kwnames
[] = {
11409 (char *) "self",(char *) "htmlfile", NULL
11412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11417 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11419 arg2
= wxString_in_helper(obj1
);
11420 if (arg2
== NULL
) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_Py_Void();
11444 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
= 0;
11446 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11447 wxString
*arg2
= 0 ;
11448 int arg3
= (int) wxPAGE_ALL
;
11451 bool temp2
= false ;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 PyObject
* obj2
= 0 ;
11457 char * kwnames
[] = {
11458 (char *) "self",(char *) "header",(char *) "pg", NULL
11461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11466 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11468 arg2
= wxString_in_helper(obj1
);
11469 if (arg2
== NULL
) SWIG_fail
;
11473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11474 if (!SWIG_IsOK(ecode3
)) {
11475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
11477 arg3
= static_cast< int >(val3
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_Py_Void();
11500 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
= 0;
11502 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11503 wxString
*arg2
= 0 ;
11504 int arg3
= (int) wxPAGE_ALL
;
11507 bool temp2
= false ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 char * kwnames
[] = {
11514 (char *) "self",(char *) "footer",(char *) "pg", NULL
11517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11519 if (!SWIG_IsOK(res1
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11522 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11524 arg2
= wxString_in_helper(obj1
);
11525 if (arg2
== NULL
) SWIG_fail
;
11529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11530 if (!SWIG_IsOK(ecode3
)) {
11531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
11533 arg3
= static_cast< int >(val3
);
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= SWIG_Py_Void();
11556 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11561 PyObject
*arg4
= (PyObject
*) NULL
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 PyObject
* obj2
= 0 ;
11567 PyObject
* obj3
= 0 ;
11568 char * kwnames
[] = {
11569 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11577 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11579 wxString
* sptr
= wxString_in_helper(obj1
);
11580 if (sptr
== NULL
) SWIG_fail
;
11585 wxString
* sptr
= wxString_in_helper(obj2
);
11586 if (sptr
== NULL
) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_Py_Void();
11606 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
= 0;
11608 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11609 int arg2
= (int) -1 ;
11610 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11611 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11612 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11613 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11618 bool temp3
= false ;
11619 bool temp4
= false ;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 PyObject
* obj2
= 0 ;
11623 PyObject
* obj3
= 0 ;
11624 char * kwnames
[] = {
11625 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11630 if (!SWIG_IsOK(res1
)) {
11631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11633 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11636 if (!SWIG_IsOK(ecode2
)) {
11637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11639 arg2
= static_cast< int >(val2
);
11643 arg3
= wxString_in_helper(obj2
);
11644 if (arg3
== NULL
) SWIG_fail
;
11650 arg4
= wxString_in_helper(obj3
);
11651 if (arg4
== NULL
) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= SWIG_Py_Void();
11684 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
= 0;
11686 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11687 float arg2
= (float) 25.2 ;
11688 float arg3
= (float) 25.2 ;
11689 float arg4
= (float) 25.2 ;
11690 float arg5
= (float) 25.2 ;
11691 float arg6
= (float) 5 ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 PyObject
* obj2
= 0 ;
11707 PyObject
* obj3
= 0 ;
11708 PyObject
* obj4
= 0 ;
11709 PyObject
* obj5
= 0 ;
11710 char * kwnames
[] = {
11711 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
11714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
11715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11716 if (!SWIG_IsOK(res1
)) {
11717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11719 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11721 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
11722 if (!SWIG_IsOK(ecode2
)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
11725 arg2
= static_cast< float >(val2
);
11728 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
11729 if (!SWIG_IsOK(ecode3
)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
11732 arg3
= static_cast< float >(val3
);
11735 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
11736 if (!SWIG_IsOK(ecode4
)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
11739 arg4
= static_cast< float >(val4
);
11742 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
11743 if (!SWIG_IsOK(ecode5
)) {
11744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
11746 arg5
= static_cast< float >(val5
);
11749 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
11750 if (!SWIG_IsOK(ecode6
)) {
11751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
11753 arg6
= static_cast< float >(val6
);
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= SWIG_Py_Void();
11768 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
= 0;
11770 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char * kwnames
[] = {
11775 (char *) "filter", NULL
11778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
11779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
11783 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 wxHtmlPrintout::AddFilter(arg1
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_Py_Void();
11797 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11798 PyObject
*resultobj
= 0;
11800 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 wxHtmlPrintout::CleanUpStatics();
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= SWIG_Py_Void();
11814 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11817 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
11818 return SWIG_Py_Void();
11821 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11822 return SWIG_Python_InitShadowInstance(args
);
11825 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= 0;
11827 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
11828 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11829 wxWindow
*arg2
= (wxWindow
*) NULL
;
11830 wxHtmlEasyPrinting
*result
= 0 ;
11831 bool temp1
= false ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char * kwnames
[] = {
11837 (char *) "name",(char *) "parentWindow", NULL
11840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11843 arg1
= wxString_in_helper(obj0
);
11844 if (arg1
== NULL
) SWIG_fail
;
11849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11850 if (!SWIG_IsOK(res2
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
11853 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11856 if (!wxPyCheckForApp()) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
11877 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11878 PyObject
*resultobj
= 0;
11879 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
11882 PyObject
*swig_obj
[1] ;
11884 if (!args
) SWIG_fail
;
11885 swig_obj
[0] = args
;
11886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
11887 if (!SWIG_IsOK(res1
)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
11890 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_Py_Void();
11905 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
= 0;
11907 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
11908 wxString
*arg2
= 0 ;
11911 bool temp2
= false ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 char * kwnames
[] = {
11915 (char *) "self",(char *) "htmlfile", NULL
11918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
11920 if (!SWIG_IsOK(res1
)) {
11921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
11923 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
11925 arg2
= wxString_in_helper(obj1
);
11926 if (arg2
== NULL
) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 (arg1
)->PreviewFile((wxString
const &)*arg2
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_Py_Void();
11950 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
= 0;
11952 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
11953 wxString
*arg2
= 0 ;
11954 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11958 bool temp2
= false ;
11959 bool temp3
= false ;
11960 PyObject
* obj0
= 0 ;
11961 PyObject
* obj1
= 0 ;
11962 PyObject
* obj2
= 0 ;
11963 char * kwnames
[] = {
11964 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
11967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
11972 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
11974 arg2
= wxString_in_helper(obj1
);
11975 if (arg2
== NULL
) SWIG_fail
;
11980 arg3
= wxString_in_helper(obj2
);
11981 if (arg3
== NULL
) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_Py_Void();
12014 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
= 0;
12016 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12017 wxString
*arg2
= 0 ;
12020 bool temp2
= false ;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 char * kwnames
[] = {
12024 (char *) "self",(char *) "htmlfile", NULL
12027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12032 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12034 arg2
= wxString_in_helper(obj1
);
12035 if (arg2
== NULL
) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->PrintFile((wxString
const &)*arg2
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_Py_Void();
12059 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12062 wxString
*arg2
= 0 ;
12063 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12064 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12067 bool temp2
= false ;
12068 bool temp3
= false ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 PyObject
* obj2
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12081 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12083 arg2
= wxString_in_helper(obj1
);
12084 if (arg2
== NULL
) SWIG_fail
;
12089 arg3
= wxString_in_helper(obj2
);
12090 if (arg3
== NULL
) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= SWIG_Py_Void();
12123 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12124 PyObject
*resultobj
= 0;
12125 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12128 PyObject
*swig_obj
[1] ;
12130 if (!args
) SWIG_fail
;
12131 swig_obj
[0] = args
;
12132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12136 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->PageSetup();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= SWIG_Py_Void();
12150 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
= 0;
12152 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12153 wxString
*arg2
= 0 ;
12154 int arg3
= (int) wxPAGE_ALL
;
12157 bool temp2
= false ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 char * kwnames
[] = {
12164 (char *) "self",(char *) "header",(char *) "pg", NULL
12167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12172 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12174 arg2
= wxString_in_helper(obj1
);
12175 if (arg2
== NULL
) SWIG_fail
;
12179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12180 if (!SWIG_IsOK(ecode3
)) {
12181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12183 arg3
= static_cast< int >(val3
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_Py_Void();
12206 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
= 0;
12208 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12209 wxString
*arg2
= 0 ;
12210 int arg3
= (int) wxPAGE_ALL
;
12213 bool temp2
= false ;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 PyObject
* obj2
= 0 ;
12219 char * kwnames
[] = {
12220 (char *) "self",(char *) "footer",(char *) "pg", NULL
12223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12225 if (!SWIG_IsOK(res1
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12228 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12230 arg2
= wxString_in_helper(obj1
);
12231 if (arg2
== NULL
) SWIG_fail
;
12235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12236 if (!SWIG_IsOK(ecode3
)) {
12237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12239 arg3
= static_cast< int >(val3
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_Py_Void();
12262 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12267 PyObject
*arg4
= (PyObject
*) NULL
;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 PyObject
* obj2
= 0 ;
12273 PyObject
* obj3
= 0 ;
12274 char * kwnames
[] = {
12275 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12283 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12285 wxString
* sptr
= wxString_in_helper(obj1
);
12286 if (sptr
== NULL
) SWIG_fail
;
12291 wxString
* sptr
= wxString_in_helper(obj2
);
12292 if (sptr
== NULL
) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_Py_Void();
12312 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
= 0;
12314 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12315 int arg2
= (int) -1 ;
12316 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12317 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12318 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12319 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12324 bool temp3
= false ;
12325 bool temp4
= false ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 PyObject
* obj2
= 0 ;
12329 PyObject
* obj3
= 0 ;
12330 char * kwnames
[] = {
12331 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12336 if (!SWIG_IsOK(res1
)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12339 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12345 arg2
= static_cast< int >(val2
);
12349 arg3
= wxString_in_helper(obj2
);
12350 if (arg3
== NULL
) SWIG_fail
;
12356 arg4
= wxString_in_helper(obj3
);
12357 if (arg4
== NULL
) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_Py_Void();
12390 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12391 PyObject
*resultobj
= 0;
12392 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12393 wxPrintData
*result
= 0 ;
12396 PyObject
*swig_obj
[1] ;
12398 if (!args
) SWIG_fail
;
12399 swig_obj
[0] = args
;
12400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12401 if (!SWIG_IsOK(res1
)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12404 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (wxPrintData
*)(arg1
)->GetPrintData();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
12418 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12419 PyObject
*resultobj
= 0;
12420 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12421 wxPageSetupDialogData
*result
= 0 ;
12424 PyObject
*swig_obj
[1] ;
12426 if (!args
) SWIG_fail
;
12427 swig_obj
[0] = args
;
12428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12432 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
12446 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12449 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
12450 return SWIG_Py_Void();
12453 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12454 return SWIG_Python_InitShadowInstance(args
);
12457 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
= 0;
12459 wxString
*arg1
= 0 ;
12460 wxString
*arg2
= 0 ;
12461 wxString
*arg3
= 0 ;
12462 wxString
*arg4
= 0 ;
12463 wxHtmlBookRecord
*result
= 0 ;
12464 bool temp1
= false ;
12465 bool temp2
= false ;
12466 bool temp3
= false ;
12467 bool temp4
= false ;
12468 PyObject
* obj0
= 0 ;
12469 PyObject
* obj1
= 0 ;
12470 PyObject
* obj2
= 0 ;
12471 PyObject
* obj3
= 0 ;
12472 char * kwnames
[] = {
12473 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
12476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12478 arg1
= wxString_in_helper(obj0
);
12479 if (arg1
== NULL
) SWIG_fail
;
12483 arg2
= wxString_in_helper(obj1
);
12484 if (arg2
== NULL
) SWIG_fail
;
12488 arg3
= wxString_in_helper(obj2
);
12489 if (arg3
== NULL
) SWIG_fail
;
12493 arg4
= wxString_in_helper(obj3
);
12494 if (arg4
== NULL
) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
12542 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12543 PyObject
*resultobj
= 0;
12544 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12556 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (arg1
)->GetBookFile();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12576 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12577 PyObject
*resultobj
= 0;
12578 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12582 PyObject
*swig_obj
[1] ;
12584 if (!args
) SWIG_fail
;
12585 swig_obj
[0] = args
;
12586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12590 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (arg1
)->GetTitle();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12610 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12611 PyObject
*resultobj
= 0;
12612 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12616 PyObject
*swig_obj
[1] ;
12618 if (!args
) SWIG_fail
;
12619 swig_obj
[0] = args
;
12620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12624 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (arg1
)->GetStart();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12644 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12645 PyObject
*resultobj
= 0;
12646 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12650 PyObject
*swig_obj
[1] ;
12652 if (!args
) SWIG_fail
;
12653 swig_obj
[0] = args
;
12654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12655 if (!SWIG_IsOK(res1
)) {
12656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12658 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (arg1
)->GetBasePath();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12678 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
= 0;
12680 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 PyObject
* obj2
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "self",(char *) "start",(char *) "end", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12701 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12703 if (!SWIG_IsOK(ecode2
)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
12706 arg2
= static_cast< int >(val2
);
12707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12708 if (!SWIG_IsOK(ecode3
)) {
12709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
12711 arg3
= static_cast< int >(val3
);
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->SetContentsRange(arg2
,arg3
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_Py_Void();
12725 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 PyObject
*resultobj
= 0;
12727 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12731 PyObject
*swig_obj
[1] ;
12733 if (!args
) SWIG_fail
;
12734 swig_obj
[0] = args
;
12735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12736 if (!SWIG_IsOK(res1
)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12739 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (int)(arg1
)->GetContentsStart();
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_From_int(static_cast< int >(result
));
12753 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12754 PyObject
*resultobj
= 0;
12755 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12759 PyObject
*swig_obj
[1] ;
12761 if (!args
) SWIG_fail
;
12762 swig_obj
[0] = args
;
12763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12764 if (!SWIG_IsOK(res1
)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12767 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (int)(arg1
)->GetContentsEnd();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_From_int(static_cast< int >(result
));
12781 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
= 0;
12783 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12784 wxString
*arg2
= 0 ;
12787 bool temp2
= false ;
12788 PyObject
* obj0
= 0 ;
12789 PyObject
* obj1
= 0 ;
12790 char * kwnames
[] = {
12791 (char *) "self",(char *) "title", NULL
12794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12796 if (!SWIG_IsOK(res1
)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12799 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12801 arg2
= wxString_in_helper(obj1
);
12802 if (arg2
== NULL
) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 (arg1
)->SetTitle((wxString
const &)*arg2
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_Py_Void();
12826 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
= 0;
12828 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12829 wxString
*arg2
= 0 ;
12832 bool temp2
= false ;
12833 PyObject
* obj0
= 0 ;
12834 PyObject
* obj1
= 0 ;
12835 char * kwnames
[] = {
12836 (char *) "self",(char *) "path", NULL
12839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12841 if (!SWIG_IsOK(res1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12844 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12846 arg2
= wxString_in_helper(obj1
);
12847 if (arg2
== NULL
) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->SetBasePath((wxString
const &)*arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= SWIG_Py_Void();
12871 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
= 0;
12873 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12874 wxString
*arg2
= 0 ;
12877 bool temp2
= false ;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 char * kwnames
[] = {
12881 (char *) "self",(char *) "start", NULL
12884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
12889 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12891 arg2
= wxString_in_helper(obj1
);
12892 if (arg2
== NULL
) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->SetStart((wxString
const &)*arg2
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= SWIG_Py_Void();
12916 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
= 0;
12918 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
12919 wxString
*arg2
= 0 ;
12923 bool temp2
= false ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 char * kwnames
[] = {
12927 (char *) "self",(char *) "page", NULL
12930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
12935 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
12937 arg2
= wxString_in_helper(obj1
);
12938 if (arg2
== NULL
) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12968 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12971 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
12972 return SWIG_Py_Void();
12975 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12976 return SWIG_Python_InitShadowInstance(args
);
12979 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12980 PyObject
*resultobj
= 0;
12981 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
12985 PyObject
*swig_obj
[1] ;
12987 if (!args
) SWIG_fail
;
12988 swig_obj
[0] = args
;
12989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
12990 if (!SWIG_IsOK(res1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
12993 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (bool)(arg1
)->Search();
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13009 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13010 PyObject
*resultobj
= 0;
13011 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13015 PyObject
*swig_obj
[1] ;
13017 if (!args
) SWIG_fail
;
13018 swig_obj
[0] = args
;
13019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13023 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (bool)(arg1
)->IsActive();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13039 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13040 PyObject
*resultobj
= 0;
13041 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13045 PyObject
*swig_obj
[1] ;
13047 if (!args
) SWIG_fail
;
13048 swig_obj
[0] = args
;
13049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13050 if (!SWIG_IsOK(res1
)) {
13051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13053 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (int)(arg1
)->GetCurIndex();
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_From_int(static_cast< int >(result
));
13067 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13068 PyObject
*resultobj
= 0;
13069 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13073 PyObject
*swig_obj
[1] ;
13075 if (!args
) SWIG_fail
;
13076 swig_obj
[0] = args
;
13077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13078 if (!SWIG_IsOK(res1
)) {
13079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13081 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (int)(arg1
)->GetMaxIndex();
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= SWIG_From_int(static_cast< int >(result
));
13095 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13096 PyObject
*resultobj
= 0;
13097 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13098 wxString
*result
= 0 ;
13101 PyObject
*swig_obj
[1] ;
13103 if (!args
) SWIG_fail
;
13104 swig_obj
[0] = args
;
13105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13106 if (!SWIG_IsOK(res1
)) {
13107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13109 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 wxString
const &_result_ref
= (arg1
)->GetName();
13114 result
= (wxString
*) &_result_ref
;
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13123 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13132 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13135 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13136 return SWIG_Py_Void();
13139 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13140 PyObject
*resultobj
= 0;
13141 wxHtmlHelpData
*result
= 0 ;
13143 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13157 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13159 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13162 PyObject
*swig_obj
[1] ;
13164 if (!args
) SWIG_fail
;
13165 swig_obj
[0] = args
;
13166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13167 if (!SWIG_IsOK(res1
)) {
13168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13170 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_Py_Void();
13185 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
= 0;
13187 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13188 wxString
*arg2
= 0 ;
13191 bool temp2
= false ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "path", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13203 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13205 arg2
= wxString_in_helper(obj1
);
13206 if (arg2
== NULL
) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_Py_Void();
13230 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13232 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13233 wxString
*arg2
= 0 ;
13237 bool temp2
= false ;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "self",(char *) "book", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13249 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13251 arg2
= wxString_in_helper(obj1
);
13252 if (arg2
== NULL
) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13278 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
= 0;
13280 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13281 wxString
*arg2
= 0 ;
13285 bool temp2
= false ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 char * kwnames
[] = {
13289 (char *) "self",(char *) "page", NULL
13292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13294 if (!SWIG_IsOK(res1
)) {
13295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13297 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13299 arg2
= wxString_in_helper(obj1
);
13300 if (arg2
== NULL
) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13330 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
= 0;
13332 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char * kwnames
[] = {
13342 (char *) "self",(char *) "id", NULL
13345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13350 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13352 if (!SWIG_IsOK(ecode2
)) {
13353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13355 arg2
= static_cast< int >(val2
);
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (arg1
)->FindPageById(arg2
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13375 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13376 PyObject
*resultobj
= 0;
13377 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13378 wxHtmlBookRecArray
*result
= 0 ;
13381 PyObject
*swig_obj
[1] ;
13383 if (!args
) SWIG_fail
;
13384 swig_obj
[0] = args
;
13385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13386 if (!SWIG_IsOK(res1
)) {
13387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13389 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13394 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13406 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13409 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
13410 return SWIG_Py_Void();
13413 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 return SWIG_Python_InitShadowInstance(args
);
13417 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= 0;
13419 wxWindow
*arg1
= (wxWindow
*) 0 ;
13421 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13422 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13423 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13424 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13425 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
13426 int arg6
= (int) wxHF_DEFAULT_STYLE
;
13427 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
13428 wxHtmlHelpWindow
*result
= 0 ;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 PyObject
* obj2
= 0 ;
13444 PyObject
* obj3
= 0 ;
13445 PyObject
* obj4
= 0 ;
13446 PyObject
* obj5
= 0 ;
13447 PyObject
* obj6
= 0 ;
13448 char * kwnames
[] = {
13449 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
13452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13454 if (!SWIG_IsOK(res1
)) {
13455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13457 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13459 if (!SWIG_IsOK(ecode2
)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
13462 arg2
= static_cast< int >(val2
);
13466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13472 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13476 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13477 if (!SWIG_IsOK(ecode5
)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
13480 arg5
= static_cast< int >(val5
);
13483 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13484 if (!SWIG_IsOK(ecode6
)) {
13485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
13487 arg6
= static_cast< int >(val6
);
13490 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13491 if (!SWIG_IsOK(res7
)) {
13492 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
13494 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
13497 if (!wxPyCheckForApp()) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
13510 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
= 0;
13512 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
13513 wxHtmlHelpWindow
*result
= 0 ;
13516 PyObject
* obj0
= 0 ;
13517 char * kwnames
[] = {
13518 (char *) "data", NULL
13521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
13523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13527 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13530 if (!wxPyCheckForApp()) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
13543 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
= 0;
13545 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13546 wxWindow
*arg2
= (wxWindow
*) 0 ;
13548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13552 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
13553 int arg7
= (int) wxHF_DEFAULT_STYLE
;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 PyObject
* obj2
= 0 ;
13570 PyObject
* obj3
= 0 ;
13571 PyObject
* obj4
= 0 ;
13572 PyObject
* obj5
= 0 ;
13573 PyObject
* obj6
= 0 ;
13574 char * kwnames
[] = {
13575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
13578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13583 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13585 if (!SWIG_IsOK(res2
)) {
13586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13588 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13590 if (!SWIG_IsOK(ecode3
)) {
13591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
13593 arg3
= static_cast< int >(val3
);
13597 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13603 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13607 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13608 if (!SWIG_IsOK(ecode6
)) {
13609 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
13611 arg6
= static_cast< int >(val6
);
13614 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13615 if (!SWIG_IsOK(ecode7
)) {
13616 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
13618 arg7
= static_cast< int >(val7
);
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13635 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13636 PyObject
*resultobj
= 0;
13637 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13638 wxHtmlHelpData
*result
= 0 ;
13641 PyObject
*swig_obj
[1] ;
13643 if (!args
) SWIG_fail
;
13644 swig_obj
[0] = args
;
13645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13646 if (!SWIG_IsOK(res1
)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13649 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13663 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 PyObject
*resultobj
= 0;
13665 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13666 wxHtmlHelpController
*result
= 0 ;
13669 PyObject
*swig_obj
[1] ;
13671 if (!args
) SWIG_fail
;
13672 swig_obj
[0] = args
;
13673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13674 if (!SWIG_IsOK(res1
)) {
13675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
13677 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
13691 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
= 0;
13693 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13694 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 char * kwnames
[] = {
13701 (char *) "self",(char *) "controller", NULL
13704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13709 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13710 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
13711 if (!SWIG_IsOK(res2
)) {
13712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 (arg1
)->SetController(arg2
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= SWIG_Py_Void();
13727 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
= 0;
13729 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13730 wxString
*arg2
= 0 ;
13734 bool temp2
= false ;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 char * kwnames
[] = {
13738 (char *) "self",(char *) "x", NULL
13741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13743 if (!SWIG_IsOK(res1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13746 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13748 arg2
= wxString_in_helper(obj1
);
13749 if (arg2
== NULL
) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= 0;
13777 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "id", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13795 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13797 if (!SWIG_IsOK(ecode2
)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
13800 arg2
= static_cast< int >(val2
);
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (bool)(arg1
)->Display(arg2
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13816 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13817 PyObject
*resultobj
= 0;
13818 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13822 PyObject
*swig_obj
[1] ;
13824 if (!args
) SWIG_fail
;
13825 swig_obj
[0] = args
;
13826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13827 if (!SWIG_IsOK(res1
)) {
13828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13830 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (bool)(arg1
)->DisplayContents();
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13846 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13847 PyObject
*resultobj
= 0;
13848 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13852 PyObject
*swig_obj
[1] ;
13854 if (!args
) SWIG_fail
;
13855 swig_obj
[0] = args
;
13856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13857 if (!SWIG_IsOK(res1
)) {
13858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13860 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (bool)(arg1
)->DisplayIndex();
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13876 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
= 0;
13878 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13879 wxString
*arg2
= 0 ;
13880 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
13884 bool temp2
= false ;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 PyObject
* obj2
= 0 ;
13890 char * kwnames
[] = {
13891 (char *) "self",(char *) "keyword",(char *) "mode", NULL
13894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13896 if (!SWIG_IsOK(res1
)) {
13897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13899 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13901 arg2
= wxString_in_helper(obj1
);
13902 if (arg2
== NULL
) SWIG_fail
;
13907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
13908 if (!SWIG_IsOK(res3
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
13912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
13914 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
13916 if (SWIG_IsNewObj(res3
)) delete temp
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13943 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
= 0;
13945 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
13946 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
13947 wxString
const &arg3_defvalue
= wxEmptyString
;
13948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13953 bool temp3
= false ;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 char * kwnames
[] = {
13958 (char *) "self",(char *) "config",(char *) "rootpath", NULL
13961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
13963 if (!SWIG_IsOK(res1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
13966 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
13967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
13968 if (!SWIG_IsOK(res2
)) {
13969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
13971 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
13974 arg3
= wxString_in_helper(obj2
);
13975 if (arg3
== NULL
) SWIG_fail
;
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= SWIG_Py_Void();
14000 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14003 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14004 wxString
const &arg3_defvalue
= wxEmptyString
;
14005 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14010 bool temp3
= false ;
14011 PyObject
* obj0
= 0 ;
14012 PyObject
* obj1
= 0 ;
14013 PyObject
* obj2
= 0 ;
14014 char * kwnames
[] = {
14015 (char *) "self",(char *) "cfg",(char *) "path", NULL
14018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14020 if (!SWIG_IsOK(res1
)) {
14021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14023 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14025 if (!SWIG_IsOK(res2
)) {
14026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14028 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14031 arg3
= wxString_in_helper(obj2
);
14032 if (arg3
== NULL
) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_Py_Void();
14057 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
= 0;
14059 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14060 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14061 wxString
const &arg3_defvalue
= wxEmptyString
;
14062 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14067 bool temp3
= false ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 char * kwnames
[] = {
14072 (char *) "self",(char *) "cfg",(char *) "path", NULL
14075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14077 if (!SWIG_IsOK(res1
)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14080 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14082 if (!SWIG_IsOK(res2
)) {
14083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14085 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14088 arg3
= wxString_in_helper(obj2
);
14089 if (arg3
== NULL
) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_Py_Void();
14114 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14115 PyObject
*resultobj
= 0;
14116 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14119 PyObject
*swig_obj
[1] ;
14121 if (!args
) SWIG_fail
;
14122 swig_obj
[0] = args
;
14123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14124 if (!SWIG_IsOK(res1
)) {
14125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14127 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 (arg1
)->NotifyPageChanged();
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= SWIG_Py_Void();
14141 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14142 PyObject
*resultobj
= 0;
14143 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14146 PyObject
*swig_obj
[1] ;
14148 if (!args
) SWIG_fail
;
14149 swig_obj
[0] = args
;
14150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14151 if (!SWIG_IsOK(res1
)) {
14152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14154 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 (arg1
)->RefreshLists();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_Py_Void();
14168 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 PyObject
*resultobj
= 0;
14170 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14171 wxHtmlWindow
*result
= 0 ;
14174 PyObject
*swig_obj
[1] ;
14176 if (!args
) SWIG_fail
;
14177 swig_obj
[0] = args
;
14178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14179 if (!SWIG_IsOK(res1
)) {
14180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14182 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14196 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 PyObject
*resultobj
= 0;
14198 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14199 wxSplitterWindow
*result
= 0 ;
14202 PyObject
*swig_obj
[1] ;
14204 if (!args
) SWIG_fail
;
14205 swig_obj
[0] = args
;
14206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14207 if (!SWIG_IsOK(res1
)) {
14208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14210 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14224 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14225 PyObject
*resultobj
= 0;
14226 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14227 wxToolBar
*result
= 0 ;
14230 PyObject
*swig_obj
[1] ;
14232 if (!args
) SWIG_fail
;
14233 swig_obj
[0] = args
;
14234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14235 if (!SWIG_IsOK(res1
)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14238 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14254 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14255 PyObject
*resultobj
= 0;
14256 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14257 wxHtmlHelpFrameCfg
*result
= 0 ;
14260 PyObject
*swig_obj
[1] ;
14262 if (!args
) SWIG_fail
;
14263 swig_obj
[0] = args
;
14264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14265 if (!SWIG_IsOK(res1
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14268 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14273 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14285 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14286 PyObject
*resultobj
= 0;
14287 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14288 wxTreeCtrl
*result
= 0 ;
14291 PyObject
*swig_obj
[1] ;
14293 if (!args
) SWIG_fail
;
14294 swig_obj
[0] = args
;
14295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14296 if (!SWIG_IsOK(res1
)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14299 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
14313 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14316 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14317 return SWIG_Py_Void();
14320 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14321 return SWIG_Python_InitShadowInstance(args
);
14324 SWIGINTERN PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
= 0;
14326 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14327 int arg2
= (int) 0 ;
14328 wxHtmlWindowEvent
*result
= 0 ;
14333 PyObject
* obj0
= 0 ;
14334 PyObject
* obj1
= 0 ;
14335 char * kwnames
[] = {
14336 (char *) "commandType",(char *) "id", NULL
14339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14342 if (!SWIG_IsOK(ecode1
)) {
14343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14345 arg1
= static_cast< wxEventType
>(val1
);
14348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14349 if (!SWIG_IsOK(ecode2
)) {
14350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14352 arg2
= static_cast< int >(val2
);
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_NEW
| 0 );
14367 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
= 0;
14369 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14370 wxString
*arg2
= 0 ;
14373 bool temp2
= false ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 char * kwnames
[] = {
14377 (char *) "self",(char *) "url", NULL
14380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14385 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
14387 arg2
= wxString_in_helper(obj1
);
14388 if (arg2
== NULL
) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 (arg1
)->SetURL((wxString
const &)*arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_Py_Void();
14412 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14413 PyObject
*resultobj
= 0;
14414 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14415 wxString
*result
= 0 ;
14418 PyObject
*swig_obj
[1] ;
14420 if (!args
) SWIG_fail
;
14421 swig_obj
[0] = args
;
14422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
14423 if (!SWIG_IsOK(res1
)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
14426 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
14431 result
= (wxString
*) &_result_ref
;
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14449 SWIGINTERN PyObject
*HtmlWindowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14452 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_NewClientData(obj
));
14453 return SWIG_Py_Void();
14456 SWIGINTERN PyObject
*HtmlWindowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14457 return SWIG_Python_InitShadowInstance(args
);
14460 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
= 0;
14462 wxWindow
*arg1
= (wxWindow
*) 0 ;
14464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14466 int arg4
= (int) wxHF_DEFAULTSTYLE
;
14467 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
14468 wxHtmlHelpFrame
*result
= 0 ;
14473 bool temp3
= false ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 PyObject
* obj2
= 0 ;
14481 PyObject
* obj3
= 0 ;
14482 PyObject
* obj4
= 0 ;
14483 char * kwnames
[] = {
14484 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
14487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14489 if (!SWIG_IsOK(res1
)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
14492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14494 if (!SWIG_IsOK(ecode2
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
14497 arg2
= static_cast< int >(val2
);
14500 arg3
= wxString_in_helper(obj2
);
14501 if (arg3
== NULL
) SWIG_fail
;
14506 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14507 if (!SWIG_IsOK(ecode4
)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
14510 arg4
= static_cast< int >(val4
);
14513 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14514 if (!SWIG_IsOK(res5
)) {
14515 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
14517 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
14520 if (!wxPyCheckForApp()) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
14541 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
= 0;
14543 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14544 wxHtmlHelpFrame
*result
= 0 ;
14547 PyObject
* obj0
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "data", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
14554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14558 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14561 if (!wxPyCheckForApp()) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
14574 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
= 0;
14576 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
14577 wxWindow
*arg2
= (wxWindow
*) 0 ;
14579 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14580 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14581 int arg5
= (int) wxHF_DEFAULT_STYLE
;
14589 bool temp4
= false ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 PyObject
* obj3
= 0 ;
14596 PyObject
* obj4
= 0 ;
14597 char * kwnames
[] = {
14598 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
14601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
14606 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
14607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14608 if (!SWIG_IsOK(res2
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14611 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14613 if (!SWIG_IsOK(ecode3
)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
14616 arg3
= static_cast< int >(val3
);
14619 arg4
= wxString_in_helper(obj3
);
14620 if (arg4
== NULL
) SWIG_fail
;
14625 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14626 if (!SWIG_IsOK(ecode5
)) {
14627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
14629 arg5
= static_cast< int >(val5
);
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14654 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14655 PyObject
*resultobj
= 0;
14656 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
14657 wxHtmlHelpData
*result
= 0 ;
14660 PyObject
*swig_obj
[1] ;
14662 if (!args
) SWIG_fail
;
14663 swig_obj
[0] = args
;
14664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
14668 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14682 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
= 0;
14684 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
14685 wxString
*arg2
= 0 ;
14688 bool temp2
= false ;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 char * kwnames
[] = {
14692 (char *) "self",(char *) "format", NULL
14695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
14697 if (!SWIG_IsOK(res1
)) {
14698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
14700 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
14702 arg2
= wxString_in_helper(obj1
);
14703 if (arg2
== NULL
) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= SWIG_Py_Void();
14727 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14728 PyObject
*resultobj
= 0;
14729 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
14732 PyObject
*swig_obj
[1] ;
14734 if (!args
) SWIG_fail
;
14735 swig_obj
[0] = args
;
14736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
14737 if (!SWIG_IsOK(res1
)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
14740 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 (arg1
)->AddGrabIfNeeded();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_Py_Void();
14754 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14755 PyObject
*resultobj
= 0;
14756 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
14757 wxHtmlHelpController
*result
= 0 ;
14760 PyObject
*swig_obj
[1] ;
14762 if (!args
) SWIG_fail
;
14763 swig_obj
[0] = args
;
14764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
14765 if (!SWIG_IsOK(res1
)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
14768 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14782 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
= 0;
14784 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
14785 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 char * kwnames
[] = {
14792 (char *) "self",(char *) "controller", NULL
14795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
14800 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
14801 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14802 if (!SWIG_IsOK(res2
)) {
14803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 (arg1
)->SetController(arg2
);
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= SWIG_Py_Void();
14818 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14819 PyObject
*resultobj
= 0;
14820 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
14821 wxHtmlHelpWindow
*result
= 0 ;
14824 PyObject
*swig_obj
[1] ;
14826 if (!args
) SWIG_fail
;
14827 swig_obj
[0] = args
;
14828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
14832 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= wxPyMake_wxObject(result
, 0);
14848 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14851 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
14852 return SWIG_Py_Void();
14855 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14856 return SWIG_Python_InitShadowInstance(args
);
14859 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
= 0;
14861 wxWindow
*arg1
= (wxWindow
*) 0 ;
14863 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14865 int arg4
= (int) wxHF_DEFAULT_STYLE
;
14866 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
14867 wxHtmlHelpDialog
*result
= 0 ;
14872 bool temp3
= false ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 PyObject
* obj2
= 0 ;
14880 PyObject
* obj3
= 0 ;
14881 PyObject
* obj4
= 0 ;
14882 char * kwnames
[] = {
14883 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
14886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14888 if (!SWIG_IsOK(res1
)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
14891 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14893 if (!SWIG_IsOK(ecode2
)) {
14894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
14896 arg2
= static_cast< int >(val2
);
14899 arg3
= wxString_in_helper(obj2
);
14900 if (arg3
== NULL
) SWIG_fail
;
14905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14906 if (!SWIG_IsOK(ecode4
)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
14909 arg4
= static_cast< int >(val4
);
14912 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14913 if (!SWIG_IsOK(res5
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
14916 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
14919 if (!wxPyCheckForApp()) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
14940 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
= 0;
14942 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14943 wxHtmlHelpDialog
*result
= 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char * kwnames
[] = {
14948 (char *) "data", NULL
14951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
14953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14957 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14960 if (!wxPyCheckForApp()) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
14973 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
= 0;
14975 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
14976 wxWindow
*arg2
= (wxWindow
*) 0 ;
14978 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14980 int arg5
= (int) wxHF_DEFAULT_STYLE
;
14988 bool temp4
= false ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 PyObject
* obj2
= 0 ;
14994 PyObject
* obj3
= 0 ;
14995 PyObject
* obj4
= 0 ;
14996 char * kwnames
[] = {
14997 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15002 if (!SWIG_IsOK(res1
)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15005 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15007 if (!SWIG_IsOK(res2
)) {
15008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15010 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15012 if (!SWIG_IsOK(ecode3
)) {
15013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15015 arg3
= static_cast< int >(val3
);
15018 arg4
= wxString_in_helper(obj3
);
15019 if (arg4
== NULL
) SWIG_fail
;
15024 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15025 if (!SWIG_IsOK(ecode5
)) {
15026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15028 arg5
= static_cast< int >(val5
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15053 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15054 PyObject
*resultobj
= 0;
15055 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15056 wxHtmlHelpData
*result
= 0 ;
15059 PyObject
*swig_obj
[1] ;
15061 if (!args
) SWIG_fail
;
15062 swig_obj
[0] = args
;
15063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15064 if (!SWIG_IsOK(res1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15067 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15081 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15082 PyObject
*resultobj
= 0;
15083 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15084 wxHtmlHelpController
*result
= 0 ;
15087 PyObject
*swig_obj
[1] ;
15089 if (!args
) SWIG_fail
;
15090 swig_obj
[0] = args
;
15091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15092 if (!SWIG_IsOK(res1
)) {
15093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15095 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15109 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= 0;
15111 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15112 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 char * kwnames
[] = {
15119 (char *) "self",(char *) "controller", NULL
15122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15124 if (!SWIG_IsOK(res1
)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15127 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15128 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15129 if (!SWIG_IsOK(res2
)) {
15130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 (arg1
)->SetController(arg2
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_Py_Void();
15145 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15146 PyObject
*resultobj
= 0;
15147 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15148 wxHtmlHelpWindow
*result
= 0 ;
15151 PyObject
*swig_obj
[1] ;
15153 if (!args
) SWIG_fail
;
15154 swig_obj
[0] = args
;
15155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15159 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= wxPyMake_wxObject(result
, 0);
15175 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
= 0;
15177 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15178 wxString
*arg2
= 0 ;
15181 bool temp2
= false ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "self",(char *) "format", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15193 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15195 arg2
= wxString_in_helper(obj1
);
15196 if (arg2
== NULL
) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_Py_Void();
15220 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15223 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
15224 return SWIG_Py_Void();
15227 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15228 return SWIG_Python_InitShadowInstance(args
);
15231 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15232 PyObject
*resultobj
= 0;
15233 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15234 wxString
*arg2
= 0 ;
15239 bool temp2
= false ;
15243 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15248 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15250 arg2
= wxString_in_helper(swig_obj
[1]);
15251 if (arg2
== NULL
) SWIG_fail
;
15254 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
15255 if (!SWIG_IsOK(ecode3
)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15258 arg3
= static_cast< int >(val3
);
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15283 PyObject
*resultobj
= 0;
15284 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15285 wxString
*arg2
= 0 ;
15289 bool temp2
= false ;
15291 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15293 if (!SWIG_IsOK(res1
)) {
15294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15296 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15298 arg2
= wxString_in_helper(swig_obj
[1]);
15299 if (arg2
== NULL
) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
15329 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
15332 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
15335 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
15339 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15344 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
= 0;
15346 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15347 wxString
*arg2
= 0 ;
15348 long arg3
= (long) 0 ;
15351 bool temp2
= false ;
15354 PyObject
* obj0
= 0 ;
15355 PyObject
* obj1
= 0 ;
15356 PyObject
* obj2
= 0 ;
15357 char * kwnames
[] = {
15358 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15363 if (!SWIG_IsOK(res1
)) {
15364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15366 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15368 arg2
= wxString_in_helper(obj1
);
15369 if (arg2
== NULL
) SWIG_fail
;
15373 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15374 if (!SWIG_IsOK(ecode3
)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
15377 arg3
= static_cast< long >(val3
);
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_Py_Void();
15400 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= 0;
15402 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15403 wxString
const &arg2_defvalue
= wxEmptyString
;
15404 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15408 bool temp2
= false ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char * kwnames
[] = {
15412 (char *) "self",(char *) "file", NULL
15415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15417 if (!SWIG_IsOK(res1
)) {
15418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15420 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15423 arg2
= wxString_in_helper(obj1
);
15424 if (arg2
== NULL
) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15451 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15452 PyObject
*resultobj
= 0;
15453 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15457 PyObject
*swig_obj
[1] ;
15459 if (!args
) SWIG_fail
;
15460 swig_obj
[0] = args
;
15461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15462 if (!SWIG_IsOK(res1
)) {
15463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15465 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)(arg1
)->DisplayContents();
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15481 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15482 PyObject
*resultobj
= 0;
15483 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15491 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15493 if (!SWIG_IsOK(res1
)) {
15494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15496 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15497 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15498 if (!SWIG_IsOK(ecode2
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
15501 arg2
= static_cast< int >(val2
);
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (bool)(arg1
)->DisplaySection(arg2
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15517 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
= 0;
15519 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 char * kwnames
[] = {
15529 (char *) "self",(char *) "contextId", NULL
15532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15537 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15539 if (!SWIG_IsOK(ecode2
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
15542 arg2
= static_cast< int >(val2
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15558 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
= 0;
15560 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15561 wxString
*arg2
= 0 ;
15562 wxPoint
*arg3
= 0 ;
15566 bool temp2
= false ;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 PyObject
* obj2
= 0 ;
15571 char * kwnames
[] = {
15572 (char *) "self",(char *) "text",(char *) "pos", NULL
15575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15577 if (!SWIG_IsOK(res1
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15580 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15582 arg2
= wxString_in_helper(obj1
);
15583 if (arg2
== NULL
) SWIG_fail
;
15588 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15613 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15614 PyObject
*resultobj
= 0;
15615 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15616 wxString
*arg2
= 0 ;
15620 bool temp2
= false ;
15622 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15624 if (!SWIG_IsOK(res1
)) {
15625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15627 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15629 arg2
= wxString_in_helper(swig_obj
[1]);
15630 if (arg2
== NULL
) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15656 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
15660 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
15666 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
15669 if (!_v
) goto check_1
;
15670 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
15675 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
15679 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
15684 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
= 0;
15686 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 PyObject
* obj1
= 0 ;
15695 char * kwnames
[] = {
15696 (char *) "self",(char *) "blockNo", NULL
15699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15704 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15705 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15706 if (!SWIG_IsOK(ecode2
)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
15709 arg2
= static_cast< long >(val2
);
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (bool)(arg1
)->DisplayBlock(arg2
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15725 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
= 0;
15727 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15728 wxString
*arg2
= 0 ;
15729 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
15733 bool temp2
= false ;
15736 PyObject
* obj0
= 0 ;
15737 PyObject
* obj1
= 0 ;
15738 PyObject
* obj2
= 0 ;
15739 char * kwnames
[] = {
15740 (char *) "self",(char *) "k",(char *) "mode", NULL
15743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15745 if (!SWIG_IsOK(res1
)) {
15746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15748 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15750 arg2
= wxString_in_helper(obj1
);
15751 if (arg2
== NULL
) SWIG_fail
;
15756 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
15757 if (!SWIG_IsOK(res3
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
15761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
15763 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
15765 if (SWIG_IsNewObj(res3
)) delete temp
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15792 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
= 0;
15794 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15795 wxString
*arg2
= 0 ;
15797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15799 bool arg5
= (bool) false ;
15802 bool temp2
= false ;
15807 PyObject
* obj0
= 0 ;
15808 PyObject
* obj1
= 0 ;
15809 PyObject
* obj2
= 0 ;
15810 PyObject
* obj3
= 0 ;
15811 PyObject
* obj4
= 0 ;
15812 char * kwnames
[] = {
15813 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
15816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15818 if (!SWIG_IsOK(res1
)) {
15819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15821 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15823 arg2
= wxString_in_helper(obj1
);
15824 if (arg2
== NULL
) SWIG_fail
;
15829 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15838 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15839 if (!SWIG_IsOK(ecode5
)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
15842 arg5
= static_cast< bool >(val5
);
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_Py_Void();
15865 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
= 0;
15867 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15868 wxSize
*arg2
= (wxSize
*) NULL
;
15869 wxPoint
*arg3
= (wxPoint
*) NULL
;
15870 bool *arg4
= (bool *) NULL
;
15871 wxFrame
*result
= 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 PyObject
* obj2
= 0 ;
15883 PyObject
* obj3
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15893 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
15896 if (!SWIG_IsOK(res2
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
15899 arg2
= reinterpret_cast< wxSize
* >(argp2
);
15902 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
15903 if (!SWIG_IsOK(res3
)) {
15904 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
15906 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
15909 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
15910 if (!SWIG_IsOK(res4
)) {
15911 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
15913 arg4
= reinterpret_cast< bool * >(argp4
);
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= wxPyMake_wxObject(result
, 0);
15930 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15931 PyObject
*resultobj
= 0;
15932 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15936 PyObject
*swig_obj
[1] ;
15938 if (!args
) SWIG_fail
;
15939 swig_obj
[0] = args
;
15940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15941 if (!SWIG_IsOK(res1
)) {
15942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15944 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (bool)(arg1
)->Quit();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15960 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15961 PyObject
*resultobj
= 0;
15962 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15965 PyObject
*swig_obj
[1] ;
15967 if (!args
) SWIG_fail
;
15968 swig_obj
[0] = args
;
15969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15970 if (!SWIG_IsOK(res1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15973 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_Py_Void();
15987 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= 0;
15989 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15990 wxWindow
*arg2
= (wxWindow
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 char * kwnames
[] = {
15998 (char *) "self",(char *) "win", NULL
16001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16003 if (!SWIG_IsOK(res1
)) {
16004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16006 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16008 if (!SWIG_IsOK(res2
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16011 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 (arg1
)->SetParentWindow(arg2
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_Py_Void();
16025 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16026 PyObject
*resultobj
= 0;
16027 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16028 wxWindow
*result
= 0 ;
16031 PyObject
*swig_obj
[1] ;
16033 if (!args
) SWIG_fail
;
16034 swig_obj
[0] = args
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16039 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= wxPyMake_wxObject(result
, 0);
16055 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16058 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16059 return SWIG_Py_Void();
16062 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
= 0;
16064 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16065 wxWindow
*arg2
= (wxWindow
*) NULL
;
16066 wxHtmlHelpController
*result
= 0 ;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 char * kwnames
[] = {
16074 (char *) "style",(char *) "parentWindow", NULL
16077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16080 if (!SWIG_IsOK(ecode1
)) {
16081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16083 arg1
= static_cast< int >(val1
);
16086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16087 if (!SWIG_IsOK(res2
)) {
16088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16090 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16093 if (!wxPyCheckForApp()) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16106 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16107 PyObject
*resultobj
= 0;
16108 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16111 PyObject
*swig_obj
[1] ;
16113 if (!args
) SWIG_fail
;
16114 swig_obj
[0] = args
;
16115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16116 if (!SWIG_IsOK(res1
)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16119 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= SWIG_Py_Void();
16134 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16135 PyObject
*resultobj
= 0;
16136 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16137 wxHtmlHelpWindow
*result
= 0 ;
16140 PyObject
*swig_obj
[1] ;
16142 if (!args
) SWIG_fail
;
16143 swig_obj
[0] = args
;
16144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16145 if (!SWIG_IsOK(res1
)) {
16146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16148 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= wxPyMake_wxObject(result
, 0);
16164 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
= 0;
16166 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16167 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 PyObject
* obj1
= 0 ;
16174 char * kwnames
[] = {
16175 (char *) "self",(char *) "helpWindow", NULL
16178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16180 if (!SWIG_IsOK(res1
)) {
16181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16183 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16185 if (!SWIG_IsOK(res2
)) {
16186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16188 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 (arg1
)->SetHelpWindow(arg2
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= SWIG_Py_Void();
16202 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16203 PyObject
*resultobj
= 0;
16204 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16205 wxHtmlHelpFrame
*result
= 0 ;
16208 PyObject
*swig_obj
[1] ;
16210 if (!args
) SWIG_fail
;
16211 swig_obj
[0] = args
;
16212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16213 if (!SWIG_IsOK(res1
)) {
16214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16216 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= wxPyMake_wxObject(result
, 0);
16232 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16233 PyObject
*resultobj
= 0;
16234 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16235 wxHtmlHelpDialog
*result
= 0 ;
16238 PyObject
*swig_obj
[1] ;
16240 if (!args
) SWIG_fail
;
16241 swig_obj
[0] = args
;
16242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16246 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= wxPyMake_wxObject(result
, 0);
16262 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16265 wxString
*arg2
= 0 ;
16268 bool temp2
= false ;
16269 PyObject
* obj0
= 0 ;
16270 PyObject
* obj1
= 0 ;
16271 char * kwnames
[] = {
16272 (char *) "self",(char *) "format", NULL
16275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16277 if (!SWIG_IsOK(res1
)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16280 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16282 arg2
= wxString_in_helper(obj1
);
16283 if (arg2
== NULL
) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_Py_Void();
16307 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
= 0;
16309 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16310 wxString
*arg2
= 0 ;
16313 bool temp2
= false ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char * kwnames
[] = {
16317 (char *) "self",(char *) "path", NULL
16320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16322 if (!SWIG_IsOK(res1
)) {
16323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16325 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16327 arg2
= wxString_in_helper(obj1
);
16328 if (arg2
== NULL
) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 (arg1
)->SetTempDir((wxString
const &)*arg2
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_Py_Void();
16352 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
= 0;
16354 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16355 wxString
*arg2
= 0 ;
16356 int arg3
= (int) false ;
16360 bool temp2
= false ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 PyObject
* obj2
= 0 ;
16366 char * kwnames
[] = {
16367 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
16370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16375 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16377 arg2
= wxString_in_helper(obj1
);
16378 if (arg2
== NULL
) SWIG_fail
;
16382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16383 if (!SWIG_IsOK(ecode3
)) {
16384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
16386 arg3
= static_cast< int >(val3
);
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16411 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= 0;
16413 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16414 wxString
*arg2
= 0 ;
16417 bool temp2
= false ;
16418 PyObject
* obj0
= 0 ;
16419 PyObject
* obj1
= 0 ;
16420 char * kwnames
[] = {
16421 (char *) "self",(char *) "x", NULL
16424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16426 if (!SWIG_IsOK(res1
)) {
16427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16429 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16431 arg2
= wxString_in_helper(obj1
);
16432 if (arg2
== NULL
) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 (arg1
)->Display((wxString
const &)*arg2
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_Py_Void();
16456 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
= 0;
16458 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char * kwnames
[] = {
16467 (char *) "self",(char *) "id", NULL
16470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16472 if (!SWIG_IsOK(res1
)) {
16473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16475 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16477 if (!SWIG_IsOK(ecode2
)) {
16478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
16480 arg2
= static_cast< int >(val2
);
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 (arg1
)->Display(arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_Py_Void();
16494 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16495 PyObject
*resultobj
= 0;
16496 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16499 PyObject
*swig_obj
[1] ;
16501 if (!args
) SWIG_fail
;
16502 swig_obj
[0] = args
;
16503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16507 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 (arg1
)->DisplayContents();
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= SWIG_Py_Void();
16521 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16522 PyObject
*resultobj
= 0;
16523 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16526 PyObject
*swig_obj
[1] ;
16528 if (!args
) SWIG_fail
;
16529 swig_obj
[0] = args
;
16530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16531 if (!SWIG_IsOK(res1
)) {
16532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16534 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 (arg1
)->DisplayIndex();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= SWIG_Py_Void();
16548 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
= 0;
16550 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16551 wxString
*arg2
= 0 ;
16555 bool temp2
= false ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 char * kwnames
[] = {
16559 (char *) "self",(char *) "keyword", NULL
16562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16564 if (!SWIG_IsOK(res1
)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16567 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16569 arg2
= wxString_in_helper(obj1
);
16570 if (arg2
== NULL
) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16596 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= 0;
16598 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16599 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
16600 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16606 bool temp3
= false ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 PyObject
* obj2
= 0 ;
16610 char * kwnames
[] = {
16611 (char *) "self",(char *) "config",(char *) "rootpath", NULL
16614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16616 if (!SWIG_IsOK(res1
)) {
16617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16619 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
16621 if (!SWIG_IsOK(res2
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
16624 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
16627 arg3
= wxString_in_helper(obj2
);
16628 if (arg3
== NULL
) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= SWIG_Py_Void();
16653 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
= 0;
16655 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16656 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
16657 wxString arg3
= (wxString
) wxPyEmptyString
;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 PyObject
* obj2
= 0 ;
16665 char * kwnames
[] = {
16666 (char *) "self",(char *) "cfg",(char *) "path", NULL
16669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16671 if (!SWIG_IsOK(res1
)) {
16672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16674 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
16676 if (!SWIG_IsOK(res2
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
16679 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
16682 wxString
* sptr
= wxString_in_helper(obj2
);
16683 if (sptr
== NULL
) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 (arg1
)->ReadCustomization(arg2
,arg3
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= SWIG_Py_Void();
16701 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
= 0;
16703 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16704 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
16705 wxString arg3
= (wxString
) wxPyEmptyString
;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 PyObject
* obj2
= 0 ;
16713 char * kwnames
[] = {
16714 (char *) "self",(char *) "cfg",(char *) "path", NULL
16717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16719 if (!SWIG_IsOK(res1
)) {
16720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16722 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
16724 if (!SWIG_IsOK(res2
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
16727 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
16730 wxString
* sptr
= wxString_in_helper(obj2
);
16731 if (sptr
== NULL
) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 (arg1
)->WriteCustomization(arg2
,arg3
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_Py_Void();
16749 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16750 PyObject
*resultobj
= 0;
16751 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16754 PyObject
*swig_obj
[1] ;
16756 if (!args
) SWIG_fail
;
16757 swig_obj
[0] = args
;
16758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16759 if (!SWIG_IsOK(res1
)) {
16760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16762 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 (arg1
)->MakeModalIfNeeded();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= SWIG_Py_Void();
16776 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16777 PyObject
*resultobj
= 0;
16778 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16779 wxWindow
*result
= 0 ;
16782 PyObject
*swig_obj
[1] ;
16784 if (!args
) SWIG_fail
;
16785 swig_obj
[0] = args
;
16786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16787 if (!SWIG_IsOK(res1
)) {
16788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16790 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= wxPyMake_wxObject(result
, 0);
16806 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16809 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
16810 return SWIG_Py_Void();
16813 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16814 return SWIG_Python_InitShadowInstance(args
);
16817 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
= 0;
16819 wxWindow
*arg1
= (wxWindow
*) 0 ;
16820 wxString
*arg2
= 0 ;
16821 wxString
const &arg3_defvalue
= wxEmptyString
;
16822 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16823 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
16824 wxHtmlModalHelp
*result
= 0 ;
16827 bool temp2
= false ;
16828 bool temp3
= false ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 PyObject
* obj3
= 0 ;
16835 char * kwnames
[] = {
16836 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
16839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16841 if (!SWIG_IsOK(res1
)) {
16842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
16844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16846 arg2
= wxString_in_helper(obj1
);
16847 if (arg2
== NULL
) SWIG_fail
;
16852 arg3
= wxString_in_helper(obj2
);
16853 if (arg3
== NULL
) SWIG_fail
;
16858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16859 if (!SWIG_IsOK(ecode4
)) {
16860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
16862 arg4
= static_cast< int >(val4
);
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
16893 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16896 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
16897 return SWIG_Py_Void();
16900 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16901 return SWIG_Python_InitShadowInstance(args
);
16904 static PyMethodDef SwigMethods
[] = {
16905 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16906 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
16907 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
16908 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
16909 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
16910 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16911 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16912 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
16913 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
16914 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
16915 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16916 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16917 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
16918 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
16919 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
16920 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
16921 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
16922 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
16923 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16924 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
16925 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16926 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16927 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
16928 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16929 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
16930 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16931 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
16932 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16933 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
16934 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
16935 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16936 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16937 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
16938 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
16939 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
16940 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
16941 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16942 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16943 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
16944 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
16945 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16946 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
16947 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
16948 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16949 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
16950 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16951 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
16952 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16953 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
16954 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16955 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
16956 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16957 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
16958 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16959 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
16960 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16961 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
16962 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16963 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16964 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
16965 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
16966 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
16967 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
16968 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
16969 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16970 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16971 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
16972 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16973 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
16974 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
16975 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
16976 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16977 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16978 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
16979 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16980 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
16981 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
16982 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16983 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
16984 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
16985 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16986 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16987 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
16988 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
16989 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
16990 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
16991 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
16992 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
16993 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16994 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16995 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
16996 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
16997 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
16998 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
16999 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17000 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17001 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17002 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17003 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17004 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17005 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17006 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17007 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17008 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17009 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17010 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17011 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17012 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17013 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17014 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17015 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17016 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17017 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17018 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17019 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17020 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17021 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17022 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17023 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17024 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17025 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17026 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17027 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17028 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17029 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17030 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17031 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17032 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17033 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17034 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17035 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17036 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17037 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17038 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17039 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17040 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17041 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17042 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17043 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17044 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17045 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17046 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17047 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17048 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17049 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17050 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17051 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
)_wrap_HtmlCell_GetAbsPos
, METH_O
, NULL
},
17052 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17053 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17054 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17055 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17056 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17057 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17058 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17059 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17060 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17061 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17062 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17063 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17064 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17065 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17066 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17067 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17068 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17069 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17070 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17071 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17072 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17073 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17074 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17075 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17076 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17077 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17078 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17079 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17080 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17081 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17082 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17083 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17084 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17085 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17086 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17087 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17088 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17089 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17090 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17091 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17092 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17093 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17094 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17095 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17096 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17097 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17098 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17099 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17100 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17101 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17102 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17103 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17104 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17105 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17106 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17107 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17108 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17109 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17110 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17111 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17112 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17113 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17114 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17115 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17116 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17117 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17118 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17119 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17120 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17121 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17122 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17123 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17124 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17125 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17126 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17127 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17128 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17129 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17130 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17131 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17132 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17133 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17134 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17135 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17136 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17137 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17138 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17139 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17140 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17141 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17142 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17143 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17144 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17145 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17146 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17147 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17148 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17149 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17150 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17151 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17152 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17153 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17154 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17155 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17156 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17157 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17158 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17159 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17160 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17161 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17162 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17163 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17164 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17165 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17166 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17167 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17168 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17169 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17170 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17171 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17172 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17173 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17174 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17175 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17176 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17177 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17178 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17179 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17180 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17181 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17182 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17183 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17184 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17185 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17186 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17187 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17188 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17189 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17190 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17191 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17192 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17193 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17194 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17195 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17196 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17197 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17198 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17199 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17200 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17201 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17202 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17203 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
17204 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
17205 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
17206 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17207 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17208 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17209 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
17210 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
17211 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17212 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17213 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17214 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
17215 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
17216 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17217 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17218 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17219 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17220 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
17221 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
17222 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
17223 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
17224 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
17225 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
17226 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
17227 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
17228 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
17229 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17230 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17231 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
)_wrap_HtmlWindowEvent_GetURL
, METH_O
, NULL
},
17232 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
17233 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit
, METH_VARARGS
, NULL
},
17234 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17235 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17236 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17237 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
17238 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17239 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
17240 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
17241 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17242 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
17243 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
17244 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
17245 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17246 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17247 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17248 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
17249 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
17250 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17251 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
17252 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17253 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
17254 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
17255 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
17256 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17257 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17258 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
17259 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17260 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17261 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
17262 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17263 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17264 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17265 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17266 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
17267 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
17268 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17269 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
17270 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
17271 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17272 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
17273 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
17274 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17275 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
17276 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
17277 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17278 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17279 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17280 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17281 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17282 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
17283 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
17284 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17285 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17286 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17287 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17288 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
17289 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
17290 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
17291 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
17292 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17293 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
17294 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
17295 { NULL
, NULL
, 0, NULL
}
17299 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17301 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
17302 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
17304 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
17305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17307 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
17308 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
17310 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
17311 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
17313 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
17314 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
17316 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
17317 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
17319 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
17320 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
17322 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
17323 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17325 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
17326 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
17328 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
17329 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
17331 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
17332 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17334 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
17335 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
17337 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
17338 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17340 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
17341 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17343 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
17344 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
17346 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
17347 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17349 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
17350 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17352 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
17353 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
17355 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
17356 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
17358 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
17359 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
17361 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
17362 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
17364 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
17365 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
17367 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
17368 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
17370 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
17371 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
17373 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
17374 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
17376 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
17377 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17379 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
17380 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17382 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
17383 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17385 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
17386 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17388 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
17389 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
17391 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
17392 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
17394 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
17395 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
17397 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
17398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17400 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
17401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
17403 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
17404 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
17406 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
17407 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
17409 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
17410 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
17412 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
17413 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
17415 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
17416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17418 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
17419 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17421 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
17422 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
17424 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
17425 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
17427 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
17428 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
17430 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
17431 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
17433 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
17434 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
17436 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
17437 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
17439 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
17440 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
17442 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
17443 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
17445 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
17446 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
17448 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
17449 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
17451 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
17452 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17454 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
17455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
17457 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
17458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
17460 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
17461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
17463 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
17464 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
17466 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
17467 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
17469 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
17470 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
17472 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
17473 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
17475 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
17476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
17478 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
17479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
17481 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
17482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
17484 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
17485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
17487 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
17488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
17490 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
17491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
17493 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
17494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
17496 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
17497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
17499 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
17500 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
17502 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
17503 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
17505 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
17506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
17508 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
17509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
17511 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
17512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
17514 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
17515 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
17517 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
17518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
17520 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
17521 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
17523 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
17524 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
17526 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
17527 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
17529 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
17530 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
17532 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
17533 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
17535 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
17536 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
17538 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
17539 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
17541 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
17542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
17544 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
17545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
17547 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
17548 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
17550 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
17551 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
17553 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
17554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
17556 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
17557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
17559 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
17560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
17562 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
17563 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
17565 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
17566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17568 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
17569 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
17571 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
17572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
17574 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
17575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
17577 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
17578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
17580 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
17583 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
17586 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
17587 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
17589 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
17590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
17592 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
17593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
17595 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
17596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
17598 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
17599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17601 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
17602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17604 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
17605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
17607 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
17608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
17610 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
17611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
17613 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
17614 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
17616 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
17617 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
17619 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
17620 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
17622 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
17623 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
17625 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
17626 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
17628 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
17629 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
17631 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
17632 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
17634 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
17635 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
17637 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
17638 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
17640 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
17641 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
17643 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
17644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17646 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
17647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
17649 static void *_p_wxEventTo_p_wxObject(void *x
) {
17650 return (void *)((wxObject
*) ((wxEvent
*) x
));
17652 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
17653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17655 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
17656 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
17658 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
17659 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
17661 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
17662 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
17664 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
17665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
17667 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
17668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
17670 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
17671 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
17673 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
17674 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
17676 static void *_p_wxImageTo_p_wxObject(void *x
) {
17677 return (void *)((wxObject
*) ((wxImage
*) x
));
17679 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
17680 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
17682 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
17683 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
17685 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
17686 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
17688 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
17689 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
17691 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
17692 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
17694 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
17695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
17697 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
17698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
17700 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
17701 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
17703 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
17704 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
17706 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
17707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
17709 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
17710 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
17712 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
17713 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
17715 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
17716 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
17718 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
17719 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
17721 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
17722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
17724 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
17725 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
17727 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
17728 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
17730 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
17731 return (void *)((wxObject
*) ((wxPrinter
*) x
));
17733 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
17734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17736 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
17737 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
17739 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
17740 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
17742 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
17743 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
17745 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
17746 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
17748 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
17749 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
17751 static void *_p_wxControlTo_p_wxObject(void *x
) {
17752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
17754 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
17755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
17757 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
17758 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
17760 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
17761 return (void *)((wxObject
*) ((wxColourData
*) x
));
17763 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
17764 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
17766 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
17767 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
17769 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
17770 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
17772 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
17773 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
17775 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
17776 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
17778 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
17779 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17781 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
17782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17784 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
17785 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
17787 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
17788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
17790 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
17791 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17793 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
17794 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
17796 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
17797 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
17799 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
17800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
17802 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
17803 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
17805 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
17806 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
17808 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
17809 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
17811 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
17812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17814 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
17815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
17817 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
17818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
17820 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
17821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
17823 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
17824 return (void *)((wxObject
*) ((wxPrintData
*) x
));
17826 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
17827 return (void *)((wxObject
*) ((wxFontData
*) x
));
17829 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
17830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
17832 static void *_p_wxFrameTo_p_wxObject(void *x
) {
17833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
17835 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
17836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
17838 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
17839 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
17841 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
17842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
17844 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
17845 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
17847 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
17848 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
17850 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
17851 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
17853 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
17854 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
17856 static void *_p_wxSizerTo_p_wxObject(void *x
) {
17857 return (void *)((wxObject
*) ((wxSizer
*) x
));
17859 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
17860 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
17862 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
17863 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
17865 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
17866 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
17868 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
17869 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
17871 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
17872 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
17874 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
17875 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
17877 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
17878 return (void *)((wxObject
*) ((wxFSFile
*) x
));
17880 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
17881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17883 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
17884 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
17886 static void *_p_wxMenuTo_p_wxObject(void *x
) {
17887 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
17889 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
17890 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
17892 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
17893 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
17895 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
17896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
17898 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
17899 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
17901 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
17902 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
17904 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
17905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
17907 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
17908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
17910 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
17911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17913 static void *_p_wxDialogTo_p_wxObject(void *x
) {
17914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17916 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
17917 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17919 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
17920 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
17922 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
17923 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
17925 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
17926 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
17928 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
17929 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
17931 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
17932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
17934 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
17935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
17937 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
17938 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
17940 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
17941 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
17943 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
17944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
17946 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
17947 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
17949 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
17950 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
17952 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
17953 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
17955 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
17956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
17958 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
17959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
17961 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
17962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
17964 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
17965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
17967 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
17968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
17970 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
17971 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
17973 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
17974 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
17976 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
17977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
17979 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
17980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
17982 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
17983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
17985 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
17986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
17988 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
17989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
17991 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
17992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
17994 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
17995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
17997 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
17998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18000 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18003 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18006 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18009 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18012 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18015 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18018 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18019 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18021 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18022 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18024 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18025 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18027 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18030 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18033 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18036 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18039 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18042 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18045 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18048 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18051 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18052 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18054 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18057 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18058 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18060 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18061 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18063 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18064 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18066 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18067 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18069 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18070 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18072 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18075 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18076 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18078 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18079 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18081 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18082 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18084 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18085 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18087 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18090 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18091 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18093 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18096 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18097 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18099 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18102 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18103 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18105 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18106 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18108 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18109 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18111 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18114 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18115 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18117 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18120 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18121 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18123 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18124 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18126 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18127 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18129 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18130 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18132 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18133 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18135 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18136 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18138 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18139 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18141 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18142 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18144 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18145 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18147 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18148 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18150 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18151 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18153 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18154 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18156 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18157 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18159 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18160 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18162 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18163 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18165 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18166 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18168 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18169 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18171 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18172 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18174 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18175 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18177 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18178 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18180 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18181 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18183 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18184 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18186 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18187 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18189 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18190 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18192 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18193 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18195 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18196 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18198 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
18199 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18201 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
18202 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18204 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18205 return (void *)((wxWindow
*) ((wxControl
*) x
));
18207 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18210 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18211 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18213 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18214 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18216 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18217 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18219 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18220 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18222 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18223 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18225 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18226 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18228 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18229 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18231 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18232 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18234 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18235 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18237 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
18238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18240 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18241 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18243 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18244 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18246 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18249 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18252 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18253 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18255 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
18256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18258 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18261 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18262 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18264 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
18265 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18267 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18268 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18270 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18271 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18273 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18274 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18276 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18277 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18279 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18280 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18282 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18283 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18285 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18286 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18288 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18289 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18291 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18292 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18294 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18295 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18297 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18298 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18300 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
18301 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
18303 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18304 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18306 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18307 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18309 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18310 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
18312 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18313 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18315 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18316 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18318 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
18319 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
18321 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
18322 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
18324 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
18325 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18327 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18328 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
18330 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18331 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18333 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
18334 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
18336 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
18337 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
18339 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
18340 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
18342 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
18343 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18345 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
18346 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
18348 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
18349 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18351 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
18352 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18354 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
18355 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
18357 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
18358 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18360 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
18361 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
18363 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
18364 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
18366 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
18367 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
18369 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
18370 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18372 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
18373 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18375 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
18376 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18378 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
18379 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18381 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
18382 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18384 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
18385 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
18387 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
18388 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18390 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
18391 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
18393 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
18394 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18396 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
18397 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18399 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
18400 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18402 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
18403 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18405 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
18406 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
18408 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
18409 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18411 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
18412 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
18414 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
18415 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18417 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
18418 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18420 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
18421 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18423 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
18424 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18426 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
18427 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18429 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
18430 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18432 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
18433 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18435 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
18436 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18438 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
18439 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
18441 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
18442 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
18443 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};
18444 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
18445 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
18446 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
18447 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
18448 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
18449 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
18450 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
18451 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
18452 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
18453 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
18454 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
18455 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
18456 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
18457 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
18458 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
18459 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
18460 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
18461 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
18462 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
18463 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
18464 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
18465 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
18466 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
18467 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
18468 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
18469 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
18470 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
18471 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
18472 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
18473 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
18474 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
18475 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
18476 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
18477 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
18478 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
18479 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
18480 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
18481 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
18482 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
18483 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
18484 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
18485 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
18486 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
18487 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
18488 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
18489 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
18490 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
18491 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
18492 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
18493 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
18494 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
18495 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
18496 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
18497 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
18498 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
18499 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
18500 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
18501 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
18502 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
18503 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
18504 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
18505 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
18506 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
18507 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
18508 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
18509 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
18510 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
18511 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
18512 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
18513 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
18514 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
18515 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
18516 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
18517 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
18518 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
18519 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
18520 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
18521 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
18522 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
18523 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
18524 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
18525 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
18526 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
18527 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
18528 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
18529 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
18530 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
18531 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
18532 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
18533 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
18534 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
18535 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
18536 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
18537 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
18538 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
18539 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
18540 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
18541 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
18542 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
18543 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
18544 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
18545 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
18546 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
18547 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
18548 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
18549 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
18550 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
18551 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
18552 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
18553 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
18554 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
18555 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
18556 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
18557 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
18558 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
18559 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
18560 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
18561 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
18562 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
18563 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
18564 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
18565 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
18566 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
18567 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
18568 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
18569 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
18570 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
18571 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
18572 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
18573 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
18574 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
18575 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
18576 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
18577 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
18578 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
18579 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
18580 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
18581 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
18582 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
18583 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
18584 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
18585 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
18586 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
18587 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
18588 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
18589 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
18590 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
18591 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
18592 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
18593 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
18594 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
18595 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
18596 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
18597 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
18598 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
18599 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
18600 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
18601 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
18602 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
18603 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
18604 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
18605 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
18606 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
18607 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
18608 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
18609 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
18610 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
18611 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
18612 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
18613 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
18614 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
18615 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
18616 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
18617 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
18618 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
18619 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
18620 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
18621 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
18622 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
18623 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
18624 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
18625 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
18626 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
18627 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
18628 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
18629 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
18630 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
18631 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
18632 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
18633 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
18634 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
18635 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
18637 static swig_type_info
*swig_type_initial
[] = {
18640 &_swigt__p_form_ops_t
,
18642 &_swigt__p_unsigned_char
,
18643 &_swigt__p_unsigned_int
,
18644 &_swigt__p_unsigned_long
,
18645 &_swigt__p_wxANIHandler
,
18646 &_swigt__p_wxAcceleratorTable
,
18647 &_swigt__p_wxActivateEvent
,
18648 &_swigt__p_wxBMPHandler
,
18649 &_swigt__p_wxBitmap
,
18650 &_swigt__p_wxBoxSizer
,
18651 &_swigt__p_wxCURHandler
,
18652 &_swigt__p_wxCalculateLayoutEvent
,
18653 &_swigt__p_wxChildFocusEvent
,
18654 &_swigt__p_wxCloseEvent
,
18655 &_swigt__p_wxColour
,
18656 &_swigt__p_wxColourData
,
18657 &_swigt__p_wxColourDialog
,
18658 &_swigt__p_wxCommandEvent
,
18659 &_swigt__p_wxConfigBase
,
18660 &_swigt__p_wxContextMenuEvent
,
18661 &_swigt__p_wxControl
,
18662 &_swigt__p_wxControlWithItems
,
18663 &_swigt__p_wxCursor
,
18665 &_swigt__p_wxDateEvent
,
18666 &_swigt__p_wxDefaultHtmlRenderingStyle
,
18667 &_swigt__p_wxDialog
,
18668 &_swigt__p_wxDirDialog
,
18669 &_swigt__p_wxDisplayChangedEvent
,
18670 &_swigt__p_wxDropFilesEvent
,
18671 &_swigt__p_wxDuplexMode
,
18672 &_swigt__p_wxEraseEvent
,
18673 &_swigt__p_wxEvent
,
18674 &_swigt__p_wxEvtHandler
,
18675 &_swigt__p_wxFSFile
,
18676 &_swigt__p_wxFileDialog
,
18677 &_swigt__p_wxFileSystem
,
18678 &_swigt__p_wxFindDialogEvent
,
18679 &_swigt__p_wxFindReplaceData
,
18680 &_swigt__p_wxFindReplaceDialog
,
18681 &_swigt__p_wxFlexGridSizer
,
18682 &_swigt__p_wxFocusEvent
,
18684 &_swigt__p_wxFontData
,
18685 &_swigt__p_wxFontDialog
,
18686 &_swigt__p_wxFrame
,
18687 &_swigt__p_wxGBSizerItem
,
18688 &_swigt__p_wxGIFHandler
,
18689 &_swigt__p_wxGridBagSizer
,
18690 &_swigt__p_wxGridSizer
,
18691 &_swigt__p_wxHelpControllerBase
,
18692 &_swigt__p_wxHelpSearchMode
,
18693 &_swigt__p_wxHtmlBookRecArray
,
18694 &_swigt__p_wxHtmlBookRecord
,
18695 &_swigt__p_wxHtmlCell
,
18696 &_swigt__p_wxHtmlColourCell
,
18697 &_swigt__p_wxHtmlContainerCell
,
18698 &_swigt__p_wxHtmlDCRenderer
,
18699 &_swigt__p_wxHtmlEasyPrinting
,
18700 &_swigt__p_wxHtmlFilter
,
18701 &_swigt__p_wxHtmlFontCell
,
18702 &_swigt__p_wxHtmlHelpController
,
18703 &_swigt__p_wxHtmlHelpData
,
18704 &_swigt__p_wxHtmlHelpDialog
,
18705 &_swigt__p_wxHtmlHelpFrame
,
18706 &_swigt__p_wxHtmlHelpFrameCfg
,
18707 &_swigt__p_wxHtmlHelpWindow
,
18708 &_swigt__p_wxHtmlLinkInfo
,
18709 &_swigt__p_wxHtmlModalHelp
,
18710 &_swigt__p_wxHtmlParser
,
18711 &_swigt__p_wxHtmlPrintout
,
18712 &_swigt__p_wxHtmlRenderingInfo
,
18713 &_swigt__p_wxHtmlRenderingState
,
18714 &_swigt__p_wxHtmlRenderingStyle
,
18715 &_swigt__p_wxHtmlSearchStatus
,
18716 &_swigt__p_wxHtmlSelection
,
18717 &_swigt__p_wxHtmlTag
,
18718 &_swigt__p_wxHtmlTagHandler
,
18719 &_swigt__p_wxHtmlWidgetCell
,
18720 &_swigt__p_wxHtmlWinParser
,
18721 &_swigt__p_wxHtmlWindow
,
18722 &_swigt__p_wxHtmlWindowEvent
,
18723 &_swigt__p_wxHtmlWordCell
,
18724 &_swigt__p_wxICOHandler
,
18725 &_swigt__p_wxIconizeEvent
,
18726 &_swigt__p_wxIdleEvent
,
18727 &_swigt__p_wxImage
,
18728 &_swigt__p_wxImageHandler
,
18729 &_swigt__p_wxIndividualLayoutConstraint
,
18730 &_swigt__p_wxInitDialogEvent
,
18731 &_swigt__p_wxJPEGHandler
,
18732 &_swigt__p_wxKeyEvent
,
18733 &_swigt__p_wxLayoutAlgorithm
,
18734 &_swigt__p_wxLayoutConstraints
,
18735 &_swigt__p_wxMDIChildFrame
,
18736 &_swigt__p_wxMDIClientWindow
,
18737 &_swigt__p_wxMDIParentFrame
,
18738 &_swigt__p_wxMaximizeEvent
,
18740 &_swigt__p_wxMenuBar
,
18741 &_swigt__p_wxMenuEvent
,
18742 &_swigt__p_wxMenuItem
,
18743 &_swigt__p_wxMessageDialog
,
18744 &_swigt__p_wxMiniFrame
,
18745 &_swigt__p_wxMouseCaptureChangedEvent
,
18746 &_swigt__p_wxMouseEvent
,
18747 &_swigt__p_wxMoveEvent
,
18748 &_swigt__p_wxMultiChoiceDialog
,
18749 &_swigt__p_wxNavigationKeyEvent
,
18750 &_swigt__p_wxNcPaintEvent
,
18751 &_swigt__p_wxNotifyEvent
,
18752 &_swigt__p_wxObject
,
18753 &_swigt__p_wxPCXHandler
,
18754 &_swigt__p_wxPNGHandler
,
18755 &_swigt__p_wxPNMHandler
,
18756 &_swigt__p_wxPageSetupDialog
,
18757 &_swigt__p_wxPageSetupDialogData
,
18758 &_swigt__p_wxPaintEvent
,
18759 &_swigt__p_wxPaletteChangedEvent
,
18760 &_swigt__p_wxPanel
,
18761 &_swigt__p_wxPaperSize
,
18762 &_swigt__p_wxPasswordEntryDialog
,
18763 &_swigt__p_wxPoint
,
18764 &_swigt__p_wxPopupWindow
,
18765 &_swigt__p_wxPreviewCanvas
,
18766 &_swigt__p_wxPreviewControlBar
,
18767 &_swigt__p_wxPreviewFrame
,
18768 &_swigt__p_wxPrintData
,
18769 &_swigt__p_wxPrintDialog
,
18770 &_swigt__p_wxPrintDialogData
,
18771 &_swigt__p_wxPrintPreview
,
18772 &_swigt__p_wxPrinter
,
18773 &_swigt__p_wxProgressDialog
,
18774 &_swigt__p_wxPyApp
,
18775 &_swigt__p_wxPyCommandEvent
,
18776 &_swigt__p_wxPyEvent
,
18777 &_swigt__p_wxPyHtmlFilter
,
18778 &_swigt__p_wxPyHtmlListBox
,
18779 &_swigt__p_wxPyHtmlTagHandler
,
18780 &_swigt__p_wxPyHtmlWinTagHandler
,
18781 &_swigt__p_wxPyHtmlWindow
,
18782 &_swigt__p_wxPyImageHandler
,
18783 &_swigt__p_wxPyPanel
,
18784 &_swigt__p_wxPyPopupTransientWindow
,
18785 &_swigt__p_wxPyPreviewControlBar
,
18786 &_swigt__p_wxPyPreviewFrame
,
18787 &_swigt__p_wxPyPrintPreview
,
18788 &_swigt__p_wxPyPrintout
,
18789 &_swigt__p_wxPyScrolledWindow
,
18790 &_swigt__p_wxPySizer
,
18791 &_swigt__p_wxPyTaskBarIcon
,
18792 &_swigt__p_wxPyVListBox
,
18793 &_swigt__p_wxPyVScrolledWindow
,
18794 &_swigt__p_wxPyValidator
,
18795 &_swigt__p_wxPyWindow
,
18796 &_swigt__p_wxQueryLayoutInfoEvent
,
18797 &_swigt__p_wxQueryNewPaletteEvent
,
18798 &_swigt__p_wxSashEvent
,
18799 &_swigt__p_wxSashLayoutWindow
,
18800 &_swigt__p_wxSashWindow
,
18801 &_swigt__p_wxScrollEvent
,
18802 &_swigt__p_wxScrollWinEvent
,
18803 &_swigt__p_wxScrolledWindow
,
18804 &_swigt__p_wxSetCursorEvent
,
18805 &_swigt__p_wxShowEvent
,
18806 &_swigt__p_wxSingleChoiceDialog
,
18808 &_swigt__p_wxSizeEvent
,
18809 &_swigt__p_wxSizer
,
18810 &_swigt__p_wxSizerItem
,
18811 &_swigt__p_wxSplashScreen
,
18812 &_swigt__p_wxSplashScreenWindow
,
18813 &_swigt__p_wxSplitterEvent
,
18814 &_swigt__p_wxSplitterWindow
,
18815 &_swigt__p_wxStaticBoxSizer
,
18816 &_swigt__p_wxStatusBar
,
18817 &_swigt__p_wxStdDialogButtonSizer
,
18818 &_swigt__p_wxString
,
18819 &_swigt__p_wxSysColourChangedEvent
,
18820 &_swigt__p_wxTIFFHandler
,
18821 &_swigt__p_wxTaskBarIconEvent
,
18822 &_swigt__p_wxTextEntryDialog
,
18823 &_swigt__p_wxTipWindow
,
18824 &_swigt__p_wxTopLevelWindow
,
18825 &_swigt__p_wxTreeCtrl
,
18826 &_swigt__p_wxUpdateUIEvent
,
18827 &_swigt__p_wxValidator
,
18828 &_swigt__p_wxVisualAttributes
,
18829 &_swigt__p_wxWindow
,
18830 &_swigt__p_wxWindowCreateEvent
,
18831 &_swigt__p_wxWindowDestroyEvent
,
18832 &_swigt__p_wxXPMHandler
,
18835 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
18836 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
18837 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
18838 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
18839 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
18840 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
18841 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
18842 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
18843 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
18844 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
18845 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
18846 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
18847 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
18848 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
18849 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
18850 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
18851 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
18852 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
18853 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
18854 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
18855 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
18856 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
18857 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
18858 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
18859 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
18860 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
18861 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
18862 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
18863 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
18864 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
18865 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
18866 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
18867 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
18868 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
18869 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
18870 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
18871 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
18872 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
18873 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
18874 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
18875 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
18876 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
18877 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
18878 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
18879 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
18880 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
18881 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
18882 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
18883 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
18884 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
18885 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
18886 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
18887 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
18888 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
18889 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
18890 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
18891 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
18892 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
18893 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
18894 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
18895 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
18896 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
18897 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
18898 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
18899 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
18900 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
18901 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
18902 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
18903 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
18904 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
18905 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
18906 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
18907 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
18908 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
18909 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
18910 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
18911 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
18912 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
18913 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
18914 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
18915 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
18916 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
18917 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
18918 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
18919 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
18920 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
18921 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
18922 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
18923 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
18924 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
18925 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
18926 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
18927 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
18928 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
18929 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
18930 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
18931 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
18932 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
18933 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
18934 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
18935 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
18936 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}};
18937 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}};
18938 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
18939 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
18940 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
18941 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}};
18942 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
18943 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
18944 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
18945 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
18946 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
18947 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
18948 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
18949 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
18950 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
18951 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
18952 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
18953 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
18954 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
18955 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
18956 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}};
18957 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
18958 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
18959 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
18960 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}};
18961 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
18962 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
18963 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
18964 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
18965 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
18966 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
18967 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
18968 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
18969 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
18970 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
18971 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
18972 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
18973 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
18974 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
18975 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
18976 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
18977 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
18978 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
18979 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
18980 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
18981 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
18982 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
18983 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
18984 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
18985 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
18986 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
18987 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
18988 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
18989 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
18990 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
18991 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
18992 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
18993 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
18994 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
18995 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
18996 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
18997 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
18998 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
18999 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19000 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19001 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19002 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19003 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19004 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19005 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19006 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19007 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19008 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19009 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19010 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19011 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlFontCell
, _p_wxHtmlFontCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlTag
, _p_wxHtmlTagTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlFilter
, _p_wxPyHtmlFilterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting
, _p_wxHtmlEasyPrintingTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxHtmlParser
, _p_wxHtmlParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWinParser
, _p_wxHtmlWinParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWidgetCell
, _p_wxHtmlWidgetCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlPrintout
, _p_wxHtmlPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlContainerCell
, _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpControllerBase
, _p_wxHelpControllerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlDCRenderer
, _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkInfo
, _p_wxHtmlLinkInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpController
, _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlCell
, _p_wxHtmlCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlColourCell
, _p_wxHtmlColourCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWordCell
, _p_wxHtmlWordCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
19012 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19013 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}};
19014 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19015 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19016 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19017 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19018 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}};
19019 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19020 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19021 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}};
19022 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}};
19023 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19024 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19025 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19026 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
19027 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
19028 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19029 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
19031 static swig_cast_info
*swig_cast_initial
[] = {
19034 _swigc__p_form_ops_t
,
19036 _swigc__p_unsigned_char
,
19037 _swigc__p_unsigned_int
,
19038 _swigc__p_unsigned_long
,
19039 _swigc__p_wxANIHandler
,
19040 _swigc__p_wxAcceleratorTable
,
19041 _swigc__p_wxActivateEvent
,
19042 _swigc__p_wxBMPHandler
,
19043 _swigc__p_wxBitmap
,
19044 _swigc__p_wxBoxSizer
,
19045 _swigc__p_wxCURHandler
,
19046 _swigc__p_wxCalculateLayoutEvent
,
19047 _swigc__p_wxChildFocusEvent
,
19048 _swigc__p_wxCloseEvent
,
19049 _swigc__p_wxColour
,
19050 _swigc__p_wxColourData
,
19051 _swigc__p_wxColourDialog
,
19052 _swigc__p_wxCommandEvent
,
19053 _swigc__p_wxConfigBase
,
19054 _swigc__p_wxContextMenuEvent
,
19055 _swigc__p_wxControl
,
19056 _swigc__p_wxControlWithItems
,
19057 _swigc__p_wxCursor
,
19059 _swigc__p_wxDateEvent
,
19060 _swigc__p_wxDefaultHtmlRenderingStyle
,
19061 _swigc__p_wxDialog
,
19062 _swigc__p_wxDirDialog
,
19063 _swigc__p_wxDisplayChangedEvent
,
19064 _swigc__p_wxDropFilesEvent
,
19065 _swigc__p_wxDuplexMode
,
19066 _swigc__p_wxEraseEvent
,
19068 _swigc__p_wxEvtHandler
,
19069 _swigc__p_wxFSFile
,
19070 _swigc__p_wxFileDialog
,
19071 _swigc__p_wxFileSystem
,
19072 _swigc__p_wxFindDialogEvent
,
19073 _swigc__p_wxFindReplaceData
,
19074 _swigc__p_wxFindReplaceDialog
,
19075 _swigc__p_wxFlexGridSizer
,
19076 _swigc__p_wxFocusEvent
,
19078 _swigc__p_wxFontData
,
19079 _swigc__p_wxFontDialog
,
19081 _swigc__p_wxGBSizerItem
,
19082 _swigc__p_wxGIFHandler
,
19083 _swigc__p_wxGridBagSizer
,
19084 _swigc__p_wxGridSizer
,
19085 _swigc__p_wxHelpControllerBase
,
19086 _swigc__p_wxHelpSearchMode
,
19087 _swigc__p_wxHtmlBookRecArray
,
19088 _swigc__p_wxHtmlBookRecord
,
19089 _swigc__p_wxHtmlCell
,
19090 _swigc__p_wxHtmlColourCell
,
19091 _swigc__p_wxHtmlContainerCell
,
19092 _swigc__p_wxHtmlDCRenderer
,
19093 _swigc__p_wxHtmlEasyPrinting
,
19094 _swigc__p_wxHtmlFilter
,
19095 _swigc__p_wxHtmlFontCell
,
19096 _swigc__p_wxHtmlHelpController
,
19097 _swigc__p_wxHtmlHelpData
,
19098 _swigc__p_wxHtmlHelpDialog
,
19099 _swigc__p_wxHtmlHelpFrame
,
19100 _swigc__p_wxHtmlHelpFrameCfg
,
19101 _swigc__p_wxHtmlHelpWindow
,
19102 _swigc__p_wxHtmlLinkInfo
,
19103 _swigc__p_wxHtmlModalHelp
,
19104 _swigc__p_wxHtmlParser
,
19105 _swigc__p_wxHtmlPrintout
,
19106 _swigc__p_wxHtmlRenderingInfo
,
19107 _swigc__p_wxHtmlRenderingState
,
19108 _swigc__p_wxHtmlRenderingStyle
,
19109 _swigc__p_wxHtmlSearchStatus
,
19110 _swigc__p_wxHtmlSelection
,
19111 _swigc__p_wxHtmlTag
,
19112 _swigc__p_wxHtmlTagHandler
,
19113 _swigc__p_wxHtmlWidgetCell
,
19114 _swigc__p_wxHtmlWinParser
,
19115 _swigc__p_wxHtmlWindow
,
19116 _swigc__p_wxHtmlWindowEvent
,
19117 _swigc__p_wxHtmlWordCell
,
19118 _swigc__p_wxICOHandler
,
19119 _swigc__p_wxIconizeEvent
,
19120 _swigc__p_wxIdleEvent
,
19122 _swigc__p_wxImageHandler
,
19123 _swigc__p_wxIndividualLayoutConstraint
,
19124 _swigc__p_wxInitDialogEvent
,
19125 _swigc__p_wxJPEGHandler
,
19126 _swigc__p_wxKeyEvent
,
19127 _swigc__p_wxLayoutAlgorithm
,
19128 _swigc__p_wxLayoutConstraints
,
19129 _swigc__p_wxMDIChildFrame
,
19130 _swigc__p_wxMDIClientWindow
,
19131 _swigc__p_wxMDIParentFrame
,
19132 _swigc__p_wxMaximizeEvent
,
19134 _swigc__p_wxMenuBar
,
19135 _swigc__p_wxMenuEvent
,
19136 _swigc__p_wxMenuItem
,
19137 _swigc__p_wxMessageDialog
,
19138 _swigc__p_wxMiniFrame
,
19139 _swigc__p_wxMouseCaptureChangedEvent
,
19140 _swigc__p_wxMouseEvent
,
19141 _swigc__p_wxMoveEvent
,
19142 _swigc__p_wxMultiChoiceDialog
,
19143 _swigc__p_wxNavigationKeyEvent
,
19144 _swigc__p_wxNcPaintEvent
,
19145 _swigc__p_wxNotifyEvent
,
19146 _swigc__p_wxObject
,
19147 _swigc__p_wxPCXHandler
,
19148 _swigc__p_wxPNGHandler
,
19149 _swigc__p_wxPNMHandler
,
19150 _swigc__p_wxPageSetupDialog
,
19151 _swigc__p_wxPageSetupDialogData
,
19152 _swigc__p_wxPaintEvent
,
19153 _swigc__p_wxPaletteChangedEvent
,
19155 _swigc__p_wxPaperSize
,
19156 _swigc__p_wxPasswordEntryDialog
,
19158 _swigc__p_wxPopupWindow
,
19159 _swigc__p_wxPreviewCanvas
,
19160 _swigc__p_wxPreviewControlBar
,
19161 _swigc__p_wxPreviewFrame
,
19162 _swigc__p_wxPrintData
,
19163 _swigc__p_wxPrintDialog
,
19164 _swigc__p_wxPrintDialogData
,
19165 _swigc__p_wxPrintPreview
,
19166 _swigc__p_wxPrinter
,
19167 _swigc__p_wxProgressDialog
,
19169 _swigc__p_wxPyCommandEvent
,
19170 _swigc__p_wxPyEvent
,
19171 _swigc__p_wxPyHtmlFilter
,
19172 _swigc__p_wxPyHtmlListBox
,
19173 _swigc__p_wxPyHtmlTagHandler
,
19174 _swigc__p_wxPyHtmlWinTagHandler
,
19175 _swigc__p_wxPyHtmlWindow
,
19176 _swigc__p_wxPyImageHandler
,
19177 _swigc__p_wxPyPanel
,
19178 _swigc__p_wxPyPopupTransientWindow
,
19179 _swigc__p_wxPyPreviewControlBar
,
19180 _swigc__p_wxPyPreviewFrame
,
19181 _swigc__p_wxPyPrintPreview
,
19182 _swigc__p_wxPyPrintout
,
19183 _swigc__p_wxPyScrolledWindow
,
19184 _swigc__p_wxPySizer
,
19185 _swigc__p_wxPyTaskBarIcon
,
19186 _swigc__p_wxPyVListBox
,
19187 _swigc__p_wxPyVScrolledWindow
,
19188 _swigc__p_wxPyValidator
,
19189 _swigc__p_wxPyWindow
,
19190 _swigc__p_wxQueryLayoutInfoEvent
,
19191 _swigc__p_wxQueryNewPaletteEvent
,
19192 _swigc__p_wxSashEvent
,
19193 _swigc__p_wxSashLayoutWindow
,
19194 _swigc__p_wxSashWindow
,
19195 _swigc__p_wxScrollEvent
,
19196 _swigc__p_wxScrollWinEvent
,
19197 _swigc__p_wxScrolledWindow
,
19198 _swigc__p_wxSetCursorEvent
,
19199 _swigc__p_wxShowEvent
,
19200 _swigc__p_wxSingleChoiceDialog
,
19202 _swigc__p_wxSizeEvent
,
19204 _swigc__p_wxSizerItem
,
19205 _swigc__p_wxSplashScreen
,
19206 _swigc__p_wxSplashScreenWindow
,
19207 _swigc__p_wxSplitterEvent
,
19208 _swigc__p_wxSplitterWindow
,
19209 _swigc__p_wxStaticBoxSizer
,
19210 _swigc__p_wxStatusBar
,
19211 _swigc__p_wxStdDialogButtonSizer
,
19212 _swigc__p_wxString
,
19213 _swigc__p_wxSysColourChangedEvent
,
19214 _swigc__p_wxTIFFHandler
,
19215 _swigc__p_wxTaskBarIconEvent
,
19216 _swigc__p_wxTextEntryDialog
,
19217 _swigc__p_wxTipWindow
,
19218 _swigc__p_wxTopLevelWindow
,
19219 _swigc__p_wxTreeCtrl
,
19220 _swigc__p_wxUpdateUIEvent
,
19221 _swigc__p_wxValidator
,
19222 _swigc__p_wxVisualAttributes
,
19223 _swigc__p_wxWindow
,
19224 _swigc__p_wxWindowCreateEvent
,
19225 _swigc__p_wxWindowDestroyEvent
,
19226 _swigc__p_wxXPMHandler
,
19230 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19232 static swig_const_info swig_const_table
[] = {
19233 {0, 0, 0, 0.0, 0, 0}};
19238 /* -----------------------------------------------------------------------------
19239 * Type initialization:
19240 * This problem is tough by the requirement that no dynamic
19241 * memory is used. Also, since swig_type_info structures store pointers to
19242 * swig_cast_info structures and swig_cast_info structures store pointers back
19243 * to swig_type_info structures, we need some lookup code at initialization.
19244 * The idea is that swig generates all the structures that are needed.
19245 * The runtime then collects these partially filled structures.
19246 * The SWIG_InitializeModule function takes these initial arrays out of
19247 * swig_module, and does all the lookup, filling in the swig_module.types
19248 * array with the correct data and linking the correct swig_cast_info
19249 * structures together.
19251 * The generated swig_type_info structures are assigned staticly to an initial
19252 * array. We just loop though that array, and handle each type individually.
19253 * First we lookup if this type has been already loaded, and if so, use the
19254 * loaded structure instead of the generated one. Then we have to fill in the
19255 * cast linked list. The cast data is initially stored in something like a
19256 * two-dimensional array. Each row corresponds to a type (there are the same
19257 * number of rows as there are in the swig_type_initial array). Each entry in
19258 * a column is one of the swig_cast_info structures for that type.
19259 * The cast_initial array is actually an array of arrays, because each row has
19260 * a variable number of columns. So to actually build the cast linked list,
19261 * we find the array of casts associated with the type, and loop through it
19262 * adding the casts to the list. The one last trick we need to do is making
19263 * sure the type pointer in the swig_cast_info struct is correct.
19265 * First off, we lookup the cast->type name to see if it is already loaded.
19266 * There are three cases to handle:
19267 * 1) If the cast->type has already been loaded AND the type we are adding
19268 * casting info to has not been loaded (it is in this module), THEN we
19269 * replace the cast->type pointer with the type pointer that has already
19271 * 2) If BOTH types (the one we are adding casting info to, and the
19272 * cast->type) are loaded, THEN the cast info has already been loaded by
19273 * the previous module so we just ignore it.
19274 * 3) Finally, if cast->type has not already been loaded, then we add that
19275 * swig_cast_info to the linked list (because the cast->type) pointer will
19277 * ----------------------------------------------------------------------------- */
19287 #define SWIGRUNTIME_DEBUG
19291 SWIG_InitializeModule(void *clientdata
) {
19293 swig_module_info
*module_head
;
19294 static int init_run
= 0;
19296 clientdata
= clientdata
;
19298 if (init_run
) return;
19301 /* Initialize the swig_module */
19302 swig_module
.type_initial
= swig_type_initial
;
19303 swig_module
.cast_initial
= swig_cast_initial
;
19305 /* Try and load any already created modules */
19306 module_head
= SWIG_GetModule(clientdata
);
19308 swig_module
.next
= module_head
->next
;
19309 module_head
->next
= &swig_module
;
19311 /* This is the first module loaded */
19312 swig_module
.next
= &swig_module
;
19313 SWIG_SetModule(clientdata
, &swig_module
);
19316 /* Now work on filling in swig_module.types */
19317 #ifdef SWIGRUNTIME_DEBUG
19318 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
19320 for (i
= 0; i
< swig_module
.size
; ++i
) {
19321 swig_type_info
*type
= 0;
19322 swig_type_info
*ret
;
19323 swig_cast_info
*cast
;
19325 #ifdef SWIGRUNTIME_DEBUG
19326 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
19329 /* if there is another module already loaded */
19330 if (swig_module
.next
!= &swig_module
) {
19331 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
19334 /* Overwrite clientdata field */
19335 #ifdef SWIGRUNTIME_DEBUG
19336 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
19338 if (swig_module
.type_initial
[i
]->clientdata
) {
19339 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
19340 #ifdef SWIGRUNTIME_DEBUG
19341 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
19345 type
= swig_module
.type_initial
[i
];
19348 /* Insert casting types */
19349 cast
= swig_module
.cast_initial
[i
];
19350 while (cast
->type
) {
19351 /* Don't need to add information already in the list */
19353 #ifdef SWIGRUNTIME_DEBUG
19354 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
19356 if (swig_module
.next
!= &swig_module
) {
19357 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
19358 #ifdef SWIGRUNTIME_DEBUG
19359 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
19363 if (type
== swig_module
.type_initial
[i
]) {
19364 #ifdef SWIGRUNTIME_DEBUG
19365 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
19370 /* Check for casting already in the list */
19371 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
19372 #ifdef SWIGRUNTIME_DEBUG
19373 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
19375 if (!ocast
) ret
= 0;
19380 #ifdef SWIGRUNTIME_DEBUG
19381 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
19384 type
->cast
->prev
= cast
;
19385 cast
->next
= type
->cast
;
19391 /* Set entry in modules->types array equal to the type */
19392 swig_module
.types
[i
] = type
;
19394 swig_module
.types
[i
] = 0;
19396 #ifdef SWIGRUNTIME_DEBUG
19397 printf("**** SWIG_InitializeModule: Cast List ******\n");
19398 for (i
= 0; i
< swig_module
.size
; ++i
) {
19400 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
19401 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
19402 while (cast
->type
) {
19403 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
19407 printf("---- Total casts: %d\n",j
);
19409 printf("**** SWIG_InitializeModule: Cast List ******\n");
19413 /* This function will propagate the clientdata field of type to
19414 * any new swig_type_info structures that have been added into the list
19415 * of equivalent types. It is like calling
19416 * SWIG_TypeClientData(type, clientdata) a second time.
19419 SWIG_PropagateClientData(void) {
19421 swig_cast_info
*equiv
;
19422 static int init_run
= 0;
19424 if (init_run
) return;
19427 for (i
= 0; i
< swig_module
.size
; i
++) {
19428 if (swig_module
.types
[i
]->clientdata
) {
19429 equiv
= swig_module
.types
[i
]->cast
;
19431 if (!equiv
->converter
) {
19432 if (equiv
->type
&& !equiv
->type
->clientdata
)
19433 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
19435 equiv
= equiv
->next
;
19455 /* Python-specific SWIG API */
19456 #define SWIG_newvarlink() SWIG_Python_newvarlink()
19457 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
19458 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
19460 /* -----------------------------------------------------------------------------
19461 * global variable support code.
19462 * ----------------------------------------------------------------------------- */
19464 typedef struct swig_globalvar
{
19465 char *name
; /* Name of global variable */
19466 PyObject
*(*get_attr
)(void); /* Return the current value */
19467 int (*set_attr
)(PyObject
*); /* Set the value */
19468 struct swig_globalvar
*next
;
19471 typedef struct swig_varlinkobject
{
19473 swig_globalvar
*vars
;
19474 } swig_varlinkobject
;
19476 SWIGINTERN PyObject
*
19477 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
19478 return PyString_FromString("<Swig global variables>");
19481 SWIGINTERN PyObject
*
19482 swig_varlink_str(swig_varlinkobject
*v
) {
19483 PyObject
*str
= PyString_FromString("(");
19484 swig_globalvar
*var
;
19485 for (var
= v
->vars
; var
; var
=var
->next
) {
19486 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
19487 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
19489 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
19494 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
19495 PyObject
*str
= swig_varlink_str(v
);
19496 fprintf(fp
,"Swig global variables ");
19497 fprintf(fp
,"%s\n", PyString_AsString(str
));
19503 swig_varlink_dealloc(swig_varlinkobject
*v
) {
19504 swig_globalvar
*var
= v
->vars
;
19506 swig_globalvar
*n
= var
->next
;
19513 SWIGINTERN PyObject
*
19514 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
19515 PyObject
*res
= NULL
;
19516 swig_globalvar
*var
= v
->vars
;
19518 if (strcmp(var
->name
,n
) == 0) {
19519 res
= (*var
->get_attr
)();
19524 if (res
== NULL
&& !PyErr_Occurred()) {
19525 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19531 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
19533 swig_globalvar
*var
= v
->vars
;
19535 if (strcmp(var
->name
,n
) == 0) {
19536 res
= (*var
->set_attr
)(p
);
19541 if (res
== 1 && !PyErr_Occurred()) {
19542 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
19547 SWIGINTERN PyTypeObject
*
19548 swig_varlink_type(void) {
19549 static char varlink__doc__
[] = "Swig var link object";
19550 static PyTypeObject varlink_type
;
19551 static int type_init
= 0;
19553 const PyTypeObject tmp
19555 PyObject_HEAD_INIT(NULL
)
19556 0, /* Number of items in variable part (ob_size) */
19557 (char *)"swigvarlink", /* Type name (tp_name) */
19558 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
19559 0, /* Itemsize (tp_itemsize) */
19560 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
19561 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
19562 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
19563 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
19564 0, /* tp_compare */
19565 (reprfunc
) swig_varlink_repr
, /* tp_repr */
19566 0, /* tp_as_number */
19567 0, /* tp_as_sequence */
19568 0, /* tp_as_mapping */
19571 (reprfunc
)swig_varlink_str
, /* tp_str */
19572 0, /* tp_getattro */
19573 0, /* tp_setattro */
19574 0, /* tp_as_buffer */
19576 varlink__doc__
, /* tp_doc */
19577 0, /* tp_traverse */
19579 0, /* tp_richcompare */
19580 0, /* tp_weaklistoffset */
19581 #if PY_VERSION_HEX >= 0x02020000
19582 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
19584 #if PY_VERSION_HEX >= 0x02030000
19587 #ifdef COUNT_ALLOCS
19588 0,0,0,0 /* tp_alloc -> tp_next */
19591 varlink_type
= tmp
;
19592 varlink_type
.ob_type
= &PyType_Type
;
19595 return &varlink_type
;
19598 /* Create a variable linking object for use later */
19599 SWIGINTERN PyObject
*
19600 SWIG_Python_newvarlink(void) {
19601 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
19605 return ((PyObject
*) result
);
19609 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
19610 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
19611 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
19613 size_t size
= strlen(name
)+1;
19614 gv
->name
= (char *)malloc(size
);
19616 strncpy(gv
->name
,name
,size
);
19617 gv
->get_attr
= get_attr
;
19618 gv
->set_attr
= set_attr
;
19619 gv
->next
= v
->vars
;
19625 SWIGINTERN PyObject
*
19627 static PyObject
*_SWIG_globals
= 0;
19628 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
19629 return _SWIG_globals
;
19632 /* -----------------------------------------------------------------------------
19633 * constants/methods manipulation
19634 * ----------------------------------------------------------------------------- */
19636 /* Install Constants */
19638 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
19641 for (i
= 0; constants
[i
].type
; ++i
) {
19642 switch(constants
[i
].type
) {
19643 case SWIG_PY_POINTER
:
19644 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
19646 case SWIG_PY_BINARY
:
19647 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
19654 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
19660 /* -----------------------------------------------------------------------------*/
19661 /* Fix SwigMethods to carry the callback ptrs when needed */
19662 /* -----------------------------------------------------------------------------*/
19665 SWIG_Python_FixMethods(PyMethodDef
*methods
,
19666 swig_const_info
*const_table
,
19667 swig_type_info
**types
,
19668 swig_type_info
**types_initial
) {
19670 for (i
= 0; methods
[i
].ml_name
; ++i
) {
19671 char *c
= methods
[i
].ml_doc
;
19672 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
19674 swig_const_info
*ci
= 0;
19675 char *name
= c
+ 10;
19676 for (j
= 0; const_table
[j
].type
; ++j
) {
19677 if (strncmp(const_table
[j
].name
, name
,
19678 strlen(const_table
[j
].name
)) == 0) {
19679 ci
= &(const_table
[j
]);
19684 size_t shift
= (ci
->ptype
) - types
;
19685 swig_type_info
*ty
= types_initial
[shift
];
19686 size_t ldoc
= (c
- methods
[i
].ml_doc
);
19687 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
19688 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
19691 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
19693 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
19695 strncpy(buff
, "swig_ptr: ", 10);
19697 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
19698 methods
[i
].ml_doc
= ndoc
;
19710 /* -----------------------------------------------------------------------------*
19711 * Partial Init method
19712 * -----------------------------------------------------------------------------*/
19717 SWIGEXPORT
void SWIG_init(void) {
19720 /* Fix SwigMethods to carry the callback ptrs when needed */
19721 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
19723 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19724 d
= PyModule_GetDict(m
);
19726 SWIG_InitializeModule(0);
19727 SWIG_InstallConstants(d
,swig_const_table
);
19730 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
19731 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
19732 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
19733 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
19734 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
19735 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
19736 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
19737 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
19738 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
19739 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
19740 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
19741 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
19742 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
19743 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
19744 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
19745 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
19746 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
19747 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
19748 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
19749 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
19750 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
19751 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
19752 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
19753 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1
)));
19754 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2
)));
19755 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3
)));
19756 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4
)));
19757 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5
)));
19758 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6
)));
19759 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7
)));
19760 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
19761 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
19762 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
19763 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
19764 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
19765 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
19766 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
19767 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
19768 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
19769 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
19770 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
19771 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
19772 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
19773 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
19774 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
19775 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
19776 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
19777 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
19778 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
19779 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
19780 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
19781 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
19782 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
19783 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
19784 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
19785 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
19786 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
19787 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
19788 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
19789 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
19790 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
19791 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
19792 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
19793 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
19794 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
19795 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
19796 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
19797 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
19798 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
19799 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
19800 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
19801 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
19802 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
19803 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
19804 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
19805 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
19806 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
19807 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
19808 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
19809 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
19810 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
19811 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
19812 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
19813 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
19814 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
19815 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
19816 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
19817 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
19818 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
19819 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
19820 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
19822 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
19823 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
19824 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
19825 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");