1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxCursor swig_types[27]
2494 #define SWIGTYPE_p_wxDC swig_types[28]
2495 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[30]
2497 #define SWIGTYPE_p_wxDialog swig_types[31]
2498 #define SWIGTYPE_p_wxDirDialog swig_types[32]
2499 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2505 #define SWIGTYPE_p_wxFSFile swig_types[39]
2506 #define SWIGTYPE_p_wxFileDialog swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFindDialogEvent swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceData swig_types[43]
2510 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44]
2511 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFontData swig_types[48]
2515 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2516 #define SWIGTYPE_p_wxFrame swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2519 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2520 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxHelpControllerBase swig_types[55]
2522 #define SWIGTYPE_p_wxHelpSearchMode swig_types[56]
2523 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57]
2524 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58]
2525 #define SWIGTYPE_p_wxHtmlCell swig_types[59]
2526 #define SWIGTYPE_p_wxHtmlColourCell swig_types[60]
2527 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[61]
2528 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[62]
2529 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[63]
2530 #define SWIGTYPE_p_wxHtmlFilter swig_types[64]
2531 #define SWIGTYPE_p_wxHtmlFontCell swig_types[65]
2532 #define SWIGTYPE_p_wxHtmlHelpController swig_types[66]
2533 #define SWIGTYPE_p_wxHtmlHelpData swig_types[67]
2534 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[68]
2535 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[69]
2536 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[70]
2537 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[71]
2538 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[72]
2539 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[73]
2540 #define SWIGTYPE_p_wxHtmlParser swig_types[74]
2541 #define SWIGTYPE_p_wxHtmlPrintout swig_types[75]
2542 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[76]
2543 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[77]
2544 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[78]
2545 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[79]
2546 #define SWIGTYPE_p_wxHtmlSelection swig_types[80]
2547 #define SWIGTYPE_p_wxHtmlTag swig_types[81]
2548 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[82]
2549 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[83]
2550 #define SWIGTYPE_p_wxHtmlWinParser swig_types[84]
2551 #define SWIGTYPE_p_wxHtmlWindow swig_types[85]
2552 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[86]
2553 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87]
2554 #define SWIGTYPE_p_wxHtmlWordCell swig_types[88]
2555 #define SWIGTYPE_p_wxICOHandler swig_types[89]
2556 #define SWIGTYPE_p_wxIconizeEvent swig_types[90]
2557 #define SWIGTYPE_p_wxIdleEvent swig_types[91]
2558 #define SWIGTYPE_p_wxImage swig_types[92]
2559 #define SWIGTYPE_p_wxImageHandler swig_types[93]
2560 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94]
2561 #define SWIGTYPE_p_wxInitDialogEvent swig_types[95]
2562 #define SWIGTYPE_p_wxJPEGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98]
2565 #define SWIGTYPE_p_wxLayoutConstraints swig_types[99]
2566 #define SWIGTYPE_p_wxMDIChildFrame swig_types[100]
2567 #define SWIGTYPE_p_wxMDIClientWindow swig_types[101]
2568 #define SWIGTYPE_p_wxMDIParentFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMaximizeEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMenu swig_types[104]
2571 #define SWIGTYPE_p_wxMenuBar swig_types[105]
2572 #define SWIGTYPE_p_wxMenuEvent swig_types[106]
2573 #define SWIGTYPE_p_wxMenuItem swig_types[107]
2574 #define SWIGTYPE_p_wxMessageDialog swig_types[108]
2575 #define SWIGTYPE_p_wxMiniFrame swig_types[109]
2576 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMouseEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMoveEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114]
2581 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115]
2582 #define SWIGTYPE_p_wxNcPaintEvent swig_types[116]
2583 #define SWIGTYPE_p_wxNotifyEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[118]
2585 #define SWIGTYPE_p_wxObject swig_types[119]
2586 #define SWIGTYPE_p_wxPCXHandler swig_types[120]
2587 #define SWIGTYPE_p_wxPNGHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPNMHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPageSetupDialog swig_types[123]
2590 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[124]
2591 #define SWIGTYPE_p_wxPaintEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126]
2593 #define SWIGTYPE_p_wxPanel swig_types[127]
2594 #define SWIGTYPE_p_wxPaperSize swig_types[128]
2595 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129]
2596 #define SWIGTYPE_p_wxPoint swig_types[130]
2597 #define SWIGTYPE_p_wxPopupWindow swig_types[131]
2598 #define SWIGTYPE_p_wxPreviewCanvas swig_types[132]
2599 #define SWIGTYPE_p_wxPreviewControlBar swig_types[133]
2600 #define SWIGTYPE_p_wxPreviewFrame swig_types[134]
2601 #define SWIGTYPE_p_wxPrintData swig_types[135]
2602 #define SWIGTYPE_p_wxPrintDialog swig_types[136]
2603 #define SWIGTYPE_p_wxPrintDialogData swig_types[137]
2604 #define SWIGTYPE_p_wxPrintPreview swig_types[138]
2605 #define SWIGTYPE_p_wxPrinter swig_types[139]
2606 #define SWIGTYPE_p_wxProgressDialog swig_types[140]
2607 #define SWIGTYPE_p_wxPyApp swig_types[141]
2608 #define SWIGTYPE_p_wxPyCommandEvent swig_types[142]
2609 #define SWIGTYPE_p_wxPyEvent swig_types[143]
2610 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[144]
2611 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[145]
2612 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[148]
2615 #define SWIGTYPE_p_wxPyImageHandler swig_types[149]
2616 #define SWIGTYPE_p_wxPyPanel swig_types[150]
2617 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151]
2618 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152]
2619 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[153]
2620 #define SWIGTYPE_p_wxPyPrintPreview swig_types[154]
2621 #define SWIGTYPE_p_wxPyPrintout swig_types[155]
2622 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[156]
2623 #define SWIGTYPE_p_wxPySizer swig_types[157]
2624 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158]
2625 #define SWIGTYPE_p_wxPyVListBox swig_types[159]
2626 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[160]
2627 #define SWIGTYPE_p_wxPyValidator swig_types[161]
2628 #define SWIGTYPE_p_wxPyWindow swig_types[162]
2629 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[163]
2630 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[164]
2631 #define SWIGTYPE_p_wxSashEvent swig_types[165]
2632 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[166]
2633 #define SWIGTYPE_p_wxSashWindow swig_types[167]
2634 #define SWIGTYPE_p_wxScrollEvent swig_types[168]
2635 #define SWIGTYPE_p_wxScrollWinEvent swig_types[169]
2636 #define SWIGTYPE_p_wxScrolledWindow swig_types[170]
2637 #define SWIGTYPE_p_wxSetCursorEvent swig_types[171]
2638 #define SWIGTYPE_p_wxShowEvent swig_types[172]
2639 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[173]
2640 #define SWIGTYPE_p_wxSize swig_types[174]
2641 #define SWIGTYPE_p_wxSizeEvent swig_types[175]
2642 #define SWIGTYPE_p_wxSizer swig_types[176]
2643 #define SWIGTYPE_p_wxSizerItem swig_types[177]
2644 #define SWIGTYPE_p_wxSplashScreen swig_types[178]
2645 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179]
2646 #define SWIGTYPE_p_wxSplitterEvent swig_types[180]
2647 #define SWIGTYPE_p_wxSplitterWindow swig_types[181]
2648 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[182]
2649 #define SWIGTYPE_p_wxStatusBar swig_types[183]
2650 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[184]
2651 #define SWIGTYPE_p_wxString swig_types[185]
2652 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[186]
2653 #define SWIGTYPE_p_wxTIFFHandler swig_types[187]
2654 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[188]
2655 #define SWIGTYPE_p_wxTextEntryDialog swig_types[189]
2656 #define SWIGTYPE_p_wxTipWindow swig_types[190]
2657 #define SWIGTYPE_p_wxTopLevelWindow swig_types[191]
2658 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[192]
2659 #define SWIGTYPE_p_wxValidator swig_types[193]
2660 #define SWIGTYPE_p_wxVisualAttributes swig_types[194]
2661 #define SWIGTYPE_p_wxWindow swig_types[195]
2662 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[196]
2663 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[197]
2664 #define SWIGTYPE_p_wxXPMHandler swig_types[198]
2665 static swig_type_info
*swig_types
[200];
2666 static swig_module_info swig_module
= {swig_types
, 199, 0, 0, 0, 0};
2667 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2668 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2670 /* -------- TYPES TABLE (END) -------- */
2672 #if (PY_VERSION_HEX <= 0x02000000)
2673 # if !defined(SWIG_PYTHON_CLASSIC)
2674 # error "This python version requires to use swig with the '-classic' option"
2677 #if (PY_VERSION_HEX <= 0x02020000)
2678 # error "This python version requires to use swig with the '-nomodern' option"
2680 #if (PY_VERSION_HEX <= 0x02020000)
2681 # error "This python version requires to use swig with the '-nomodernargs' option"
2684 # error "This python version requires to use swig with the '-nofastunpack' option"
2687 /*-----------------------------------------------
2688 @(target):= _html.so
2689 ------------------------------------------------*/
2690 #define SWIG_init init_html
2692 #define SWIG_name "_html"
2694 #define SWIGVERSION 0x010329
2697 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2698 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2701 #include <stdexcept>
2705 class PyObject_ptr
{
2710 PyObject_ptr() :_obj(0)
2714 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2719 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2721 if (initial_ref
) Py_XINCREF(_obj
);
2724 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2726 Py_XINCREF(item
._obj
);
2737 operator PyObject
*() const
2742 PyObject
*operator->() const
2751 struct PyObject_var
: PyObject_ptr
{
2752 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2754 PyObject_var
& operator = (PyObject
* obj
)
2764 #include "wx/wxPython/wxPython.h"
2765 #include "wx/wxPython/pyclasses.h"
2766 #include "wx/wxPython/pyistream.h"
2767 #include "wx/wxPython/printfw.h"
2769 #include <wx/html/htmlwin.h>
2770 #include <wx/html/htmprint.h>
2771 #include <wx/html/helpctrl.h>
2772 #include <wx/html/helpwnd.h>
2773 #include <wx/html/helpfrm.h>
2774 #include <wx/html/helpdlg.h>
2777 static const wxString
wxPyEmptyString(wxEmptyString
);
2778 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2779 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2780 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2782 #define SWIG_From_long PyInt_FromLong
2785 SWIGINTERNINLINE PyObject
*
2786 SWIG_From_int (int value
)
2788 return SWIG_From_long (value
);
2794 # define LLONG_MIN LONG_LONG_MIN
2797 # define LLONG_MAX LONG_LONG_MAX
2800 # define ULLONG_MAX ULONG_LONG_MAX
2805 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2807 if (PyNumber_Check(obj
)) {
2808 if (val
) *val
= PyInt_AsLong(obj
);
2811 return SWIG_TypeError
;
2816 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2819 int res
= SWIG_AsVal_long (obj
, &v
);
2820 if (SWIG_IsOK(res
)) {
2821 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2822 return SWIG_OverflowError
;
2824 if (val
) *val
= static_cast< int >(v
);
2830 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2832 if (sizes
) temp
= int_LIST_helper(sizes
);
2833 self
->SetFonts(normal_face
, fixed_face
, temp
);
2838 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2839 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2841 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2843 wxHtmlParser
* GetParser() { return m_Parser
; }
2844 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2846 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2847 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2852 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2854 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2855 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2858 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2859 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2861 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2863 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2864 void ParseInner(const wxHtmlTag
& tag
)
2865 { wxHtmlWinTagHandler::ParseInner(tag
); }
2867 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2868 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2873 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2875 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2876 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2880 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2882 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2883 m_tagHandlerClass
= thc
;
2884 Py_INCREF(m_tagHandlerClass
);
2885 RegisterModule(this);
2886 wxHtmlWinParser::AddModule(this);
2890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2891 Py_DECREF(m_tagHandlerClass
);
2892 m_tagHandlerClass
= NULL
;
2893 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2894 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2897 wxPyEndBlockThreads(blocked
);
2900 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2901 // Wave our magic wand... (if it works it's a miracle! ;-)
2903 // First, make a new instance of the tag handler
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 PyObject
* arg
= PyTuple_New(0);
2906 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2909 // now figure out where it's C++ object is...
2910 wxPyHtmlWinTagHandler
* thPtr
;
2911 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2912 wxPyEndBlockThreads(blocked
);
2915 wxPyEndBlockThreads(blocked
);
2918 parser
->AddTagHandler(thPtr
);
2921 m_objArray
.Add(obj
);
2925 PyObject
* m_tagHandlerClass
;
2926 wxArrayPtrVoid m_objArray
;
2931 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2932 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2933 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2934 new wxPyHtmlTagsModule(tagHandlerClass
);
2938 SWIGINTERNINLINE PyObject
*
2939 SWIG_From_bool (bool value
)
2941 return PyBool_FromLong(value
? 1 : 0);
2946 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2948 if (obj
== Py_True
) {
2949 if (val
) *val
= true;
2951 } else if (obj
== Py_False
) {
2952 if (val
) *val
= false;
2956 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2957 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2964 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2967 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2968 return SWIG_TypeError
;
2971 *val
= (unsigned long)v
;
2977 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2980 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2981 if (SWIG_IsOK(res
)) {
2982 if ((v
> UINT_MAX
)) {
2983 return SWIG_OverflowError
;
2985 if (val
) *val
= static_cast< unsigned int >(v
);
2992 SWIGINTERNINLINE PyObject
*
2993 SWIG_From_unsigned_SS_long (unsigned long value
)
2995 return (value
> LONG_MAX
) ?
2996 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3000 SWIGINTERNINLINE PyObject
*
3001 SWIG_From_unsigned_SS_int (unsigned int value
)
3003 return SWIG_From_unsigned_SS_long (value
);
3006 // here's the C++ version
3007 class wxPyHtmlFilter
: public wxHtmlFilter
{
3008 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3010 wxPyHtmlFilter() : wxHtmlFilter() {}
3012 // returns True if this filter is able to open&read given file
3013 virtual bool CanRead(const wxFSFile
& file
) const {
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3018 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3019 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3022 wxPyEndBlockThreads(blocked
);
3027 // Reads given file and returns HTML document.
3028 // Returns empty string if opening failed
3029 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3032 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3033 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3034 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3036 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3039 rval
= Py2wxString(ro
);
3043 wxPyEndBlockThreads(blocked
);
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3053 class wxPyHtmlWindow
: public wxHtmlWindow
{
3054 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3056 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3057 const wxPoint
& pos
= wxDefaultPosition
,
3058 const wxSize
& size
= wxDefaultSize
,
3059 long style
= wxHW_DEFAULT_STYLE
,
3060 const wxString
& name
= wxPyHtmlWindowNameStr
)
3061 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3062 wxPyHtmlWindow() : wxHtmlWindow() {};
3064 bool ScrollToAnchor(const wxString
& anchor
) {
3065 return wxHtmlWindow::ScrollToAnchor(anchor
);
3068 bool HasAnchor(const wxString
& anchor
) {
3069 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3073 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3075 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3076 const wxString
& url
,
3077 wxString
*redirect
) const;
3079 DEC_PYCALLBACK__STRING(OnSetTitle
);
3080 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3081 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3086 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3087 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3088 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3089 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3092 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3094 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3095 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3096 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3097 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3100 wxPyEndBlockThreads(blocked
);
3102 wxHtmlWindow::OnLinkClicked(link
);
3106 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3107 const wxString
& url
,
3108 wxString
*redirect
) const {
3110 wxHtmlOpeningStatus rval
;
3111 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3112 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3114 PyObject
* s
= wx2PyString(url
);
3115 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3117 if (PyString_Check(ro
)
3118 #if PYTHON_API_VERSION >= 1009
3119 || PyUnicode_Check(ro
)
3122 *redirect
= Py2wxString(ro
);
3123 rval
= wxHTML_REDIRECT
;
3126 PyObject
* num
= PyNumber_Int(ro
);
3127 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3132 wxPyEndBlockThreads(blocked
);
3134 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3140 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3142 if (sizes
) temp
= int_LIST_helper(sizes
);
3143 self
->SetFonts(normal_face
, fixed_face
, temp
);
3147 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3149 if (sizes
) temp
= int_LIST_helper(sizes
);
3150 self
->SetFonts(normal_face
, fixed_face
, temp
);
3154 SWIGINTERN
void wxHtmlPrintout_SetFonts(wxHtmlPrintout
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3156 if (sizes
) temp
= int_LIST_helper(sizes
);
3157 self
->SetFonts(normal_face
, fixed_face
, temp
);
3166 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3168 if (PyNumber_Check(obj
)) {
3169 if (val
) *val
= PyFloat_AsDouble(obj
);
3172 return SWIG_TypeError
;
3177 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3180 int res
= SWIG_AsVal_double (obj
, &v
);
3181 if (SWIG_IsOK(res
)) {
3182 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3183 return SWIG_OverflowError
;
3185 if (val
) *val
= static_cast< float >(v
);
3191 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3193 if (sizes
) temp
= int_LIST_helper(sizes
);
3194 self
->SetFonts(normal_face
, fixed_face
, temp
);
3199 typedef wxTreeCtrl wxPyTreeCtrl
;
3204 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3205 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3210 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3211 PyObject
*pyobj
= 0;
3215 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3217 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3224 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3225 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3230 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3231 PyObject
*pyobj
= 0;
3235 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3237 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3244 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3245 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3250 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3251 PyObject
*pyobj
= 0;
3255 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3257 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3264 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
= 0;
3266 wxString
*arg1
= 0 ;
3267 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3268 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3269 wxHtmlLinkInfo
*result
= 0 ;
3270 bool temp1
= false ;
3271 bool temp2
= false ;
3272 PyObject
* obj0
= 0 ;
3273 PyObject
* obj1
= 0 ;
3274 char * kwnames
[] = {
3275 (char *) "href",(char *) "target", NULL
3278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3280 arg1
= wxString_in_helper(obj0
);
3281 if (arg1
== NULL
) SWIG_fail
;
3286 arg2
= wxString_in_helper(obj1
);
3287 if (arg2
== NULL
) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3320 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3321 PyObject
*resultobj
= 0;
3322 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3326 PyObject
*swig_obj
[1] ;
3328 if (!args
) SWIG_fail
;
3330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3331 if (!SWIG_IsOK(res1
)) {
3332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3334 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (arg1
)->GetHref();
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3354 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3355 PyObject
*resultobj
= 0;
3356 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3360 PyObject
*swig_obj
[1] ;
3362 if (!args
) SWIG_fail
;
3364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3365 if (!SWIG_IsOK(res1
)) {
3366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3368 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 result
= (arg1
)->GetTarget();
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3388 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3389 PyObject
*resultobj
= 0;
3390 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3391 wxMouseEvent
*result
= 0 ;
3394 PyObject
*swig_obj
[1] ;
3396 if (!args
) SWIG_fail
;
3398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3399 if (!SWIG_IsOK(res1
)) {
3400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3402 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= wxPyMake_wxObject(result
, 0);
3418 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3419 PyObject
*resultobj
= 0;
3420 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3421 wxHtmlCell
*result
= 0 ;
3424 PyObject
*swig_obj
[1] ;
3426 if (!args
) SWIG_fail
;
3428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3429 if (!SWIG_IsOK(res1
)) {
3430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3432 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3446 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
= 0;
3448 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3449 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3456 char * kwnames
[] = {
3457 (char *) "self",(char *) "e", NULL
3460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3462 if (!SWIG_IsOK(res1
)) {
3463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3465 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3467 if (!SWIG_IsOK(res2
)) {
3468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3470 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= SWIG_Py_Void();
3484 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
= 0;
3486 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3487 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3494 char * kwnames
[] = {
3495 (char *) "self",(char *) "e", NULL
3498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3500 if (!SWIG_IsOK(res1
)) {
3501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3503 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3505 if (!SWIG_IsOK(res2
)) {
3506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3508 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 resultobj
= SWIG_Py_Void();
3522 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3525 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3526 return SWIG_Py_Void();
3529 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3530 return SWIG_Python_InitShadowInstance(args
);
3533 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3534 PyObject
*resultobj
= 0;
3535 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3539 PyObject
*swig_obj
[1] ;
3541 if (!args
) SWIG_fail
;
3543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3544 if (!SWIG_IsOK(res1
)) {
3545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3547 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (arg1
)->GetName();
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3567 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
= 0;
3569 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3570 wxString
*arg2
= 0 ;
3574 bool temp2
= false ;
3575 PyObject
* obj0
= 0 ;
3576 PyObject
* obj1
= 0 ;
3577 char * kwnames
[] = {
3578 (char *) "self",(char *) "par", NULL
3581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3583 if (!SWIG_IsOK(res1
)) {
3584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3586 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3588 arg2
= wxString_in_helper(obj1
);
3589 if (arg2
== NULL
) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3615 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
*resultobj
= 0;
3617 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3618 wxString
*arg2
= 0 ;
3619 int arg3
= (int) false ;
3623 bool temp2
= false ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3628 PyObject
* obj2
= 0 ;
3629 char * kwnames
[] = {
3630 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3635 if (!SWIG_IsOK(res1
)) {
3636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3638 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3640 arg2
= wxString_in_helper(obj1
);
3641 if (arg2
== NULL
) SWIG_fail
;
3645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3646 if (!SWIG_IsOK(ecode3
)) {
3647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3649 arg3
= static_cast< int >(val3
);
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3678 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3679 PyObject
*resultobj
= 0;
3680 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3692 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (arg1
)->GetAllParams();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3712 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3713 PyObject
*resultobj
= 0;
3714 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3718 PyObject
*swig_obj
[1] ;
3720 if (!args
) SWIG_fail
;
3722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3723 if (!SWIG_IsOK(res1
)) {
3724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3726 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (bool)(arg1
)->HasEnding();
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3742 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3743 PyObject
*resultobj
= 0;
3744 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3748 PyObject
*swig_obj
[1] ;
3750 if (!args
) SWIG_fail
;
3752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3753 if (!SWIG_IsOK(res1
)) {
3754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3756 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (int)(arg1
)->GetBeginPos();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= SWIG_From_int(static_cast< int >(result
));
3770 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3771 PyObject
*resultobj
= 0;
3772 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3776 PyObject
*swig_obj
[1] ;
3778 if (!args
) SWIG_fail
;
3780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3781 if (!SWIG_IsOK(res1
)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3784 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (int)(arg1
)->GetEndPos1();
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= SWIG_From_int(static_cast< int >(result
));
3798 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3799 PyObject
*resultobj
= 0;
3800 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3804 PyObject
*swig_obj
[1] ;
3806 if (!args
) SWIG_fail
;
3808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3809 if (!SWIG_IsOK(res1
)) {
3810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3812 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 result
= (int)(arg1
)->GetEndPos2();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_From_int(static_cast< int >(result
));
3826 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3829 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3830 return SWIG_Py_Void();
3833 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
= 0;
3835 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3836 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3842 PyObject
* obj1
= 0 ;
3843 char * kwnames
[] = {
3844 (char *) "self",(char *) "fs", NULL
3847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3849 if (!SWIG_IsOK(res1
)) {
3850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3852 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3854 if (!SWIG_IsOK(res2
)) {
3855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3857 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 (arg1
)->SetFS(arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_Py_Void();
3871 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3872 PyObject
*resultobj
= 0;
3873 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3874 wxFileSystem
*result
= 0 ;
3877 PyObject
*swig_obj
[1] ;
3879 if (!args
) SWIG_fail
;
3881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3882 if (!SWIG_IsOK(res1
)) {
3883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3885 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (wxFileSystem
*)(arg1
)->GetFS();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= wxPyMake_wxObject(result
, 0);
3901 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
= 0;
3903 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3904 wxString
*arg2
= 0 ;
3905 wxObject
*result
= 0 ;
3908 bool temp2
= false ;
3909 PyObject
* obj0
= 0 ;
3910 PyObject
* obj1
= 0 ;
3911 char * kwnames
[] = {
3912 (char *) "self",(char *) "source", NULL
3915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3917 if (!SWIG_IsOK(res1
)) {
3918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3920 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3922 arg2
= wxString_in_helper(obj1
);
3923 if (arg2
== NULL
) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3949 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
= 0;
3951 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3952 wxString
*arg2
= 0 ;
3955 bool temp2
= false ;
3956 PyObject
* obj0
= 0 ;
3957 PyObject
* obj1
= 0 ;
3958 char * kwnames
[] = {
3959 (char *) "self",(char *) "source", NULL
3962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3964 if (!SWIG_IsOK(res1
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3967 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3969 arg2
= wxString_in_helper(obj1
);
3970 if (arg2
== NULL
) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 (arg1
)->InitParser((wxString
const &)*arg2
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 resultobj
= SWIG_Py_Void();
3994 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3995 PyObject
*resultobj
= 0;
3996 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3999 PyObject
*swig_obj
[1] ;
4001 if (!args
) SWIG_fail
;
4003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4004 if (!SWIG_IsOK(res1
)) {
4005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4007 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 (arg1
)->DoneParser();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_Py_Void();
4021 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
= 0;
4023 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4034 PyObject
* obj2
= 0 ;
4035 char * kwnames
[] = {
4036 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4041 if (!SWIG_IsOK(res1
)) {
4042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4044 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4046 if (!SWIG_IsOK(ecode2
)) {
4047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4049 arg2
= static_cast< int >(val2
);
4050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4051 if (!SWIG_IsOK(ecode3
)) {
4052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4054 arg3
= static_cast< int >(val3
);
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 (arg1
)->DoParsing(arg2
,arg3
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_Py_Void();
4068 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4073 PyObject
*swig_obj
[1] ;
4075 if (!args
) SWIG_fail
;
4077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4078 if (!SWIG_IsOK(res1
)) {
4079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4081 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 (arg1
)->StopParsing();
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= SWIG_Py_Void();
4095 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
= 0;
4097 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4098 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4103 PyObject
* obj0
= 0 ;
4104 PyObject
* obj1
= 0 ;
4105 char * kwnames
[] = {
4106 (char *) "self",(char *) "handler", NULL
4109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4111 if (!SWIG_IsOK(res1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4114 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4115 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4116 if (!SWIG_IsOK(res2
)) {
4117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4119 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 (arg1
)->AddTagHandler(arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_Py_Void();
4133 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4134 PyObject
*resultobj
= 0;
4135 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4136 wxString
*result
= 0 ;
4139 PyObject
*swig_obj
[1] ;
4141 if (!args
) SWIG_fail
;
4143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4144 if (!SWIG_IsOK(res1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4147 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (wxString
*)(arg1
)->GetSource();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4158 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4167 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4169 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4170 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4177 PyObject
* obj1
= 0 ;
4178 PyObject
* obj2
= 0 ;
4179 char * kwnames
[] = {
4180 (char *) "self",(char *) "handler",(char *) "tags", NULL
4183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4185 if (!SWIG_IsOK(res1
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4188 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4190 if (!SWIG_IsOK(res2
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4193 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4195 wxString
* sptr
= wxString_in_helper(obj2
);
4196 if (sptr
== NULL
) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->PushTagHandler(arg2
,arg3
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= SWIG_Py_Void();
4213 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4214 PyObject
*resultobj
= 0;
4215 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4218 PyObject
*swig_obj
[1] ;
4220 if (!args
) SWIG_fail
;
4222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4223 if (!SWIG_IsOK(res1
)) {
4224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4226 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->PopTagHandler();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_Py_Void();
4240 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
= 0;
4242 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4243 wxHtmlTag
*arg2
= 0 ;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4251 char * kwnames
[] = {
4252 (char *) "self",(char *) "tag", NULL
4255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4257 if (!SWIG_IsOK(res1
)) {
4258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4260 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4262 if (!SWIG_IsOK(res2
)) {
4263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4268 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4288 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4291 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4292 return SWIG_Py_Void();
4295 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
= 0;
4297 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4298 wxHtmlWinParser
*result
= 0 ;
4301 PyObject
* obj0
= 0 ;
4302 char * kwnames
[] = {
4303 (char *) "wnd", NULL
4306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4309 if (!SWIG_IsOK(res1
)) {
4310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4312 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4327 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
= 0;
4329 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4330 wxDC
*arg2
= (wxDC
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4336 PyObject
* obj1
= 0 ;
4337 char * kwnames
[] = {
4338 (char *) "self",(char *) "dc", NULL
4341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4343 if (!SWIG_IsOK(res1
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4346 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4348 if (!SWIG_IsOK(res2
)) {
4349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4351 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 (arg1
)->SetDC(arg2
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_Py_Void();
4365 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4366 PyObject
*resultobj
= 0;
4367 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4371 PyObject
*swig_obj
[1] ;
4373 if (!args
) SWIG_fail
;
4375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4376 if (!SWIG_IsOK(res1
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4379 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (wxDC
*)(arg1
)->GetDC();
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4395 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4396 PyObject
*resultobj
= 0;
4397 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4401 PyObject
*swig_obj
[1] ;
4403 if (!args
) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4409 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (int)(arg1
)->GetCharHeight();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= SWIG_From_int(static_cast< int >(result
));
4423 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4424 PyObject
*resultobj
= 0;
4425 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4429 PyObject
*swig_obj
[1] ;
4431 if (!args
) SWIG_fail
;
4433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4434 if (!SWIG_IsOK(res1
)) {
4435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4437 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (int)(arg1
)->GetCharWidth();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= SWIG_From_int(static_cast< int >(result
));
4451 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4452 PyObject
*resultobj
= 0;
4453 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4454 wxPyHtmlWindow
*result
= 0 ;
4457 PyObject
*swig_obj
[1] ;
4459 if (!args
) SWIG_fail
;
4461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4462 if (!SWIG_IsOK(res1
)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4465 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4481 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4482 PyObject
*resultobj
= 0;
4483 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4484 wxHtmlWindowInterface
*result
= 0 ;
4487 PyObject
*swig_obj
[1] ;
4489 if (!args
) SWIG_fail
;
4491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4492 if (!SWIG_IsOK(res1
)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4495 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4509 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
= 0;
4511 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4514 PyObject
*arg4
= (PyObject
*) NULL
;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4520 PyObject
* obj3
= 0 ;
4521 char * kwnames
[] = {
4522 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4527 if (!SWIG_IsOK(res1
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4530 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4532 wxString
* sptr
= wxString_in_helper(obj1
);
4533 if (sptr
== NULL
) SWIG_fail
;
4538 wxString
* sptr
= wxString_in_helper(obj2
);
4539 if (sptr
== NULL
) SWIG_fail
;
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_Py_Void();
4559 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
= 0;
4561 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4562 int arg2
= (int) -1 ;
4563 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4564 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4571 bool temp3
= false ;
4572 bool temp4
= false ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4575 PyObject
* obj2
= 0 ;
4576 PyObject
* obj3
= 0 ;
4577 char * kwnames
[] = {
4578 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4583 if (!SWIG_IsOK(res1
)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4586 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4589 if (!SWIG_IsOK(ecode2
)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4592 arg2
= static_cast< int >(val2
);
4596 arg3
= wxString_in_helper(obj2
);
4597 if (arg3
== NULL
) SWIG_fail
;
4603 arg4
= wxString_in_helper(obj3
);
4604 if (arg4
== NULL
) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_Py_Void();
4637 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4638 PyObject
*resultobj
= 0;
4639 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4640 wxHtmlContainerCell
*result
= 0 ;
4643 PyObject
*swig_obj
[1] ;
4645 if (!args
) SWIG_fail
;
4647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4648 if (!SWIG_IsOK(res1
)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4651 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4665 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4666 PyObject
*resultobj
= 0;
4667 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4668 wxHtmlContainerCell
*result
= 0 ;
4671 PyObject
*swig_obj
[1] ;
4673 if (!args
) SWIG_fail
;
4675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4676 if (!SWIG_IsOK(res1
)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4679 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4693 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
= 0;
4695 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4696 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4697 wxHtmlContainerCell
*result
= 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4704 char * kwnames
[] = {
4705 (char *) "self",(char *) "c", NULL
4708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4710 if (!SWIG_IsOK(res1
)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4713 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4715 if (!SWIG_IsOK(res2
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4718 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4732 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4733 PyObject
*resultobj
= 0;
4734 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4735 wxHtmlContainerCell
*result
= 0 ;
4738 PyObject
*swig_obj
[1] ;
4740 if (!args
) SWIG_fail
;
4742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4743 if (!SWIG_IsOK(res1
)) {
4744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4746 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4760 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4761 PyObject
*resultobj
= 0;
4762 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4766 PyObject
*swig_obj
[1] ;
4768 if (!args
) SWIG_fail
;
4770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4771 if (!SWIG_IsOK(res1
)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4774 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (int)(arg1
)->GetFontSize();
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= SWIG_From_int(static_cast< int >(result
));
4788 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
= 0;
4790 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4796 PyObject
* obj0
= 0 ;
4797 PyObject
* obj1
= 0 ;
4798 char * kwnames
[] = {
4799 (char *) "self",(char *) "s", NULL
4802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4804 if (!SWIG_IsOK(res1
)) {
4805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4807 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4809 if (!SWIG_IsOK(ecode2
)) {
4810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4812 arg2
= static_cast< int >(val2
);
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 (arg1
)->SetFontSize(arg2
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= SWIG_Py_Void();
4826 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4827 PyObject
*resultobj
= 0;
4828 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4832 PyObject
*swig_obj
[1] ;
4834 if (!args
) SWIG_fail
;
4836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4837 if (!SWIG_IsOK(res1
)) {
4838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4840 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (int)(arg1
)->GetFontBold();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_From_int(static_cast< int >(result
));
4854 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
= 0;
4856 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4863 PyObject
* obj1
= 0 ;
4864 char * kwnames
[] = {
4865 (char *) "self",(char *) "x", NULL
4868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4870 if (!SWIG_IsOK(res1
)) {
4871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4873 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4875 if (!SWIG_IsOK(ecode2
)) {
4876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4878 arg2
= static_cast< int >(val2
);
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 (arg1
)->SetFontBold(arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_Py_Void();
4892 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4893 PyObject
*resultobj
= 0;
4894 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4898 PyObject
*swig_obj
[1] ;
4900 if (!args
) SWIG_fail
;
4902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4903 if (!SWIG_IsOK(res1
)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4906 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (int)(arg1
)->GetFontItalic();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_From_int(static_cast< int >(result
));
4920 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
= 0;
4922 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4928 PyObject
* obj0
= 0 ;
4929 PyObject
* obj1
= 0 ;
4930 char * kwnames
[] = {
4931 (char *) "self",(char *) "x", NULL
4934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4939 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4944 arg2
= static_cast< int >(val2
);
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 (arg1
)->SetFontItalic(arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= SWIG_Py_Void();
4958 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4959 PyObject
*resultobj
= 0;
4960 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4964 PyObject
*swig_obj
[1] ;
4966 if (!args
) SWIG_fail
;
4968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4969 if (!SWIG_IsOK(res1
)) {
4970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4972 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (int)(arg1
)->GetFontUnderlined();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_From_int(static_cast< int >(result
));
4986 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
= 0;
4988 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4996 char * kwnames
[] = {
4997 (char *) "self",(char *) "x", NULL
5000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5005 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5007 if (!SWIG_IsOK(ecode2
)) {
5008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5010 arg2
= static_cast< int >(val2
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->SetFontUnderlined(arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_Py_Void();
5024 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5025 PyObject
*resultobj
= 0;
5026 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5030 PyObject
*swig_obj
[1] ;
5032 if (!args
) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5038 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (int)(arg1
)->GetFontFixed();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_From_int(static_cast< int >(result
));
5052 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
= 0;
5054 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5062 char * kwnames
[] = {
5063 (char *) "self",(char *) "x", NULL
5066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5068 if (!SWIG_IsOK(res1
)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5071 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5073 if (!SWIG_IsOK(ecode2
)) {
5074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5076 arg2
= static_cast< int >(val2
);
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->SetFontFixed(arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_Py_Void();
5090 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5091 PyObject
*resultobj
= 0;
5092 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5096 PyObject
*swig_obj
[1] ;
5098 if (!args
) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5104 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (int)(arg1
)->GetAlign();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_From_int(static_cast< int >(result
));
5118 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
= 0;
5120 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5128 char * kwnames
[] = {
5129 (char *) "self",(char *) "a", NULL
5132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5137 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5139 if (!SWIG_IsOK(ecode2
)) {
5140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5142 arg2
= static_cast< int >(val2
);
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 (arg1
)->SetAlign(arg2
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_Py_Void();
5156 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5162 PyObject
*swig_obj
[1] ;
5164 if (!args
) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5170 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (arg1
)->GetLinkColor();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5184 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
= 0;
5186 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5187 wxColour
*arg2
= 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5193 char * kwnames
[] = {
5194 (char *) "self",(char *) "clr", NULL
5197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5199 if (!SWIG_IsOK(res1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5202 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5205 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_Py_Void();
5220 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5221 PyObject
*resultobj
= 0;
5222 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5226 PyObject
*swig_obj
[1] ;
5228 if (!args
) SWIG_fail
;
5230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5231 if (!SWIG_IsOK(res1
)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5234 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (arg1
)->GetActualColor();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5248 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= 0;
5250 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5251 wxColour
*arg2
= 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "clr", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5266 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_Py_Void();
5284 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
= 0;
5286 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5287 wxString
*arg2
= 0 ;
5290 bool temp2
= false ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 char * kwnames
[] = {
5294 (char *) "self",(char *) "link", NULL
5297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5299 if (!SWIG_IsOK(res1
)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5302 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5304 arg2
= wxString_in_helper(obj1
);
5305 if (arg2
== NULL
) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 (arg1
)->SetLink((wxString
const &)*arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= SWIG_Py_Void();
5329 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5330 PyObject
*resultobj
= 0;
5331 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5332 wxFont
*result
= 0 ;
5335 PyObject
*swig_obj
[1] ;
5337 if (!args
) SWIG_fail
;
5339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5340 if (!SWIG_IsOK(res1
)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5343 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5357 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5358 PyObject
*resultobj
= 0;
5359 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5360 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5363 PyObject
*swig_obj
[1] ;
5365 if (!args
) SWIG_fail
;
5367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5368 if (!SWIG_IsOK(res1
)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5371 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (arg1
)->GetLink();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5385 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5388 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5389 return SWIG_Py_Void();
5392 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 return SWIG_Python_InitShadowInstance(args
);
5396 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 PyObject
*resultobj
= 0;
5398 wxPyHtmlTagHandler
*result
= 0 ;
5400 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5414 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
= 0;
5416 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5417 PyObject
*arg2
= (PyObject
*) 0 ;
5418 PyObject
*arg3
= (PyObject
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5422 PyObject
* obj1
= 0 ;
5423 PyObject
* obj2
= 0 ;
5424 char * kwnames
[] = {
5425 (char *) "self",(char *) "self",(char *) "_class", NULL
5428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5430 if (!SWIG_IsOK(res1
)) {
5431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5433 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= SWIG_Py_Void();
5449 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
= 0;
5451 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5452 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5459 char * kwnames
[] = {
5460 (char *) "self",(char *) "parser", NULL
5463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5465 if (!SWIG_IsOK(res1
)) {
5466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5468 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5470 if (!SWIG_IsOK(res2
)) {
5471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5473 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->SetParser(arg2
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_Py_Void();
5487 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5488 PyObject
*resultobj
= 0;
5489 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5490 wxHtmlParser
*result
= 0 ;
5493 PyObject
*swig_obj
[1] ;
5495 if (!args
) SWIG_fail
;
5497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5498 if (!SWIG_IsOK(res1
)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5501 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5515 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
= 0;
5517 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5518 wxHtmlTag
*arg2
= 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5525 char * kwnames
[] = {
5526 (char *) "self",(char *) "tag", NULL
5529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5534 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5536 if (!SWIG_IsOK(res2
)) {
5537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5542 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_Py_Void();
5556 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5559 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5560 return SWIG_Py_Void();
5563 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5564 return SWIG_Python_InitShadowInstance(args
);
5567 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5568 PyObject
*resultobj
= 0;
5569 wxPyHtmlWinTagHandler
*result
= 0 ;
5571 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5585 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
= 0;
5587 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5588 PyObject
*arg2
= (PyObject
*) 0 ;
5589 PyObject
*arg3
= (PyObject
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 PyObject
* obj2
= 0 ;
5595 char * kwnames
[] = {
5596 (char *) "self",(char *) "self",(char *) "_class", NULL
5599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5601 if (!SWIG_IsOK(res1
)) {
5602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5604 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_Py_Void();
5620 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
= 0;
5622 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5623 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5630 char * kwnames
[] = {
5631 (char *) "self",(char *) "parser", NULL
5634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5636 if (!SWIG_IsOK(res1
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5639 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5641 if (!SWIG_IsOK(res2
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5644 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 (arg1
)->SetParser(arg2
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= SWIG_Py_Void();
5658 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5659 PyObject
*resultobj
= 0;
5660 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5661 wxHtmlWinParser
*result
= 0 ;
5664 PyObject
*swig_obj
[1] ;
5666 if (!args
) SWIG_fail
;
5668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5669 if (!SWIG_IsOK(res1
)) {
5670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5672 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5686 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
= 0;
5688 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5689 wxHtmlTag
*arg2
= 0 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "tag", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5705 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5707 if (!SWIG_IsOK(res2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5713 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= SWIG_Py_Void();
5727 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5730 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5731 return SWIG_Py_Void();
5734 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5735 return SWIG_Python_InitShadowInstance(args
);
5738 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
= 0;
5740 PyObject
*arg1
= (PyObject
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 char * kwnames
[] = {
5743 (char *) "tagHandlerClass", NULL
5746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 wxHtmlWinParser_AddTagHandler(arg1
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= SWIG_Py_Void();
5761 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5762 PyObject
*resultobj
= 0;
5763 wxHtmlSelection
*result
= 0 ;
5765 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5779 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5780 PyObject
*resultobj
= 0;
5781 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5784 PyObject
*swig_obj
[1] ;
5786 if (!args
) SWIG_fail
;
5788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5789 if (!SWIG_IsOK(res1
)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5792 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_Py_Void();
5807 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
= 0;
5809 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5811 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5813 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5824 PyObject
* obj2
= 0 ;
5825 PyObject
* obj3
= 0 ;
5826 PyObject
* obj4
= 0 ;
5827 char * kwnames
[] = {
5828 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5833 if (!SWIG_IsOK(res1
)) {
5834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5836 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5841 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5842 if (!SWIG_IsOK(res3
)) {
5843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5845 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5848 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5850 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5851 if (!SWIG_IsOK(res5
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5854 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= SWIG_Py_Void();
5868 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
= 0;
5870 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5871 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5872 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 PyObject
* obj2
= 0 ;
5882 char * kwnames
[] = {
5883 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5891 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5893 if (!SWIG_IsOK(res2
)) {
5894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5896 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5897 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5898 if (!SWIG_IsOK(res3
)) {
5899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5901 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_Py_Void();
5915 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5916 PyObject
*resultobj
= 0;
5917 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5918 wxHtmlCell
*result
= 0 ;
5921 PyObject
*swig_obj
[1] ;
5923 if (!args
) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5929 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= wxPyMake_wxObject(result
, 0);
5945 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5946 PyObject
*resultobj
= 0;
5947 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5948 wxHtmlCell
*result
= 0 ;
5951 PyObject
*swig_obj
[1] ;
5953 if (!args
) SWIG_fail
;
5955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5956 if (!SWIG_IsOK(res1
)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5959 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= wxPyMake_wxObject(result
, 0);
5975 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5976 PyObject
*resultobj
= 0;
5977 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5978 wxPoint
*result
= 0 ;
5981 PyObject
*swig_obj
[1] ;
5983 if (!args
) SWIG_fail
;
5985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5986 if (!SWIG_IsOK(res1
)) {
5987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5989 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5994 result
= (wxPoint
*) &_result_ref
;
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6006 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6007 PyObject
*resultobj
= 0;
6008 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6009 wxPoint
*result
= 0 ;
6012 PyObject
*swig_obj
[1] ;
6014 if (!args
) SWIG_fail
;
6016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6017 if (!SWIG_IsOK(res1
)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6020 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6025 result
= (wxPoint
*) &_result_ref
;
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6037 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6038 PyObject
*resultobj
= 0;
6039 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6040 wxPoint
*result
= 0 ;
6043 PyObject
*swig_obj
[1] ;
6045 if (!args
) SWIG_fail
;
6047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6048 if (!SWIG_IsOK(res1
)) {
6049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6051 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6056 result
= (wxPoint
*) &_result_ref
;
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6068 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6069 PyObject
*resultobj
= 0;
6070 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6071 wxPoint
*result
= 0 ;
6074 PyObject
*swig_obj
[1] ;
6076 if (!args
) SWIG_fail
;
6078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6079 if (!SWIG_IsOK(res1
)) {
6080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6082 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6087 result
= (wxPoint
*) &_result_ref
;
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6099 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
= 0;
6101 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 char * kwnames
[] = {
6109 (char *) "self",(char *) "pos", NULL
6112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6117 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_Py_Void();
6135 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
= 0;
6137 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 char * kwnames
[] = {
6145 (char *) "self",(char *) "pos", NULL
6148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6150 if (!SWIG_IsOK(res1
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6153 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= SWIG_Py_Void();
6171 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6172 PyObject
*resultobj
= 0;
6173 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6176 PyObject
*swig_obj
[1] ;
6178 if (!args
) SWIG_fail
;
6180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6181 if (!SWIG_IsOK(res1
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6184 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 (arg1
)->ClearPrivPos();
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_Py_Void();
6198 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6199 PyObject
*resultobj
= 0;
6200 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6204 PyObject
*swig_obj
[1] ;
6206 if (!args
) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6212 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6226 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6229 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6230 return SWIG_Py_Void();
6233 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 return SWIG_Python_InitShadowInstance(args
);
6237 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6238 PyObject
*resultobj
= 0;
6239 wxHtmlRenderingState
*result
= 0 ;
6241 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6255 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6256 PyObject
*resultobj
= 0;
6257 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6260 PyObject
*swig_obj
[1] ;
6262 if (!args
) SWIG_fail
;
6264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6265 if (!SWIG_IsOK(res1
)) {
6266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6268 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_Py_Void();
6283 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
= 0;
6285 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6286 wxHtmlSelectionState arg2
;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 char * kwnames
[] = {
6294 (char *) "self",(char *) "s", NULL
6297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6299 if (!SWIG_IsOK(res1
)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6302 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6304 if (!SWIG_IsOK(ecode2
)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6307 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 (arg1
)->SetSelectionState(arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_Py_Void();
6321 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6322 PyObject
*resultobj
= 0;
6323 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6324 wxHtmlSelectionState result
;
6327 PyObject
*swig_obj
[1] ;
6329 if (!args
) SWIG_fail
;
6331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6332 if (!SWIG_IsOK(res1
)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6335 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_From_int(static_cast< int >(result
));
6349 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
= 0;
6351 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6352 wxColour
*arg2
= 0 ;
6356 PyObject
* obj0
= 0 ;
6357 PyObject
* obj1
= 0 ;
6358 char * kwnames
[] = {
6359 (char *) "self",(char *) "c", NULL
6362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6364 if (!SWIG_IsOK(res1
)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6367 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_Py_Void();
6385 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6386 PyObject
*resultobj
= 0;
6387 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6388 wxColour
*result
= 0 ;
6391 PyObject
*swig_obj
[1] ;
6393 if (!args
) SWIG_fail
;
6395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6396 if (!SWIG_IsOK(res1
)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6399 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6404 result
= (wxColour
*) &_result_ref
;
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6416 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
= 0;
6418 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6419 wxColour
*arg2
= 0 ;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6425 char * kwnames
[] = {
6426 (char *) "self",(char *) "c", NULL
6429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6431 if (!SWIG_IsOK(res1
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6434 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_Py_Void();
6452 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6453 PyObject
*resultobj
= 0;
6454 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6455 wxColour
*result
= 0 ;
6458 PyObject
*swig_obj
[1] ;
6460 if (!args
) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6466 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6471 result
= (wxColour
*) &_result_ref
;
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6483 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6486 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6487 return SWIG_Py_Void();
6490 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6491 return SWIG_Python_InitShadowInstance(args
);
6494 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
= 0;
6496 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6497 wxColour
*arg2
= 0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6504 char * kwnames
[] = {
6505 (char *) "self",(char *) "clr", NULL
6508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6513 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6516 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6531 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
= 0;
6533 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6534 wxColour
*arg2
= 0 ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6541 char * kwnames
[] = {
6542 (char *) "self",(char *) "clr", NULL
6545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6550 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6568 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6571 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6572 return SWIG_Py_Void();
6575 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6578 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6579 return SWIG_Py_Void();
6582 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6583 PyObject
*resultobj
= 0;
6584 wxHtmlRenderingInfo
*result
= 0 ;
6586 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6600 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6601 PyObject
*resultobj
= 0;
6602 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6605 PyObject
*swig_obj
[1] ;
6607 if (!args
) SWIG_fail
;
6609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6610 if (!SWIG_IsOK(res1
)) {
6611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6613 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_Py_Void();
6628 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
= 0;
6630 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6631 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6636 PyObject
* obj0
= 0 ;
6637 PyObject
* obj1
= 0 ;
6638 char * kwnames
[] = {
6639 (char *) "self",(char *) "s", NULL
6642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6644 if (!SWIG_IsOK(res1
)) {
6645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6647 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6649 if (!SWIG_IsOK(res2
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6652 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 (arg1
)->SetSelection(arg2
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= SWIG_Py_Void();
6666 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6667 PyObject
*resultobj
= 0;
6668 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6669 wxHtmlSelection
*result
= 0 ;
6672 PyObject
*swig_obj
[1] ;
6674 if (!args
) SWIG_fail
;
6676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6677 if (!SWIG_IsOK(res1
)) {
6678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6680 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6694 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
= 0;
6696 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6697 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6703 PyObject
* obj1
= 0 ;
6704 char * kwnames
[] = {
6705 (char *) "self",(char *) "style", NULL
6708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6710 if (!SWIG_IsOK(res1
)) {
6711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6713 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6715 if (!SWIG_IsOK(res2
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6718 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 (arg1
)->SetStyle(arg2
);
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_Py_Void();
6732 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6733 PyObject
*resultobj
= 0;
6734 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6735 wxHtmlRenderingStyle
*result
= 0 ;
6738 PyObject
*swig_obj
[1] ;
6740 if (!args
) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6746 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6751 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6763 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6764 PyObject
*resultobj
= 0;
6765 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6766 wxHtmlRenderingState
*result
= 0 ;
6769 PyObject
*swig_obj
[1] ;
6771 if (!args
) SWIG_fail
;
6773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6774 if (!SWIG_IsOK(res1
)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6777 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6782 result
= (wxHtmlRenderingState
*) &_result_ref
;
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6794 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6797 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6798 return SWIG_Py_Void();
6801 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6802 return SWIG_Python_InitShadowInstance(args
);
6805 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6806 PyObject
*resultobj
= 0;
6807 wxHtmlCell
*result
= 0 ;
6809 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (wxHtmlCell
*)new wxHtmlCell();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6823 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6824 PyObject
*resultobj
= 0;
6825 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6828 PyObject
*swig_obj
[1] ;
6830 if (!args
) SWIG_fail
;
6832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6833 if (!SWIG_IsOK(res1
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6836 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_Py_Void();
6851 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6852 PyObject
*resultobj
= 0;
6853 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6857 PyObject
*swig_obj
[1] ;
6859 if (!args
) SWIG_fail
;
6861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6862 if (!SWIG_IsOK(res1
)) {
6863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6865 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (int)(arg1
)->GetPosX();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_From_int(static_cast< int >(result
));
6879 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6880 PyObject
*resultobj
= 0;
6881 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6885 PyObject
*swig_obj
[1] ;
6887 if (!args
) SWIG_fail
;
6889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6890 if (!SWIG_IsOK(res1
)) {
6891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6893 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (int)(arg1
)->GetPosY();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_From_int(static_cast< int >(result
));
6907 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6908 PyObject
*resultobj
= 0;
6909 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6913 PyObject
*swig_obj
[1] ;
6915 if (!args
) SWIG_fail
;
6917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6918 if (!SWIG_IsOK(res1
)) {
6919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6921 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (int)(arg1
)->GetWidth();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_From_int(static_cast< int >(result
));
6935 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6936 PyObject
*resultobj
= 0;
6937 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6941 PyObject
*swig_obj
[1] ;
6943 if (!args
) SWIG_fail
;
6945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6946 if (!SWIG_IsOK(res1
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6949 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (int)(arg1
)->GetHeight();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_From_int(static_cast< int >(result
));
6963 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6964 PyObject
*resultobj
= 0;
6965 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6969 PyObject
*swig_obj
[1] ;
6971 if (!args
) SWIG_fail
;
6973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6974 if (!SWIG_IsOK(res1
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6977 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (int)(arg1
)->GetDescent();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_From_int(static_cast< int >(result
));
6991 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6992 PyObject
*resultobj
= 0;
6993 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6997 PyObject
*swig_obj
[1] ;
6999 if (!args
) SWIG_fail
;
7001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7002 if (!SWIG_IsOK(res1
)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7005 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_From_int(static_cast< int >(result
));
7019 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7020 PyObject
*resultobj
= 0;
7021 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7022 wxString
*result
= 0 ;
7025 PyObject
*swig_obj
[1] ;
7027 if (!args
) SWIG_fail
;
7029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7030 if (!SWIG_IsOK(res1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7033 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7038 result
= (wxString
*) &_result_ref
;
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7047 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7056 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
= 0;
7058 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7059 wxString
*arg2
= 0 ;
7062 bool temp2
= false ;
7063 PyObject
* obj0
= 0 ;
7064 PyObject
* obj1
= 0 ;
7065 char * kwnames
[] = {
7066 (char *) "self",(char *) "id", NULL
7069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7071 if (!SWIG_IsOK(res1
)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7074 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7076 arg2
= wxString_in_helper(obj1
);
7077 if (arg2
== NULL
) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 (arg1
)->SetId((wxString
const &)*arg2
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= SWIG_Py_Void();
7101 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
= 0;
7103 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7104 int arg2
= (int) 0 ;
7105 int arg3
= (int) 0 ;
7106 wxHtmlLinkInfo
*result
= 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 PyObject
* obj2
= 0 ;
7116 char * kwnames
[] = {
7117 (char *) "self",(char *) "x",(char *) "y", NULL
7120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7125 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7128 if (!SWIG_IsOK(ecode2
)) {
7129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7131 arg2
= static_cast< int >(val2
);
7134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7135 if (!SWIG_IsOK(ecode3
)) {
7136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7138 arg3
= static_cast< int >(val3
);
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7153 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7154 PyObject
*resultobj
= 0;
7155 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7156 wxHtmlCell
*result
= 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_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7167 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= wxPyMake_wxObject(result
, 0);
7183 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7184 PyObject
*resultobj
= 0;
7185 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7186 wxHtmlContainerCell
*result
= 0 ;
7189 PyObject
*swig_obj
[1] ;
7191 if (!args
) SWIG_fail
;
7193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7194 if (!SWIG_IsOK(res1
)) {
7195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7197 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7211 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7212 PyObject
*resultobj
= 0;
7213 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7214 wxHtmlCell
*result
= 0 ;
7217 PyObject
*swig_obj
[1] ;
7219 if (!args
) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7225 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= wxPyMake_wxObject(result
, 0);
7241 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
= 0;
7243 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7244 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7252 char * kwnames
[] = {
7253 (char *) "self",(char *) "window", NULL
7256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7258 if (!SWIG_IsOK(res1
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7261 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7263 if (!SWIG_IsOK(res2
)) {
7264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7266 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7280 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7281 PyObject
*resultobj
= 0;
7282 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7286 PyObject
*swig_obj
[1] ;
7288 if (!args
) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7294 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7308 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7309 PyObject
*resultobj
= 0;
7310 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7322 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7338 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7341 wxHtmlLinkInfo
*arg2
= 0 ;
7346 PyObject
* obj0
= 0 ;
7347 PyObject
* obj1
= 0 ;
7348 char * kwnames
[] = {
7349 (char *) "self",(char *) "link", NULL
7352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7357 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7359 if (!SWIG_IsOK(res2
)) {
7360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7365 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_Py_Void();
7379 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
= 0;
7381 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7382 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 char * kwnames
[] = {
7388 (char *) "self",(char *) "cell", NULL
7391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7396 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7397 if (!SWIG_IsOK(res2
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 (arg1
)->SetNext(arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= SWIG_Py_Void();
7413 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
= 0;
7415 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7416 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj1
= 0 ;
7423 char * kwnames
[] = {
7424 (char *) "self",(char *) "p", NULL
7427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7432 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7434 if (!SWIG_IsOK(res2
)) {
7435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7437 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 (arg1
)->SetParent(arg2
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= SWIG_Py_Void();
7451 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
= 0;
7453 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7463 PyObject
* obj1
= 0 ;
7464 PyObject
* obj2
= 0 ;
7465 char * kwnames
[] = {
7466 (char *) "self",(char *) "x",(char *) "y", NULL
7469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7474 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7476 if (!SWIG_IsOK(ecode2
)) {
7477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7479 arg2
= static_cast< int >(val2
);
7480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7481 if (!SWIG_IsOK(ecode3
)) {
7482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7484 arg3
= static_cast< int >(val3
);
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->SetPos(arg2
,arg3
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_Py_Void();
7498 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
= 0;
7500 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7508 char * kwnames
[] = {
7509 (char *) "self",(char *) "w", NULL
7512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7514 if (!SWIG_IsOK(res1
)) {
7515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7517 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7519 if (!SWIG_IsOK(ecode2
)) {
7520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7522 arg2
= static_cast< int >(val2
);
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 (arg1
)->Layout(arg2
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_Py_Void();
7536 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
= 0;
7538 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7544 wxHtmlRenderingInfo
*arg7
= 0 ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7562 PyObject
* obj3
= 0 ;
7563 PyObject
* obj4
= 0 ;
7564 PyObject
* obj5
= 0 ;
7565 PyObject
* obj6
= 0 ;
7566 char * kwnames
[] = {
7567 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7572 if (!SWIG_IsOK(res1
)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7575 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7577 if (!SWIG_IsOK(res2
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7583 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7585 if (!SWIG_IsOK(ecode3
)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7588 arg3
= static_cast< int >(val3
);
7589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7590 if (!SWIG_IsOK(ecode4
)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7593 arg4
= static_cast< int >(val4
);
7594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7595 if (!SWIG_IsOK(ecode5
)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7598 arg5
= static_cast< int >(val5
);
7599 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7600 if (!SWIG_IsOK(ecode6
)) {
7601 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7603 arg6
= static_cast< int >(val6
);
7604 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7605 if (!SWIG_IsOK(res7
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7611 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_Py_Void();
7625 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
= 0;
7627 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7631 wxHtmlRenderingInfo
*arg5
= 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 PyObject
* obj2
= 0 ;
7645 PyObject
* obj3
= 0 ;
7646 PyObject
* obj4
= 0 ;
7647 char * kwnames
[] = {
7648 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7653 if (!SWIG_IsOK(res1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7656 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7658 if (!SWIG_IsOK(res2
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7664 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7666 if (!SWIG_IsOK(ecode3
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7669 arg3
= static_cast< int >(val3
);
7670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7671 if (!SWIG_IsOK(ecode4
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7674 arg4
= static_cast< int >(val4
);
7675 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7676 if (!SWIG_IsOK(res5
)) {
7677 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7682 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_Py_Void();
7696 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= 0;
7698 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7700 void *arg3
= (void *) 0 ;
7701 wxHtmlCell
*result
= 0 ;
7707 PyObject
* obj0
= 0 ;
7708 PyObject
* obj1
= 0 ;
7709 PyObject
* obj2
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "condition",(char *) "param", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7719 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7721 if (!SWIG_IsOK(ecode2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7724 arg2
= static_cast< int >(val2
);
7725 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7726 if (!SWIG_IsOK(res3
)) {
7727 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= wxPyMake_wxObject(result
, 0);
7744 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
= 0;
7746 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7747 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7749 wxMouseEvent
*arg4
= 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7771 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7773 if (!SWIG_IsOK(res2
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7776 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7781 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7782 if (!SWIG_IsOK(res4
)) {
7783 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7788 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7804 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7814 char * kwnames
[] = {
7815 (char *) "self",(char *) "can", NULL
7818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7820 if (!SWIG_IsOK(res1
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7823 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7824 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7825 if (!SWIG_IsOK(ecode2
)) {
7826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7828 arg2
= static_cast< bool >(val2
);
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_Py_Void();
7842 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7843 PyObject
*resultobj
= 0;
7844 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7848 PyObject
*swig_obj
[1] ;
7850 if (!args
) SWIG_fail
;
7852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7853 if (!SWIG_IsOK(res1
)) {
7854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7856 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7872 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7873 PyObject
*resultobj
= 0;
7874 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7878 PyObject
*swig_obj
[1] ;
7880 if (!args
) SWIG_fail
;
7882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7883 if (!SWIG_IsOK(res1
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7886 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7902 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
= 0;
7904 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7907 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7908 wxHtmlCell
*result
= 0 ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7919 PyObject
* obj2
= 0 ;
7920 PyObject
* obj3
= 0 ;
7921 char * kwnames
[] = {
7922 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7930 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7932 if (!SWIG_IsOK(ecode2
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7935 arg2
= static_cast< int >(val2
);
7936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7937 if (!SWIG_IsOK(ecode3
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7940 arg3
= static_cast< int >(val3
);
7942 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7943 if (!SWIG_IsOK(ecode4
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7946 arg4
= static_cast< unsigned int >(val4
);
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= wxPyMake_wxObject(result
, 0);
7963 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
= 0;
7965 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7966 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7974 char * kwnames
[] = {
7975 (char *) "self",(char *) "rootCell", NULL
7978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7983 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7986 if (!SWIG_IsOK(res2
)) {
7987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7989 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8004 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 PyObject
*resultobj
= 0;
8006 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8007 wxHtmlCell
*result
= 0 ;
8010 PyObject
*swig_obj
[1] ;
8012 if (!args
) SWIG_fail
;
8014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8015 if (!SWIG_IsOK(res1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8018 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= wxPyMake_wxObject(result
, 0);
8034 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8035 PyObject
*resultobj
= 0;
8036 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8037 wxHtmlCell
*result
= 0 ;
8040 PyObject
*swig_obj
[1] ;
8042 if (!args
) SWIG_fail
;
8044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8045 if (!SWIG_IsOK(res1
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8048 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= wxPyMake_wxObject(result
, 0);
8064 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8065 PyObject
*resultobj
= 0;
8066 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8067 wxHtmlCell
*result
= 0 ;
8070 PyObject
*swig_obj
[1] ;
8072 if (!args
) SWIG_fail
;
8074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8075 if (!SWIG_IsOK(res1
)) {
8076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8078 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= wxPyMake_wxObject(result
, 0);
8094 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8095 PyObject
*resultobj
= 0;
8096 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8097 unsigned int result
;
8100 PyObject
*swig_obj
[1] ;
8102 if (!args
) SWIG_fail
;
8104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8105 if (!SWIG_IsOK(res1
)) {
8106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8108 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8122 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
= 0;
8124 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8125 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8132 PyObject
* obj1
= 0 ;
8133 char * kwnames
[] = {
8134 (char *) "self",(char *) "cell", NULL
8137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8139 if (!SWIG_IsOK(res1
)) {
8140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8142 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8144 if (!SWIG_IsOK(res2
)) {
8145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8147 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8163 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
= 0;
8165 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8166 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 char * kwnames
[] = {
8175 (char *) "self",(char *) "sel", NULL
8178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8180 if (!SWIG_IsOK(res1
)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8183 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8185 if (!SWIG_IsOK(res2
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8188 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8208 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8211 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8212 return SWIG_Py_Void();
8215 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8216 return SWIG_Python_InitShadowInstance(args
);
8219 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= 0;
8221 wxString
*arg1
= 0 ;
8223 wxHtmlWordCell
*result
= 0 ;
8224 bool temp1
= false ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8229 char * kwnames
[] = {
8230 (char *) "word",(char *) "dc", NULL
8233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8235 arg1
= wxString_in_helper(obj0
);
8236 if (arg1
== NULL
) SWIG_fail
;
8239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8240 if (!SWIG_IsOK(res2
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8246 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8268 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
= 0;
8270 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8271 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 char * kwnames
[] = {
8280 (char *) "self",(char *) "sel", NULL
8283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8285 if (!SWIG_IsOK(res1
)) {
8286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8288 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8290 if (!SWIG_IsOK(res2
)) {
8291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8293 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8313 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8314 PyObject
*resultobj
= 0;
8315 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8319 PyObject
*swig_obj
[1] ;
8321 if (!args
) SWIG_fail
;
8323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8324 if (!SWIG_IsOK(res1
)) {
8325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8327 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8343 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8346 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 char * kwnames
[] = {
8354 (char *) "self",(char *) "cell", NULL
8357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8359 if (!SWIG_IsOK(res1
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8362 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8364 if (!SWIG_IsOK(res2
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8367 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetPreviousWord(arg2
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_Py_Void();
8381 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8384 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8385 return SWIG_Py_Void();
8388 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8389 return SWIG_Python_InitShadowInstance(args
);
8392 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
= 0;
8394 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8395 wxHtmlContainerCell
*result
= 0 ;
8398 PyObject
* obj0
= 0 ;
8399 char * kwnames
[] = {
8400 (char *) "parent", NULL
8403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8408 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8422 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= 0;
8424 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8425 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8431 char * kwnames
[] = {
8432 (char *) "self",(char *) "cell", NULL
8435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8437 if (!SWIG_IsOK(res1
)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8440 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8441 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8442 if (!SWIG_IsOK(res2
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 (arg1
)->InsertCell(arg2
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_Py_Void();
8458 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
= 0;
8460 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 char * kwnames
[] = {
8469 (char *) "self",(char *) "al", NULL
8472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8474 if (!SWIG_IsOK(res1
)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8477 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8479 if (!SWIG_IsOK(ecode2
)) {
8480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8482 arg2
= static_cast< int >(val2
);
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 (arg1
)->SetAlignHor(arg2
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_Py_Void();
8496 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8497 PyObject
*resultobj
= 0;
8498 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8502 PyObject
*swig_obj
[1] ;
8504 if (!args
) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8510 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (int)(arg1
)->GetAlignHor();
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_From_int(static_cast< int >(result
));
8524 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
= 0;
8526 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 char * kwnames
[] = {
8535 (char *) "self",(char *) "al", NULL
8538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8540 if (!SWIG_IsOK(res1
)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8543 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8545 if (!SWIG_IsOK(ecode2
)) {
8546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8548 arg2
= static_cast< int >(val2
);
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 (arg1
)->SetAlignVer(arg2
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_Py_Void();
8562 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8563 PyObject
*resultobj
= 0;
8564 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8568 PyObject
*swig_obj
[1] ;
8570 if (!args
) SWIG_fail
;
8572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8573 if (!SWIG_IsOK(res1
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8576 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (int)(arg1
)->GetAlignVer();
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_From_int(static_cast< int >(result
));
8590 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
= 0;
8592 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8595 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 PyObject
* obj2
= 0 ;
8607 PyObject
* obj3
= 0 ;
8608 char * kwnames
[] = {
8609 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8617 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8619 if (!SWIG_IsOK(ecode2
)) {
8620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8622 arg2
= static_cast< int >(val2
);
8623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8624 if (!SWIG_IsOK(ecode3
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8627 arg3
= static_cast< int >(val3
);
8629 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8630 if (!SWIG_IsOK(ecode4
)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8633 arg4
= static_cast< int >(val4
);
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_Py_Void();
8648 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
= 0;
8650 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 char * kwnames
[] = {
8660 (char *) "self",(char *) "ind", NULL
8663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8665 if (!SWIG_IsOK(res1
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8668 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8670 if (!SWIG_IsOK(ecode2
)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8673 arg2
= static_cast< int >(val2
);
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (int)(arg1
)->GetIndent(arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_From_int(static_cast< int >(result
));
8687 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8698 char * kwnames
[] = {
8699 (char *) "self",(char *) "ind", NULL
8702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8704 if (!SWIG_IsOK(res1
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8707 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8709 if (!SWIG_IsOK(ecode2
)) {
8710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8712 arg2
= static_cast< int >(val2
);
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= SWIG_From_int(static_cast< int >(result
));
8726 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
= 0;
8728 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8729 wxHtmlTag
*arg2
= 0 ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 char * kwnames
[] = {
8737 (char *) "self",(char *) "tag", NULL
8740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8742 if (!SWIG_IsOK(res1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8745 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8747 if (!SWIG_IsOK(res2
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8753 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_Py_Void();
8767 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= 0;
8769 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8780 PyObject
* obj2
= 0 ;
8781 char * kwnames
[] = {
8782 (char *) "self",(char *) "w",(char *) "units", NULL
8785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8787 if (!SWIG_IsOK(res1
)) {
8788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8790 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8792 if (!SWIG_IsOK(ecode2
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8795 arg2
= static_cast< int >(val2
);
8796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8797 if (!SWIG_IsOK(ecode3
)) {
8798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8800 arg3
= static_cast< int >(val3
);
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 (arg1
)->SetWidthFloat(arg2
,arg3
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= SWIG_Py_Void();
8814 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
= 0;
8816 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8817 wxHtmlTag
*arg2
= 0 ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "self",(char *) "tag", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8833 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8835 if (!SWIG_IsOK(res2
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8841 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= SWIG_Py_Void();
8855 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
= 0;
8857 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8859 int arg3
= (int) wxHTML_ALIGN_TOP
;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 PyObject
* obj2
= 0 ;
8869 char * kwnames
[] = {
8870 (char *) "self",(char *) "h",(char *) "align", NULL
8873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8875 if (!SWIG_IsOK(res1
)) {
8876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8878 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8880 if (!SWIG_IsOK(ecode2
)) {
8881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8883 arg2
= static_cast< int >(val2
);
8885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8886 if (!SWIG_IsOK(ecode3
)) {
8887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8889 arg3
= static_cast< int >(val3
);
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 (arg1
)->SetMinHeight(arg2
,arg3
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_Py_Void();
8904 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
= 0;
8906 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8907 wxColour
*arg2
= 0 ;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 char * kwnames
[] = {
8914 (char *) "self",(char *) "clr", NULL
8917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8919 if (!SWIG_IsOK(res1
)) {
8920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8922 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8925 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= SWIG_Py_Void();
8940 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8941 PyObject
*resultobj
= 0;
8942 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8946 PyObject
*swig_obj
[1] ;
8948 if (!args
) SWIG_fail
;
8950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8951 if (!SWIG_IsOK(res1
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8954 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (arg1
)->GetBackgroundColour();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8968 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
= 0;
8970 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8971 wxColour
*arg2
= 0 ;
8972 wxColour
*arg3
= 0 ;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8979 PyObject
* obj2
= 0 ;
8980 char * kwnames
[] = {
8981 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
8984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8986 if (!SWIG_IsOK(res1
)) {
8987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8989 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8996 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_Py_Void();
9011 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9012 PyObject
*resultobj
= 0;
9013 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9014 wxHtmlCell
*result
= 0 ;
9017 PyObject
*swig_obj
[1] ;
9019 if (!args
) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9025 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= wxPyMake_wxObject(result
, 0);
9041 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9044 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9045 return SWIG_Py_Void();
9048 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9049 return SWIG_Python_InitShadowInstance(args
);
9052 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
= 0;
9054 wxColour
*arg1
= 0 ;
9055 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9056 wxHtmlColourCell
*result
= 0 ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 char * kwnames
[] = {
9063 (char *) "clr",(char *) "flags", NULL
9066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9069 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9073 if (!SWIG_IsOK(ecode2
)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9076 arg2
= static_cast< int >(val2
);
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9091 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9094 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9095 return SWIG_Py_Void();
9098 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9099 return SWIG_Python_InitShadowInstance(args
);
9102 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= 0;
9104 wxFont
*arg1
= (wxFont
*) 0 ;
9105 wxHtmlFontCell
*result
= 0 ;
9108 PyObject
* obj0
= 0 ;
9109 char * kwnames
[] = {
9110 (char *) "font", NULL
9113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9115 if (!SWIG_IsOK(res1
)) {
9116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9118 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9132 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9135 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9136 return SWIG_Py_Void();
9139 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9140 return SWIG_Python_InitShadowInstance(args
);
9143 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
= 0;
9145 wxWindow
*arg1
= (wxWindow
*) 0 ;
9146 int arg2
= (int) 0 ;
9147 wxHtmlWidgetCell
*result
= 0 ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9154 char * kwnames
[] = {
9155 (char *) "wnd",(char *) "w", NULL
9158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9160 if (!SWIG_IsOK(res1
)) {
9161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9166 if (!SWIG_IsOK(ecode2
)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9169 arg2
= static_cast< int >(val2
);
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9184 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9187 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9188 return SWIG_Py_Void();
9191 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9192 return SWIG_Python_InitShadowInstance(args
);
9195 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9196 PyObject
*resultobj
= 0;
9197 wxPyHtmlFilter
*result
= 0 ;
9199 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9213 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9216 PyObject
*arg2
= (PyObject
*) 0 ;
9217 PyObject
*arg3
= (PyObject
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 PyObject
* obj2
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "self",(char *) "self",(char *) "_class", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9229 if (!SWIG_IsOK(res1
)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9232 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_Py_Void();
9248 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9252 return SWIG_Py_Void();
9255 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 return SWIG_Python_InitShadowInstance(args
);
9259 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9260 PyObject
*resultobj
= 0;
9261 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9264 PyObject
*swig_obj
[1] ;
9266 if (!args
) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9272 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9287 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= 0;
9289 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9290 wxString
*arg2
= 0 ;
9293 bool temp2
= false ;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 char * kwnames
[] = {
9297 (char *) "self",(char *) "title", NULL
9300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9302 if (!SWIG_IsOK(res1
)) {
9303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9305 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9307 arg2
= wxString_in_helper(obj1
);
9308 if (arg2
== NULL
) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_Py_Void();
9332 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9335 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "cell",(char *) "pos", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9355 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9357 if (!SWIG_IsOK(res2
)) {
9358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9360 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9363 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9378 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9379 PyObject
*resultobj
= 0;
9380 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9381 wxWindow
*result
= 0 ;
9384 PyObject
*swig_obj
[1] ;
9386 if (!args
) SWIG_fail
;
9388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9389 if (!SWIG_IsOK(res1
)) {
9390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9392 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= wxPyMake_wxObject(result
, 0);
9408 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9409 PyObject
*resultobj
= 0;
9410 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9414 PyObject
*swig_obj
[1] ;
9416 if (!args
) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9422 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9436 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
= 0;
9438 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9439 wxColour
*arg2
= 0 ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 char * kwnames
[] = {
9446 (char *) "self",(char *) "clr", NULL
9449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9451 if (!SWIG_IsOK(res1
)) {
9452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9454 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_Py_Void();
9472 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
= 0;
9474 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9475 wxBitmap
*arg2
= 0 ;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9482 char * kwnames
[] = {
9483 (char *) "self",(char *) "bmpBg", NULL
9486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9488 if (!SWIG_IsOK(res1
)) {
9489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9491 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9493 if (!SWIG_IsOK(res2
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9499 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_Py_Void();
9513 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
= 0;
9515 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9516 wxString
*arg2
= 0 ;
9519 bool temp2
= false ;
9520 PyObject
* obj0
= 0 ;
9521 PyObject
* obj1
= 0 ;
9522 char * kwnames
[] = {
9523 (char *) "self",(char *) "text", NULL
9526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9528 if (!SWIG_IsOK(res1
)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9531 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9533 arg2
= wxString_in_helper(obj1
);
9534 if (arg2
== NULL
) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_Py_Void();
9558 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9561 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9562 return SWIG_Py_Void();
9565 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
= 0;
9567 wxWindow
*arg1
= (wxWindow
*) 0 ;
9568 int arg2
= (int) -1 ;
9569 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9570 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9571 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9572 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9573 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9574 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9575 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9576 wxPyHtmlWindow
*result
= 0 ;
9585 bool temp6
= false ;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9588 PyObject
* obj2
= 0 ;
9589 PyObject
* obj3
= 0 ;
9590 PyObject
* obj4
= 0 ;
9591 PyObject
* obj5
= 0 ;
9592 char * kwnames
[] = {
9593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9598 if (!SWIG_IsOK(res1
)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9604 if (!SWIG_IsOK(ecode2
)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9607 arg2
= static_cast< int >(val2
);
9612 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9618 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9623 if (!SWIG_IsOK(ecode5
)) {
9624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9626 arg5
= static_cast< int >(val5
);
9630 arg6
= wxString_in_helper(obj5
);
9631 if (arg6
== NULL
) SWIG_fail
;
9636 if (!wxPyCheckForApp()) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9657 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9658 PyObject
*resultobj
= 0;
9659 wxPyHtmlWindow
*result
= 0 ;
9661 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9663 if (!wxPyCheckForApp()) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9676 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
= 0;
9678 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9679 wxWindow
*arg2
= (wxWindow
*) 0 ;
9680 int arg3
= (int) -1 ;
9681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9685 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9686 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9687 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9699 bool temp7
= false ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9702 PyObject
* obj2
= 0 ;
9703 PyObject
* obj3
= 0 ;
9704 PyObject
* obj4
= 0 ;
9705 PyObject
* obj5
= 0 ;
9706 PyObject
* obj6
= 0 ;
9707 char * kwnames
[] = {
9708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9716 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9718 if (!SWIG_IsOK(res2
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9721 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9724 if (!SWIG_IsOK(ecode3
)) {
9725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9727 arg3
= static_cast< int >(val3
);
9732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9742 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9743 if (!SWIG_IsOK(ecode6
)) {
9744 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9746 arg6
= static_cast< int >(val6
);
9750 arg7
= wxString_in_helper(obj6
);
9751 if (arg7
== NULL
) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
= 0;
9780 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9781 PyObject
*arg2
= (PyObject
*) 0 ;
9782 PyObject
*arg3
= (PyObject
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 PyObject
* obj2
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "self",(char *) "self",(char *) "_class", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9797 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_Py_Void();
9813 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9816 wxString
*arg2
= 0 ;
9820 bool temp2
= false ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 char * kwnames
[] = {
9824 (char *) "self",(char *) "source", NULL
9827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9832 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9834 arg2
= wxString_in_helper(obj1
);
9835 if (arg2
== NULL
) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9861 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9864 wxString
*arg2
= 0 ;
9868 bool temp2
= false ;
9869 PyObject
* obj0
= 0 ;
9870 PyObject
* obj1
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "self",(char *) "location", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9880 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9882 arg2
= wxString_in_helper(obj1
);
9883 if (arg2
== NULL
) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9909 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9912 wxString
*arg2
= 0 ;
9916 bool temp2
= false ;
9917 PyObject
* obj0
= 0 ;
9918 PyObject
* obj1
= 0 ;
9919 char * kwnames
[] = {
9920 (char *) "self",(char *) "filename", NULL
9923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9928 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9930 arg2
= wxString_in_helper(obj1
);
9931 if (arg2
== NULL
) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9957 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9960 wxString
*arg2
= 0 ;
9964 bool temp2
= false ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9967 char * kwnames
[] = {
9968 (char *) "self",(char *) "source", NULL
9971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9976 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9978 arg2
= wxString_in_helper(obj1
);
9979 if (arg2
== NULL
) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10005 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10006 PyObject
*resultobj
= 0;
10007 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10011 PyObject
*swig_obj
[1] ;
10013 if (!args
) SWIG_fail
;
10014 swig_obj
[0] = args
;
10015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10016 if (!SWIG_IsOK(res1
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10019 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (arg1
)->GetOpenedPage();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10039 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10040 PyObject
*resultobj
= 0;
10041 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10045 PyObject
*swig_obj
[1] ;
10047 if (!args
) SWIG_fail
;
10048 swig_obj
[0] = args
;
10049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10050 if (!SWIG_IsOK(res1
)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10053 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (arg1
)->GetOpenedAnchor();
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10073 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10074 PyObject
*resultobj
= 0;
10075 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10079 PyObject
*swig_obj
[1] ;
10081 if (!args
) SWIG_fail
;
10082 swig_obj
[0] = args
;
10083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10084 if (!SWIG_IsOK(res1
)) {
10085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10087 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (arg1
)->GetOpenedPageTitle();
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10107 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
= 0;
10109 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10110 wxFrame
*arg2
= (wxFrame
*) 0 ;
10111 wxString
*arg3
= 0 ;
10116 bool temp3
= false ;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 PyObject
* obj2
= 0 ;
10120 char * kwnames
[] = {
10121 (char *) "self",(char *) "frame",(char *) "format", NULL
10124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10129 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10131 if (!SWIG_IsOK(res2
)) {
10132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10134 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10136 arg3
= wxString_in_helper(obj2
);
10137 if (arg3
== NULL
) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_Py_Void();
10161 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10162 PyObject
*resultobj
= 0;
10163 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10164 wxFrame
*result
= 0 ;
10167 PyObject
*swig_obj
[1] ;
10169 if (!args
) SWIG_fail
;
10170 swig_obj
[0] = args
;
10171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10172 if (!SWIG_IsOK(res1
)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10175 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= wxPyMake_wxObject(result
, 0);
10191 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
= 0;
10193 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 PyObject
* obj1
= 0 ;
10201 char * kwnames
[] = {
10202 (char *) "self",(char *) "bar", NULL
10205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10207 if (!SWIG_IsOK(res1
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10210 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10212 if (!SWIG_IsOK(ecode2
)) {
10213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10215 arg2
= static_cast< int >(val2
);
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->SetRelatedStatusBar(arg2
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_Py_Void();
10229 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
= 0;
10231 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10234 PyObject
*arg4
= (PyObject
*) NULL
;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 PyObject
* obj3
= 0 ;
10241 char * kwnames
[] = {
10242 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10247 if (!SWIG_IsOK(res1
)) {
10248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10250 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10252 wxString
* sptr
= wxString_in_helper(obj1
);
10253 if (sptr
== NULL
) SWIG_fail
;
10258 wxString
* sptr
= wxString_in_helper(obj2
);
10259 if (sptr
== NULL
) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_Py_Void();
10279 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10282 int arg2
= (int) -1 ;
10283 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10284 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10285 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10286 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10291 bool temp3
= false ;
10292 bool temp4
= false ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 PyObject
* obj2
= 0 ;
10296 PyObject
* obj3
= 0 ;
10297 char * kwnames
[] = {
10298 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10303 if (!SWIG_IsOK(res1
)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10306 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10309 if (!SWIG_IsOK(ecode2
)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10312 arg2
= static_cast< int >(val2
);
10316 arg3
= wxString_in_helper(obj2
);
10317 if (arg3
== NULL
) SWIG_fail
;
10323 arg4
= wxString_in_helper(obj3
);
10324 if (arg4
== NULL
) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_Py_Void();
10357 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
= 0;
10359 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "self",(char *) "b", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10376 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10378 if (!SWIG_IsOK(ecode2
)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10381 arg2
= static_cast< int >(val2
);
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetBorders(arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_Py_Void();
10395 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
= 0;
10397 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10398 wxBitmap
*arg2
= 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "self",(char *) "bmpBg", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10411 if (!SWIG_IsOK(res1
)) {
10412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10414 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10416 if (!SWIG_IsOK(res2
)) {
10417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10422 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= SWIG_Py_Void();
10436 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
= 0;
10438 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10439 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10440 wxString arg3
= (wxString
) wxPyEmptyString
;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 char * kwnames
[] = {
10449 (char *) "self",(char *) "cfg",(char *) "path", NULL
10452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10454 if (!SWIG_IsOK(res1
)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10457 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10459 if (!SWIG_IsOK(res2
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10462 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10465 wxString
* sptr
= wxString_in_helper(obj2
);
10466 if (sptr
== NULL
) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->ReadCustomization(arg2
,arg3
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_Py_Void();
10484 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10487 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10488 wxString arg3
= (wxString
) wxPyEmptyString
;
10493 PyObject
* obj0
= 0 ;
10494 PyObject
* obj1
= 0 ;
10495 PyObject
* obj2
= 0 ;
10496 char * kwnames
[] = {
10497 (char *) "self",(char *) "cfg",(char *) "path", NULL
10500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10505 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10507 if (!SWIG_IsOK(res2
)) {
10508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10510 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10513 wxString
* sptr
= wxString_in_helper(obj2
);
10514 if (sptr
== NULL
) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->WriteCustomization(arg2
,arg3
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= SWIG_Py_Void();
10532 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10533 PyObject
*resultobj
= 0;
10534 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10538 PyObject
*swig_obj
[1] ;
10540 if (!args
) SWIG_fail
;
10541 swig_obj
[0] = args
;
10542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10543 if (!SWIG_IsOK(res1
)) {
10544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10546 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (bool)(arg1
)->HistoryBack();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10562 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10563 PyObject
*resultobj
= 0;
10564 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10568 PyObject
*swig_obj
[1] ;
10570 if (!args
) SWIG_fail
;
10571 swig_obj
[0] = args
;
10572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10573 if (!SWIG_IsOK(res1
)) {
10574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10576 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)(arg1
)->HistoryForward();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10592 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10593 PyObject
*resultobj
= 0;
10594 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10598 PyObject
*swig_obj
[1] ;
10600 if (!args
) SWIG_fail
;
10601 swig_obj
[0] = args
;
10602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10606 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (bool)(arg1
)->HistoryCanBack();
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10622 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10623 PyObject
*resultobj
= 0;
10624 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10628 PyObject
*swig_obj
[1] ;
10630 if (!args
) SWIG_fail
;
10631 swig_obj
[0] = args
;
10632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10636 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (bool)(arg1
)->HistoryCanForward();
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10652 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10653 PyObject
*resultobj
= 0;
10654 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10657 PyObject
*swig_obj
[1] ;
10659 if (!args
) SWIG_fail
;
10660 swig_obj
[0] = args
;
10661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10662 if (!SWIG_IsOK(res1
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10665 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->HistoryClear();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_Py_Void();
10679 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10680 PyObject
*resultobj
= 0;
10681 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10682 wxHtmlContainerCell
*result
= 0 ;
10685 PyObject
*swig_obj
[1] ;
10687 if (!args
) SWIG_fail
;
10688 swig_obj
[0] = args
;
10689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10693 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10707 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10708 PyObject
*resultobj
= 0;
10709 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10710 wxHtmlWinParser
*result
= 0 ;
10713 PyObject
*swig_obj
[1] ;
10715 if (!args
) SWIG_fail
;
10716 swig_obj
[0] = args
;
10717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10718 if (!SWIG_IsOK(res1
)) {
10719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10721 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10735 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
= 0;
10737 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10738 wxString
*arg2
= 0 ;
10742 bool temp2
= false ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 char * kwnames
[] = {
10746 (char *) "self",(char *) "anchor", NULL
10749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10751 if (!SWIG_IsOK(res1
)) {
10752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10754 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10756 arg2
= wxString_in_helper(obj1
);
10757 if (arg2
== NULL
) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10783 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
= 0;
10785 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10786 wxString
*arg2
= 0 ;
10790 bool temp2
= false ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char * kwnames
[] = {
10794 (char *) "self",(char *) "anchor", NULL
10797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10802 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10804 arg2
= wxString_in_helper(obj1
);
10805 if (arg2
== NULL
) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10831 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
= 0;
10833 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char * kwnames
[] = {
10838 (char *) "filter", NULL
10841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10843 if (!SWIG_IsOK(res1
)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10846 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 wxPyHtmlWindow::AddFilter(arg1
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= SWIG_Py_Void();
10860 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
= 0;
10862 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10863 wxPoint
*arg2
= 0 ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 char * kwnames
[] = {
10870 (char *) "self",(char *) "pos", NULL
10873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10875 if (!SWIG_IsOK(res1
)) {
10876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10878 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_Py_Void();
10896 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
= 0;
10898 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10899 wxPoint
*arg2
= 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "pos", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10914 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= SWIG_Py_Void();
10932 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10933 PyObject
*resultobj
= 0;
10934 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10937 PyObject
*swig_obj
[1] ;
10939 if (!args
) SWIG_fail
;
10940 swig_obj
[0] = args
;
10941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10942 if (!SWIG_IsOK(res1
)) {
10943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10945 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 (arg1
)->SelectAll();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_Py_Void();
10959 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10960 PyObject
*resultobj
= 0;
10961 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10965 PyObject
*swig_obj
[1] ;
10967 if (!args
) SWIG_fail
;
10968 swig_obj
[0] = args
;
10969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10970 if (!SWIG_IsOK(res1
)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10973 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (arg1
)->SelectionToText();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10993 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11007 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (arg1
)->ToText();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11027 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
= 0;
11029 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11030 wxHtmlLinkInfo
*arg2
= 0 ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char * kwnames
[] = {
11038 (char *) "self",(char *) "link", NULL
11041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11043 if (!SWIG_IsOK(res1
)) {
11044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11046 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11048 if (!SWIG_IsOK(res2
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11054 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= SWIG_Py_Void();
11068 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
= 0;
11070 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11071 wxString
*arg2
= 0 ;
11074 bool temp2
= false ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char * kwnames
[] = {
11078 (char *) "self",(char *) "title", NULL
11081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11083 if (!SWIG_IsOK(res1
)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11086 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11088 arg2
= wxString_in_helper(obj1
);
11089 if (arg2
== NULL
) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= SWIG_Py_Void();
11113 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
= 0;
11115 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11116 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 PyObject
* obj3
= 0 ;
11131 char * kwnames
[] = {
11132 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11137 if (!SWIG_IsOK(res1
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11140 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11142 if (!SWIG_IsOK(res2
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11145 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11147 if (!SWIG_IsOK(ecode3
)) {
11148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11150 arg3
= static_cast< int >(val3
);
11151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11152 if (!SWIG_IsOK(ecode4
)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11155 arg4
= static_cast< int >(val4
);
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= SWIG_Py_Void();
11169 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
= 0;
11171 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11172 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11175 wxMouseEvent
*arg5
= 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 PyObject
* obj3
= 0 ;
11191 PyObject
* obj4
= 0 ;
11192 char * kwnames
[] = {
11193 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11198 if (!SWIG_IsOK(res1
)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11201 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11203 if (!SWIG_IsOK(res2
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11206 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11208 if (!SWIG_IsOK(ecode3
)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11211 arg3
= static_cast< int >(val3
);
11212 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11213 if (!SWIG_IsOK(ecode4
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11216 arg4
= static_cast< int >(val4
);
11217 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11218 if (!SWIG_IsOK(res5
)) {
11219 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11224 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11240 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
= 0;
11242 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11243 wxHtmlURLType arg2
;
11244 wxString
*arg3
= 0 ;
11245 wxString
*arg4
= (wxString
*) 0 ;
11246 wxHtmlOpeningStatus result
;
11251 bool temp3
= false ;
11252 bool temp4
= false ;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 PyObject
* obj2
= 0 ;
11256 PyObject
* obj3
= 0 ;
11257 char * kwnames
[] = {
11258 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11266 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11268 if (!SWIG_IsOK(ecode2
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11271 arg2
= static_cast< wxHtmlURLType
>(val2
);
11273 arg3
= wxString_in_helper(obj2
);
11274 if (arg3
== NULL
) SWIG_fail
;
11278 arg4
= wxString_in_helper(obj3
);
11279 if (arg4
== NULL
) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= SWIG_From_int(static_cast< int >(result
));
11311 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
= 0;
11313 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11314 SwigValueWrapper
<wxVisualAttributes
> result
;
11317 PyObject
* obj0
= 0 ;
11318 char * kwnames
[] = {
11319 (char *) "variant", NULL
11322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11324 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11325 if (!SWIG_IsOK(ecode1
)) {
11326 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11328 arg1
= static_cast< wxWindowVariant
>(val1
);
11331 if (!wxPyCheckForApp()) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11344 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
= 0;
11346 wxPyHtmlWindow::HTMLCursor arg1
;
11350 PyObject
* obj0
= 0 ;
11351 char * kwnames
[] = {
11352 (char *) "type", NULL
11355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11356 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11357 if (!SWIG_IsOK(ecode1
)) {
11358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11360 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11374 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11377 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11378 return SWIG_Py_Void();
11381 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 return SWIG_Python_InitShadowInstance(args
);
11385 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11386 PyObject
*resultobj
= 0;
11387 wxHtmlDCRenderer
*result
= 0 ;
11389 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11391 if (!wxPyCheckForApp()) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11404 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11405 PyObject
*resultobj
= 0;
11406 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11417 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_Py_Void();
11432 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= 0;
11434 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11435 wxDC
*arg2
= (wxDC
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 char * kwnames
[] = {
11447 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11452 if (!SWIG_IsOK(res1
)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11455 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11457 if (!SWIG_IsOK(res2
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11460 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11462 if (!SWIG_IsOK(ecode3
)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11465 arg3
= static_cast< int >(val3
);
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 (arg1
)->SetDC(arg2
,arg3
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_Py_Void();
11479 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
= 0;
11481 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11492 PyObject
* obj2
= 0 ;
11493 char * kwnames
[] = {
11494 (char *) "self",(char *) "width",(char *) "height", NULL
11497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11499 if (!SWIG_IsOK(res1
)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11502 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11504 if (!SWIG_IsOK(ecode2
)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11507 arg2
= static_cast< int >(val2
);
11508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11509 if (!SWIG_IsOK(ecode3
)) {
11510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11512 arg3
= static_cast< int >(val3
);
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 (arg1
)->SetSize(arg2
,arg3
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_Py_Void();
11526 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
= 0;
11528 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11529 wxString
*arg2
= 0 ;
11530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11532 bool arg4
= (bool) true ;
11535 bool temp2
= false ;
11536 bool temp3
= false ;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 PyObject
* obj2
= 0 ;
11542 PyObject
* obj3
= 0 ;
11543 char * kwnames
[] = {
11544 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11552 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11554 arg2
= wxString_in_helper(obj1
);
11555 if (arg2
== NULL
) SWIG_fail
;
11560 arg3
= wxString_in_helper(obj2
);
11561 if (arg3
== NULL
) SWIG_fail
;
11566 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11567 if (!SWIG_IsOK(ecode4
)) {
11568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11570 arg4
= static_cast< bool >(val4
);
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_Py_Void();
11601 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= 0;
11603 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11606 PyObject
*arg4
= (PyObject
*) NULL
;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 PyObject
* obj2
= 0 ;
11612 PyObject
* obj3
= 0 ;
11613 char * kwnames
[] = {
11614 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11619 if (!SWIG_IsOK(res1
)) {
11620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11622 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11624 wxString
* sptr
= wxString_in_helper(obj1
);
11625 if (sptr
== NULL
) SWIG_fail
;
11630 wxString
* sptr
= wxString_in_helper(obj2
);
11631 if (sptr
== NULL
) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= SWIG_Py_Void();
11651 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
= 0;
11653 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11654 int arg2
= (int) -1 ;
11655 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11656 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11663 bool temp3
= false ;
11664 bool temp4
= false ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 PyObject
* obj2
= 0 ;
11668 PyObject
* obj3
= 0 ;
11669 char * kwnames
[] = {
11670 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11678 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11681 if (!SWIG_IsOK(ecode2
)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11684 arg2
= static_cast< int >(val2
);
11688 arg3
= wxString_in_helper(obj2
);
11689 if (arg3
== NULL
) SWIG_fail
;
11695 arg4
= wxString_in_helper(obj3
);
11696 if (arg4
== NULL
) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= SWIG_Py_Void();
11729 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
= 0;
11731 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11734 wxArrayInt
*arg4
= 0 ;
11735 int arg5
= (int) 0 ;
11736 int arg6
= (int) FALSE
;
11737 int arg7
= (int) INT_MAX
;
11745 bool temp4
= false ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 PyObject
* obj5
= 0 ;
11758 PyObject
* obj6
= 0 ;
11759 char * kwnames
[] = {
11760 (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL
11763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11765 if (!SWIG_IsOK(res1
)) {
11766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11768 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11770 if (!SWIG_IsOK(ecode2
)) {
11771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11773 arg2
= static_cast< int >(val2
);
11774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11775 if (!SWIG_IsOK(ecode3
)) {
11776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11778 arg3
= static_cast< int >(val3
);
11780 if (! PySequence_Check(obj3
)) {
11781 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
11784 arg4
= new wxArrayInt
;
11786 int i
, len
=PySequence_Length(obj3
);
11787 for (i
=0; i
<len
; i
++) {
11788 PyObject
* item
= PySequence_GetItem(obj3
, i
);
11789 PyObject
* number
= PyNumber_Int(item
);
11790 arg4
->Add(PyInt_AS_LONG(number
));
11796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11797 if (!SWIG_IsOK(ecode5
)) {
11798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11800 arg5
= static_cast< int >(val5
);
11803 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11804 if (!SWIG_IsOK(ecode6
)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11807 arg6
= static_cast< int >(val6
);
11810 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11811 if (!SWIG_IsOK(ecode7
)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'");
11814 arg7
= static_cast< int >(val7
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (int)(arg1
)->Render(arg2
,arg3
,*arg4
,arg5
,arg6
,arg7
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_From_int(static_cast< int >(result
));
11824 if (temp4
) delete arg4
;
11829 if (temp4
) delete arg4
;
11835 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11849 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)(arg1
)->GetTotalHeight();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_From_int(static_cast< int >(result
));
11863 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11866 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11867 return SWIG_Py_Void();
11870 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11871 return SWIG_Python_InitShadowInstance(args
);
11874 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
= 0;
11876 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11877 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11878 wxHtmlPrintout
*result
= 0 ;
11879 bool temp1
= false ;
11880 PyObject
* obj0
= 0 ;
11881 char * kwnames
[] = {
11882 (char *) "title", NULL
11885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11888 arg1
= wxString_in_helper(obj0
);
11889 if (arg1
== NULL
) SWIG_fail
;
11894 if (!wxPyCheckForApp()) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11915 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
= 0;
11917 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11918 wxString
*arg2
= 0 ;
11919 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11921 bool arg4
= (bool) true ;
11924 bool temp2
= false ;
11925 bool temp3
= false ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 PyObject
* obj2
= 0 ;
11931 PyObject
* obj3
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11941 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11943 arg2
= wxString_in_helper(obj1
);
11944 if (arg2
== NULL
) SWIG_fail
;
11949 arg3
= wxString_in_helper(obj2
);
11950 if (arg3
== NULL
) SWIG_fail
;
11955 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11956 if (!SWIG_IsOK(ecode4
)) {
11957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11959 arg4
= static_cast< bool >(val4
);
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_Py_Void();
11990 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= 0;
11992 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11993 wxString
*arg2
= 0 ;
11996 bool temp2
= false ;
11997 PyObject
* obj0
= 0 ;
11998 PyObject
* obj1
= 0 ;
11999 char * kwnames
[] = {
12000 (char *) "self",(char *) "htmlfile", NULL
12003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12008 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12010 arg2
= wxString_in_helper(obj1
);
12011 if (arg2
== NULL
) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_Py_Void();
12035 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
= 0;
12037 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12038 wxString
*arg2
= 0 ;
12039 int arg3
= (int) wxPAGE_ALL
;
12042 bool temp2
= false ;
12045 PyObject
* obj0
= 0 ;
12046 PyObject
* obj1
= 0 ;
12047 PyObject
* obj2
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "header",(char *) "pg", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12057 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12059 arg2
= wxString_in_helper(obj1
);
12060 if (arg2
== NULL
) SWIG_fail
;
12064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12065 if (!SWIG_IsOK(ecode3
)) {
12066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12068 arg3
= static_cast< int >(val3
);
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
= 0;
12093 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12094 wxString
*arg2
= 0 ;
12095 int arg3
= (int) wxPAGE_ALL
;
12098 bool temp2
= false ;
12101 PyObject
* obj0
= 0 ;
12102 PyObject
* obj1
= 0 ;
12103 PyObject
* obj2
= 0 ;
12104 char * kwnames
[] = {
12105 (char *) "self",(char *) "footer",(char *) "pg", NULL
12108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12110 if (!SWIG_IsOK(res1
)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12113 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12115 arg2
= wxString_in_helper(obj1
);
12116 if (arg2
== NULL
) SWIG_fail
;
12120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12121 if (!SWIG_IsOK(ecode3
)) {
12122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12124 arg3
= static_cast< int >(val3
);
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= SWIG_Py_Void();
12147 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
= 0;
12149 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12152 PyObject
*arg4
= (PyObject
*) NULL
;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 PyObject
* obj2
= 0 ;
12158 PyObject
* obj3
= 0 ;
12159 char * kwnames
[] = {
12160 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12165 if (!SWIG_IsOK(res1
)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12168 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12170 wxString
* sptr
= wxString_in_helper(obj1
);
12171 if (sptr
== NULL
) SWIG_fail
;
12176 wxString
* sptr
= wxString_in_helper(obj2
);
12177 if (sptr
== NULL
) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_Py_Void();
12197 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12200 int arg2
= (int) -1 ;
12201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12203 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12204 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12209 bool temp3
= false ;
12210 bool temp4
= false ;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 PyObject
* obj2
= 0 ;
12214 PyObject
* obj3
= 0 ;
12215 char * kwnames
[] = {
12216 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12224 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12227 if (!SWIG_IsOK(ecode2
)) {
12228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12230 arg2
= static_cast< int >(val2
);
12234 arg3
= wxString_in_helper(obj2
);
12235 if (arg3
== NULL
) SWIG_fail
;
12241 arg4
= wxString_in_helper(obj3
);
12242 if (arg4
== NULL
) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_Py_Void();
12275 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
= 0;
12277 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12278 float arg2
= (float) 25.2 ;
12279 float arg3
= (float) 25.2 ;
12280 float arg4
= (float) 25.2 ;
12281 float arg5
= (float) 25.2 ;
12282 float arg6
= (float) 5 ;
12295 PyObject
* obj0
= 0 ;
12296 PyObject
* obj1
= 0 ;
12297 PyObject
* obj2
= 0 ;
12298 PyObject
* obj3
= 0 ;
12299 PyObject
* obj4
= 0 ;
12300 PyObject
* obj5
= 0 ;
12301 char * kwnames
[] = {
12302 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12310 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12312 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12313 if (!SWIG_IsOK(ecode2
)) {
12314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12316 arg2
= static_cast< float >(val2
);
12319 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12320 if (!SWIG_IsOK(ecode3
)) {
12321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12323 arg3
= static_cast< float >(val3
);
12326 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12327 if (!SWIG_IsOK(ecode4
)) {
12328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12330 arg4
= static_cast< float >(val4
);
12333 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12334 if (!SWIG_IsOK(ecode5
)) {
12335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12337 arg5
= static_cast< float >(val5
);
12340 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12341 if (!SWIG_IsOK(ecode6
)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12344 arg6
= static_cast< float >(val6
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_Py_Void();
12359 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
= 0;
12361 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char * kwnames
[] = {
12366 (char *) "filter", NULL
12369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12371 if (!SWIG_IsOK(res1
)) {
12372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12374 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 wxHtmlPrintout::AddFilter(arg1
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_Py_Void();
12388 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12389 PyObject
*resultobj
= 0;
12391 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 wxHtmlPrintout::CleanUpStatics();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_Py_Void();
12405 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12408 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12409 return SWIG_Py_Void();
12412 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12413 return SWIG_Python_InitShadowInstance(args
);
12416 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12419 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12420 wxWindow
*arg2
= (wxWindow
*) NULL
;
12421 wxHtmlEasyPrinting
*result
= 0 ;
12422 bool temp1
= false ;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "name",(char *) "parentWindow", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12434 arg1
= wxString_in_helper(obj0
);
12435 if (arg1
== NULL
) SWIG_fail
;
12440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12441 if (!SWIG_IsOK(res2
)) {
12442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12447 if (!wxPyCheckForApp()) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12468 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 PyObject
*resultobj
= 0;
12470 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12473 PyObject
*swig_obj
[1] ;
12475 if (!args
) SWIG_fail
;
12476 swig_obj
[0] = args
;
12477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12478 if (!SWIG_IsOK(res1
)) {
12479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12481 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_Py_Void();
12496 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
= 0;
12498 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12499 wxString
*arg2
= 0 ;
12502 bool temp2
= false ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char * kwnames
[] = {
12506 (char *) "self",(char *) "htmlfile", NULL
12509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12514 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12516 arg2
= wxString_in_helper(obj1
);
12517 if (arg2
== NULL
) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= SWIG_Py_Void();
12541 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
= 0;
12543 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12544 wxString
*arg2
= 0 ;
12545 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12546 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12549 bool temp2
= false ;
12550 bool temp3
= false ;
12551 PyObject
* obj0
= 0 ;
12552 PyObject
* obj1
= 0 ;
12553 PyObject
* obj2
= 0 ;
12554 char * kwnames
[] = {
12555 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12563 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12565 arg2
= wxString_in_helper(obj1
);
12566 if (arg2
== NULL
) SWIG_fail
;
12571 arg3
= wxString_in_helper(obj2
);
12572 if (arg3
== NULL
) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= SWIG_Py_Void();
12605 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
= 0;
12607 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12608 wxString
*arg2
= 0 ;
12611 bool temp2
= false ;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "htmlfile", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12623 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12625 arg2
= wxString_in_helper(obj1
);
12626 if (arg2
== NULL
) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->PrintFile((wxString
const &)*arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12650 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
= 0;
12652 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12653 wxString
*arg2
= 0 ;
12654 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12658 bool temp2
= false ;
12659 bool temp3
= false ;
12660 PyObject
* obj0
= 0 ;
12661 PyObject
* obj1
= 0 ;
12662 PyObject
* obj2
= 0 ;
12663 char * kwnames
[] = {
12664 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12669 if (!SWIG_IsOK(res1
)) {
12670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12672 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12674 arg2
= wxString_in_helper(obj1
);
12675 if (arg2
== NULL
) SWIG_fail
;
12680 arg3
= wxString_in_helper(obj2
);
12681 if (arg3
== NULL
) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12715 PyObject
*resultobj
= 0;
12716 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12719 PyObject
*swig_obj
[1] ;
12721 if (!args
) SWIG_fail
;
12722 swig_obj
[0] = args
;
12723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12724 if (!SWIG_IsOK(res1
)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12727 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 (arg1
)->PageSetup();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_Py_Void();
12741 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
= 0;
12743 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12744 wxString
*arg2
= 0 ;
12745 int arg3
= (int) wxPAGE_ALL
;
12748 bool temp2
= false ;
12751 PyObject
* obj0
= 0 ;
12752 PyObject
* obj1
= 0 ;
12753 PyObject
* obj2
= 0 ;
12754 char * kwnames
[] = {
12755 (char *) "self",(char *) "header",(char *) "pg", NULL
12758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12763 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12765 arg2
= wxString_in_helper(obj1
);
12766 if (arg2
== NULL
) SWIG_fail
;
12770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12771 if (!SWIG_IsOK(ecode3
)) {
12772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12774 arg3
= static_cast< int >(val3
);
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_Py_Void();
12797 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
= 0;
12799 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12800 wxString
*arg2
= 0 ;
12801 int arg3
= (int) wxPAGE_ALL
;
12804 bool temp2
= false ;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 PyObject
* obj2
= 0 ;
12810 char * kwnames
[] = {
12811 (char *) "self",(char *) "footer",(char *) "pg", NULL
12814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12816 if (!SWIG_IsOK(res1
)) {
12817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12819 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12821 arg2
= wxString_in_helper(obj1
);
12822 if (arg2
== NULL
) SWIG_fail
;
12826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12827 if (!SWIG_IsOK(ecode3
)) {
12828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12830 arg3
= static_cast< int >(val3
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= SWIG_Py_Void();
12853 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
= 0;
12855 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12858 PyObject
*arg4
= (PyObject
*) NULL
;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 PyObject
* obj2
= 0 ;
12864 PyObject
* obj3
= 0 ;
12865 char * kwnames
[] = {
12866 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12874 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12876 wxString
* sptr
= wxString_in_helper(obj1
);
12877 if (sptr
== NULL
) SWIG_fail
;
12882 wxString
* sptr
= wxString_in_helper(obj2
);
12883 if (sptr
== NULL
) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= SWIG_Py_Void();
12903 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
= 0;
12905 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12906 int arg2
= (int) -1 ;
12907 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12908 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12909 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12910 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12915 bool temp3
= false ;
12916 bool temp4
= false ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 PyObject
* obj2
= 0 ;
12920 PyObject
* obj3
= 0 ;
12921 char * kwnames
[] = {
12922 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12927 if (!SWIG_IsOK(res1
)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12930 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12933 if (!SWIG_IsOK(ecode2
)) {
12934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12936 arg2
= static_cast< int >(val2
);
12940 arg3
= wxString_in_helper(obj2
);
12941 if (arg3
== NULL
) SWIG_fail
;
12947 arg4
= wxString_in_helper(obj3
);
12948 if (arg4
== NULL
) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_Py_Void();
12981 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12982 PyObject
*resultobj
= 0;
12983 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12984 wxPrintData
*result
= 0 ;
12987 PyObject
*swig_obj
[1] ;
12989 if (!args
) SWIG_fail
;
12990 swig_obj
[0] = args
;
12991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12992 if (!SWIG_IsOK(res1
)) {
12993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12995 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (wxPrintData
*)(arg1
)->GetPrintData();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13009 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13010 PyObject
*resultobj
= 0;
13011 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13012 wxPageSetupDialogData
*result
= 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_wxHtmlEasyPrinting
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13023 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13037 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13040 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13041 return SWIG_Py_Void();
13044 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13045 return SWIG_Python_InitShadowInstance(args
);
13048 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
= 0;
13050 wxString
*arg1
= 0 ;
13051 wxString
*arg2
= 0 ;
13052 wxString
*arg3
= 0 ;
13053 wxString
*arg4
= 0 ;
13054 wxHtmlBookRecord
*result
= 0 ;
13055 bool temp1
= false ;
13056 bool temp2
= false ;
13057 bool temp3
= false ;
13058 bool temp4
= false ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 PyObject
* obj2
= 0 ;
13062 PyObject
* obj3
= 0 ;
13063 char * kwnames
[] = {
13064 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13069 arg1
= wxString_in_helper(obj0
);
13070 if (arg1
== NULL
) SWIG_fail
;
13074 arg2
= wxString_in_helper(obj1
);
13075 if (arg2
== NULL
) SWIG_fail
;
13079 arg3
= wxString_in_helper(obj2
);
13080 if (arg3
== NULL
) SWIG_fail
;
13084 arg4
= wxString_in_helper(obj3
);
13085 if (arg4
== NULL
) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13133 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13134 PyObject
*resultobj
= 0;
13135 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13139 PyObject
*swig_obj
[1] ;
13141 if (!args
) SWIG_fail
;
13142 swig_obj
[0] = args
;
13143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13144 if (!SWIG_IsOK(res1
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13147 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (arg1
)->GetBookFile();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13167 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13168 PyObject
*resultobj
= 0;
13169 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13173 PyObject
*swig_obj
[1] ;
13175 if (!args
) SWIG_fail
;
13176 swig_obj
[0] = args
;
13177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13178 if (!SWIG_IsOK(res1
)) {
13179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13181 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (arg1
)->GetTitle();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13201 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13202 PyObject
*resultobj
= 0;
13203 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13207 PyObject
*swig_obj
[1] ;
13209 if (!args
) SWIG_fail
;
13210 swig_obj
[0] = args
;
13211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13212 if (!SWIG_IsOK(res1
)) {
13213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13215 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (arg1
)->GetStart();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13235 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13236 PyObject
*resultobj
= 0;
13237 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13241 PyObject
*swig_obj
[1] ;
13243 if (!args
) SWIG_fail
;
13244 swig_obj
[0] = args
;
13245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13249 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (arg1
)->GetBasePath();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13269 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
= 0;
13271 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 PyObject
* obj2
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "start",(char *) "end", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13292 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13294 if (!SWIG_IsOK(ecode2
)) {
13295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13297 arg2
= static_cast< int >(val2
);
13298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13299 if (!SWIG_IsOK(ecode3
)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13302 arg3
= static_cast< int >(val3
);
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 (arg1
)->SetContentsRange(arg2
,arg3
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= SWIG_Py_Void();
13316 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13317 PyObject
*resultobj
= 0;
13318 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13322 PyObject
*swig_obj
[1] ;
13324 if (!args
) SWIG_fail
;
13325 swig_obj
[0] = args
;
13326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13330 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (int)(arg1
)->GetContentsStart();
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_From_int(static_cast< int >(result
));
13344 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 PyObject
*resultobj
= 0;
13346 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13350 PyObject
*swig_obj
[1] ;
13352 if (!args
) SWIG_fail
;
13353 swig_obj
[0] = args
;
13354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13358 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (int)(arg1
)->GetContentsEnd();
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 resultobj
= SWIG_From_int(static_cast< int >(result
));
13372 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
= 0;
13374 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13375 wxString
*arg2
= 0 ;
13378 bool temp2
= false ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 char * kwnames
[] = {
13382 (char *) "self",(char *) "title", NULL
13385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13390 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13392 arg2
= wxString_in_helper(obj1
);
13393 if (arg2
== NULL
) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->SetTitle((wxString
const &)*arg2
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_Py_Void();
13417 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= 0;
13419 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13420 wxString
*arg2
= 0 ;
13423 bool temp2
= false ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 char * kwnames
[] = {
13427 (char *) "self",(char *) "path", NULL
13430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13435 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13437 arg2
= wxString_in_helper(obj1
);
13438 if (arg2
== NULL
) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_Py_Void();
13462 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
= 0;
13464 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13465 wxString
*arg2
= 0 ;
13468 bool temp2
= false ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char * kwnames
[] = {
13472 (char *) "self",(char *) "start", NULL
13475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13480 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13482 arg2
= wxString_in_helper(obj1
);
13483 if (arg2
== NULL
) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 (arg1
)->SetStart((wxString
const &)*arg2
);
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= SWIG_Py_Void();
13507 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
= 0;
13509 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13510 wxString
*arg2
= 0 ;
13514 bool temp2
= false ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 char * kwnames
[] = {
13518 (char *) "self",(char *) "page", NULL
13521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13526 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13528 arg2
= wxString_in_helper(obj1
);
13529 if (arg2
== NULL
) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13559 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13562 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13563 return SWIG_Py_Void();
13566 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13567 return SWIG_Python_InitShadowInstance(args
);
13570 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13571 PyObject
*resultobj
= 0;
13572 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13576 PyObject
*swig_obj
[1] ;
13578 if (!args
) SWIG_fail
;
13579 swig_obj
[0] = args
;
13580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13581 if (!SWIG_IsOK(res1
)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13584 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (bool)(arg1
)->Search();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13600 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13601 PyObject
*resultobj
= 0;
13602 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13606 PyObject
*swig_obj
[1] ;
13608 if (!args
) SWIG_fail
;
13609 swig_obj
[0] = args
;
13610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13611 if (!SWIG_IsOK(res1
)) {
13612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13614 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (bool)(arg1
)->IsActive();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13630 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13631 PyObject
*resultobj
= 0;
13632 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13636 PyObject
*swig_obj
[1] ;
13638 if (!args
) SWIG_fail
;
13639 swig_obj
[0] = args
;
13640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13644 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (int)(arg1
)->GetCurIndex();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= SWIG_From_int(static_cast< int >(result
));
13658 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13659 PyObject
*resultobj
= 0;
13660 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13664 PyObject
*swig_obj
[1] ;
13666 if (!args
) SWIG_fail
;
13667 swig_obj
[0] = args
;
13668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13669 if (!SWIG_IsOK(res1
)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13672 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (int)(arg1
)->GetMaxIndex();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_From_int(static_cast< int >(result
));
13686 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13687 PyObject
*resultobj
= 0;
13688 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13689 wxString
*result
= 0 ;
13692 PyObject
*swig_obj
[1] ;
13694 if (!args
) SWIG_fail
;
13695 swig_obj
[0] = args
;
13696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13700 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 wxString
const &_result_ref
= (arg1
)->GetName();
13705 result
= (wxString
*) &_result_ref
;
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13714 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13723 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13726 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13727 return SWIG_Py_Void();
13730 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13731 PyObject
*resultobj
= 0;
13732 wxHtmlHelpData
*result
= 0 ;
13734 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13748 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13749 PyObject
*resultobj
= 0;
13750 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13753 PyObject
*swig_obj
[1] ;
13755 if (!args
) SWIG_fail
;
13756 swig_obj
[0] = args
;
13757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13758 if (!SWIG_IsOK(res1
)) {
13759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13761 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_Py_Void();
13776 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13779 wxString
*arg2
= 0 ;
13782 bool temp2
= false ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 char * kwnames
[] = {
13786 (char *) "self",(char *) "path", NULL
13789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13794 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13796 arg2
= wxString_in_helper(obj1
);
13797 if (arg2
== NULL
) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_Py_Void();
13821 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
= 0;
13823 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13824 wxString
*arg2
= 0 ;
13828 bool temp2
= false ;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 char * kwnames
[] = {
13832 (char *) "self",(char *) "book", NULL
13835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13837 if (!SWIG_IsOK(res1
)) {
13838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13840 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13842 arg2
= wxString_in_helper(obj1
);
13843 if (arg2
== NULL
) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13869 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
= 0;
13871 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13872 wxString
*arg2
= 0 ;
13876 bool temp2
= false ;
13877 PyObject
* obj0
= 0 ;
13878 PyObject
* obj1
= 0 ;
13879 char * kwnames
[] = {
13880 (char *) "self",(char *) "page", NULL
13883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13885 if (!SWIG_IsOK(res1
)) {
13886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13888 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13890 arg2
= wxString_in_helper(obj1
);
13891 if (arg2
== NULL
) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13921 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13923 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 char * kwnames
[] = {
13933 (char *) "self",(char *) "id", NULL
13936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13938 if (!SWIG_IsOK(res1
)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13941 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13943 if (!SWIG_IsOK(ecode2
)) {
13944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13946 arg2
= static_cast< int >(val2
);
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (arg1
)->FindPageById(arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13966 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13967 PyObject
*resultobj
= 0;
13968 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13969 wxHtmlBookRecArray
*result
= 0 ;
13972 PyObject
*swig_obj
[1] ;
13974 if (!args
) SWIG_fail
;
13975 swig_obj
[0] = args
;
13976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13977 if (!SWIG_IsOK(res1
)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13980 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
13985 result
= (wxHtmlBookRecArray
*) &_result_ref
;
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
13997 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14000 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
14001 return SWIG_Py_Void();
14004 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14005 return SWIG_Python_InitShadowInstance(args
);
14008 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
= 0;
14010 wxWindow
*arg1
= (wxWindow
*) 0 ;
14012 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14013 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14014 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14015 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14016 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14017 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14018 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14019 wxHtmlHelpWindow
*result
= 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 PyObject
* obj2
= 0 ;
14035 PyObject
* obj3
= 0 ;
14036 PyObject
* obj4
= 0 ;
14037 PyObject
* obj5
= 0 ;
14038 PyObject
* obj6
= 0 ;
14039 char * kwnames
[] = {
14040 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14045 if (!SWIG_IsOK(res1
)) {
14046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14050 if (!SWIG_IsOK(ecode2
)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14053 arg2
= static_cast< int >(val2
);
14057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14063 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14067 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14068 if (!SWIG_IsOK(ecode5
)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14071 arg5
= static_cast< int >(val5
);
14074 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14075 if (!SWIG_IsOK(ecode6
)) {
14076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14078 arg6
= static_cast< int >(val6
);
14081 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14082 if (!SWIG_IsOK(res7
)) {
14083 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14085 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14088 if (!wxPyCheckForApp()) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14101 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
= 0;
14103 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14104 wxHtmlHelpWindow
*result
= 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char * kwnames
[] = {
14109 (char *) "data", NULL
14112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14115 if (!SWIG_IsOK(res1
)) {
14116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14118 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14121 if (!wxPyCheckForApp()) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14134 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
= 0;
14136 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14137 wxWindow
*arg2
= (wxWindow
*) 0 ;
14139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14143 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14144 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 PyObject
* obj2
= 0 ;
14161 PyObject
* obj3
= 0 ;
14162 PyObject
* obj4
= 0 ;
14163 PyObject
* obj5
= 0 ;
14164 PyObject
* obj6
= 0 ;
14165 char * kwnames
[] = {
14166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14171 if (!SWIG_IsOK(res1
)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14174 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14176 if (!SWIG_IsOK(res2
)) {
14177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14181 if (!SWIG_IsOK(ecode3
)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14184 arg3
= static_cast< int >(val3
);
14188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14198 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14199 if (!SWIG_IsOK(ecode6
)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14202 arg6
= static_cast< int >(val6
);
14205 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14206 if (!SWIG_IsOK(ecode7
)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14209 arg7
= static_cast< int >(val7
);
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14226 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14227 PyObject
*resultobj
= 0;
14228 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14229 wxHtmlHelpData
*result
= 0 ;
14232 PyObject
*swig_obj
[1] ;
14234 if (!args
) SWIG_fail
;
14235 swig_obj
[0] = args
;
14236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14237 if (!SWIG_IsOK(res1
)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14240 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14254 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14255 PyObject
*resultobj
= 0;
14256 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14257 wxHtmlHelpController
*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_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14268 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14282 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
= 0;
14284 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14285 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char * kwnames
[] = {
14292 (char *) "self",(char *) "controller", NULL
14295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14297 if (!SWIG_IsOK(res1
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14300 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14301 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14302 if (!SWIG_IsOK(res2
)) {
14303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->SetController(arg2
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_Py_Void();
14318 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
= 0;
14320 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14321 wxString
*arg2
= 0 ;
14325 bool temp2
= false ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char * kwnames
[] = {
14329 (char *) "self",(char *) "x", NULL
14332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14334 if (!SWIG_IsOK(res1
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14337 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14339 arg2
= wxString_in_helper(obj1
);
14340 if (arg2
== NULL
) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14366 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
= 0;
14368 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 char * kwnames
[] = {
14378 (char *) "self",(char *) "id", NULL
14381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14383 if (!SWIG_IsOK(res1
)) {
14384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14386 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14388 if (!SWIG_IsOK(ecode2
)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14391 arg2
= static_cast< int >(val2
);
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (bool)(arg1
)->Display(arg2
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14407 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14408 PyObject
*resultobj
= 0;
14409 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14413 PyObject
*swig_obj
[1] ;
14415 if (!args
) SWIG_fail
;
14416 swig_obj
[0] = args
;
14417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14418 if (!SWIG_IsOK(res1
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14421 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (bool)(arg1
)->DisplayContents();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14437 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14438 PyObject
*resultobj
= 0;
14439 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14443 PyObject
*swig_obj
[1] ;
14445 if (!args
) SWIG_fail
;
14446 swig_obj
[0] = args
;
14447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14448 if (!SWIG_IsOK(res1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14451 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)(arg1
)->DisplayIndex();
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14467 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
= 0;
14469 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14470 wxString
*arg2
= 0 ;
14471 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14475 bool temp2
= false ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 PyObject
* obj2
= 0 ;
14481 char * kwnames
[] = {
14482 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14487 if (!SWIG_IsOK(res1
)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14490 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14492 arg2
= wxString_in_helper(obj1
);
14493 if (arg2
== NULL
) SWIG_fail
;
14498 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14499 if (!SWIG_IsOK(res3
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14505 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14507 if (SWIG_IsNewObj(res3
)) delete temp
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14534 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
= 0;
14536 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14537 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14538 wxString
const &arg3_defvalue
= wxEmptyString
;
14539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14544 bool temp3
= false ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 PyObject
* obj2
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14557 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14559 if (!SWIG_IsOK(res2
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14562 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14565 arg3
= wxString_in_helper(obj2
);
14566 if (arg3
== NULL
) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_Py_Void();
14591 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
= 0;
14593 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14594 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14595 wxString
const &arg3_defvalue
= wxEmptyString
;
14596 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14601 bool temp3
= false ;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj1
= 0 ;
14604 PyObject
* obj2
= 0 ;
14605 char * kwnames
[] = {
14606 (char *) "self",(char *) "cfg",(char *) "path", NULL
14609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14614 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14616 if (!SWIG_IsOK(res2
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14619 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14622 arg3
= wxString_in_helper(obj2
);
14623 if (arg3
== NULL
) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_Py_Void();
14648 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
= 0;
14650 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14651 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14652 wxString
const &arg3_defvalue
= wxEmptyString
;
14653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14658 bool temp3
= false ;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 PyObject
* obj2
= 0 ;
14662 char * kwnames
[] = {
14663 (char *) "self",(char *) "cfg",(char *) "path", NULL
14666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14668 if (!SWIG_IsOK(res1
)) {
14669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14671 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14673 if (!SWIG_IsOK(res2
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14676 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14679 arg3
= wxString_in_helper(obj2
);
14680 if (arg3
== NULL
) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_Py_Void();
14705 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14706 PyObject
*resultobj
= 0;
14707 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14710 PyObject
*swig_obj
[1] ;
14712 if (!args
) SWIG_fail
;
14713 swig_obj
[0] = args
;
14714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14718 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->NotifyPageChanged();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_Py_Void();
14732 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14733 PyObject
*resultobj
= 0;
14734 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14737 PyObject
*swig_obj
[1] ;
14739 if (!args
) SWIG_fail
;
14740 swig_obj
[0] = args
;
14741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14742 if (!SWIG_IsOK(res1
)) {
14743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14745 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->RefreshLists();
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_Py_Void();
14759 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14760 PyObject
*resultobj
= 0;
14761 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14762 wxHtmlWindow
*result
= 0 ;
14765 PyObject
*swig_obj
[1] ;
14767 if (!args
) SWIG_fail
;
14768 swig_obj
[0] = args
;
14769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14773 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14787 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14788 PyObject
*resultobj
= 0;
14789 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14790 wxSplitterWindow
*result
= 0 ;
14793 PyObject
*swig_obj
[1] ;
14795 if (!args
) SWIG_fail
;
14796 swig_obj
[0] = args
;
14797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14798 if (!SWIG_IsOK(res1
)) {
14799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14801 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14815 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14816 PyObject
*resultobj
= 0;
14817 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14818 wxToolBar
*result
= 0 ;
14821 PyObject
*swig_obj
[1] ;
14823 if (!args
) SWIG_fail
;
14824 swig_obj
[0] = args
;
14825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14826 if (!SWIG_IsOK(res1
)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14829 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14845 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14846 PyObject
*resultobj
= 0;
14847 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14848 wxHtmlHelpFrameCfg
*result
= 0 ;
14851 PyObject
*swig_obj
[1] ;
14853 if (!args
) SWIG_fail
;
14854 swig_obj
[0] = args
;
14855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14859 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14864 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14876 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14877 PyObject
*resultobj
= 0;
14878 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14879 wxPyTreeCtrl
*result
= 0 ;
14882 PyObject
*swig_obj
[1] ;
14884 if (!args
) SWIG_fail
;
14885 swig_obj
[0] = args
;
14886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14887 if (!SWIG_IsOK(res1
)) {
14888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14890 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (wxPyTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14906 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14909 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14910 return SWIG_Py_Void();
14913 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14914 return SWIG_Python_InitShadowInstance(args
);
14917 SWIGINTERN PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
= 0;
14919 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14920 int arg2
= (int) 0 ;
14921 wxHtmlWindowEvent
*result
= 0 ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 char * kwnames
[] = {
14929 (char *) "commandType",(char *) "id", NULL
14932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14934 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14935 if (!SWIG_IsOK(ecode1
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14938 arg1
= static_cast< wxEventType
>(val1
);
14941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14942 if (!SWIG_IsOK(ecode2
)) {
14943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14945 arg2
= static_cast< int >(val2
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_NEW
| 0 );
14960 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
= 0;
14962 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
14963 wxString
*arg2
= 0 ;
14966 bool temp2
= false ;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 char * kwnames
[] = {
14970 (char *) "self",(char *) "url", NULL
14973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
14978 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
14980 arg2
= wxString_in_helper(obj1
);
14981 if (arg2
== NULL
) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 (arg1
)->SetURL((wxString
const &)*arg2
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_Py_Void();
15005 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 PyObject
*resultobj
= 0;
15007 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
15008 wxString
*result
= 0 ;
15011 PyObject
*swig_obj
[1] ;
15013 if (!args
) SWIG_fail
;
15014 swig_obj
[0] = args
;
15015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15019 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
15024 result
= (wxString
*) &_result_ref
;
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15033 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15042 SWIGINTERN PyObject
*HtmlWindowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15045 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_NewClientData(obj
));
15046 return SWIG_Py_Void();
15049 SWIGINTERN PyObject
*HtmlWindowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15050 return SWIG_Python_InitShadowInstance(args
);
15053 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
= 0;
15055 wxWindow
*arg1
= (wxWindow
*) 0 ;
15057 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15058 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15059 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15060 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15061 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15062 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15064 wxHtmlHelpFrame
*result
= 0 ;
15069 bool temp3
= false ;
15076 bool temp7
= false ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 PyObject
* obj2
= 0 ;
15080 PyObject
* obj3
= 0 ;
15081 PyObject
* obj4
= 0 ;
15082 PyObject
* obj5
= 0 ;
15083 PyObject
* obj6
= 0 ;
15084 char * kwnames
[] = {
15085 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL
15088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15090 if (!SWIG_IsOK(res1
)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15095 if (!SWIG_IsOK(ecode2
)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15098 arg2
= static_cast< int >(val2
);
15101 arg3
= wxString_in_helper(obj2
);
15102 if (arg3
== NULL
) SWIG_fail
;
15107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15108 if (!SWIG_IsOK(ecode4
)) {
15109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15111 arg4
= static_cast< int >(val4
);
15114 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15115 if (!SWIG_IsOK(res5
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15118 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15121 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15122 if (!SWIG_IsOK(res6
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15125 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15129 arg7
= wxString_in_helper(obj6
);
15130 if (arg7
== NULL
) SWIG_fail
;
15135 if (!wxPyCheckForApp()) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15164 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
= 0;
15166 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15167 wxHtmlHelpFrame
*result
= 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char * kwnames
[] = {
15172 (char *) "data", NULL
15175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15178 if (!SWIG_IsOK(res1
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15181 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15184 if (!wxPyCheckForApp()) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15197 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
= 0;
15199 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15200 wxWindow
*arg2
= (wxWindow
*) 0 ;
15202 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15203 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15204 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15205 wxConfigBase
*arg6
= (wxConfigBase
*) NULL
;
15206 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15207 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15215 bool temp4
= false ;
15220 bool temp7
= false ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 PyObject
* obj2
= 0 ;
15224 PyObject
* obj3
= 0 ;
15225 PyObject
* obj4
= 0 ;
15226 PyObject
* obj5
= 0 ;
15227 PyObject
* obj6
= 0 ;
15228 char * kwnames
[] = {
15229 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL
15232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15237 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15239 if (!SWIG_IsOK(res2
)) {
15240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15244 if (!SWIG_IsOK(ecode3
)) {
15245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15247 arg3
= static_cast< int >(val3
);
15250 arg4
= wxString_in_helper(obj3
);
15251 if (arg4
== NULL
) SWIG_fail
;
15256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15257 if (!SWIG_IsOK(ecode5
)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15260 arg5
= static_cast< int >(val5
);
15263 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
15264 if (!SWIG_IsOK(res6
)) {
15265 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'");
15267 arg6
= reinterpret_cast< wxConfigBase
* >(argp6
);
15271 arg7
= wxString_in_helper(obj6
);
15272 if (arg7
== NULL
) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,(wxString
const &)*arg7
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15307 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15308 PyObject
*resultobj
= 0;
15309 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15310 wxHtmlHelpData
*result
= 0 ;
15313 PyObject
*swig_obj
[1] ;
15315 if (!args
) SWIG_fail
;
15316 swig_obj
[0] = args
;
15317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15318 if (!SWIG_IsOK(res1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15321 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15335 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
= 0;
15337 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15338 wxString
*arg2
= 0 ;
15341 bool temp2
= false ;
15342 PyObject
* obj0
= 0 ;
15343 PyObject
* obj1
= 0 ;
15344 char * kwnames
[] = {
15345 (char *) "self",(char *) "format", NULL
15348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15350 if (!SWIG_IsOK(res1
)) {
15351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15353 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15355 arg2
= wxString_in_helper(obj1
);
15356 if (arg2
== NULL
) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_Py_Void();
15380 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15381 PyObject
*resultobj
= 0;
15382 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15385 PyObject
*swig_obj
[1] ;
15387 if (!args
) SWIG_fail
;
15388 swig_obj
[0] = args
;
15389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15390 if (!SWIG_IsOK(res1
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15393 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->AddGrabIfNeeded();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_Py_Void();
15407 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15408 PyObject
*resultobj
= 0;
15409 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15410 wxHtmlHelpController
*result
= 0 ;
15413 PyObject
*swig_obj
[1] ;
15415 if (!args
) SWIG_fail
;
15416 swig_obj
[0] = args
;
15417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15418 if (!SWIG_IsOK(res1
)) {
15419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15421 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15435 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
= 0;
15437 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15438 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char * kwnames
[] = {
15445 (char *) "self",(char *) "controller", NULL
15448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15453 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15454 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15455 if (!SWIG_IsOK(res2
)) {
15456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 (arg1
)->SetController(arg2
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= SWIG_Py_Void();
15471 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15472 PyObject
*resultobj
= 0;
15473 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15474 wxHtmlHelpWindow
*result
= 0 ;
15477 PyObject
*swig_obj
[1] ;
15479 if (!args
) SWIG_fail
;
15480 swig_obj
[0] = args
;
15481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15482 if (!SWIG_IsOK(res1
)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15485 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= wxPyMake_wxObject(result
, 0);
15501 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15504 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15505 return SWIG_Py_Void();
15508 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15509 return SWIG_Python_InitShadowInstance(args
);
15512 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
= 0;
15514 wxWindow
*arg1
= (wxWindow
*) 0 ;
15516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15518 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15519 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15520 wxHtmlHelpDialog
*result
= 0 ;
15525 bool temp3
= false ;
15530 PyObject
* obj0
= 0 ;
15531 PyObject
* obj1
= 0 ;
15532 PyObject
* obj2
= 0 ;
15533 PyObject
* obj3
= 0 ;
15534 PyObject
* obj4
= 0 ;
15535 char * kwnames
[] = {
15536 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15546 if (!SWIG_IsOK(ecode2
)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15549 arg2
= static_cast< int >(val2
);
15552 arg3
= wxString_in_helper(obj2
);
15553 if (arg3
== NULL
) SWIG_fail
;
15558 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15559 if (!SWIG_IsOK(ecode4
)) {
15560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15562 arg4
= static_cast< int >(val4
);
15565 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15566 if (!SWIG_IsOK(res5
)) {
15567 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15569 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15572 if (!wxPyCheckForApp()) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15593 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
= 0;
15595 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15596 wxHtmlHelpDialog
*result
= 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char * kwnames
[] = {
15601 (char *) "data", NULL
15604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15610 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15613 if (!wxPyCheckForApp()) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15626 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
= 0;
15628 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15629 wxWindow
*arg2
= (wxWindow
*) 0 ;
15631 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15632 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15633 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15641 bool temp4
= false ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 PyObject
* obj3
= 0 ;
15648 PyObject
* obj4
= 0 ;
15649 char * kwnames
[] = {
15650 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15655 if (!SWIG_IsOK(res1
)) {
15656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15658 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15660 if (!SWIG_IsOK(res2
)) {
15661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15665 if (!SWIG_IsOK(ecode3
)) {
15666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15668 arg3
= static_cast< int >(val3
);
15671 arg4
= wxString_in_helper(obj3
);
15672 if (arg4
== NULL
) SWIG_fail
;
15677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15678 if (!SWIG_IsOK(ecode5
)) {
15679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15681 arg5
= static_cast< int >(val5
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15707 PyObject
*resultobj
= 0;
15708 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15709 wxHtmlHelpData
*result
= 0 ;
15712 PyObject
*swig_obj
[1] ;
15714 if (!args
) SWIG_fail
;
15715 swig_obj
[0] = args
;
15716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15717 if (!SWIG_IsOK(res1
)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15720 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15734 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15735 PyObject
*resultobj
= 0;
15736 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15737 wxHtmlHelpController
*result
= 0 ;
15740 PyObject
*swig_obj
[1] ;
15742 if (!args
) SWIG_fail
;
15743 swig_obj
[0] = args
;
15744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15745 if (!SWIG_IsOK(res1
)) {
15746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15748 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15762 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
= 0;
15764 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15765 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 char * kwnames
[] = {
15772 (char *) "self",(char *) "controller", NULL
15775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15777 if (!SWIG_IsOK(res1
)) {
15778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15780 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15781 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15782 if (!SWIG_IsOK(res2
)) {
15783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 (arg1
)->SetController(arg2
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= SWIG_Py_Void();
15798 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15799 PyObject
*resultobj
= 0;
15800 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15801 wxHtmlHelpWindow
*result
= 0 ;
15804 PyObject
*swig_obj
[1] ;
15806 if (!args
) SWIG_fail
;
15807 swig_obj
[0] = args
;
15808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15809 if (!SWIG_IsOK(res1
)) {
15810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15812 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 resultobj
= wxPyMake_wxObject(result
, 0);
15828 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
= 0;
15830 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15831 wxString
*arg2
= 0 ;
15834 bool temp2
= false ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char * kwnames
[] = {
15838 (char *) "self",(char *) "format", NULL
15841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15843 if (!SWIG_IsOK(res1
)) {
15844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15846 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15848 arg2
= wxString_in_helper(obj1
);
15849 if (arg2
== NULL
) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_Py_Void();
15873 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15876 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
15877 return SWIG_Py_Void();
15880 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15881 return SWIG_Python_InitShadowInstance(args
);
15884 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15885 PyObject
*resultobj
= 0;
15886 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15887 wxString
*arg2
= 0 ;
15892 bool temp2
= false ;
15896 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
15897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15898 if (!SWIG_IsOK(res1
)) {
15899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15901 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15903 arg2
= wxString_in_helper(swig_obj
[1]);
15904 if (arg2
== NULL
) SWIG_fail
;
15907 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
15908 if (!SWIG_IsOK(ecode3
)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15911 arg3
= static_cast< int >(val3
);
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15935 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15936 PyObject
*resultobj
= 0;
15937 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15938 wxString
*arg2
= 0 ;
15942 bool temp2
= false ;
15944 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15946 if (!SWIG_IsOK(res1
)) {
15947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15949 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15951 arg2
= wxString_in_helper(swig_obj
[1]);
15952 if (arg2
== NULL
) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
15982 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
15985 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
15988 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
15992 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15997 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
= 0;
15999 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16000 wxString
*arg2
= 0 ;
16001 long arg3
= (long) 0 ;
16004 bool temp2
= false ;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 PyObject
* obj2
= 0 ;
16010 char * kwnames
[] = {
16011 (char *) "self",(char *) "viewer",(char *) "flags", NULL
16014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16016 if (!SWIG_IsOK(res1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16019 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16021 arg2
= wxString_in_helper(obj1
);
16022 if (arg2
== NULL
) SWIG_fail
;
16026 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16027 if (!SWIG_IsOK(ecode3
)) {
16028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16030 arg3
= static_cast< long >(val3
);
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_Py_Void();
16053 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16055 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16056 wxString
const &arg2_defvalue
= wxEmptyString
;
16057 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16061 bool temp2
= false ;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 char * kwnames
[] = {
16065 (char *) "self",(char *) "file", NULL
16068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16070 if (!SWIG_IsOK(res1
)) {
16071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16073 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16076 arg2
= wxString_in_helper(obj1
);
16077 if (arg2
== NULL
) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16104 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16105 PyObject
*resultobj
= 0;
16106 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16110 PyObject
*swig_obj
[1] ;
16112 if (!args
) SWIG_fail
;
16113 swig_obj
[0] = args
;
16114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16115 if (!SWIG_IsOK(res1
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16118 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (bool)(arg1
)->DisplayContents();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16134 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16135 PyObject
*resultobj
= 0;
16136 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16144 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16146 if (!SWIG_IsOK(res1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16149 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16150 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16151 if (!SWIG_IsOK(ecode2
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16154 arg2
= static_cast< int >(val2
);
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)(arg1
)->DisplaySection(arg2
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16170 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
= 0;
16172 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "self",(char *) "contextId", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16187 if (!SWIG_IsOK(res1
)) {
16188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16190 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16192 if (!SWIG_IsOK(ecode2
)) {
16193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16195 arg2
= static_cast< int >(val2
);
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16211 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
= 0;
16213 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16214 wxString
*arg2
= 0 ;
16215 wxPoint
*arg3
= 0 ;
16219 bool temp2
= false ;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 PyObject
* obj2
= 0 ;
16224 char * kwnames
[] = {
16225 (char *) "self",(char *) "text",(char *) "pos", NULL
16228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16230 if (!SWIG_IsOK(res1
)) {
16231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16233 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16235 arg2
= wxString_in_helper(obj1
);
16236 if (arg2
== NULL
) SWIG_fail
;
16241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16266 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16267 PyObject
*resultobj
= 0;
16268 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16269 wxString
*arg2
= 0 ;
16273 bool temp2
= false ;
16275 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16277 if (!SWIG_IsOK(res1
)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16280 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16282 arg2
= wxString_in_helper(swig_obj
[1]);
16283 if (arg2
== NULL
) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16309 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16313 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16319 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16322 if (!_v
) goto check_1
;
16323 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16328 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16332 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16337 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
= 0;
16339 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "self",(char *) "blockNo", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16357 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16358 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16359 if (!SWIG_IsOK(ecode2
)) {
16360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16362 arg2
= static_cast< long >(val2
);
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16378 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
= 0;
16380 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16381 wxString
*arg2
= 0 ;
16382 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16386 bool temp2
= false ;
16389 PyObject
* obj0
= 0 ;
16390 PyObject
* obj1
= 0 ;
16391 PyObject
* obj2
= 0 ;
16392 char * kwnames
[] = {
16393 (char *) "self",(char *) "k",(char *) "mode", NULL
16396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16398 if (!SWIG_IsOK(res1
)) {
16399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16401 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16403 arg2
= wxString_in_helper(obj1
);
16404 if (arg2
== NULL
) SWIG_fail
;
16409 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16410 if (!SWIG_IsOK(res3
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16416 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16418 if (SWIG_IsNewObj(res3
)) delete temp
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16445 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
= 0;
16447 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16448 wxString
*arg2
= 0 ;
16450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16452 bool arg5
= (bool) false ;
16455 bool temp2
= false ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 PyObject
* obj2
= 0 ;
16463 PyObject
* obj3
= 0 ;
16464 PyObject
* obj4
= 0 ;
16465 char * kwnames
[] = {
16466 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16471 if (!SWIG_IsOK(res1
)) {
16472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16474 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16476 arg2
= wxString_in_helper(obj1
);
16477 if (arg2
== NULL
) SWIG_fail
;
16482 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16487 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16491 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16492 if (!SWIG_IsOK(ecode5
)) {
16493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16495 arg5
= static_cast< bool >(val5
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_Py_Void();
16518 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
= 0;
16520 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16521 wxSize
*arg2
= (wxSize
*) NULL
;
16522 wxPoint
*arg3
= (wxPoint
*) NULL
;
16523 bool *arg4
= (bool *) NULL
;
16524 wxFrame
*result
= 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 PyObject
* obj2
= 0 ;
16536 PyObject
* obj3
= 0 ;
16537 char * kwnames
[] = {
16538 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16543 if (!SWIG_IsOK(res1
)) {
16544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16546 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16549 if (!SWIG_IsOK(res2
)) {
16550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16552 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16555 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16556 if (!SWIG_IsOK(res3
)) {
16557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16559 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16562 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16563 if (!SWIG_IsOK(res4
)) {
16564 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16566 arg4
= reinterpret_cast< bool * >(argp4
);
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= wxPyMake_wxObject(result
, 0);
16583 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16584 PyObject
*resultobj
= 0;
16585 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16589 PyObject
*swig_obj
[1] ;
16591 if (!args
) SWIG_fail
;
16592 swig_obj
[0] = args
;
16593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16594 if (!SWIG_IsOK(res1
)) {
16595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16597 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= (bool)(arg1
)->Quit();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16613 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16614 PyObject
*resultobj
= 0;
16615 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16618 PyObject
*swig_obj
[1] ;
16620 if (!args
) SWIG_fail
;
16621 swig_obj
[0] = args
;
16622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16626 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_Py_Void();
16640 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
= 0;
16642 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16643 wxWindow
*arg2
= (wxWindow
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 char * kwnames
[] = {
16651 (char *) "self",(char *) "win", NULL
16654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16656 if (!SWIG_IsOK(res1
)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16659 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16661 if (!SWIG_IsOK(res2
)) {
16662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->SetParentWindow(arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_Py_Void();
16678 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16679 PyObject
*resultobj
= 0;
16680 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16681 wxWindow
*result
= 0 ;
16684 PyObject
*swig_obj
[1] ;
16686 if (!args
) SWIG_fail
;
16687 swig_obj
[0] = args
;
16688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16689 if (!SWIG_IsOK(res1
)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16692 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= wxPyMake_wxObject(result
, 0);
16708 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16711 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16712 return SWIG_Py_Void();
16715 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
= 0;
16717 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16718 wxWindow
*arg2
= (wxWindow
*) NULL
;
16719 wxHtmlHelpController
*result
= 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char * kwnames
[] = {
16727 (char *) "style",(char *) "parentWindow", NULL
16730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16733 if (!SWIG_IsOK(ecode1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16736 arg1
= static_cast< int >(val1
);
16739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16740 if (!SWIG_IsOK(res2
)) {
16741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16746 if (!wxPyCheckForApp()) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16759 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16760 PyObject
*resultobj
= 0;
16761 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16764 PyObject
*swig_obj
[1] ;
16766 if (!args
) SWIG_fail
;
16767 swig_obj
[0] = args
;
16768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16769 if (!SWIG_IsOK(res1
)) {
16770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16772 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_Py_Void();
16787 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16788 PyObject
*resultobj
= 0;
16789 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16790 wxHtmlHelpWindow
*result
= 0 ;
16793 PyObject
*swig_obj
[1] ;
16795 if (!args
) SWIG_fail
;
16796 swig_obj
[0] = args
;
16797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16798 if (!SWIG_IsOK(res1
)) {
16799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16801 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= wxPyMake_wxObject(result
, 0);
16817 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
= 0;
16819 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16820 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 char * kwnames
[] = {
16828 (char *) "self",(char *) "helpWindow", NULL
16831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16833 if (!SWIG_IsOK(res1
)) {
16834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16836 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16838 if (!SWIG_IsOK(res2
)) {
16839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16841 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 (arg1
)->SetHelpWindow(arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= SWIG_Py_Void();
16855 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16856 PyObject
*resultobj
= 0;
16857 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16858 wxHtmlHelpFrame
*result
= 0 ;
16861 PyObject
*swig_obj
[1] ;
16863 if (!args
) SWIG_fail
;
16864 swig_obj
[0] = args
;
16865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16866 if (!SWIG_IsOK(res1
)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16869 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= wxPyMake_wxObject(result
, 0);
16885 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16886 PyObject
*resultobj
= 0;
16887 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16888 wxHtmlHelpDialog
*result
= 0 ;
16891 PyObject
*swig_obj
[1] ;
16893 if (!args
) SWIG_fail
;
16894 swig_obj
[0] = args
;
16895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16896 if (!SWIG_IsOK(res1
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16899 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= wxPyMake_wxObject(result
, 0);
16915 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16918 wxString
*arg2
= 0 ;
16921 bool temp2
= false ;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 char * kwnames
[] = {
16925 (char *) "self",(char *) "format", NULL
16928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16933 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16935 arg2
= wxString_in_helper(obj1
);
16936 if (arg2
== NULL
) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_Py_Void();
16960 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
= 0;
16962 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16963 wxString
*arg2
= 0 ;
16966 bool temp2
= false ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 char * kwnames
[] = {
16970 (char *) "self",(char *) "path", NULL
16973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16975 if (!SWIG_IsOK(res1
)) {
16976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16978 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16980 arg2
= wxString_in_helper(obj1
);
16981 if (arg2
== NULL
) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 (arg1
)->SetTempDir((wxString
const &)*arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_Py_Void();
17005 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
= 0;
17007 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17008 wxString
*arg2
= 0 ;
17009 int arg3
= (int) false ;
17013 bool temp2
= false ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 PyObject
* obj2
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17028 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17030 arg2
= wxString_in_helper(obj1
);
17031 if (arg2
== NULL
) SWIG_fail
;
17035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17036 if (!SWIG_IsOK(ecode3
)) {
17037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17039 arg3
= static_cast< int >(val3
);
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17064 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
= 0;
17066 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17067 wxString
*arg2
= 0 ;
17070 bool temp2
= false ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char * kwnames
[] = {
17074 (char *) "self",(char *) "x", NULL
17077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17079 if (!SWIG_IsOK(res1
)) {
17080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17082 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17084 arg2
= wxString_in_helper(obj1
);
17085 if (arg2
== NULL
) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 (arg1
)->Display((wxString
const &)*arg2
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= SWIG_Py_Void();
17109 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
= 0;
17111 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 char * kwnames
[] = {
17120 (char *) "self",(char *) "id", NULL
17123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17125 if (!SWIG_IsOK(res1
)) {
17126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17128 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17130 if (!SWIG_IsOK(ecode2
)) {
17131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17133 arg2
= static_cast< int >(val2
);
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 (arg1
)->Display(arg2
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= SWIG_Py_Void();
17147 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17148 PyObject
*resultobj
= 0;
17149 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17152 PyObject
*swig_obj
[1] ;
17154 if (!args
) SWIG_fail
;
17155 swig_obj
[0] = args
;
17156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17160 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->DisplayContents();
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_Py_Void();
17174 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17175 PyObject
*resultobj
= 0;
17176 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17179 PyObject
*swig_obj
[1] ;
17181 if (!args
) SWIG_fail
;
17182 swig_obj
[0] = args
;
17183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17184 if (!SWIG_IsOK(res1
)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17187 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 (arg1
)->DisplayIndex();
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_Py_Void();
17201 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
= 0;
17203 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17204 wxString
*arg2
= 0 ;
17208 bool temp2
= false ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char * kwnames
[] = {
17212 (char *) "self",(char *) "keyword", NULL
17215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17217 if (!SWIG_IsOK(res1
)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17220 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17222 arg2
= wxString_in_helper(obj1
);
17223 if (arg2
== NULL
) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17249 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
= 0;
17251 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17252 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17253 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17254 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17259 bool temp3
= false ;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 PyObject
* obj2
= 0 ;
17263 char * kwnames
[] = {
17264 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17269 if (!SWIG_IsOK(res1
)) {
17270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17272 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17274 if (!SWIG_IsOK(res2
)) {
17275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17277 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17280 arg3
= wxString_in_helper(obj2
);
17281 if (arg3
== NULL
) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= SWIG_Py_Void();
17306 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
= 0;
17308 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17309 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17310 wxString arg3
= (wxString
) wxPyEmptyString
;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 PyObject
* obj2
= 0 ;
17318 char * kwnames
[] = {
17319 (char *) "self",(char *) "cfg",(char *) "path", NULL
17322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17324 if (!SWIG_IsOK(res1
)) {
17325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17327 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17329 if (!SWIG_IsOK(res2
)) {
17330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17332 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17335 wxString
* sptr
= wxString_in_helper(obj2
);
17336 if (sptr
== NULL
) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 (arg1
)->ReadCustomization(arg2
,arg3
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_Py_Void();
17354 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= 0;
17356 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17357 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17358 wxString arg3
= (wxString
) wxPyEmptyString
;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 PyObject
* obj2
= 0 ;
17366 char * kwnames
[] = {
17367 (char *) "self",(char *) "cfg",(char *) "path", NULL
17370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17372 if (!SWIG_IsOK(res1
)) {
17373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17375 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17377 if (!SWIG_IsOK(res2
)) {
17378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17380 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17383 wxString
* sptr
= wxString_in_helper(obj2
);
17384 if (sptr
== NULL
) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 (arg1
)->WriteCustomization(arg2
,arg3
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_Py_Void();
17402 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17403 PyObject
*resultobj
= 0;
17404 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17407 PyObject
*swig_obj
[1] ;
17409 if (!args
) SWIG_fail
;
17410 swig_obj
[0] = args
;
17411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17412 if (!SWIG_IsOK(res1
)) {
17413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17415 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 (arg1
)->MakeModalIfNeeded();
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= SWIG_Py_Void();
17429 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17430 PyObject
*resultobj
= 0;
17431 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17432 wxWindow
*result
= 0 ;
17435 PyObject
*swig_obj
[1] ;
17437 if (!args
) SWIG_fail
;
17438 swig_obj
[0] = args
;
17439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17440 if (!SWIG_IsOK(res1
)) {
17441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17443 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= wxPyMake_wxObject(result
, 0);
17459 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17462 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17463 return SWIG_Py_Void();
17466 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17467 return SWIG_Python_InitShadowInstance(args
);
17470 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
= 0;
17472 wxWindow
*arg1
= (wxWindow
*) 0 ;
17473 wxString
*arg2
= 0 ;
17474 wxString
const &arg3_defvalue
= wxEmptyString
;
17475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17476 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17477 wxHtmlModalHelp
*result
= 0 ;
17480 bool temp2
= false ;
17481 bool temp3
= false ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 PyObject
* obj2
= 0 ;
17487 PyObject
* obj3
= 0 ;
17488 char * kwnames
[] = {
17489 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17494 if (!SWIG_IsOK(res1
)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17499 arg2
= wxString_in_helper(obj1
);
17500 if (arg2
== NULL
) SWIG_fail
;
17505 arg3
= wxString_in_helper(obj2
);
17506 if (arg3
== NULL
) SWIG_fail
;
17511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17512 if (!SWIG_IsOK(ecode4
)) {
17513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17515 arg4
= static_cast< int >(val4
);
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17546 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17549 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17550 return SWIG_Py_Void();
17553 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17554 return SWIG_Python_InitShadowInstance(args
);
17557 static PyMethodDef SwigMethods
[] = {
17558 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17559 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17560 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17561 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17562 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17563 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17564 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17565 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17566 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17567 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17568 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17569 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17570 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17571 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17572 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17573 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17574 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17575 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17576 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17577 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17578 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17579 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17580 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17581 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17582 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17583 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17584 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17585 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17586 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17587 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17588 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17589 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17590 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17591 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17592 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17593 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17594 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17595 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17596 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17597 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17598 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17599 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17600 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17601 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17602 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17603 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17604 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17605 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17606 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17607 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17608 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17609 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17610 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17611 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17612 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17613 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17614 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17615 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17616 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17617 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17618 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17619 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17620 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17621 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17622 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17623 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17624 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17625 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17626 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17627 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17628 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17629 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17630 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17631 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17632 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17633 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17634 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17635 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17636 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17637 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17638 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17639 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17640 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17641 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17642 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17643 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17644 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17645 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17646 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17647 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17648 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17649 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17650 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17651 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17652 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17653 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17654 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17655 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17656 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17657 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17658 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17659 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17660 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17661 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17662 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17663 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17664 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17665 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17666 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17667 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17668 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17669 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17670 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17671 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17672 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17673 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17674 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17675 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17676 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17677 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17678 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17679 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17680 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17681 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17682 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17683 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17684 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17685 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17686 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17687 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17688 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17689 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17690 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17691 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17692 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17693 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17694 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17695 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17696 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17697 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17698 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17699 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17700 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17701 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17702 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17703 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17704 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17705 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17706 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17707 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17708 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17709 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17710 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17711 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17712 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17713 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17714 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17715 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17716 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17717 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17718 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17719 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17720 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17721 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17722 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17723 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17724 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17725 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17726 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17727 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17728 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17729 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17730 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17731 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17732 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17733 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17734 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17735 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17736 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17737 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17738 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17739 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17740 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17741 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17742 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17743 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17744 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17745 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17746 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17747 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17748 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17749 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17750 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17751 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17752 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17753 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17754 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17755 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17756 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17757 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17758 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17759 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17760 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17761 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17762 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17763 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17764 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17765 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17766 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17767 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17768 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17769 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17770 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17771 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17772 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17773 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17774 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17775 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17776 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17777 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17778 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17779 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17780 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17781 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17782 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17783 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17784 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17785 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17786 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17787 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17788 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17789 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17790 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17791 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17792 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17793 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17794 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17795 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17796 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17797 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17798 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17799 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17800 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17801 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17802 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17803 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17804 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17805 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17806 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17807 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17808 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17809 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17810 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17811 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17812 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17813 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17814 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17816 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17817 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17818 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17819 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17820 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17821 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17822 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17823 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17824 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17825 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17826 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17827 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17828 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17829 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17830 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17831 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17832 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17833 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17834 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17835 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17836 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17837 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17838 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17839 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17840 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17841 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17842 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17843 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17844 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17845 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17846 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17847 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17848 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17849 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17850 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17851 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17852 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17853 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17854 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17855 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17856 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17857 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17858 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17859 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17860 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17861 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17862 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17863 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17864 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17865 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17866 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17867 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17868 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17869 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17870 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17871 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
17872 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
17873 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
17874 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17875 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17876 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17877 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
17878 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
17879 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17880 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17881 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
17883 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
17884 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17886 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17887 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17888 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
17889 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
17890 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
17891 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
17892 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
17893 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
17894 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
17895 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
17896 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
17897 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17898 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17899 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
)_wrap_HtmlWindowEvent_GetURL
, METH_O
, NULL
},
17900 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
17901 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit
, METH_VARARGS
, NULL
},
17902 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17903 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17904 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17905 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
17906 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
17908 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
17909 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17910 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
17911 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
17912 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
17913 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17914 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17915 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17916 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
17917 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
17918 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17919 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
17920 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17921 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
17922 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
17923 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
17924 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17925 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17926 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
17927 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17928 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17929 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
17930 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17931 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17932 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17933 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
17935 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
17936 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17937 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
17938 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
17939 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17940 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
17941 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
17942 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
17944 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
17945 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17946 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17947 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17949 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17950 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
17951 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
17952 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17953 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17954 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17955 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17956 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
17957 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
17958 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
17959 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
17960 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17961 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
17962 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
17963 { NULL
, NULL
, 0, NULL
}
17967 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17969 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
17970 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
17972 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
17973 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17975 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
17976 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
17978 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
17979 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
17981 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
17982 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
17984 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
17985 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
17987 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
17988 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
17990 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
17991 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17993 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
17994 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
17996 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
17997 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
17999 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
18000 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18002 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
18003 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18005 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
18006 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18008 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
18009 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
18011 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
18012 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18014 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
18015 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
18017 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
18018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18020 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
18021 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18023 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
18024 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18026 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18027 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18029 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18030 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18032 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18033 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18035 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18036 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18038 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18041 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18042 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18044 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18045 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18047 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
18048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18050 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18051 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18053 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18054 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18056 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18057 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18059 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18060 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18062 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18063 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18065 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18066 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18068 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18069 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18071 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18074 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18075 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18077 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18078 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18080 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18081 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18083 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
18084 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18086 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18087 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18089 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18090 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18092 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18095 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18096 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18098 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18099 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18101 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18102 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18104 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18105 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18107 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18108 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18110 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18111 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18113 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18114 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18116 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18117 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18119 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18120 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18122 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
18123 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18125 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18126 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18128 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18131 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18134 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18137 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18138 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18140 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18141 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18143 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18144 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18146 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18147 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18149 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18152 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18155 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18158 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18161 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18164 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
18165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18167 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18170 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18173 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18176 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18177 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18179 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18180 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18182 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18185 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18188 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18191 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18192 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18194 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18197 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18198 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18200 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18201 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18203 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18204 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18206 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18207 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18209 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18212 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18213 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18215 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18216 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18218 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18221 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18224 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18225 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18227 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18228 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18230 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18233 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18236 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18239 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18240 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18242 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18245 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18246 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18248 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18251 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18254 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18257 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18260 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18263 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18264 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18266 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18269 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18272 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18275 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18278 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18281 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18284 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18287 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18290 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18291 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18293 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18294 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18296 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18297 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18299 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18300 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18302 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18303 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18305 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18306 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18308 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18309 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18311 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18312 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18314 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18315 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18317 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18318 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18320 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18323 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18326 static void *_p_wxEventTo_p_wxObject(void *x
) {
18327 return (void *)((wxObject
*) ((wxEvent
*) x
));
18329 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18332 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18333 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18335 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18336 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18338 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18339 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18341 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18344 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18347 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18348 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18350 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18351 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18353 static void *_p_wxImageTo_p_wxObject(void *x
) {
18354 return (void *)((wxObject
*) ((wxImage
*) x
));
18356 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18357 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18359 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18360 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18362 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18363 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18365 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18366 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18368 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18369 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18371 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18374 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18377 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18378 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18380 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18381 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18383 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18386 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18387 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18389 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18390 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18392 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18393 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18395 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18396 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18398 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18399 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18401 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18402 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18404 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18405 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18407 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18408 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18410 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18413 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18414 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18416 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18417 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18419 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18420 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18422 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18423 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18425 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18426 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18428 static void *_p_wxControlTo_p_wxObject(void *x
) {
18429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18431 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18434 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18435 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18437 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18438 return (void *)((wxObject
*) ((wxColourData
*) x
));
18440 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18441 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18443 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18444 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18446 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18447 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18449 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18450 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18452 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18453 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18455 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18456 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18458 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18461 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18462 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18464 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18467 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18468 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18470 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
18471 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
18473 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18474 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18476 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18477 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18479 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18482 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18483 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18485 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18486 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18488 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18489 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18491 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18494 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18497 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18500 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18503 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18504 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18506 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18507 return (void *)((wxObject
*) ((wxFontData
*) x
));
18509 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18512 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18515 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18518 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18519 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18521 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18524 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18525 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18527 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18528 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18530 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18531 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18533 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18534 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18536 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18537 return (void *)((wxObject
*) ((wxSizer
*) x
));
18539 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18540 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18542 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18543 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18545 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18546 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18548 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18549 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18551 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18552 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18554 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18555 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18557 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
18558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
18560 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18561 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18563 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18566 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18567 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18569 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18570 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18572 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18573 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18575 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18576 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18578 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18579 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18581 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18582 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18584 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18587 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18590 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18593 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18596 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18599 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18600 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18602 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18605 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18606 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18608 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18609 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18611 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18612 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18614 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18615 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18617 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18618 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18620 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18621 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18623 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18626 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18629 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18630 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18632 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18633 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18635 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18636 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18638 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18641 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18642 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18644 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18647 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18650 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18653 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
18654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18656 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18657 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18659 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18662 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18665 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18668 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18671 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18674 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18677 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18680 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18683 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18686 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18689 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18692 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18695 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18698 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18701 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18702 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18704 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18705 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18707 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18708 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18710 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18713 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18716 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18719 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
18720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18722 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18725 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18728 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18731 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18734 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18737 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18738 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18740 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18743 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18744 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18746 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18747 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18749 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18750 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18752 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18753 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18755 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18756 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18758 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18761 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18762 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18764 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18765 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18767 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18768 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18770 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18771 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18773 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18776 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18777 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18779 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18780 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18782 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18783 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18785 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18788 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18791 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18792 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18794 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18795 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18797 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18800 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18801 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18803 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18806 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18807 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18809 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18810 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18812 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18813 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18815 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18816 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18818 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18819 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18821 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18822 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18824 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18825 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18827 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
18828 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
18830 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18831 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18833 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18834 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18836 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18837 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18839 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18840 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18842 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18845 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18846 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18848 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18849 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18851 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18852 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18854 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18855 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18857 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18858 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18860 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18861 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18863 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18864 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18866 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18867 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18869 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18870 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18872 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18873 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18875 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18876 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18878 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18879 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18881 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18882 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18884 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18885 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18887 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
18888 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18890 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
18891 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18893 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18894 return (void *)((wxWindow
*) ((wxControl
*) x
));
18896 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18897 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18899 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18900 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18902 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18903 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18905 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18906 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18908 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18909 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18911 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18912 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18914 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18915 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18917 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18918 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18920 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18921 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18923 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18924 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18926 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
18927 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18929 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18930 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18932 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18933 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18935 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18936 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18938 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18939 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18941 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18942 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18944 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
18945 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18947 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18948 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18950 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18951 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18953 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
18954 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18956 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18957 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18959 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18960 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18962 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18963 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18965 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18966 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18968 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18969 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18971 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18972 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18974 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18975 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18977 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18978 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18980 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18981 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18983 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18984 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18986 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18987 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18989 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18990 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18992 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18993 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
18995 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18996 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18998 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18999 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
19001 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19002 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19004 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
19005 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19007 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
19008 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
19010 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
19011 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
19013 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
19014 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
19016 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
19017 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
19019 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19020 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
19022 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
19023 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
19025 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
19026 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
19028 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
19029 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
19031 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
19032 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
19034 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
19035 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
19037 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
19038 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
19040 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
19041 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
19043 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
19044 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19046 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
19047 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
19049 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
19050 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19052 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
19053 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
19055 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
19056 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
19058 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
19059 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
19061 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
19062 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
19064 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
19065 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19067 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
19068 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19070 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
19071 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19073 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
19074 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19076 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
19077 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19079 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
19080 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
19082 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
19083 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19085 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
19086 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19088 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19089 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19091 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19092 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19094 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19095 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19097 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19098 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19100 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19101 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19103 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19104 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19106 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
19107 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
19109 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19110 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19112 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19113 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19115 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19116 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19118 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19119 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19121 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19122 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19124 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19125 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19127 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19128 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19130 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
19131 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
19133 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19134 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19136 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19137 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19139 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19140 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19141 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};
19142 static swig_type_info _swigt__p_int
= {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
19143 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19144 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19145 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19146 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
19147 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19148 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19149 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19150 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
19154 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19155 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19156 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19157 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19158 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19159 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19160 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19161 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19162 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19163 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19164 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19165 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19166 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19167 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19168 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19169 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19170 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19171 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19172 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19173 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19174 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19175 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
19176 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19177 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19178 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19179 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19180 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19181 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19182 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19183 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19184 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19185 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19186 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
19187 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19188 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19189 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19190 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19191 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19192 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19193 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19194 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19195 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19196 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19197 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19198 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19199 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19200 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19201 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19202 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19203 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19204 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19205 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19206 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19207 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19208 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19209 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19210 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19211 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19212 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19213 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19214 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19215 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19216 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19217 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19218 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19219 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19220 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19221 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19222 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19223 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19224 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19225 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19226 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19229 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19230 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19231 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19232 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19233 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19234 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19235 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19236 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19237 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19238 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19239 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19240 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19241 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19242 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19243 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19244 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19245 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19246 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19247 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19248 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19249 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19250 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19251 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19252 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19253 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19254 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19255 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19256 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19257 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19258 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19259 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19260 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19261 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19262 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19263 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19264 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19265 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19266 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19267 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19268 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19269 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19270 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19271 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19272 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19273 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19274 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19275 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19276 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19277 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19278 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19279 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19280 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19281 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19282 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19283 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19284 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19285 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19286 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19287 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19288 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19289 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19290 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19291 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19292 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19293 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19294 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19295 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19296 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19297 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19298 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19299 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19300 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19301 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19302 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19303 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19304 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19305 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19306 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19307 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19308 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19309 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19310 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19311 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19312 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19313 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19314 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19315 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19316 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19317 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19318 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19319 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19320 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19321 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19322 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19323 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19324 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19325 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19326 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19327 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19328 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19329 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19330 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19331 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19332 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19333 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19334 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19335 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19336 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19337 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19339 static swig_type_info
*swig_type_initial
[] = {
19342 &_swigt__p_form_ops_t
,
19344 &_swigt__p_unsigned_char
,
19345 &_swigt__p_unsigned_int
,
19346 &_swigt__p_unsigned_long
,
19347 &_swigt__p_wxANIHandler
,
19348 &_swigt__p_wxAcceleratorTable
,
19349 &_swigt__p_wxActivateEvent
,
19350 &_swigt__p_wxArrayInt
,
19351 &_swigt__p_wxBMPHandler
,
19352 &_swigt__p_wxBitmap
,
19353 &_swigt__p_wxBoxSizer
,
19354 &_swigt__p_wxCURHandler
,
19355 &_swigt__p_wxCalculateLayoutEvent
,
19356 &_swigt__p_wxChildFocusEvent
,
19357 &_swigt__p_wxClipboardTextEvent
,
19358 &_swigt__p_wxCloseEvent
,
19359 &_swigt__p_wxColour
,
19360 &_swigt__p_wxColourData
,
19361 &_swigt__p_wxColourDialog
,
19362 &_swigt__p_wxCommandEvent
,
19363 &_swigt__p_wxConfigBase
,
19364 &_swigt__p_wxContextMenuEvent
,
19365 &_swigt__p_wxControl
,
19366 &_swigt__p_wxControlWithItems
,
19367 &_swigt__p_wxCursor
,
19369 &_swigt__p_wxDateEvent
,
19370 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19371 &_swigt__p_wxDialog
,
19372 &_swigt__p_wxDirDialog
,
19373 &_swigt__p_wxDisplayChangedEvent
,
19374 &_swigt__p_wxDropFilesEvent
,
19375 &_swigt__p_wxDuplexMode
,
19376 &_swigt__p_wxEraseEvent
,
19377 &_swigt__p_wxEvent
,
19378 &_swigt__p_wxEvtHandler
,
19379 &_swigt__p_wxFSFile
,
19380 &_swigt__p_wxFileDialog
,
19381 &_swigt__p_wxFileSystem
,
19382 &_swigt__p_wxFindDialogEvent
,
19383 &_swigt__p_wxFindReplaceData
,
19384 &_swigt__p_wxFindReplaceDialog
,
19385 &_swigt__p_wxFlexGridSizer
,
19386 &_swigt__p_wxFocusEvent
,
19388 &_swigt__p_wxFontData
,
19389 &_swigt__p_wxFontDialog
,
19390 &_swigt__p_wxFrame
,
19391 &_swigt__p_wxGBSizerItem
,
19392 &_swigt__p_wxGIFHandler
,
19393 &_swigt__p_wxGridBagSizer
,
19394 &_swigt__p_wxGridSizer
,
19395 &_swigt__p_wxHelpControllerBase
,
19396 &_swigt__p_wxHelpSearchMode
,
19397 &_swigt__p_wxHtmlBookRecArray
,
19398 &_swigt__p_wxHtmlBookRecord
,
19399 &_swigt__p_wxHtmlCell
,
19400 &_swigt__p_wxHtmlColourCell
,
19401 &_swigt__p_wxHtmlContainerCell
,
19402 &_swigt__p_wxHtmlDCRenderer
,
19403 &_swigt__p_wxHtmlEasyPrinting
,
19404 &_swigt__p_wxHtmlFilter
,
19405 &_swigt__p_wxHtmlFontCell
,
19406 &_swigt__p_wxHtmlHelpController
,
19407 &_swigt__p_wxHtmlHelpData
,
19408 &_swigt__p_wxHtmlHelpDialog
,
19409 &_swigt__p_wxHtmlHelpFrame
,
19410 &_swigt__p_wxHtmlHelpFrameCfg
,
19411 &_swigt__p_wxHtmlHelpWindow
,
19412 &_swigt__p_wxHtmlLinkInfo
,
19413 &_swigt__p_wxHtmlModalHelp
,
19414 &_swigt__p_wxHtmlParser
,
19415 &_swigt__p_wxHtmlPrintout
,
19416 &_swigt__p_wxHtmlRenderingInfo
,
19417 &_swigt__p_wxHtmlRenderingState
,
19418 &_swigt__p_wxHtmlRenderingStyle
,
19419 &_swigt__p_wxHtmlSearchStatus
,
19420 &_swigt__p_wxHtmlSelection
,
19421 &_swigt__p_wxHtmlTag
,
19422 &_swigt__p_wxHtmlTagHandler
,
19423 &_swigt__p_wxHtmlWidgetCell
,
19424 &_swigt__p_wxHtmlWinParser
,
19425 &_swigt__p_wxHtmlWindow
,
19426 &_swigt__p_wxHtmlWindowEvent
,
19427 &_swigt__p_wxHtmlWindowInterface
,
19428 &_swigt__p_wxHtmlWordCell
,
19429 &_swigt__p_wxICOHandler
,
19430 &_swigt__p_wxIconizeEvent
,
19431 &_swigt__p_wxIdleEvent
,
19432 &_swigt__p_wxImage
,
19433 &_swigt__p_wxImageHandler
,
19434 &_swigt__p_wxIndividualLayoutConstraint
,
19435 &_swigt__p_wxInitDialogEvent
,
19436 &_swigt__p_wxJPEGHandler
,
19437 &_swigt__p_wxKeyEvent
,
19438 &_swigt__p_wxLayoutAlgorithm
,
19439 &_swigt__p_wxLayoutConstraints
,
19440 &_swigt__p_wxMDIChildFrame
,
19441 &_swigt__p_wxMDIClientWindow
,
19442 &_swigt__p_wxMDIParentFrame
,
19443 &_swigt__p_wxMaximizeEvent
,
19445 &_swigt__p_wxMenuBar
,
19446 &_swigt__p_wxMenuEvent
,
19447 &_swigt__p_wxMenuItem
,
19448 &_swigt__p_wxMessageDialog
,
19449 &_swigt__p_wxMiniFrame
,
19450 &_swigt__p_wxMouseCaptureChangedEvent
,
19451 &_swigt__p_wxMouseCaptureLostEvent
,
19452 &_swigt__p_wxMouseEvent
,
19453 &_swigt__p_wxMoveEvent
,
19454 &_swigt__p_wxMultiChoiceDialog
,
19455 &_swigt__p_wxNavigationKeyEvent
,
19456 &_swigt__p_wxNcPaintEvent
,
19457 &_swigt__p_wxNotifyEvent
,
19458 &_swigt__p_wxNumberEntryDialog
,
19459 &_swigt__p_wxObject
,
19460 &_swigt__p_wxPCXHandler
,
19461 &_swigt__p_wxPNGHandler
,
19462 &_swigt__p_wxPNMHandler
,
19463 &_swigt__p_wxPageSetupDialog
,
19464 &_swigt__p_wxPageSetupDialogData
,
19465 &_swigt__p_wxPaintEvent
,
19466 &_swigt__p_wxPaletteChangedEvent
,
19467 &_swigt__p_wxPanel
,
19468 &_swigt__p_wxPaperSize
,
19469 &_swigt__p_wxPasswordEntryDialog
,
19470 &_swigt__p_wxPoint
,
19471 &_swigt__p_wxPopupWindow
,
19472 &_swigt__p_wxPreviewCanvas
,
19473 &_swigt__p_wxPreviewControlBar
,
19474 &_swigt__p_wxPreviewFrame
,
19475 &_swigt__p_wxPrintData
,
19476 &_swigt__p_wxPrintDialog
,
19477 &_swigt__p_wxPrintDialogData
,
19478 &_swigt__p_wxPrintPreview
,
19479 &_swigt__p_wxPrinter
,
19480 &_swigt__p_wxProgressDialog
,
19481 &_swigt__p_wxPyApp
,
19482 &_swigt__p_wxPyCommandEvent
,
19483 &_swigt__p_wxPyEvent
,
19484 &_swigt__p_wxPyHtmlFilter
,
19485 &_swigt__p_wxPyHtmlListBox
,
19486 &_swigt__p_wxPyHtmlTagHandler
,
19487 &_swigt__p_wxPyHtmlWinTagHandler
,
19488 &_swigt__p_wxPyHtmlWindow
,
19489 &_swigt__p_wxPyImageHandler
,
19490 &_swigt__p_wxPyPanel
,
19491 &_swigt__p_wxPyPopupTransientWindow
,
19492 &_swigt__p_wxPyPreviewControlBar
,
19493 &_swigt__p_wxPyPreviewFrame
,
19494 &_swigt__p_wxPyPrintPreview
,
19495 &_swigt__p_wxPyPrintout
,
19496 &_swigt__p_wxPyScrolledWindow
,
19497 &_swigt__p_wxPySizer
,
19498 &_swigt__p_wxPyTaskBarIcon
,
19499 &_swigt__p_wxPyVListBox
,
19500 &_swigt__p_wxPyVScrolledWindow
,
19501 &_swigt__p_wxPyValidator
,
19502 &_swigt__p_wxPyWindow
,
19503 &_swigt__p_wxQueryLayoutInfoEvent
,
19504 &_swigt__p_wxQueryNewPaletteEvent
,
19505 &_swigt__p_wxSashEvent
,
19506 &_swigt__p_wxSashLayoutWindow
,
19507 &_swigt__p_wxSashWindow
,
19508 &_swigt__p_wxScrollEvent
,
19509 &_swigt__p_wxScrollWinEvent
,
19510 &_swigt__p_wxScrolledWindow
,
19511 &_swigt__p_wxSetCursorEvent
,
19512 &_swigt__p_wxShowEvent
,
19513 &_swigt__p_wxSingleChoiceDialog
,
19515 &_swigt__p_wxSizeEvent
,
19516 &_swigt__p_wxSizer
,
19517 &_swigt__p_wxSizerItem
,
19518 &_swigt__p_wxSplashScreen
,
19519 &_swigt__p_wxSplashScreenWindow
,
19520 &_swigt__p_wxSplitterEvent
,
19521 &_swigt__p_wxSplitterWindow
,
19522 &_swigt__p_wxStaticBoxSizer
,
19523 &_swigt__p_wxStatusBar
,
19524 &_swigt__p_wxStdDialogButtonSizer
,
19525 &_swigt__p_wxString
,
19526 &_swigt__p_wxSysColourChangedEvent
,
19527 &_swigt__p_wxTIFFHandler
,
19528 &_swigt__p_wxTaskBarIconEvent
,
19529 &_swigt__p_wxTextEntryDialog
,
19530 &_swigt__p_wxTipWindow
,
19531 &_swigt__p_wxTopLevelWindow
,
19532 &_swigt__p_wxUpdateUIEvent
,
19533 &_swigt__p_wxValidator
,
19534 &_swigt__p_wxVisualAttributes
,
19535 &_swigt__p_wxWindow
,
19536 &_swigt__p_wxWindowCreateEvent
,
19537 &_swigt__p_wxWindowDestroyEvent
,
19538 &_swigt__p_wxXPMHandler
,
19541 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19552 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19553 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19556 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19557 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19571 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19575 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19576 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19579 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
19580 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19584 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19585 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19586 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19587 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
19588 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19589 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19590 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19594 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19598 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19604 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19605 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19608 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19609 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_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}};
19611 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19620 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19621 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19629 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19634 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19638 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19639 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19646 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}};
19647 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}};
19648 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19649 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19650 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19651 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}};
19652 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19653 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19654 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19655 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19656 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19657 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19658 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19659 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19660 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19661 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19662 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19663 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19664 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19665 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19666 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}};
19667 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19668 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19669 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19670 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}};
19671 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19672 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19673 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19674 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19675 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19676 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19677 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19678 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19679 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19680 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19681 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19682 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}};
19683 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19684 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19685 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19686 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19687 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19688 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19689 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19690 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19691 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19692 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19693 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19694 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19695 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19696 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19697 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19698 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19699 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19700 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19701 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19702 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19703 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19704 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19705 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19706 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19707 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19708 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19709 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19710 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19711 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19712 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19713 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19714 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19715 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19716 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19717 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19718 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19719 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19720 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19721 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19722 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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlPrintout
, _p_wxHtmlPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlContainerCell
, _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpControllerBase
, _p_wxHelpControllerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlDCRenderer
, _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkInfo
, _p_wxHtmlLinkInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpController
, _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWordCell
, _p_wxHtmlWordCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
19723 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19724 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}};
19725 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19726 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19727 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19728 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19729 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}};
19730 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19731 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19732 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}};
19733 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}};
19734 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19735 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19736 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19737 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
19738 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19739 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
19741 static swig_cast_info
*swig_cast_initial
[] = {
19744 _swigc__p_form_ops_t
,
19746 _swigc__p_unsigned_char
,
19747 _swigc__p_unsigned_int
,
19748 _swigc__p_unsigned_long
,
19749 _swigc__p_wxANIHandler
,
19750 _swigc__p_wxAcceleratorTable
,
19751 _swigc__p_wxActivateEvent
,
19752 _swigc__p_wxArrayInt
,
19753 _swigc__p_wxBMPHandler
,
19754 _swigc__p_wxBitmap
,
19755 _swigc__p_wxBoxSizer
,
19756 _swigc__p_wxCURHandler
,
19757 _swigc__p_wxCalculateLayoutEvent
,
19758 _swigc__p_wxChildFocusEvent
,
19759 _swigc__p_wxClipboardTextEvent
,
19760 _swigc__p_wxCloseEvent
,
19761 _swigc__p_wxColour
,
19762 _swigc__p_wxColourData
,
19763 _swigc__p_wxColourDialog
,
19764 _swigc__p_wxCommandEvent
,
19765 _swigc__p_wxConfigBase
,
19766 _swigc__p_wxContextMenuEvent
,
19767 _swigc__p_wxControl
,
19768 _swigc__p_wxControlWithItems
,
19769 _swigc__p_wxCursor
,
19771 _swigc__p_wxDateEvent
,
19772 _swigc__p_wxDefaultHtmlRenderingStyle
,
19773 _swigc__p_wxDialog
,
19774 _swigc__p_wxDirDialog
,
19775 _swigc__p_wxDisplayChangedEvent
,
19776 _swigc__p_wxDropFilesEvent
,
19777 _swigc__p_wxDuplexMode
,
19778 _swigc__p_wxEraseEvent
,
19780 _swigc__p_wxEvtHandler
,
19781 _swigc__p_wxFSFile
,
19782 _swigc__p_wxFileDialog
,
19783 _swigc__p_wxFileSystem
,
19784 _swigc__p_wxFindDialogEvent
,
19785 _swigc__p_wxFindReplaceData
,
19786 _swigc__p_wxFindReplaceDialog
,
19787 _swigc__p_wxFlexGridSizer
,
19788 _swigc__p_wxFocusEvent
,
19790 _swigc__p_wxFontData
,
19791 _swigc__p_wxFontDialog
,
19793 _swigc__p_wxGBSizerItem
,
19794 _swigc__p_wxGIFHandler
,
19795 _swigc__p_wxGridBagSizer
,
19796 _swigc__p_wxGridSizer
,
19797 _swigc__p_wxHelpControllerBase
,
19798 _swigc__p_wxHelpSearchMode
,
19799 _swigc__p_wxHtmlBookRecArray
,
19800 _swigc__p_wxHtmlBookRecord
,
19801 _swigc__p_wxHtmlCell
,
19802 _swigc__p_wxHtmlColourCell
,
19803 _swigc__p_wxHtmlContainerCell
,
19804 _swigc__p_wxHtmlDCRenderer
,
19805 _swigc__p_wxHtmlEasyPrinting
,
19806 _swigc__p_wxHtmlFilter
,
19807 _swigc__p_wxHtmlFontCell
,
19808 _swigc__p_wxHtmlHelpController
,
19809 _swigc__p_wxHtmlHelpData
,
19810 _swigc__p_wxHtmlHelpDialog
,
19811 _swigc__p_wxHtmlHelpFrame
,
19812 _swigc__p_wxHtmlHelpFrameCfg
,
19813 _swigc__p_wxHtmlHelpWindow
,
19814 _swigc__p_wxHtmlLinkInfo
,
19815 _swigc__p_wxHtmlModalHelp
,
19816 _swigc__p_wxHtmlParser
,
19817 _swigc__p_wxHtmlPrintout
,
19818 _swigc__p_wxHtmlRenderingInfo
,
19819 _swigc__p_wxHtmlRenderingState
,
19820 _swigc__p_wxHtmlRenderingStyle
,
19821 _swigc__p_wxHtmlSearchStatus
,
19822 _swigc__p_wxHtmlSelection
,
19823 _swigc__p_wxHtmlTag
,
19824 _swigc__p_wxHtmlTagHandler
,
19825 _swigc__p_wxHtmlWidgetCell
,
19826 _swigc__p_wxHtmlWinParser
,
19827 _swigc__p_wxHtmlWindow
,
19828 _swigc__p_wxHtmlWindowEvent
,
19829 _swigc__p_wxHtmlWindowInterface
,
19830 _swigc__p_wxHtmlWordCell
,
19831 _swigc__p_wxICOHandler
,
19832 _swigc__p_wxIconizeEvent
,
19833 _swigc__p_wxIdleEvent
,
19835 _swigc__p_wxImageHandler
,
19836 _swigc__p_wxIndividualLayoutConstraint
,
19837 _swigc__p_wxInitDialogEvent
,
19838 _swigc__p_wxJPEGHandler
,
19839 _swigc__p_wxKeyEvent
,
19840 _swigc__p_wxLayoutAlgorithm
,
19841 _swigc__p_wxLayoutConstraints
,
19842 _swigc__p_wxMDIChildFrame
,
19843 _swigc__p_wxMDIClientWindow
,
19844 _swigc__p_wxMDIParentFrame
,
19845 _swigc__p_wxMaximizeEvent
,
19847 _swigc__p_wxMenuBar
,
19848 _swigc__p_wxMenuEvent
,
19849 _swigc__p_wxMenuItem
,
19850 _swigc__p_wxMessageDialog
,
19851 _swigc__p_wxMiniFrame
,
19852 _swigc__p_wxMouseCaptureChangedEvent
,
19853 _swigc__p_wxMouseCaptureLostEvent
,
19854 _swigc__p_wxMouseEvent
,
19855 _swigc__p_wxMoveEvent
,
19856 _swigc__p_wxMultiChoiceDialog
,
19857 _swigc__p_wxNavigationKeyEvent
,
19858 _swigc__p_wxNcPaintEvent
,
19859 _swigc__p_wxNotifyEvent
,
19860 _swigc__p_wxNumberEntryDialog
,
19861 _swigc__p_wxObject
,
19862 _swigc__p_wxPCXHandler
,
19863 _swigc__p_wxPNGHandler
,
19864 _swigc__p_wxPNMHandler
,
19865 _swigc__p_wxPageSetupDialog
,
19866 _swigc__p_wxPageSetupDialogData
,
19867 _swigc__p_wxPaintEvent
,
19868 _swigc__p_wxPaletteChangedEvent
,
19870 _swigc__p_wxPaperSize
,
19871 _swigc__p_wxPasswordEntryDialog
,
19873 _swigc__p_wxPopupWindow
,
19874 _swigc__p_wxPreviewCanvas
,
19875 _swigc__p_wxPreviewControlBar
,
19876 _swigc__p_wxPreviewFrame
,
19877 _swigc__p_wxPrintData
,
19878 _swigc__p_wxPrintDialog
,
19879 _swigc__p_wxPrintDialogData
,
19880 _swigc__p_wxPrintPreview
,
19881 _swigc__p_wxPrinter
,
19882 _swigc__p_wxProgressDialog
,
19884 _swigc__p_wxPyCommandEvent
,
19885 _swigc__p_wxPyEvent
,
19886 _swigc__p_wxPyHtmlFilter
,
19887 _swigc__p_wxPyHtmlListBox
,
19888 _swigc__p_wxPyHtmlTagHandler
,
19889 _swigc__p_wxPyHtmlWinTagHandler
,
19890 _swigc__p_wxPyHtmlWindow
,
19891 _swigc__p_wxPyImageHandler
,
19892 _swigc__p_wxPyPanel
,
19893 _swigc__p_wxPyPopupTransientWindow
,
19894 _swigc__p_wxPyPreviewControlBar
,
19895 _swigc__p_wxPyPreviewFrame
,
19896 _swigc__p_wxPyPrintPreview
,
19897 _swigc__p_wxPyPrintout
,
19898 _swigc__p_wxPyScrolledWindow
,
19899 _swigc__p_wxPySizer
,
19900 _swigc__p_wxPyTaskBarIcon
,
19901 _swigc__p_wxPyVListBox
,
19902 _swigc__p_wxPyVScrolledWindow
,
19903 _swigc__p_wxPyValidator
,
19904 _swigc__p_wxPyWindow
,
19905 _swigc__p_wxQueryLayoutInfoEvent
,
19906 _swigc__p_wxQueryNewPaletteEvent
,
19907 _swigc__p_wxSashEvent
,
19908 _swigc__p_wxSashLayoutWindow
,
19909 _swigc__p_wxSashWindow
,
19910 _swigc__p_wxScrollEvent
,
19911 _swigc__p_wxScrollWinEvent
,
19912 _swigc__p_wxScrolledWindow
,
19913 _swigc__p_wxSetCursorEvent
,
19914 _swigc__p_wxShowEvent
,
19915 _swigc__p_wxSingleChoiceDialog
,
19917 _swigc__p_wxSizeEvent
,
19919 _swigc__p_wxSizerItem
,
19920 _swigc__p_wxSplashScreen
,
19921 _swigc__p_wxSplashScreenWindow
,
19922 _swigc__p_wxSplitterEvent
,
19923 _swigc__p_wxSplitterWindow
,
19924 _swigc__p_wxStaticBoxSizer
,
19925 _swigc__p_wxStatusBar
,
19926 _swigc__p_wxStdDialogButtonSizer
,
19927 _swigc__p_wxString
,
19928 _swigc__p_wxSysColourChangedEvent
,
19929 _swigc__p_wxTIFFHandler
,
19930 _swigc__p_wxTaskBarIconEvent
,
19931 _swigc__p_wxTextEntryDialog
,
19932 _swigc__p_wxTipWindow
,
19933 _swigc__p_wxTopLevelWindow
,
19934 _swigc__p_wxUpdateUIEvent
,
19935 _swigc__p_wxValidator
,
19936 _swigc__p_wxVisualAttributes
,
19937 _swigc__p_wxWindow
,
19938 _swigc__p_wxWindowCreateEvent
,
19939 _swigc__p_wxWindowDestroyEvent
,
19940 _swigc__p_wxXPMHandler
,
19944 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19946 static swig_const_info swig_const_table
[] = {
19947 {0, 0, 0, 0.0, 0, 0}};
19952 /* -----------------------------------------------------------------------------
19953 * Type initialization:
19954 * This problem is tough by the requirement that no dynamic
19955 * memory is used. Also, since swig_type_info structures store pointers to
19956 * swig_cast_info structures and swig_cast_info structures store pointers back
19957 * to swig_type_info structures, we need some lookup code at initialization.
19958 * The idea is that swig generates all the structures that are needed.
19959 * The runtime then collects these partially filled structures.
19960 * The SWIG_InitializeModule function takes these initial arrays out of
19961 * swig_module, and does all the lookup, filling in the swig_module.types
19962 * array with the correct data and linking the correct swig_cast_info
19963 * structures together.
19965 * The generated swig_type_info structures are assigned staticly to an initial
19966 * array. We just loop though that array, and handle each type individually.
19967 * First we lookup if this type has been already loaded, and if so, use the
19968 * loaded structure instead of the generated one. Then we have to fill in the
19969 * cast linked list. The cast data is initially stored in something like a
19970 * two-dimensional array. Each row corresponds to a type (there are the same
19971 * number of rows as there are in the swig_type_initial array). Each entry in
19972 * a column is one of the swig_cast_info structures for that type.
19973 * The cast_initial array is actually an array of arrays, because each row has
19974 * a variable number of columns. So to actually build the cast linked list,
19975 * we find the array of casts associated with the type, and loop through it
19976 * adding the casts to the list. The one last trick we need to do is making
19977 * sure the type pointer in the swig_cast_info struct is correct.
19979 * First off, we lookup the cast->type name to see if it is already loaded.
19980 * There are three cases to handle:
19981 * 1) If the cast->type has already been loaded AND the type we are adding
19982 * casting info to has not been loaded (it is in this module), THEN we
19983 * replace the cast->type pointer with the type pointer that has already
19985 * 2) If BOTH types (the one we are adding casting info to, and the
19986 * cast->type) are loaded, THEN the cast info has already been loaded by
19987 * the previous module so we just ignore it.
19988 * 3) Finally, if cast->type has not already been loaded, then we add that
19989 * swig_cast_info to the linked list (because the cast->type) pointer will
19991 * ----------------------------------------------------------------------------- */
20001 #define SWIGRUNTIME_DEBUG
20005 SWIG_InitializeModule(void *clientdata
) {
20007 swig_module_info
*module_head
;
20008 static int init_run
= 0;
20010 clientdata
= clientdata
;
20012 if (init_run
) return;
20015 /* Initialize the swig_module */
20016 swig_module
.type_initial
= swig_type_initial
;
20017 swig_module
.cast_initial
= swig_cast_initial
;
20019 /* Try and load any already created modules */
20020 module_head
= SWIG_GetModule(clientdata
);
20022 swig_module
.next
= module_head
->next
;
20023 module_head
->next
= &swig_module
;
20025 /* This is the first module loaded */
20026 swig_module
.next
= &swig_module
;
20027 SWIG_SetModule(clientdata
, &swig_module
);
20030 /* Now work on filling in swig_module.types */
20031 #ifdef SWIGRUNTIME_DEBUG
20032 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
20034 for (i
= 0; i
< swig_module
.size
; ++i
) {
20035 swig_type_info
*type
= 0;
20036 swig_type_info
*ret
;
20037 swig_cast_info
*cast
;
20039 #ifdef SWIGRUNTIME_DEBUG
20040 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20043 /* if there is another module already loaded */
20044 if (swig_module
.next
!= &swig_module
) {
20045 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
20048 /* Overwrite clientdata field */
20049 #ifdef SWIGRUNTIME_DEBUG
20050 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
20052 if (swig_module
.type_initial
[i
]->clientdata
) {
20053 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
20054 #ifdef SWIGRUNTIME_DEBUG
20055 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
20059 type
= swig_module
.type_initial
[i
];
20062 /* Insert casting types */
20063 cast
= swig_module
.cast_initial
[i
];
20064 while (cast
->type
) {
20065 /* Don't need to add information already in the list */
20067 #ifdef SWIGRUNTIME_DEBUG
20068 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20070 if (swig_module
.next
!= &swig_module
) {
20071 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20072 #ifdef SWIGRUNTIME_DEBUG
20073 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20077 if (type
== swig_module
.type_initial
[i
]) {
20078 #ifdef SWIGRUNTIME_DEBUG
20079 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20084 /* Check for casting already in the list */
20085 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20086 #ifdef SWIGRUNTIME_DEBUG
20087 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20089 if (!ocast
) ret
= 0;
20094 #ifdef SWIGRUNTIME_DEBUG
20095 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20098 type
->cast
->prev
= cast
;
20099 cast
->next
= type
->cast
;
20105 /* Set entry in modules->types array equal to the type */
20106 swig_module
.types
[i
] = type
;
20108 swig_module
.types
[i
] = 0;
20110 #ifdef SWIGRUNTIME_DEBUG
20111 printf("**** SWIG_InitializeModule: Cast List ******\n");
20112 for (i
= 0; i
< swig_module
.size
; ++i
) {
20114 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20115 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20116 while (cast
->type
) {
20117 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20121 printf("---- Total casts: %d\n",j
);
20123 printf("**** SWIG_InitializeModule: Cast List ******\n");
20127 /* This function will propagate the clientdata field of type to
20128 * any new swig_type_info structures that have been added into the list
20129 * of equivalent types. It is like calling
20130 * SWIG_TypeClientData(type, clientdata) a second time.
20133 SWIG_PropagateClientData(void) {
20135 swig_cast_info
*equiv
;
20136 static int init_run
= 0;
20138 if (init_run
) return;
20141 for (i
= 0; i
< swig_module
.size
; i
++) {
20142 if (swig_module
.types
[i
]->clientdata
) {
20143 equiv
= swig_module
.types
[i
]->cast
;
20145 if (!equiv
->converter
) {
20146 if (equiv
->type
&& !equiv
->type
->clientdata
)
20147 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20149 equiv
= equiv
->next
;
20169 /* Python-specific SWIG API */
20170 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20171 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20172 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20174 /* -----------------------------------------------------------------------------
20175 * global variable support code.
20176 * ----------------------------------------------------------------------------- */
20178 typedef struct swig_globalvar
{
20179 char *name
; /* Name of global variable */
20180 PyObject
*(*get_attr
)(void); /* Return the current value */
20181 int (*set_attr
)(PyObject
*); /* Set the value */
20182 struct swig_globalvar
*next
;
20185 typedef struct swig_varlinkobject
{
20187 swig_globalvar
*vars
;
20188 } swig_varlinkobject
;
20190 SWIGINTERN PyObject
*
20191 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20192 return PyString_FromString("<Swig global variables>");
20195 SWIGINTERN PyObject
*
20196 swig_varlink_str(swig_varlinkobject
*v
) {
20197 PyObject
*str
= PyString_FromString("(");
20198 swig_globalvar
*var
;
20199 for (var
= v
->vars
; var
; var
=var
->next
) {
20200 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20201 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20203 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20208 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20209 PyObject
*str
= swig_varlink_str(v
);
20210 fprintf(fp
,"Swig global variables ");
20211 fprintf(fp
,"%s\n", PyString_AsString(str
));
20217 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20218 swig_globalvar
*var
= v
->vars
;
20220 swig_globalvar
*n
= var
->next
;
20227 SWIGINTERN PyObject
*
20228 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20229 PyObject
*res
= NULL
;
20230 swig_globalvar
*var
= v
->vars
;
20232 if (strcmp(var
->name
,n
) == 0) {
20233 res
= (*var
->get_attr
)();
20238 if (res
== NULL
&& !PyErr_Occurred()) {
20239 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20245 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20247 swig_globalvar
*var
= v
->vars
;
20249 if (strcmp(var
->name
,n
) == 0) {
20250 res
= (*var
->set_attr
)(p
);
20255 if (res
== 1 && !PyErr_Occurred()) {
20256 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20261 SWIGINTERN PyTypeObject
*
20262 swig_varlink_type(void) {
20263 static char varlink__doc__
[] = "Swig var link object";
20264 static PyTypeObject varlink_type
;
20265 static int type_init
= 0;
20267 const PyTypeObject tmp
20269 PyObject_HEAD_INIT(NULL
)
20270 0, /* Number of items in variable part (ob_size) */
20271 (char *)"swigvarlink", /* Type name (tp_name) */
20272 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20273 0, /* Itemsize (tp_itemsize) */
20274 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20275 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20276 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20277 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20278 0, /* tp_compare */
20279 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20280 0, /* tp_as_number */
20281 0, /* tp_as_sequence */
20282 0, /* tp_as_mapping */
20285 (reprfunc
)swig_varlink_str
, /* tp_str */
20286 0, /* tp_getattro */
20287 0, /* tp_setattro */
20288 0, /* tp_as_buffer */
20290 varlink__doc__
, /* tp_doc */
20291 0, /* tp_traverse */
20293 0, /* tp_richcompare */
20294 0, /* tp_weaklistoffset */
20295 #if PY_VERSION_HEX >= 0x02020000
20296 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20298 #if PY_VERSION_HEX >= 0x02030000
20301 #ifdef COUNT_ALLOCS
20302 0,0,0,0 /* tp_alloc -> tp_next */
20305 varlink_type
= tmp
;
20306 varlink_type
.ob_type
= &PyType_Type
;
20309 return &varlink_type
;
20312 /* Create a variable linking object for use later */
20313 SWIGINTERN PyObject
*
20314 SWIG_Python_newvarlink(void) {
20315 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20319 return ((PyObject
*) result
);
20323 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20324 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20325 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20327 size_t size
= strlen(name
)+1;
20328 gv
->name
= (char *)malloc(size
);
20330 strncpy(gv
->name
,name
,size
);
20331 gv
->get_attr
= get_attr
;
20332 gv
->set_attr
= set_attr
;
20333 gv
->next
= v
->vars
;
20339 SWIGINTERN PyObject
*
20341 static PyObject
*_SWIG_globals
= 0;
20342 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20343 return _SWIG_globals
;
20346 /* -----------------------------------------------------------------------------
20347 * constants/methods manipulation
20348 * ----------------------------------------------------------------------------- */
20350 /* Install Constants */
20352 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20355 for (i
= 0; constants
[i
].type
; ++i
) {
20356 switch(constants
[i
].type
) {
20357 case SWIG_PY_POINTER
:
20358 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20360 case SWIG_PY_BINARY
:
20361 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20368 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20374 /* -----------------------------------------------------------------------------*/
20375 /* Fix SwigMethods to carry the callback ptrs when needed */
20376 /* -----------------------------------------------------------------------------*/
20379 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20380 swig_const_info
*const_table
,
20381 swig_type_info
**types
,
20382 swig_type_info
**types_initial
) {
20384 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20385 const char *c
= methods
[i
].ml_doc
;
20386 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20388 swig_const_info
*ci
= 0;
20389 const char *name
= c
+ 10;
20390 for (j
= 0; const_table
[j
].type
; ++j
) {
20391 if (strncmp(const_table
[j
].name
, name
,
20392 strlen(const_table
[j
].name
)) == 0) {
20393 ci
= &(const_table
[j
]);
20398 size_t shift
= (ci
->ptype
) - types
;
20399 swig_type_info
*ty
= types_initial
[shift
];
20400 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20401 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20402 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20405 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20407 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20409 strncpy(buff
, "swig_ptr: ", 10);
20411 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20412 methods
[i
].ml_doc
= ndoc
;
20424 /* -----------------------------------------------------------------------------*
20425 * Partial Init method
20426 * -----------------------------------------------------------------------------*/
20431 SWIGEXPORT
void SWIG_init(void) {
20434 /* Fix SwigMethods to carry the callback ptrs when needed */
20435 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20437 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20438 d
= PyModule_GetDict(m
);
20440 SWIG_InitializeModule(0);
20441 SWIG_InstallConstants(d
,swig_const_table
);
20444 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20445 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20446 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20447 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20448 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20449 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20450 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20451 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20452 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20453 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20454 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20455 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20456 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20457 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20458 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20459 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20460 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20461 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20462 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20463 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20464 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20465 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20466 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20467 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20468 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20469 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20470 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20471 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20472 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20473 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20474 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20475 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20476 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20477 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20478 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20479 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20480 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20481 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20482 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20483 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20484 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20485 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20486 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20487 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20488 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20489 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20490 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20491 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20492 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20493 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20494 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20495 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20496 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20497 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20498 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20499 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20500 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20501 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20502 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20503 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20504 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20505 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20506 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20507 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20508 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20509 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20510 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20511 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20512 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20513 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20514 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20515 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20516 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20517 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20518 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20519 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20520 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20521 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20522 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20523 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20524 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20525 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20526 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20527 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20528 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20529 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20530 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20531 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20532 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20533 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20535 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20536 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20537 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20538 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");