1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxConfigBase swig_types[21]
2484 #define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2485 #define SWIGTYPE_p_wxControl swig_types[23]
2486 #define SWIGTYPE_p_wxControlWithItems swig_types[24]
2487 #define SWIGTYPE_p_wxCursor swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28]
2491 #define SWIGTYPE_p_wxDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
2499 #define SWIGTYPE_p_wxFSFile swig_types[37]
2500 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2501 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2502 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2504 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2505 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2506 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2507 #define SWIGTYPE_p_wxFont swig_types[45]
2508 #define SWIGTYPE_p_wxFontData swig_types[46]
2509 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2510 #define SWIGTYPE_p_wxFrame swig_types[48]
2511 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2512 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2513 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2514 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxHelpControllerBase swig_types[53]
2516 #define SWIGTYPE_p_wxHelpSearchMode swig_types[54]
2517 #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55]
2518 #define SWIGTYPE_p_wxHtmlBookRecord swig_types[56]
2519 #define SWIGTYPE_p_wxHtmlCell swig_types[57]
2520 #define SWIGTYPE_p_wxHtmlColourCell swig_types[58]
2521 #define SWIGTYPE_p_wxHtmlContainerCell swig_types[59]
2522 #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60]
2523 #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61]
2524 #define SWIGTYPE_p_wxHtmlFilter swig_types[62]
2525 #define SWIGTYPE_p_wxHtmlFontCell swig_types[63]
2526 #define SWIGTYPE_p_wxHtmlHelpController swig_types[64]
2527 #define SWIGTYPE_p_wxHtmlHelpData swig_types[65]
2528 #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66]
2529 #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67]
2530 #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68]
2531 #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69]
2532 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70]
2533 #define SWIGTYPE_p_wxHtmlModalHelp swig_types[71]
2534 #define SWIGTYPE_p_wxHtmlParser swig_types[72]
2535 #define SWIGTYPE_p_wxHtmlPrintout swig_types[73]
2536 #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74]
2537 #define SWIGTYPE_p_wxHtmlRenderingState swig_types[75]
2538 #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76]
2539 #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77]
2540 #define SWIGTYPE_p_wxHtmlSelection swig_types[78]
2541 #define SWIGTYPE_p_wxHtmlTag swig_types[79]
2542 #define SWIGTYPE_p_wxHtmlTagHandler swig_types[80]
2543 #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81]
2544 #define SWIGTYPE_p_wxHtmlWinParser swig_types[82]
2545 #define SWIGTYPE_p_wxHtmlWindow swig_types[83]
2546 #define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84]
2547 #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[85]
2548 #define SWIGTYPE_p_wxHtmlWordCell swig_types[86]
2549 #define SWIGTYPE_p_wxICOHandler swig_types[87]
2550 #define SWIGTYPE_p_wxIconizeEvent swig_types[88]
2551 #define SWIGTYPE_p_wxIdleEvent swig_types[89]
2552 #define SWIGTYPE_p_wxImage swig_types[90]
2553 #define SWIGTYPE_p_wxImageHandler swig_types[91]
2554 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[92]
2555 #define SWIGTYPE_p_wxInitDialogEvent swig_types[93]
2556 #define SWIGTYPE_p_wxJPEGHandler swig_types[94]
2557 #define SWIGTYPE_p_wxKeyEvent swig_types[95]
2558 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[96]
2559 #define SWIGTYPE_p_wxLayoutConstraints swig_types[97]
2560 #define SWIGTYPE_p_wxMDIChildFrame swig_types[98]
2561 #define SWIGTYPE_p_wxMDIClientWindow swig_types[99]
2562 #define SWIGTYPE_p_wxMDIParentFrame swig_types[100]
2563 #define SWIGTYPE_p_wxMaximizeEvent swig_types[101]
2564 #define SWIGTYPE_p_wxMenu swig_types[102]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[103]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[104]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[105]
2568 #define SWIGTYPE_p_wxMessageDialog swig_types[106]
2569 #define SWIGTYPE_p_wxMiniFrame swig_types[107]
2570 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[108]
2571 #define SWIGTYPE_p_wxMouseEvent swig_types[109]
2572 #define SWIGTYPE_p_wxMoveEvent swig_types[110]
2573 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[111]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[112]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[113]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[114]
2577 #define SWIGTYPE_p_wxObject swig_types[115]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[116]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[117]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[118]
2581 #define SWIGTYPE_p_wxPageSetupDialog swig_types[119]
2582 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[120]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[121]
2584 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[122]
2585 #define SWIGTYPE_p_wxPanel swig_types[123]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[124]
2587 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[125]
2588 #define SWIGTYPE_p_wxPoint swig_types[126]
2589 #define SWIGTYPE_p_wxPopupWindow swig_types[127]
2590 #define SWIGTYPE_p_wxPreviewCanvas swig_types[128]
2591 #define SWIGTYPE_p_wxPreviewControlBar swig_types[129]
2592 #define SWIGTYPE_p_wxPreviewFrame swig_types[130]
2593 #define SWIGTYPE_p_wxPrintData swig_types[131]
2594 #define SWIGTYPE_p_wxPrintDialog swig_types[132]
2595 #define SWIGTYPE_p_wxPrintDialogData swig_types[133]
2596 #define SWIGTYPE_p_wxPrintPreview swig_types[134]
2597 #define SWIGTYPE_p_wxPrinter swig_types[135]
2598 #define SWIGTYPE_p_wxProgressDialog swig_types[136]
2599 #define SWIGTYPE_p_wxPyApp swig_types[137]
2600 #define SWIGTYPE_p_wxPyCommandEvent swig_types[138]
2601 #define SWIGTYPE_p_wxPyEvent swig_types[139]
2602 #define SWIGTYPE_p_wxPyHtmlFilter swig_types[140]
2603 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[141]
2604 #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[142]
2605 #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[143]
2606 #define SWIGTYPE_p_wxPyHtmlWindow swig_types[144]
2607 #define SWIGTYPE_p_wxPyImageHandler swig_types[145]
2608 #define SWIGTYPE_p_wxPyPanel swig_types[146]
2609 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[147]
2610 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[148]
2611 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[149]
2612 #define SWIGTYPE_p_wxPyPrintPreview swig_types[150]
2613 #define SWIGTYPE_p_wxPyPrintout swig_types[151]
2614 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[152]
2615 #define SWIGTYPE_p_wxPySizer swig_types[153]
2616 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[154]
2617 #define SWIGTYPE_p_wxPyVListBox swig_types[155]
2618 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[156]
2619 #define SWIGTYPE_p_wxPyValidator swig_types[157]
2620 #define SWIGTYPE_p_wxPyWindow swig_types[158]
2621 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[159]
2622 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[160]
2623 #define SWIGTYPE_p_wxSashEvent swig_types[161]
2624 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[162]
2625 #define SWIGTYPE_p_wxSashWindow swig_types[163]
2626 #define SWIGTYPE_p_wxScrollEvent swig_types[164]
2627 #define SWIGTYPE_p_wxScrollWinEvent swig_types[165]
2628 #define SWIGTYPE_p_wxScrolledWindow swig_types[166]
2629 #define SWIGTYPE_p_wxSetCursorEvent swig_types[167]
2630 #define SWIGTYPE_p_wxShowEvent swig_types[168]
2631 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[169]
2632 #define SWIGTYPE_p_wxSize swig_types[170]
2633 #define SWIGTYPE_p_wxSizeEvent swig_types[171]
2634 #define SWIGTYPE_p_wxSizer swig_types[172]
2635 #define SWIGTYPE_p_wxSizerItem swig_types[173]
2636 #define SWIGTYPE_p_wxSplashScreen swig_types[174]
2637 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[175]
2638 #define SWIGTYPE_p_wxSplitterEvent swig_types[176]
2639 #define SWIGTYPE_p_wxSplitterWindow swig_types[177]
2640 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[178]
2641 #define SWIGTYPE_p_wxStatusBar swig_types[179]
2642 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[180]
2643 #define SWIGTYPE_p_wxString swig_types[181]
2644 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[182]
2645 #define SWIGTYPE_p_wxTIFFHandler swig_types[183]
2646 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[184]
2647 #define SWIGTYPE_p_wxTextEntryDialog swig_types[185]
2648 #define SWIGTYPE_p_wxTipWindow swig_types[186]
2649 #define SWIGTYPE_p_wxTopLevelWindow swig_types[187]
2650 #define SWIGTYPE_p_wxTreeCtrl swig_types[188]
2651 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[189]
2652 #define SWIGTYPE_p_wxValidator swig_types[190]
2653 #define SWIGTYPE_p_wxVisualAttributes swig_types[191]
2654 #define SWIGTYPE_p_wxWindow swig_types[192]
2655 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[193]
2656 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[194]
2657 #define SWIGTYPE_p_wxXPMHandler swig_types[195]
2658 static swig_type_info
*swig_types
[197];
2659 static swig_module_info swig_module
= {swig_types
, 196, 0, 0, 0, 0};
2660 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2661 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2663 /* -------- TYPES TABLE (END) -------- */
2665 #if (PY_VERSION_HEX <= 0x02000000)
2666 # if !defined(SWIG_PYTHON_CLASSIC)
2667 # error "This python version requires to use swig with the '-classic' option"
2670 #if (PY_VERSION_HEX <= 0x02020000)
2671 # error "This python version requires to use swig with the '-nomodern' option"
2673 #if (PY_VERSION_HEX <= 0x02020000)
2674 # error "This python version requires to use swig with the '-nomodernargs' option"
2677 # error "This python version requires to use swig with the '-nofastunpack' option"
2680 /*-----------------------------------------------
2681 @(target):= _html.so
2682 ------------------------------------------------*/
2683 #define SWIG_init init_html
2685 #define SWIG_name "_html"
2687 #define SWIGVERSION 0x010329
2690 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2691 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2694 #include <stdexcept>
2698 class PyObject_ptr
{
2703 PyObject_ptr() :_obj(0)
2707 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2712 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2714 if (initial_ref
) Py_XINCREF(_obj
);
2717 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2719 Py_XINCREF(item
._obj
);
2730 operator PyObject
*() const
2735 PyObject
*operator->() const
2744 struct PyObject_var
: PyObject_ptr
{
2745 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2747 PyObject_var
& operator = (PyObject
* obj
)
2757 #include "wx/wxPython/wxPython.h"
2758 #include "wx/wxPython/pyclasses.h"
2759 #include "wx/wxPython/pyistream.h"
2760 #include "wx/wxPython/printfw.h"
2762 #include <wx/html/htmlwin.h>
2763 #include <wx/html/htmprint.h>
2764 #include <wx/html/helpctrl.h>
2765 #include <wx/html/helpwnd.h>
2766 #include <wx/html/helpfrm.h>
2767 #include <wx/html/helpdlg.h>
2770 static const wxString
wxPyEmptyString(wxEmptyString
);
2771 static const wxString
wxPyHtmlWindowNameStr(wxT("htmlWindow"));
2772 static const wxString
wxPyHtmlPrintoutTitleStr(wxT("Printout"));
2773 static const wxString
wxPyHtmlPrintingTitleStr(wxT("Printing"));
2775 #define SWIG_From_long PyInt_FromLong
2778 SWIGINTERNINLINE PyObject
*
2779 SWIG_From_int (int value
)
2781 return SWIG_From_long (value
);
2787 # define LLONG_MIN LONG_LONG_MIN
2790 # define LLONG_MAX LONG_LONG_MAX
2793 # define ULLONG_MAX ULONG_LONG_MAX
2798 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2800 if (PyNumber_Check(obj
)) {
2801 if (val
) *val
= PyInt_AsLong(obj
);
2804 return SWIG_TypeError
;
2809 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2812 int res
= SWIG_AsVal_long (obj
, &v
);
2813 if (SWIG_IsOK(res
)) {
2814 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2815 return SWIG_OverflowError
;
2817 if (val
) *val
= static_cast< int >(v
);
2823 SWIGINTERN
void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
2825 if (sizes
) temp
= int_LIST_helper(sizes
);
2826 self
->SetFonts(normal_face
, fixed_face
, temp
);
2831 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
2832 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
)
2834 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
2836 wxHtmlParser
* GetParser() { return m_Parser
; }
2837 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
2839 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2840 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2845 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
2847 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
2848 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
2851 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
2852 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
)
2854 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
2856 wxHtmlWinParser
* GetParser() { return m_WParser
; }
2857 void ParseInner(const wxHtmlTag
& tag
)
2858 { wxHtmlWinTagHandler::ParseInner(tag
); }
2860 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
2861 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
2866 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
2868 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
2869 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
2873 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
2875 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
2876 m_tagHandlerClass
= thc
;
2877 Py_INCREF(m_tagHandlerClass
);
2878 RegisterModule(this);
2879 wxHtmlWinParser::AddModule(this);
2883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2884 Py_DECREF(m_tagHandlerClass
);
2885 m_tagHandlerClass
= NULL
;
2886 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
2887 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
2890 wxPyEndBlockThreads(blocked
);
2893 void FillHandlersTable(wxHtmlWinParser
*parser
) {
2894 // Wave our magic wand... (if it works it's a miracle! ;-)
2896 // First, make a new instance of the tag handler
2897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2898 PyObject
* arg
= PyTuple_New(0);
2899 PyObject
* obj
= PyObject_CallObject(m_tagHandlerClass
, arg
);
2902 // now figure out where it's C++ object is...
2903 wxPyHtmlWinTagHandler
* thPtr
;
2904 if (! wxPyConvertSwigPtr(obj
, (void **)&thPtr
, wxT("wxPyHtmlWinTagHandler"))) {
2905 wxPyEndBlockThreads(blocked
);
2908 wxPyEndBlockThreads(blocked
);
2911 parser
->AddTagHandler(thPtr
);
2914 m_objArray
.Add(obj
);
2918 PyObject
* m_tagHandlerClass
;
2919 wxArrayPtrVoid m_objArray
;
2924 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
2925 // Dynamically create a new wxModule. Refcounts tagHandlerClass
2926 // and adds itself to the wxModules list and to the wxHtmlWinParser.
2927 new wxPyHtmlTagsModule(tagHandlerClass
);
2931 SWIGINTERNINLINE PyObject
*
2932 SWIG_From_bool (bool value
)
2934 return PyBool_FromLong(value
? 1 : 0);
2939 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2941 if (obj
== Py_True
) {
2942 if (val
) *val
= true;
2944 } else if (obj
== Py_False
) {
2945 if (val
) *val
= false;
2949 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2950 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2957 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2960 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2961 return SWIG_TypeError
;
2964 *val
= (unsigned long)v
;
2970 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2973 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2974 if (SWIG_IsOK(res
)) {
2975 if ((v
> UINT_MAX
)) {
2976 return SWIG_OverflowError
;
2978 if (val
) *val
= static_cast< unsigned int >(v
);
2985 SWIGINTERNINLINE PyObject
*
2986 SWIG_From_unsigned_SS_long (unsigned long value
)
2988 return (value
> LONG_MAX
) ?
2989 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2993 SWIGINTERNINLINE PyObject
*
2994 SWIG_From_unsigned_SS_int (unsigned int value
)
2996 return SWIG_From_unsigned_SS_long (value
);
2999 // here's the C++ version
3000 class wxPyHtmlFilter
: public wxHtmlFilter
{
3001 DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter
)
3003 wxPyHtmlFilter() : wxHtmlFilter() {}
3005 // returns True if this filter is able to open&read given file
3006 virtual bool CanRead(const wxFSFile
& file
) const {
3009 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3010 if ((found
= wxPyCBH_findCallback(m_myInst
, "CanRead"))) {
3011 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3012 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3015 wxPyEndBlockThreads(blocked
);
3020 // Reads given file and returns HTML document.
3021 // Returns empty string if opening failed
3022 virtual wxString
ReadFile(const wxFSFile
& file
) const {
3025 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3026 if ((found
= wxPyCBH_findCallback(m_myInst
, "ReadFile"))) {
3027 PyObject
* obj
= wxPyMake_wxObject((wxFSFile
*)&file
,false); // cast away const
3029 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(O)", obj
));
3032 rval
= Py2wxString(ro
);
3036 wxPyEndBlockThreads(blocked
);
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter
, wxHtmlFilter
);
3046 class wxPyHtmlWindow
: public wxHtmlWindow
{
3047 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
)
3049 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
3050 const wxPoint
& pos
= wxDefaultPosition
,
3051 const wxSize
& size
= wxDefaultSize
,
3052 long style
= wxHW_DEFAULT_STYLE
,
3053 const wxString
& name
= wxPyHtmlWindowNameStr
)
3054 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
3055 wxPyHtmlWindow() : wxHtmlWindow() {};
3057 bool ScrollToAnchor(const wxString
& anchor
) {
3058 return wxHtmlWindow::ScrollToAnchor(anchor
);
3061 bool HasAnchor(const wxString
& anchor
) {
3062 const wxHtmlCell
*c
= m_Cell
->Find(wxHTML_COND_ISANCHOR
, &anchor
);
3066 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
3068 wxHtmlOpeningStatus
OnOpeningURL(wxHtmlURLType type
,
3069 const wxString
& url
,
3070 wxString
*redirect
) const;
3072 DEC_PYCALLBACK__STRING(OnSetTitle
);
3073 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
3074 DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked
);
3079 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
3080 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
3081 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
3082 IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
3085 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
3087 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3088 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3089 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3090 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
3093 wxPyEndBlockThreads(blocked
);
3095 wxHtmlWindow::OnLinkClicked(link
);
3099 wxHtmlOpeningStatus
wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type
,
3100 const wxString
& url
,
3101 wxString
*redirect
) const {
3103 wxHtmlOpeningStatus rval
;
3104 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3105 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnOpeningURL"))) {
3107 PyObject
* s
= wx2PyString(url
);
3108 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(iO)", type
, s
));
3110 if (PyString_Check(ro
)
3111 #if PYTHON_API_VERSION >= 1009
3112 || PyUnicode_Check(ro
)
3115 *redirect
= Py2wxString(ro
);
3116 rval
= wxHTML_REDIRECT
;
3119 PyObject
* num
= PyNumber_Int(ro
);
3120 rval
= (wxHtmlOpeningStatus
)PyInt_AsLong(num
);
3125 wxPyEndBlockThreads(blocked
);
3127 rval
= wxHtmlWindow::OnOpeningURL(type
, url
, redirect
);
3133 SWIGINTERN
void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3135 if (sizes
) temp
= int_LIST_helper(sizes
);
3136 self
->SetFonts(normal_face
, fixed_face
, temp
);
3140 SWIGINTERN
void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer
*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 wxHtmlPrintout_SetFonts(wxHtmlPrintout
*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
);
3159 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3161 if (PyNumber_Check(obj
)) {
3162 if (val
) *val
= PyFloat_AsDouble(obj
);
3165 return SWIG_TypeError
;
3170 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3173 int res
= SWIG_AsVal_double (obj
, &v
);
3174 if (SWIG_IsOK(res
)) {
3175 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3176 return SWIG_OverflowError
;
3178 if (val
) *val
= static_cast< float >(v
);
3184 SWIGINTERN
void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting
*self
,wxString normal_face
,wxString fixed_face
,PyObject
*sizes
=NULL
){
3186 if (sizes
) temp
= int_LIST_helper(sizes
);
3187 self
->SetFonts(normal_face
, fixed_face
, temp
);
3194 SWIGINTERN
int HtmlWindowNameStr_set(PyObject
*) {
3195 SWIG_Error(SWIG_AttributeError
,"Variable HtmlWindowNameStr is read-only.");
3200 SWIGINTERN PyObject
*HtmlWindowNameStr_get(void) {
3201 PyObject
*pyobj
= 0;
3205 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3207 pyobj
= PyString_FromStringAndSize((&wxPyHtmlWindowNameStr
)->c_str(), (&wxPyHtmlWindowNameStr
)->Len());
3214 SWIGINTERN
int HtmlPrintoutTitleStr_set(PyObject
*) {
3215 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintoutTitleStr is read-only.");
3220 SWIGINTERN PyObject
*HtmlPrintoutTitleStr_get(void) {
3221 PyObject
*pyobj
= 0;
3225 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3227 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr
)->c_str(), (&wxPyHtmlPrintoutTitleStr
)->Len());
3234 SWIGINTERN
int HtmlPrintingTitleStr_set(PyObject
*) {
3235 SWIG_Error(SWIG_AttributeError
,"Variable HtmlPrintingTitleStr is read-only.");
3240 SWIGINTERN PyObject
*HtmlPrintingTitleStr_get(void) {
3241 PyObject
*pyobj
= 0;
3245 pyobj
= PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3247 pyobj
= PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr
)->c_str(), (&wxPyHtmlPrintingTitleStr
)->Len());
3254 SWIGINTERN PyObject
*_wrap_new_HtmlLinkInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
= 0;
3256 wxString
*arg1
= 0 ;
3257 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3258 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3259 wxHtmlLinkInfo
*result
= 0 ;
3260 bool temp1
= false ;
3261 bool temp2
= false ;
3262 PyObject
* obj0
= 0 ;
3263 PyObject
* obj1
= 0 ;
3264 char * kwnames
[] = {
3265 (char *) "href",(char *) "target", NULL
3268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlLinkInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3270 arg1
= wxString_in_helper(obj0
);
3271 if (arg1
== NULL
) SWIG_fail
;
3276 arg2
= wxString_in_helper(obj1
);
3277 if (arg2
== NULL
) SWIG_fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= (wxHtmlLinkInfo
*)new wxHtmlLinkInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_NEW
| 0 );
3310 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHref(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3311 PyObject
*resultobj
= 0;
3312 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3316 PyObject
*swig_obj
[1] ;
3318 if (!args
) SWIG_fail
;
3320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3321 if (!SWIG_IsOK(res1
)) {
3322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3324 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 result
= (arg1
)->GetHref();
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3344 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3345 PyObject
*resultobj
= 0;
3346 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3350 PyObject
*swig_obj
[1] ;
3352 if (!args
) SWIG_fail
;
3354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3355 if (!SWIG_IsOK(res1
)) {
3356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3358 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 result
= (arg1
)->GetTarget();
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3378 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3379 PyObject
*resultobj
= 0;
3380 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3381 wxMouseEvent
*result
= 0 ;
3384 PyObject
*swig_obj
[1] ;
3386 if (!args
) SWIG_fail
;
3388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3389 if (!SWIG_IsOK(res1
)) {
3390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3392 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= (wxMouseEvent
*)(arg1
)->GetEvent();
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3408 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_GetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3409 PyObject
*resultobj
= 0;
3410 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3411 wxHtmlCell
*result
= 0 ;
3414 PyObject
*swig_obj
[1] ;
3416 if (!args
) SWIG_fail
;
3418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3419 if (!SWIG_IsOK(res1
)) {
3420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3422 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (wxHtmlCell
*)(arg1
)->GetHtmlCell();
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3436 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
= 0;
3438 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3439 wxMouseEvent
*arg2
= (wxMouseEvent
*) 0 ;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3446 char * kwnames
[] = {
3447 (char *) "self",(char *) "e", NULL
3450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3452 if (!SWIG_IsOK(res1
)) {
3453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3455 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
3457 if (!SWIG_IsOK(res2
)) {
3458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'");
3460 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 (arg1
)->SetEvent((wxMouseEvent
const *)arg2
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 resultobj
= SWIG_Py_Void();
3474 SWIGINTERN PyObject
*_wrap_HtmlLinkInfo_SetHtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
= 0;
3476 wxHtmlLinkInfo
*arg1
= (wxHtmlLinkInfo
*) 0 ;
3477 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 char * kwnames
[] = {
3485 (char *) "self",(char *) "e", NULL
3488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
3490 if (!SWIG_IsOK(res1
)) {
3491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'");
3493 arg1
= reinterpret_cast< wxHtmlLinkInfo
* >(argp1
);
3494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
3495 if (!SWIG_IsOK(res2
)) {
3496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
3498 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->SetHtmlCell((wxHtmlCell
const *)arg2
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= SWIG_Py_Void();
3512 SWIGINTERN PyObject
*HtmlLinkInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3515 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_NewClientData(obj
));
3516 return SWIG_Py_Void();
3519 SWIGINTERN PyObject
*HtmlLinkInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3520 return SWIG_Python_InitShadowInstance(args
);
3523 SWIGINTERN PyObject
*_wrap_HtmlTag_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3524 PyObject
*resultobj
= 0;
3525 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3529 PyObject
*swig_obj
[1] ;
3531 if (!args
) SWIG_fail
;
3533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3534 if (!SWIG_IsOK(res1
)) {
3535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3537 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= (arg1
)->GetName();
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3557 SWIGINTERN PyObject
*_wrap_HtmlTag_HasParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
= 0;
3559 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3560 wxString
*arg2
= 0 ;
3564 bool temp2
= false ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3567 char * kwnames
[] = {
3568 (char *) "self",(char *) "par", NULL
3571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTag_HasParam",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3573 if (!SWIG_IsOK(res1
)) {
3574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3576 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3578 arg2
= wxString_in_helper(obj1
);
3579 if (arg2
== NULL
) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= (bool)(arg1
)->HasParam((wxString
const &)*arg2
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3605 SWIGINTERN PyObject
*_wrap_HtmlTag_GetParam(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
= 0;
3607 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3608 wxString
*arg2
= 0 ;
3609 int arg3
= (int) false ;
3613 bool temp2
= false ;
3616 PyObject
* obj0
= 0 ;
3617 PyObject
* obj1
= 0 ;
3618 PyObject
* obj2
= 0 ;
3619 char * kwnames
[] = {
3620 (char *) "self",(char *) "par",(char *) "with_commas", NULL
3623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlTag_GetParam",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3625 if (!SWIG_IsOK(res1
)) {
3626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3628 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3630 arg2
= wxString_in_helper(obj1
);
3631 if (arg2
== NULL
) SWIG_fail
;
3635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3636 if (!SWIG_IsOK(ecode3
)) {
3637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'");
3639 arg3
= static_cast< int >(val3
);
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (arg1
)->GetParam((wxString
const &)*arg2
,arg3
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3668 SWIGINTERN PyObject
*_wrap_HtmlTag_GetAllParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3669 PyObject
*resultobj
= 0;
3670 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3674 PyObject
*swig_obj
[1] ;
3676 if (!args
) SWIG_fail
;
3678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3679 if (!SWIG_IsOK(res1
)) {
3680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3682 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= (arg1
)->GetAllParams();
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3702 SWIGINTERN PyObject
*_wrap_HtmlTag_HasEnding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3703 PyObject
*resultobj
= 0;
3704 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3708 PyObject
*swig_obj
[1] ;
3710 if (!args
) SWIG_fail
;
3712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3713 if (!SWIG_IsOK(res1
)) {
3714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3716 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (bool)(arg1
)->HasEnding();
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3732 SWIGINTERN PyObject
*_wrap_HtmlTag_GetBeginPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3733 PyObject
*resultobj
= 0;
3734 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3738 PyObject
*swig_obj
[1] ;
3740 if (!args
) SWIG_fail
;
3742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3743 if (!SWIG_IsOK(res1
)) {
3744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3746 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= (int)(arg1
)->GetBeginPos();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_From_int(static_cast< int >(result
));
3760 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 PyObject
*resultobj
= 0;
3762 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3766 PyObject
*swig_obj
[1] ;
3768 if (!args
) SWIG_fail
;
3770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3771 if (!SWIG_IsOK(res1
)) {
3772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3774 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 result
= (int)(arg1
)->GetEndPos1();
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 resultobj
= SWIG_From_int(static_cast< int >(result
));
3788 SWIGINTERN PyObject
*_wrap_HtmlTag_GetEndPos2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3789 PyObject
*resultobj
= 0;
3790 wxHtmlTag
*arg1
= (wxHtmlTag
*) 0 ;
3794 PyObject
*swig_obj
[1] ;
3796 if (!args
) SWIG_fail
;
3798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlTag
, 0 | 0 );
3799 if (!SWIG_IsOK(res1
)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'");
3802 arg1
= reinterpret_cast< wxHtmlTag
* >(argp1
);
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)(arg1
)->GetEndPos2();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_From_int(static_cast< int >(result
));
3816 SWIGINTERN PyObject
*HtmlTag_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3819 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag
, SWIG_NewClientData(obj
));
3820 return SWIG_Py_Void();
3823 SWIGINTERN PyObject
*_wrap_HtmlParser_SetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
= 0;
3825 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3826 wxFileSystem
*arg2
= (wxFileSystem
*) 0 ;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3833 char * kwnames
[] = {
3834 (char *) "self",(char *) "fs", NULL
3837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_SetFS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3839 if (!SWIG_IsOK(res1
)) {
3840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3842 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
3844 if (!SWIG_IsOK(res2
)) {
3845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'");
3847 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 (arg1
)->SetFS(arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_Py_Void();
3861 SWIGINTERN PyObject
*_wrap_HtmlParser_GetFS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3862 PyObject
*resultobj
= 0;
3863 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3864 wxFileSystem
*result
= 0 ;
3867 PyObject
*swig_obj
[1] ;
3869 if (!args
) SWIG_fail
;
3871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3872 if (!SWIG_IsOK(res1
)) {
3873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3875 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxFileSystem
*)(arg1
)->GetFS();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3891 SWIGINTERN PyObject
*_wrap_HtmlParser_Parse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
= 0;
3893 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3894 wxString
*arg2
= 0 ;
3895 wxObject
*result
= 0 ;
3898 bool temp2
= false ;
3899 PyObject
* obj0
= 0 ;
3900 PyObject
* obj1
= 0 ;
3901 char * kwnames
[] = {
3902 (char *) "self",(char *) "source", NULL
3905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_Parse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3907 if (!SWIG_IsOK(res1
)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3910 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3912 arg2
= wxString_in_helper(obj1
);
3913 if (arg2
== NULL
) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (wxObject
*)(arg1
)->Parse((wxString
const &)*arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= wxPyMake_wxObject(result
, (bool)0);
3939 SWIGINTERN PyObject
*_wrap_HtmlParser_InitParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
= 0;
3941 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3942 wxString
*arg2
= 0 ;
3945 bool temp2
= false ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3948 char * kwnames
[] = {
3949 (char *) "self",(char *) "source", NULL
3952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_InitParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3954 if (!SWIG_IsOK(res1
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3957 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3959 arg2
= wxString_in_helper(obj1
);
3960 if (arg2
== NULL
) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 (arg1
)->InitParser((wxString
const &)*arg2
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= SWIG_Py_Void();
3984 SWIGINTERN PyObject
*_wrap_HtmlParser_DoneParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3985 PyObject
*resultobj
= 0;
3986 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
3989 PyObject
*swig_obj
[1] ;
3991 if (!args
) SWIG_fail
;
3993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
3994 if (!SWIG_IsOK(res1
)) {
3995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
3997 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 (arg1
)->DoneParser();
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 resultobj
= SWIG_Py_Void();
4011 SWIGINTERN PyObject
*_wrap_HtmlParser_DoParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
= 0;
4013 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4023 PyObject
* obj1
= 0 ;
4024 PyObject
* obj2
= 0 ;
4025 char * kwnames
[] = {
4026 (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL
4029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_DoParsing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4031 if (!SWIG_IsOK(res1
)) {
4032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4034 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4036 if (!SWIG_IsOK(ecode2
)) {
4037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'");
4039 arg2
= static_cast< int >(val2
);
4040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4041 if (!SWIG_IsOK(ecode3
)) {
4042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'");
4044 arg3
= static_cast< int >(val3
);
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 (arg1
)->DoParsing(arg2
,arg3
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= SWIG_Py_Void();
4058 SWIGINTERN PyObject
*_wrap_HtmlParser_StopParsing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4059 PyObject
*resultobj
= 0;
4060 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4063 PyObject
*swig_obj
[1] ;
4065 if (!args
) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4071 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 (arg1
)->StopParsing();
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= SWIG_Py_Void();
4085 SWIGINTERN PyObject
*_wrap_HtmlParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
= 0;
4087 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4088 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4095 char * kwnames
[] = {
4096 (char *) "self",(char *) "handler", NULL
4099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_AddTagHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4101 if (!SWIG_IsOK(res1
)) {
4102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4104 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4106 if (!SWIG_IsOK(res2
)) {
4107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4109 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 (arg1
)->AddTagHandler(arg2
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= SWIG_Py_Void();
4123 SWIGINTERN PyObject
*_wrap_HtmlParser_GetSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4124 PyObject
*resultobj
= 0;
4125 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4126 wxString
*result
= 0 ;
4129 PyObject
*swig_obj
[1] ;
4131 if (!args
) SWIG_fail
;
4133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4134 if (!SWIG_IsOK(res1
)) {
4135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4137 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxString
*)(arg1
)->GetSource();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4148 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4157 SWIGINTERN PyObject
*_wrap_HtmlParser_PushTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
= 0;
4159 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4160 wxHtmlTagHandler
*arg2
= (wxHtmlTagHandler
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 PyObject
* obj2
= 0 ;
4169 char * kwnames
[] = {
4170 (char *) "self",(char *) "handler",(char *) "tags", NULL
4173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlParser_PushTagHandler",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4175 if (!SWIG_IsOK(res1
)) {
4176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4178 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlTagHandler
, 0 | 0 );
4180 if (!SWIG_IsOK(res2
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'");
4183 arg2
= reinterpret_cast< wxHtmlTagHandler
* >(argp2
);
4185 wxString
* sptr
= wxString_in_helper(obj2
);
4186 if (sptr
== NULL
) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->PushTagHandler(arg2
,arg3
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_Py_Void();
4203 SWIGINTERN PyObject
*_wrap_HtmlParser_PopTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4204 PyObject
*resultobj
= 0;
4205 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4208 PyObject
*swig_obj
[1] ;
4210 if (!args
) SWIG_fail
;
4212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4213 if (!SWIG_IsOK(res1
)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4216 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 (arg1
)->PopTagHandler();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_Py_Void();
4230 SWIGINTERN PyObject
*_wrap_HtmlParser_GetInnerSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
= 0;
4232 wxHtmlParser
*arg1
= (wxHtmlParser
*) 0 ;
4233 wxHtmlTag
*arg2
= 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 char * kwnames
[] = {
4242 (char *) "self",(char *) "tag", NULL
4245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlParser_GetInnerSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'");
4250 arg1
= reinterpret_cast< wxHtmlParser
* >(argp1
);
4251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
4252 if (!SWIG_IsOK(res2
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
4258 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (arg1
)->GetInnerSource((wxHtmlTag
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4278 SWIGINTERN PyObject
*HtmlParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4281 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser
, SWIG_NewClientData(obj
));
4282 return SWIG_Py_Void();
4285 SWIGINTERN PyObject
*_wrap_new_HtmlWinParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
= 0;
4287 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) NULL
;
4288 wxHtmlWinParser
*result
= 0 ;
4291 PyObject
* obj0
= 0 ;
4292 char * kwnames
[] = {
4293 (char *) "wnd", NULL
4296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlWinParser",kwnames
,&obj0
)) SWIG_fail
;
4298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
4299 if (!SWIG_IsOK(res1
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
4302 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (wxHtmlWinParser
*)new wxHtmlWinParser(arg1
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, SWIG_POINTER_NEW
| 0 );
4317 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= 0;
4319 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4320 wxDC
*arg2
= (wxDC
*) 0 ;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4327 char * kwnames
[] = {
4328 (char *) "self",(char *) "dc", NULL
4331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4336 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
4338 if (!SWIG_IsOK(res2
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
4341 arg2
= reinterpret_cast< wxDC
* >(argp2
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetDC(arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4356 PyObject
*resultobj
= 0;
4357 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4361 PyObject
*swig_obj
[1] ;
4363 if (!args
) SWIG_fail
;
4365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4366 if (!SWIG_IsOK(res1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4369 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (wxDC
*)(arg1
)->GetDC();
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4385 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4386 PyObject
*resultobj
= 0;
4387 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4391 PyObject
*swig_obj
[1] ;
4393 if (!args
) SWIG_fail
;
4395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4396 if (!SWIG_IsOK(res1
)) {
4397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4399 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (int)(arg1
)->GetCharHeight();
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_From_int(static_cast< int >(result
));
4413 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4414 PyObject
*resultobj
= 0;
4415 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4419 PyObject
*swig_obj
[1] ;
4421 if (!args
) SWIG_fail
;
4423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4424 if (!SWIG_IsOK(res1
)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4427 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (int)(arg1
)->GetCharWidth();
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_From_int(static_cast< int >(result
));
4441 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4442 PyObject
*resultobj
= 0;
4443 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4444 wxPyHtmlWindow
*result
= 0 ;
4447 PyObject
*swig_obj
[1] ;
4449 if (!args
) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4455 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (wxPyHtmlWindow
*)(arg1
)->GetWindow();
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= wxPyMake_wxObject(result
, (bool)0);
4471 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4472 PyObject
*resultobj
= 0;
4473 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4474 wxHtmlWindowInterface
*result
= 0 ;
4477 PyObject
*swig_obj
[1] ;
4479 if (!args
) SWIG_fail
;
4481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4482 if (!SWIG_IsOK(res1
)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4485 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (wxHtmlWindowInterface
*)(arg1
)->GetWindowInterface();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
4499 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
= 0;
4501 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4504 PyObject
*arg4
= (PyObject
*) NULL
;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 PyObject
* obj2
= 0 ;
4510 PyObject
* obj3
= 0 ;
4511 char * kwnames
[] = {
4512 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
4515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4517 if (!SWIG_IsOK(res1
)) {
4518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4520 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4522 wxString
* sptr
= wxString_in_helper(obj1
);
4523 if (sptr
== NULL
) SWIG_fail
;
4528 wxString
* sptr
= wxString_in_helper(obj2
);
4529 if (sptr
== NULL
) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 wxHtmlWinParser_SetFonts(arg1
,arg2
,arg3
,arg4
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= SWIG_Py_Void();
4549 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
= 0;
4551 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4552 int arg2
= (int) -1 ;
4553 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4554 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4561 bool temp3
= false ;
4562 bool temp4
= false ;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4565 PyObject
* obj2
= 0 ;
4566 PyObject
* obj3
= 0 ;
4567 char * kwnames
[] = {
4568 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
4571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4573 if (!SWIG_IsOK(res1
)) {
4574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4576 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4579 if (!SWIG_IsOK(ecode2
)) {
4580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
4582 arg2
= static_cast< int >(val2
);
4586 arg3
= wxString_in_helper(obj2
);
4587 if (arg3
== NULL
) SWIG_fail
;
4593 arg4
= wxString_in_helper(obj3
);
4594 if (arg4
== NULL
) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_Py_Void();
4627 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4628 PyObject
*resultobj
= 0;
4629 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4630 wxHtmlContainerCell
*result
= 0 ;
4633 PyObject
*swig_obj
[1] ;
4635 if (!args
) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4641 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 result
= (wxHtmlContainerCell
*)(arg1
)->GetContainer();
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4655 SWIGINTERN PyObject
*_wrap_HtmlWinParser_OpenContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4656 PyObject
*resultobj
= 0;
4657 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4658 wxHtmlContainerCell
*result
= 0 ;
4661 PyObject
*swig_obj
[1] ;
4663 if (!args
) SWIG_fail
;
4665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4666 if (!SWIG_IsOK(res1
)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4669 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (wxHtmlContainerCell
*)(arg1
)->OpenContainer();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4683 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
= 0;
4685 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4686 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
4687 wxHtmlContainerCell
*result
= 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 char * kwnames
[] = {
4695 (char *) "self",(char *) "c", NULL
4698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetContainer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4700 if (!SWIG_IsOK(res1
)) {
4701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4703 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4705 if (!SWIG_IsOK(res2
)) {
4706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
4708 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (wxHtmlContainerCell
*)(arg1
)->SetContainer(arg2
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4722 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CloseContainer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4723 PyObject
*resultobj
= 0;
4724 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4725 wxHtmlContainerCell
*result
= 0 ;
4728 PyObject
*swig_obj
[1] ;
4730 if (!args
) SWIG_fail
;
4732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4733 if (!SWIG_IsOK(res1
)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4736 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (wxHtmlContainerCell
*)(arg1
)->CloseContainer();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
4750 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4751 PyObject
*resultobj
= 0;
4752 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4756 PyObject
*swig_obj
[1] ;
4758 if (!args
) SWIG_fail
;
4760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4761 if (!SWIG_IsOK(res1
)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4764 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (int)(arg1
)->GetFontSize();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_From_int(static_cast< int >(result
));
4778 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
= 0;
4780 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 char * kwnames
[] = {
4789 (char *) "self",(char *) "s", NULL
4792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4794 if (!SWIG_IsOK(res1
)) {
4795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4797 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4799 if (!SWIG_IsOK(ecode2
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'");
4802 arg2
= static_cast< int >(val2
);
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 (arg1
)->SetFontSize(arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_Py_Void();
4816 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4817 PyObject
*resultobj
= 0;
4818 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4822 PyObject
*swig_obj
[1] ;
4824 if (!args
) SWIG_fail
;
4826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4827 if (!SWIG_IsOK(res1
)) {
4828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4830 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 result
= (int)(arg1
)->GetFontBold();
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_From_int(static_cast< int >(result
));
4844 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
= 0;
4846 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4854 char * kwnames
[] = {
4855 (char *) "self",(char *) "x", NULL
4858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4860 if (!SWIG_IsOK(res1
)) {
4861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4863 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4865 if (!SWIG_IsOK(ecode2
)) {
4866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'");
4868 arg2
= static_cast< int >(val2
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 (arg1
)->SetFontBold(arg2
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 resultobj
= SWIG_Py_Void();
4882 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4883 PyObject
*resultobj
= 0;
4884 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4888 PyObject
*swig_obj
[1] ;
4890 if (!args
) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4896 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (int)(arg1
)->GetFontItalic();
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_From_int(static_cast< int >(result
));
4910 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontItalic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
= 0;
4912 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 char * kwnames
[] = {
4921 (char *) "self",(char *) "x", NULL
4924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4929 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4931 if (!SWIG_IsOK(ecode2
)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'");
4934 arg2
= static_cast< int >(val2
);
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 (arg1
)->SetFontItalic(arg2
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= SWIG_Py_Void();
4948 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4949 PyObject
*resultobj
= 0;
4950 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4954 PyObject
*swig_obj
[1] ;
4956 if (!args
) SWIG_fail
;
4958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4959 if (!SWIG_IsOK(res1
)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4962 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (int)(arg1
)->GetFontUnderlined();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_From_int(static_cast< int >(result
));
4976 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
= 0;
4978 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4985 PyObject
* obj1
= 0 ;
4986 char * kwnames
[] = {
4987 (char *) "self",(char *) "x", NULL
4990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
4992 if (!SWIG_IsOK(res1
)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
4995 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
4996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4997 if (!SWIG_IsOK(ecode2
)) {
4998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'");
5000 arg2
= static_cast< int >(val2
);
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 (arg1
)->SetFontUnderlined(arg2
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= SWIG_Py_Void();
5014 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5015 PyObject
*resultobj
= 0;
5016 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5020 PyObject
*swig_obj
[1] ;
5022 if (!args
) SWIG_fail
;
5024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5025 if (!SWIG_IsOK(res1
)) {
5026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5028 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (int)(arg1
)->GetFontFixed();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= SWIG_From_int(static_cast< int >(result
));
5042 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetFontFixed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
= 0;
5044 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 char * kwnames
[] = {
5053 (char *) "self",(char *) "x", NULL
5056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5058 if (!SWIG_IsOK(res1
)) {
5059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5061 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5063 if (!SWIG_IsOK(ecode2
)) {
5064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'");
5066 arg2
= static_cast< int >(val2
);
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 (arg1
)->SetFontFixed(arg2
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_Py_Void();
5080 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5081 PyObject
*resultobj
= 0;
5082 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5086 PyObject
*swig_obj
[1] ;
5088 if (!args
) SWIG_fail
;
5090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5091 if (!SWIG_IsOK(res1
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5094 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (int)(arg1
)->GetAlign();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_From_int(static_cast< int >(result
));
5108 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
= 0;
5110 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 char * kwnames
[] = {
5119 (char *) "self",(char *) "a", NULL
5122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5124 if (!SWIG_IsOK(res1
)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5127 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5129 if (!SWIG_IsOK(ecode2
)) {
5130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'");
5132 arg2
= static_cast< int >(val2
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 (arg1
)->SetAlign(arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_Py_Void();
5146 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5147 PyObject
*resultobj
= 0;
5148 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5152 PyObject
*swig_obj
[1] ;
5154 if (!args
) SWIG_fail
;
5156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5157 if (!SWIG_IsOK(res1
)) {
5158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5160 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (arg1
)->GetLinkColor();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5174 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLinkColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
= 0;
5176 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5177 wxColour
*arg2
= 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5183 char * kwnames
[] = {
5184 (char *) "self",(char *) "clr", NULL
5187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5189 if (!SWIG_IsOK(res1
)) {
5190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5192 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5195 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 (arg1
)->SetLinkColor((wxColour
const &)*arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_Py_Void();
5210 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5211 PyObject
*resultobj
= 0;
5212 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5216 PyObject
*swig_obj
[1] ;
5218 if (!args
) SWIG_fail
;
5220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5221 if (!SWIG_IsOK(res1
)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5224 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (arg1
)->GetActualColor();
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5238 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetActualColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
= 0;
5240 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5241 wxColour
*arg2
= 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 char * kwnames
[] = {
5248 (char *) "self",(char *) "clr", NULL
5251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetActualColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5256 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 (arg1
)->SetActualColor((wxColour
const &)*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_Py_Void();
5274 SWIGINTERN PyObject
*_wrap_HtmlWinParser_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
= 0;
5276 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5277 wxString
*arg2
= 0 ;
5280 bool temp2
= false ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5283 char * kwnames
[] = {
5284 (char *) "self",(char *) "link", NULL
5287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinParser_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5292 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5294 arg2
= wxString_in_helper(obj1
);
5295 if (arg2
== NULL
) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 (arg1
)->SetLink((wxString
const &)*arg2
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= SWIG_Py_Void();
5319 SWIGINTERN PyObject
*_wrap_HtmlWinParser_CreateCurrentFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5320 PyObject
*resultobj
= 0;
5321 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5322 wxFont
*result
= 0 ;
5325 PyObject
*swig_obj
[1] ;
5327 if (!args
) SWIG_fail
;
5329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5330 if (!SWIG_IsOK(res1
)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5333 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (wxFont
*)(arg1
)->CreateCurrentFont();
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
5347 SWIGINTERN PyObject
*_wrap_HtmlWinParser_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5348 PyObject
*resultobj
= 0;
5349 wxHtmlWinParser
*arg1
= (wxHtmlWinParser
*) 0 ;
5350 SwigValueWrapper
<wxHtmlLinkInfo
> result
;
5353 PyObject
*swig_obj
[1] ;
5355 if (!args
) SWIG_fail
;
5357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5358 if (!SWIG_IsOK(res1
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'");
5361 arg1
= reinterpret_cast< wxHtmlWinParser
* >(argp1
);
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (arg1
)->GetLink();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo
& >(result
))), SWIGTYPE_p_wxHtmlLinkInfo
, SWIG_POINTER_OWN
| 0 );
5375 SWIGINTERN PyObject
*HtmlWinParser_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5378 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser
, SWIG_NewClientData(obj
));
5379 return SWIG_Py_Void();
5382 SWIGINTERN PyObject
*HtmlWinParser_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5383 return SWIG_Python_InitShadowInstance(args
);
5386 SWIGINTERN PyObject
*_wrap_new_HtmlTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5388 wxPyHtmlTagHandler
*result
= 0 ;
5390 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlTagHandler",0,0,0)) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxPyHtmlTagHandler
*)new wxPyHtmlTagHandler();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_POINTER_NEW
| 0 );
5404 SWIGINTERN PyObject
*_wrap_HtmlTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
= 0;
5406 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5407 PyObject
*arg2
= (PyObject
*) 0 ;
5408 PyObject
*arg3
= (PyObject
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5413 PyObject
* obj2
= 0 ;
5414 char * kwnames
[] = {
5415 (char *) "self",(char *) "self",(char *) "_class", NULL
5418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5420 if (!SWIG_IsOK(res1
)) {
5421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5423 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_Py_Void();
5439 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5442 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "parser", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5458 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5460 if (!SWIG_IsOK(res2
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5463 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetParser(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_Py_Void();
5477 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5478 PyObject
*resultobj
= 0;
5479 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5480 wxHtmlParser
*result
= 0 ;
5483 PyObject
*swig_obj
[1] ;
5485 if (!args
) SWIG_fail
;
5487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5488 if (!SWIG_IsOK(res1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5491 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (wxHtmlParser
*)(arg1
)->GetParser();
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5505 SWIGINTERN PyObject
*_wrap_HtmlTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
= 0;
5507 wxPyHtmlTagHandler
*arg1
= (wxPyHtmlTagHandler
*) 0 ;
5508 wxHtmlTag
*arg2
= 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 char * kwnames
[] = {
5516 (char *) "self",(char *) "tag", NULL
5519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlTagHandler
, 0 | 0 );
5521 if (!SWIG_IsOK(res1
)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'");
5524 arg1
= reinterpret_cast< wxPyHtmlTagHandler
* >(argp1
);
5525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5526 if (!SWIG_IsOK(res2
)) {
5527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5532 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= SWIG_Py_Void();
5546 SWIGINTERN PyObject
*HtmlTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5549 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler
, SWIG_NewClientData(obj
));
5550 return SWIG_Py_Void();
5553 SWIGINTERN PyObject
*HtmlTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5554 return SWIG_Python_InitShadowInstance(args
);
5557 SWIGINTERN PyObject
*_wrap_new_HtmlWinTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5558 PyObject
*resultobj
= 0;
5559 wxPyHtmlWinTagHandler
*result
= 0 ;
5561 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (wxPyHtmlWinTagHandler
*)new wxPyHtmlWinTagHandler();
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_POINTER_NEW
| 0 );
5575 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
= 0;
5577 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5578 PyObject
*arg2
= (PyObject
*) 0 ;
5579 PyObject
*arg3
= (PyObject
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5584 PyObject
* obj2
= 0 ;
5585 char * kwnames
[] = {
5586 (char *) "self",(char *) "self",(char *) "_class", NULL
5589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5591 if (!SWIG_IsOK(res1
)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5594 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_Py_Void();
5610 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_SetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
= 0;
5612 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5613 wxHtmlParser
*arg2
= (wxHtmlParser
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5620 char * kwnames
[] = {
5621 (char *) "self",(char *) "parser", NULL
5624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5626 if (!SWIG_IsOK(res1
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5629 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlParser
, 0 | 0 );
5631 if (!SWIG_IsOK(res2
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'");
5634 arg2
= reinterpret_cast< wxHtmlParser
* >(argp2
);
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->SetParser(arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_Py_Void();
5648 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5649 PyObject
*resultobj
= 0;
5650 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5651 wxHtmlWinParser
*result
= 0 ;
5654 PyObject
*swig_obj
[1] ;
5656 if (!args
) SWIG_fail
;
5658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5659 if (!SWIG_IsOK(res1
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5662 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
5676 SWIGINTERN PyObject
*_wrap_HtmlWinTagHandler_ParseInner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= 0;
5678 wxPyHtmlWinTagHandler
*arg1
= (wxPyHtmlWinTagHandler
*) 0 ;
5679 wxHtmlTag
*arg2
= 0 ;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5686 char * kwnames
[] = {
5687 (char *) "self",(char *) "tag", NULL
5690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWinTagHandler
, 0 | 0 );
5692 if (!SWIG_IsOK(res1
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'");
5695 arg1
= reinterpret_cast< wxPyHtmlWinTagHandler
* >(argp1
);
5696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
5697 if (!SWIG_IsOK(res2
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
5703 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 (arg1
)->ParseInner((wxHtmlTag
const &)*arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_Py_Void();
5717 SWIGINTERN PyObject
*HtmlWinTagHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler
, SWIG_NewClientData(obj
));
5721 return SWIG_Py_Void();
5724 SWIGINTERN PyObject
*HtmlWinTagHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5725 return SWIG_Python_InitShadowInstance(args
);
5728 SWIGINTERN PyObject
*_wrap_HtmlWinParser_AddTagHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
= 0;
5730 PyObject
*arg1
= (PyObject
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "tagHandlerClass", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWinParser_AddTagHandler",kwnames
,&obj0
)) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 wxHtmlWinParser_AddTagHandler(arg1
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_Py_Void();
5751 SWIGINTERN PyObject
*_wrap_new_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5752 PyObject
*resultobj
= 0;
5753 wxHtmlSelection
*result
= 0 ;
5755 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlSelection",0,0,0)) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (wxHtmlSelection
*)new wxHtmlSelection();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_NEW
| 0 );
5769 SWIGINTERN PyObject
*_wrap_delete_HtmlSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5770 PyObject
*resultobj
= 0;
5771 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5774 PyObject
*swig_obj
[1] ;
5776 if (!args
) SWIG_fail
;
5778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, SWIG_POINTER_DISOWN
| 0 );
5779 if (!SWIG_IsOK(res1
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5782 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_Py_Void();
5797 SWIGINTERN PyObject
*_wrap_HtmlSelection_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= 0;
5799 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5801 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5803 wxHtmlCell
*arg5
= (wxHtmlCell
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 PyObject
* obj2
= 0 ;
5815 PyObject
* obj3
= 0 ;
5816 PyObject
* obj4
= 0 ;
5817 char * kwnames
[] = {
5818 (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL
5821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlSelection_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5823 if (!SWIG_IsOK(res1
)) {
5824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5826 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5831 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5832 if (!SWIG_IsOK(res3
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5835 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5840 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5841 if (!SWIG_IsOK(res5
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'");
5844 arg5
= reinterpret_cast< wxHtmlCell
* >(argp5
);
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->Set((wxPoint
const &)*arg2
,(wxHtmlCell
const *)arg3
,(wxPoint
const &)*arg4
,(wxHtmlCell
const *)arg5
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= SWIG_Py_Void();
5858 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetCells(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= 0;
5860 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5861 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
5862 wxHtmlCell
*arg3
= (wxHtmlCell
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 PyObject
* obj2
= 0 ;
5872 char * kwnames
[] = {
5873 (char *) "self",(char *) "fromCell",(char *) "toCell", NULL
5876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlSelection_SetCells",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5878 if (!SWIG_IsOK(res1
)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
5881 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5883 if (!SWIG_IsOK(res2
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'");
5886 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
5887 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
5888 if (!SWIG_IsOK(res3
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'");
5891 arg3
= reinterpret_cast< wxHtmlCell
* >(argp3
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 (arg1
)->Set((wxHtmlCell
const *)arg2
,(wxHtmlCell
const *)arg3
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_Py_Void();
5905 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5906 PyObject
*resultobj
= 0;
5907 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5908 wxHtmlCell
*result
= 0 ;
5911 PyObject
*swig_obj
[1] ;
5913 if (!args
) SWIG_fail
;
5915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5916 if (!SWIG_IsOK(res1
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5919 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetFromCell();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= wxPyMake_wxObject(result
, 0);
5935 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5936 PyObject
*resultobj
= 0;
5937 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5938 wxHtmlCell
*result
= 0 ;
5941 PyObject
*swig_obj
[1] ;
5943 if (!args
) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5949 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= (wxHtmlCell
*)((wxHtmlSelection
const *)arg1
)->GetToCell();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= wxPyMake_wxObject(result
, 0);
5965 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5966 PyObject
*resultobj
= 0;
5967 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5968 wxPoint
*result
= 0 ;
5971 PyObject
*swig_obj
[1] ;
5973 if (!args
) SWIG_fail
;
5975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
5976 if (!SWIG_IsOK(res1
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
5979 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPos();
5984 result
= (wxPoint
*) &_result_ref
;
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
5996 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5997 PyObject
*resultobj
= 0;
5998 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
5999 wxPoint
*result
= 0 ;
6002 PyObject
*swig_obj
[1] ;
6004 if (!args
) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6010 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPos();
6015 result
= (wxPoint
*) &_result_ref
;
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6027 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6030 wxPoint
*result
= 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6041 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetFromPrivPos();
6046 result
= (wxPoint
*) &_result_ref
;
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6058 SWIGINTERN PyObject
*_wrap_HtmlSelection_GetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6059 PyObject
*resultobj
= 0;
6060 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6061 wxPoint
*result
= 0 ;
6064 PyObject
*swig_obj
[1] ;
6066 if (!args
) SWIG_fail
;
6068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6069 if (!SWIG_IsOK(res1
)) {
6070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6072 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 wxPoint
const &_result_ref
= ((wxHtmlSelection
const *)arg1
)->GetToPrivPos();
6077 result
= (wxPoint
*) &_result_ref
;
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
6089 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetFromPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
= 0;
6091 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6098 char * kwnames
[] = {
6099 (char *) "self",(char *) "pos", NULL
6102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6104 if (!SWIG_IsOK(res1
)) {
6105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6107 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->SetFromPrivPos((wxPoint
const &)*arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_Py_Void();
6125 SWIGINTERN PyObject
*_wrap_HtmlSelection_SetToPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
= 0;
6127 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6134 char * kwnames
[] = {
6135 (char *) "self",(char *) "pos", NULL
6138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6140 if (!SWIG_IsOK(res1
)) {
6141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6143 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 (arg1
)->SetToPrivPos((wxPoint
const &)*arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_Py_Void();
6161 SWIGINTERN PyObject
*_wrap_HtmlSelection_ClearPrivPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6162 PyObject
*resultobj
= 0;
6163 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6166 PyObject
*swig_obj
[1] ;
6168 if (!args
) SWIG_fail
;
6170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6171 if (!SWIG_IsOK(res1
)) {
6172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'");
6174 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->ClearPrivPos();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_HtmlSelection_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxHtmlSelection
*arg1
= (wxHtmlSelection
*) 0 ;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'");
6202 arg1
= reinterpret_cast< wxHtmlSelection
* >(argp1
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (bool)((wxHtmlSelection
const *)arg1
)->IsEmpty();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
6216 SWIGINTERN PyObject
*HtmlSelection_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6219 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection
, SWIG_NewClientData(obj
));
6220 return SWIG_Py_Void();
6223 SWIGINTERN PyObject
*HtmlSelection_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6224 return SWIG_Python_InitShadowInstance(args
);
6227 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6228 PyObject
*resultobj
= 0;
6229 wxHtmlRenderingState
*result
= 0 ;
6231 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingState",0,0,0)) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (wxHtmlRenderingState
*)new wxHtmlRenderingState();
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_NEW
| 0 );
6245 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6246 PyObject
*resultobj
= 0;
6247 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6250 PyObject
*swig_obj
[1] ;
6252 if (!args
) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, SWIG_POINTER_DISOWN
| 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6258 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_Py_Void();
6273 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
= 0;
6275 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6276 wxHtmlSelectionState arg2
;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 char * kwnames
[] = {
6284 (char *) "self",(char *) "s", NULL
6287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6289 if (!SWIG_IsOK(res1
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6292 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6294 if (!SWIG_IsOK(ecode2
)) {
6295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'");
6297 arg2
= static_cast< wxHtmlSelectionState
>(val2
);
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 (arg1
)->SetSelectionState(arg2
);
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_Py_Void();
6311 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetSelectionState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6312 PyObject
*resultobj
= 0;
6313 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6314 wxHtmlSelectionState result
;
6317 PyObject
*swig_obj
[1] ;
6319 if (!args
) SWIG_fail
;
6321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6322 if (!SWIG_IsOK(res1
)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6325 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (wxHtmlSelectionState
)((wxHtmlRenderingState
const *)arg1
)->GetSelectionState();
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= SWIG_From_int(static_cast< int >(result
));
6339 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
= 0;
6341 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6342 wxColour
*arg2
= 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 char * kwnames
[] = {
6349 (char *) "self",(char *) "c", NULL
6352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6354 if (!SWIG_IsOK(res1
)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6357 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 (arg1
)->SetFgColour((wxColour
const &)*arg2
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_Py_Void();
6375 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetFgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6376 PyObject
*resultobj
= 0;
6377 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6378 wxColour
*result
= 0 ;
6381 PyObject
*swig_obj
[1] ;
6383 if (!args
) SWIG_fail
;
6385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6386 if (!SWIG_IsOK(res1
)) {
6387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6389 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetFgColour();
6394 result
= (wxColour
*) &_result_ref
;
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6406 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_SetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
= 0;
6408 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6409 wxColour
*arg2
= 0 ;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 char * kwnames
[] = {
6416 (char *) "self",(char *) "c", NULL
6419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6421 if (!SWIG_IsOK(res1
)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'");
6424 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 (arg1
)->SetBgColour((wxColour
const &)*arg2
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_Py_Void();
6442 SWIGINTERN PyObject
*_wrap_HtmlRenderingState_GetBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6443 PyObject
*resultobj
= 0;
6444 wxHtmlRenderingState
*arg1
= (wxHtmlRenderingState
*) 0 ;
6445 wxColour
*result
= 0 ;
6448 PyObject
*swig_obj
[1] ;
6450 if (!args
) SWIG_fail
;
6452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6453 if (!SWIG_IsOK(res1
)) {
6454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'");
6456 arg1
= reinterpret_cast< wxHtmlRenderingState
* >(argp1
);
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 wxColour
const &_result_ref
= ((wxHtmlRenderingState
const *)arg1
)->GetBgColour();
6461 result
= (wxColour
*) &_result_ref
;
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
6473 SWIGINTERN PyObject
*HtmlRenderingState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6476 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState
, SWIG_NewClientData(obj
));
6477 return SWIG_Py_Void();
6480 SWIGINTERN PyObject
*HtmlRenderingState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6481 return SWIG_Python_InitShadowInstance(args
);
6484 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
= 0;
6486 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6487 wxColour
*arg2
= 0 ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 char * kwnames
[] = {
6495 (char *) "self",(char *) "clr", NULL
6498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6500 if (!SWIG_IsOK(res1
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6503 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (arg1
)->GetSelectedTextColour((wxColour
const &)*arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6521 SWIGINTERN PyObject
*_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxHtmlRenderingStyle
*arg1
= (wxHtmlRenderingStyle
*) 0 ;
6524 wxColour
*arg2
= 0 ;
6529 PyObject
* obj0
= 0 ;
6530 PyObject
* obj1
= 0 ;
6531 char * kwnames
[] = {
6532 (char *) "self",(char *) "clr", NULL
6535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'");
6540 arg1
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp1
);
6543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (arg1
)->GetSelectedTextBgColour((wxColour
const &)*arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6558 SWIGINTERN PyObject
*HtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6561 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6562 return SWIG_Py_Void();
6565 SWIGINTERN PyObject
*DefaultHtmlRenderingStyle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6568 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle
, SWIG_NewClientData(obj
));
6569 return SWIG_Py_Void();
6572 SWIGINTERN PyObject
*_wrap_new_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6573 PyObject
*resultobj
= 0;
6574 wxHtmlRenderingInfo
*result
= 0 ;
6576 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (wxHtmlRenderingInfo
*)new wxHtmlRenderingInfo();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_NEW
| 0 );
6590 SWIGINTERN PyObject
*_wrap_delete_HtmlRenderingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6591 PyObject
*resultobj
= 0;
6592 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6595 PyObject
*swig_obj
[1] ;
6597 if (!args
) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_POINTER_DISOWN
| 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6603 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_Py_Void();
6618 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
= 0;
6620 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6621 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6627 PyObject
* obj1
= 0 ;
6628 char * kwnames
[] = {
6629 (char *) "self",(char *) "s", NULL
6632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6634 if (!SWIG_IsOK(res1
)) {
6635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6637 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6639 if (!SWIG_IsOK(res2
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
6642 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 (arg1
)->SetSelection(arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= SWIG_Py_Void();
6656 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6657 PyObject
*resultobj
= 0;
6658 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6659 wxHtmlSelection
*result
= 0 ;
6662 PyObject
*swig_obj
[1] ;
6664 if (!args
) SWIG_fail
;
6666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6667 if (!SWIG_IsOK(res1
)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'");
6670 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (wxHtmlSelection
*)((wxHtmlRenderingInfo
const *)arg1
)->GetSelection();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
6684 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
= 0;
6686 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6687 wxHtmlRenderingStyle
*arg2
= (wxHtmlRenderingStyle
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6693 PyObject
* obj1
= 0 ;
6694 char * kwnames
[] = {
6695 (char *) "self",(char *) "style", NULL
6698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6700 if (!SWIG_IsOK(res1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6703 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6705 if (!SWIG_IsOK(res2
)) {
6706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'");
6708 arg2
= reinterpret_cast< wxHtmlRenderingStyle
* >(argp2
);
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 (arg1
)->SetStyle(arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_Py_Void();
6722 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 PyObject
*resultobj
= 0;
6724 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6725 wxHtmlRenderingStyle
*result
= 0 ;
6728 PyObject
*swig_obj
[1] ;
6730 if (!args
) SWIG_fail
;
6732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6733 if (!SWIG_IsOK(res1
)) {
6734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6736 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 wxHtmlRenderingStyle
&_result_ref
= (arg1
)->GetStyle();
6741 result
= (wxHtmlRenderingStyle
*) &_result_ref
;
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingStyle
, 0 | 0 );
6753 SWIGINTERN PyObject
*_wrap_HtmlRenderingInfo_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6754 PyObject
*resultobj
= 0;
6755 wxHtmlRenderingInfo
*arg1
= (wxHtmlRenderingInfo
*) 0 ;
6756 wxHtmlRenderingState
*result
= 0 ;
6759 PyObject
*swig_obj
[1] ;
6761 if (!args
) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlRenderingInfo
, 0 | 0 );
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'");
6767 arg1
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp1
);
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 wxHtmlRenderingState
&_result_ref
= (arg1
)->GetState();
6772 result
= (wxHtmlRenderingState
*) &_result_ref
;
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlRenderingState
, 0 | 0 );
6784 SWIGINTERN PyObject
*HtmlRenderingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6787 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo
, SWIG_NewClientData(obj
));
6788 return SWIG_Py_Void();
6791 SWIGINTERN PyObject
*HtmlRenderingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6792 return SWIG_Python_InitShadowInstance(args
);
6795 SWIGINTERN PyObject
*_wrap_new_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6796 PyObject
*resultobj
= 0;
6797 wxHtmlCell
*result
= 0 ;
6799 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlCell",0,0,0)) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (wxHtmlCell
*)new wxHtmlCell();
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_NEW
| 0 );
6813 SWIGINTERN PyObject
*_wrap_delete_HtmlCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6814 PyObject
*resultobj
= 0;
6815 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6818 PyObject
*swig_obj
[1] ;
6820 if (!args
) SWIG_fail
;
6822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
6823 if (!SWIG_IsOK(res1
)) {
6824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6826 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_Py_Void();
6841 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6842 PyObject
*resultobj
= 0;
6843 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6847 PyObject
*swig_obj
[1] ;
6849 if (!args
) SWIG_fail
;
6851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6852 if (!SWIG_IsOK(res1
)) {
6853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6855 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (int)(arg1
)->GetPosX();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_From_int(static_cast< int >(result
));
6869 SWIGINTERN PyObject
*_wrap_HtmlCell_GetPosY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6870 PyObject
*resultobj
= 0;
6871 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6875 PyObject
*swig_obj
[1] ;
6877 if (!args
) SWIG_fail
;
6879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6880 if (!SWIG_IsOK(res1
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6883 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (int)(arg1
)->GetPosY();
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= SWIG_From_int(static_cast< int >(result
));
6897 SWIGINTERN PyObject
*_wrap_HtmlCell_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6898 PyObject
*resultobj
= 0;
6899 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6903 PyObject
*swig_obj
[1] ;
6905 if (!args
) SWIG_fail
;
6907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6908 if (!SWIG_IsOK(res1
)) {
6909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6911 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (int)(arg1
)->GetWidth();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_From_int(static_cast< int >(result
));
6925 SWIGINTERN PyObject
*_wrap_HtmlCell_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6926 PyObject
*resultobj
= 0;
6927 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6931 PyObject
*swig_obj
[1] ;
6933 if (!args
) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6939 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (int)(arg1
)->GetHeight();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= SWIG_From_int(static_cast< int >(result
));
6953 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDescent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6954 PyObject
*resultobj
= 0;
6955 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6959 PyObject
*swig_obj
[1] ;
6961 if (!args
) SWIG_fail
;
6963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6964 if (!SWIG_IsOK(res1
)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
6967 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (int)(arg1
)->GetDescent();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_From_int(static_cast< int >(result
));
6981 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMaxTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6982 PyObject
*resultobj
= 0;
6983 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
6987 PyObject
*swig_obj
[1] ;
6989 if (!args
) SWIG_fail
;
6991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
6992 if (!SWIG_IsOK(res1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
6995 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (int)((wxHtmlCell
const *)arg1
)->GetMaxTotalWidth();
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_From_int(static_cast< int >(result
));
7009 SWIGINTERN PyObject
*_wrap_HtmlCell_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7010 PyObject
*resultobj
= 0;
7011 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7012 wxString
*result
= 0 ;
7015 PyObject
*swig_obj
[1] ;
7017 if (!args
) SWIG_fail
;
7019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7020 if (!SWIG_IsOK(res1
)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7023 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 wxString
const &_result_ref
= ((wxHtmlCell
const *)arg1
)->GetId();
7028 result
= (wxString
*) &_result_ref
;
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7037 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7046 SWIGINTERN PyObject
*_wrap_HtmlCell_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7048 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7049 wxString
*arg2
= 0 ;
7052 bool temp2
= false ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 char * kwnames
[] = {
7056 (char *) "self",(char *) "id", NULL
7059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7061 if (!SWIG_IsOK(res1
)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7064 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7066 arg2
= wxString_in_helper(obj1
);
7067 if (arg2
== NULL
) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 (arg1
)->SetId((wxString
const &)*arg2
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_Py_Void();
7091 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
= 0;
7093 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7094 int arg2
= (int) 0 ;
7095 int arg3
= (int) 0 ;
7096 wxHtmlLinkInfo
*result
= 0 ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7105 PyObject
* obj2
= 0 ;
7106 char * kwnames
[] = {
7107 (char *) "self",(char *) "x",(char *) "y", NULL
7110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:HtmlCell_GetLink",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7112 if (!SWIG_IsOK(res1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7115 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7118 if (!SWIG_IsOK(ecode2
)) {
7119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'");
7121 arg2
= static_cast< int >(val2
);
7124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7125 if (!SWIG_IsOK(ecode3
)) {
7126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'");
7128 arg3
= static_cast< int >(val3
);
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (wxHtmlLinkInfo
*)(arg1
)->GetLink(arg2
,arg3
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0 );
7143 SWIGINTERN PyObject
*_wrap_HtmlCell_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7144 PyObject
*resultobj
= 0;
7145 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7146 wxHtmlCell
*result
= 0 ;
7149 PyObject
*swig_obj
[1] ;
7151 if (!args
) SWIG_fail
;
7153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7154 if (!SWIG_IsOK(res1
)) {
7155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7157 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (wxHtmlCell
*)(arg1
)->GetNext();
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= wxPyMake_wxObject(result
, 0);
7173 SWIGINTERN PyObject
*_wrap_HtmlCell_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7176 wxHtmlContainerCell
*result
= 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7187 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (wxHtmlContainerCell
*)(arg1
)->GetParent();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7201 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7202 PyObject
*resultobj
= 0;
7203 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7204 wxHtmlCell
*result
= 0 ;
7207 PyObject
*swig_obj
[1] ;
7209 if (!args
) SWIG_fail
;
7211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7212 if (!SWIG_IsOK(res1
)) {
7213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7215 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstChild();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= wxPyMake_wxObject(result
, 0);
7231 SWIGINTERN PyObject
*_wrap_HtmlCell_GetMouseCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
= 0;
7233 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7234 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7242 char * kwnames
[] = {
7243 (char *) "self",(char *) "window", NULL
7246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_GetMouseCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7251 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7253 if (!SWIG_IsOK(res2
)) {
7254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7256 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= ((wxHtmlCell
const *)arg1
)->GetMouseCursor(arg2
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7270 SWIGINTERN PyObject
*_wrap_HtmlCell_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7271 PyObject
*resultobj
= 0;
7272 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7276 PyObject
*swig_obj
[1] ;
7278 if (!args
) SWIG_fail
;
7280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7281 if (!SWIG_IsOK(res1
)) {
7282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7284 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= ((wxHtmlCell
const *)arg1
)->GetCursor();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7298 SWIGINTERN PyObject
*_wrap_HtmlCell_IsFormattingCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7299 PyObject
*resultobj
= 0;
7300 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7304 PyObject
*swig_obj
[1] ;
7306 if (!args
) SWIG_fail
;
7308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7309 if (!SWIG_IsOK(res1
)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7312 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (bool)((wxHtmlCell
const *)arg1
)->IsFormattingCell();
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7328 SWIGINTERN PyObject
*_wrap_HtmlCell_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
= 0;
7330 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7331 wxHtmlLinkInfo
*arg2
= 0 ;
7336 PyObject
* obj0
= 0 ;
7337 PyObject
* obj1
= 0 ;
7338 char * kwnames
[] = {
7339 (char *) "self",(char *) "link", NULL
7342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7344 if (!SWIG_IsOK(res1
)) {
7345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7347 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
7349 if (!SWIG_IsOK(res2
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
7355 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 (arg1
)->SetLink((wxHtmlLinkInfo
const &)*arg2
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_Py_Void();
7369 SWIGINTERN PyObject
*_wrap_HtmlCell_SetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
= 0;
7371 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7372 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 char * kwnames
[] = {
7378 (char *) "self",(char *) "cell", NULL
7381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7382 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7383 if (!SWIG_IsOK(res1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7386 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
7387 if (!SWIG_IsOK(res2
)) {
7388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 (arg1
)->SetNext(arg2
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_Py_Void();
7403 SWIGINTERN PyObject
*_wrap_HtmlCell_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
= 0;
7405 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7406 wxHtmlContainerCell
*arg2
= (wxHtmlContainerCell
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7413 char * kwnames
[] = {
7414 (char *) "self",(char *) "p", NULL
7417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7419 if (!SWIG_IsOK(res1
)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7422 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
7424 if (!SWIG_IsOK(res2
)) {
7425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'");
7427 arg2
= reinterpret_cast< wxHtmlContainerCell
* >(argp2
);
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 (arg1
)->SetParent(arg2
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_Py_Void();
7441 SWIGINTERN PyObject
*_wrap_HtmlCell_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= 0;
7443 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 PyObject
* obj2
= 0 ;
7455 char * kwnames
[] = {
7456 (char *) "self",(char *) "x",(char *) "y", NULL
7459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_SetPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7461 if (!SWIG_IsOK(res1
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7464 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7466 if (!SWIG_IsOK(ecode2
)) {
7467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'");
7469 arg2
= static_cast< int >(val2
);
7470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7471 if (!SWIG_IsOK(ecode3
)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'");
7474 arg3
= static_cast< int >(val3
);
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 (arg1
)->SetPos(arg2
,arg3
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= SWIG_Py_Void();
7488 SWIGINTERN PyObject
*_wrap_HtmlCell_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
= 0;
7490 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7498 char * kwnames
[] = {
7499 (char *) "self",(char *) "w", NULL
7502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_Layout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7504 if (!SWIG_IsOK(res1
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7507 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7509 if (!SWIG_IsOK(ecode2
)) {
7510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'");
7512 arg2
= static_cast< int >(val2
);
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 (arg1
)->Layout(arg2
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_Py_Void();
7526 SWIGINTERN PyObject
*_wrap_HtmlCell_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
= 0;
7528 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7534 wxHtmlRenderingInfo
*arg7
= 0 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7552 PyObject
* obj3
= 0 ;
7553 PyObject
* obj4
= 0 ;
7554 PyObject
* obj5
= 0 ;
7555 PyObject
* obj6
= 0 ;
7556 char * kwnames
[] = {
7557 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL
7560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:HtmlCell_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7562 if (!SWIG_IsOK(res1
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7565 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7567 if (!SWIG_IsOK(res2
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
7573 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7575 if (!SWIG_IsOK(ecode3
)) {
7576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'");
7578 arg3
= static_cast< int >(val3
);
7579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7580 if (!SWIG_IsOK(ecode4
)) {
7581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'");
7583 arg4
= static_cast< int >(val4
);
7584 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7585 if (!SWIG_IsOK(ecode5
)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'");
7588 arg5
= static_cast< int >(val5
);
7589 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
7590 if (!SWIG_IsOK(ecode6
)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'");
7593 arg6
= static_cast< int >(val6
);
7594 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7595 if (!SWIG_IsOK(res7
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'");
7601 arg7
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp7
);
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 (arg1
)->Draw(*arg2
,arg3
,arg4
,arg5
,arg6
,*arg7
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_Py_Void();
7615 SWIGINTERN PyObject
*_wrap_HtmlCell_DrawInvisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
= 0;
7617 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7621 wxHtmlRenderingInfo
*arg5
= 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7634 PyObject
* obj2
= 0 ;
7635 PyObject
* obj3
= 0 ;
7636 PyObject
* obj4
= 0 ;
7637 char * kwnames
[] = {
7638 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL
7641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7643 if (!SWIG_IsOK(res1
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7646 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
7648 if (!SWIG_IsOK(res2
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'");
7654 arg2
= reinterpret_cast< wxDC
* >(argp2
);
7655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7656 if (!SWIG_IsOK(ecode3
)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'");
7659 arg3
= static_cast< int >(val3
);
7660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7661 if (!SWIG_IsOK(ecode4
)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'");
7664 arg4
= static_cast< int >(val4
);
7665 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxHtmlRenderingInfo
, 0 );
7666 if (!SWIG_IsOK(res5
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'");
7672 arg5
= reinterpret_cast< wxHtmlRenderingInfo
* >(argp5
);
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 (arg1
)->DrawInvisible(*arg2
,arg3
,arg4
,*arg5
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 resultobj
= SWIG_Py_Void();
7686 SWIGINTERN PyObject
*_wrap_HtmlCell_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7690 void *arg3
= (void *) 0 ;
7691 wxHtmlCell
*result
= 0 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7699 PyObject
* obj2
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "self",(char *) "condition",(char *) "param", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlCell_Find",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7706 if (!SWIG_IsOK(res1
)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7709 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7711 if (!SWIG_IsOK(ecode2
)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'");
7714 arg2
= static_cast< int >(val2
);
7715 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
7716 if (!SWIG_IsOK(res3
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'");
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxHtmlCell
*)(arg1
)->Find(arg2
,(void const *)arg3
);
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= wxPyMake_wxObject(result
, 0);
7734 SWIGINTERN PyObject
*_wrap_HtmlCell_ProcessMouseClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
= 0;
7736 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7737 wxHtmlWindowInterface
*arg2
= (wxHtmlWindowInterface
*) 0 ;
7739 wxMouseEvent
*arg4
= 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7750 PyObject
* obj2
= 0 ;
7751 PyObject
* obj3
= 0 ;
7752 char * kwnames
[] = {
7753 (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL
7756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7758 if (!SWIG_IsOK(res1
)) {
7759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7761 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
7763 if (!SWIG_IsOK(res2
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'");
7766 arg2
= reinterpret_cast< wxHtmlWindowInterface
* >(argp2
);
7769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7771 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
7772 if (!SWIG_IsOK(res4
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'");
7778 arg4
= reinterpret_cast< wxMouseEvent
* >(argp4
);
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (bool)(arg1
)->ProcessMouseClick(arg2
,(wxPoint
const &)*arg3
,(wxMouseEvent
const &)*arg4
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7794 SWIGINTERN PyObject
*_wrap_HtmlCell_AdjustPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
= 0;
7796 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7797 int *arg2
= (int *) 0 ;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 char * kwnames
[] = {
7806 (char *) "self",(char *) "INOUT", NULL
7809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7811 if (!SWIG_IsOK(res1
)) {
7812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7814 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7815 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
7817 int ecode
= SWIG_AsVal_int(obj1
, &val
);
7818 if (!SWIG_IsOK(ecode
)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "HtmlCell_AdjustPagebreak" "', expected argument " "2"" of type '" "int""'");
7821 temp2
= static_cast< int >(val
);
7823 res2
= SWIG_AddTmpMask(ecode
);
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (bool)(arg1
)->AdjustPagebreak(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7834 if (SWIG_IsTmpObj(res2
)) {
7835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
7837 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
7846 SWIGINTERN PyObject
*_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
= 0;
7848 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7856 char * kwnames
[] = {
7857 (char *) "self",(char *) "can", NULL
7860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7862 if (!SWIG_IsOK(res1
)) {
7863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'");
7865 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7866 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7867 if (!SWIG_IsOK(ecode2
)) {
7868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'");
7870 arg2
= static_cast< bool >(val2
);
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 (arg1
)->SetCanLiveOnPagebreak(arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_Py_Void();
7884 SWIGINTERN PyObject
*_wrap_HtmlCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7885 PyObject
*resultobj
= 0;
7886 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7890 PyObject
*swig_obj
[1] ;
7892 if (!args
) SWIG_fail
;
7894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7895 if (!SWIG_IsOK(res1
)) {
7896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7898 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)((wxHtmlCell
const *)arg1
)->IsLinebreakAllowed();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7914 SWIGINTERN PyObject
*_wrap_HtmlCell_IsTerminalCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7915 PyObject
*resultobj
= 0;
7916 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7920 PyObject
*swig_obj
[1] ;
7922 if (!args
) SWIG_fail
;
7924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7925 if (!SWIG_IsOK(res1
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7928 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (bool)((wxHtmlCell
const *)arg1
)->IsTerminalCell();
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7944 SWIGINTERN PyObject
*_wrap_HtmlCell_FindCellByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
= 0;
7946 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
7949 unsigned int arg4
= (unsigned int) wxHTML_FIND_EXACT
;
7950 wxHtmlCell
*result
= 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 PyObject
* obj2
= 0 ;
7962 PyObject
* obj3
= 0 ;
7963 char * kwnames
[] = {
7964 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
7967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
7969 if (!SWIG_IsOK(res1
)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
7972 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
7973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7974 if (!SWIG_IsOK(ecode2
)) {
7975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'");
7977 arg2
= static_cast< int >(val2
);
7978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7979 if (!SWIG_IsOK(ecode3
)) {
7980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'");
7982 arg3
= static_cast< int >(val3
);
7984 ecode4
= SWIG_AsVal_unsigned_SS_int(obj3
, &val4
);
7985 if (!SWIG_IsOK(ecode4
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'");
7988 arg4
= static_cast< unsigned int >(val4
);
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->FindCellByPos(arg2
,arg3
,arg4
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= wxPyMake_wxObject(result
, 0);
8005 SWIGINTERN PyObject
*_wrap_HtmlCell_GetAbsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
= 0;
8007 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8008 wxHtmlCell
*arg2
= (wxHtmlCell
*) NULL
;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8016 char * kwnames
[] = {
8017 (char *) "self",(char *) "rootCell", NULL
8020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HtmlCell_GetAbsPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8022 if (!SWIG_IsOK(res1
)) {
8023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8025 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8028 if (!SWIG_IsOK(res2
)) {
8029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8031 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= ((wxHtmlCell
const *)arg1
)->GetAbsPos(arg2
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8046 SWIGINTERN PyObject
*_wrap_HtmlCell_GetRootCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8047 PyObject
*resultobj
= 0;
8048 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8049 wxHtmlCell
*result
= 0 ;
8052 PyObject
*swig_obj
[1] ;
8054 if (!args
) SWIG_fail
;
8056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8057 if (!SWIG_IsOK(res1
)) {
8058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8060 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetRootCell();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= wxPyMake_wxObject(result
, 0);
8076 SWIGINTERN PyObject
*_wrap_HtmlCell_GetFirstTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8077 PyObject
*resultobj
= 0;
8078 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8079 wxHtmlCell
*result
= 0 ;
8082 PyObject
*swig_obj
[1] ;
8084 if (!args
) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8090 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetFirstTerminal();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= wxPyMake_wxObject(result
, 0);
8106 SWIGINTERN PyObject
*_wrap_HtmlCell_GetLastTerminal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8107 PyObject
*resultobj
= 0;
8108 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8109 wxHtmlCell
*result
= 0 ;
8112 PyObject
*swig_obj
[1] ;
8114 if (!args
) SWIG_fail
;
8116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8117 if (!SWIG_IsOK(res1
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8120 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (wxHtmlCell
*)((wxHtmlCell
const *)arg1
)->GetLastTerminal();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= wxPyMake_wxObject(result
, 0);
8136 SWIGINTERN PyObject
*_wrap_HtmlCell_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8137 PyObject
*resultobj
= 0;
8138 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8139 unsigned int result
;
8142 PyObject
*swig_obj
[1] ;
8144 if (!args
) SWIG_fail
;
8146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8147 if (!SWIG_IsOK(res1
)) {
8148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8150 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= (unsigned int)((wxHtmlCell
const *)arg1
)->GetDepth();
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
8164 SWIGINTERN PyObject
*_wrap_HtmlCell_IsBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
= 0;
8166 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8167 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 char * kwnames
[] = {
8176 (char *) "self",(char *) "cell", NULL
8179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_IsBefore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8181 if (!SWIG_IsOK(res1
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8184 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8186 if (!SWIG_IsOK(res2
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8189 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (bool)((wxHtmlCell
const *)arg1
)->IsBefore(arg2
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8205 SWIGINTERN PyObject
*_wrap_HtmlCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
= 0;
8207 wxHtmlCell
*arg1
= (wxHtmlCell
*) 0 ;
8208 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 char * kwnames
[] = {
8217 (char *) "self",(char *) "sel", NULL
8220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
8222 if (!SWIG_IsOK(res1
)) {
8223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'");
8225 arg1
= reinterpret_cast< wxHtmlCell
* >(argp1
);
8226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8227 if (!SWIG_IsOK(res2
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8230 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= ((wxHtmlCell
const *)arg1
)->ConvertToText(arg2
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8250 SWIGINTERN PyObject
*HtmlCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8253 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell
, SWIG_NewClientData(obj
));
8254 return SWIG_Py_Void();
8257 SWIGINTERN PyObject
*HtmlCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8258 return SWIG_Python_InitShadowInstance(args
);
8261 SWIGINTERN PyObject
*_wrap_new_HtmlWordCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
= 0;
8263 wxString
*arg1
= 0 ;
8265 wxHtmlWordCell
*result
= 0 ;
8266 bool temp1
= false ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 char * kwnames
[] = {
8272 (char *) "word",(char *) "dc", NULL
8275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_HtmlWordCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8277 arg1
= wxString_in_helper(obj0
);
8278 if (arg1
== NULL
) SWIG_fail
;
8281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
8282 if (!SWIG_IsOK(res2
)) {
8283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'");
8288 arg2
= reinterpret_cast< wxDC
* >(argp2
);
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (wxHtmlWordCell
*)new wxHtmlWordCell((wxString
const &)*arg1
,*arg2
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWordCell
, SWIG_POINTER_NEW
| 0 );
8310 SWIGINTERN PyObject
*_wrap_HtmlWordCell_ConvertToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
= 0;
8312 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8313 wxHtmlSelection
*arg2
= (wxHtmlSelection
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "self",(char *) "sel", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_ConvertToText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8330 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlSelection
, 0 | 0 );
8332 if (!SWIG_IsOK(res2
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'");
8335 arg2
= reinterpret_cast< wxHtmlSelection
* >(argp2
);
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= ((wxHtmlWordCell
const *)arg1
)->ConvertToText(arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8355 SWIGINTERN PyObject
*_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8356 PyObject
*resultobj
= 0;
8357 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8361 PyObject
*swig_obj
[1] ;
8363 if (!args
) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'");
8369 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 result
= (bool)((wxHtmlWordCell
const *)arg1
)->IsLinebreakAllowed();
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8385 SWIGINTERN PyObject
*_wrap_HtmlWordCell_SetPreviousWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
= 0;
8387 wxHtmlWordCell
*arg1
= (wxHtmlWordCell
*) 0 ;
8388 wxHtmlWordCell
*arg2
= (wxHtmlWordCell
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8395 char * kwnames
[] = {
8396 (char *) "self",(char *) "cell", NULL
8399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'");
8404 arg1
= reinterpret_cast< wxHtmlWordCell
* >(argp1
);
8405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlWordCell
, 0 | 0 );
8406 if (!SWIG_IsOK(res2
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'");
8409 arg2
= reinterpret_cast< wxHtmlWordCell
* >(argp2
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 (arg1
)->SetPreviousWord(arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_Py_Void();
8423 SWIGINTERN PyObject
*HtmlWordCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8426 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell
, SWIG_NewClientData(obj
));
8427 return SWIG_Py_Void();
8430 SWIGINTERN PyObject
*HtmlWordCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 return SWIG_Python_InitShadowInstance(args
);
8434 SWIGINTERN PyObject
*_wrap_new_HtmlContainerCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
= 0;
8436 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8437 wxHtmlContainerCell
*result
= 0 ;
8440 PyObject
* obj0
= 0 ;
8441 char * kwnames
[] = {
8442 (char *) "parent", NULL
8445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlContainerCell",kwnames
,&obj0
)) SWIG_fail
;
8446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8447 if (!SWIG_IsOK(res1
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8450 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (wxHtmlContainerCell
*)new wxHtmlContainerCell(arg1
);
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, SWIG_POINTER_NEW
| 0 );
8464 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_InsertCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
= 0;
8466 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8467 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
8471 PyObject
* obj0
= 0 ;
8472 PyObject
* obj1
= 0 ;
8473 char * kwnames
[] = {
8474 (char *) "self",(char *) "cell", NULL
8477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_InsertCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8479 if (!SWIG_IsOK(res1
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8482 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8483 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlCell
, SWIG_POINTER_DISOWN
| 0 );
8484 if (!SWIG_IsOK(res2
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 (arg1
)->InsertCell(arg2
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= SWIG_Py_Void();
8500 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
*resultobj
= 0;
8502 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8508 PyObject
* obj0
= 0 ;
8509 PyObject
* obj1
= 0 ;
8510 char * kwnames
[] = {
8511 (char *) "self",(char *) "al", NULL
8514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8516 if (!SWIG_IsOK(res1
)) {
8517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8519 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8521 if (!SWIG_IsOK(ecode2
)) {
8522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'");
8524 arg2
= static_cast< int >(val2
);
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 (arg1
)->SetAlignHor(arg2
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_Py_Void();
8538 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignHor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8539 PyObject
*resultobj
= 0;
8540 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8544 PyObject
*swig_obj
[1] ;
8546 if (!args
) SWIG_fail
;
8548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8549 if (!SWIG_IsOK(res1
)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8552 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (int)(arg1
)->GetAlignHor();
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= SWIG_From_int(static_cast< int >(result
));
8566 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
= 0;
8568 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 char * kwnames
[] = {
8577 (char *) "self",(char *) "al", NULL
8580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8585 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8587 if (!SWIG_IsOK(ecode2
)) {
8588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'");
8590 arg2
= static_cast< int >(val2
);
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 (arg1
)->SetAlignVer(arg2
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= SWIG_Py_Void();
8604 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetAlignVer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8605 PyObject
*resultobj
= 0;
8606 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8610 PyObject
*swig_obj
[1] ;
8612 if (!args
) SWIG_fail
;
8614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8615 if (!SWIG_IsOK(res1
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8618 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (int)(arg1
)->GetAlignVer();
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= SWIG_From_int(static_cast< int >(result
));
8632 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
= 0;
8634 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8637 int arg4
= (int) wxHTML_UNITS_PIXELS
;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8648 PyObject
* obj2
= 0 ;
8649 PyObject
* obj3
= 0 ;
8650 char * kwnames
[] = {
8651 (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL
8654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8659 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8661 if (!SWIG_IsOK(ecode2
)) {
8662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'");
8664 arg2
= static_cast< int >(val2
);
8665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8666 if (!SWIG_IsOK(ecode3
)) {
8667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'");
8669 arg3
= static_cast< int >(val3
);
8671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8672 if (!SWIG_IsOK(ecode4
)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'");
8675 arg4
= static_cast< int >(val4
);
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 (arg1
)->SetIndent(arg2
,arg3
,arg4
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= SWIG_Py_Void();
8690 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= 0;
8692 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8701 char * kwnames
[] = {
8702 (char *) "self",(char *) "ind", NULL
8705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8707 if (!SWIG_IsOK(res1
)) {
8708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8710 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8712 if (!SWIG_IsOK(ecode2
)) {
8713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'");
8715 arg2
= static_cast< int >(val2
);
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (int)(arg1
)->GetIndent(arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_From_int(static_cast< int >(result
));
8729 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetIndentUnits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
= 0;
8731 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 char * kwnames
[] = {
8741 (char *) "self",(char *) "ind", NULL
8744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8746 if (!SWIG_IsOK(res1
)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8749 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8751 if (!SWIG_IsOK(ecode2
)) {
8752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'");
8754 arg2
= static_cast< int >(val2
);
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (int)(arg1
)->GetIndentUnits(arg2
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= SWIG_From_int(static_cast< int >(result
));
8768 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
= 0;
8770 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8771 wxHtmlTag
*arg2
= 0 ;
8776 PyObject
* obj0
= 0 ;
8777 PyObject
* obj1
= 0 ;
8778 char * kwnames
[] = {
8779 (char *) "self",(char *) "tag", NULL
8782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8784 if (!SWIG_IsOK(res1
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8787 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8789 if (!SWIG_IsOK(res2
)) {
8790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8795 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 (arg1
)->SetAlign((wxHtmlTag
const &)*arg2
);
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 resultobj
= SWIG_Py_Void();
8809 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
= 0;
8811 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 char * kwnames
[] = {
8824 (char *) "self",(char *) "w",(char *) "units", NULL
8827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8829 if (!SWIG_IsOK(res1
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8832 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8834 if (!SWIG_IsOK(ecode2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'");
8837 arg2
= static_cast< int >(val2
);
8838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8839 if (!SWIG_IsOK(ecode3
)) {
8840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'");
8842 arg3
= static_cast< int >(val3
);
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 (arg1
)->SetWidthFloat(arg2
,arg3
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_Py_Void();
8856 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
= 0;
8858 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8859 wxHtmlTag
*arg2
= 0 ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "tag", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8875 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlTag
, 0 | 0);
8877 if (!SWIG_IsOK(res2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'");
8883 arg2
= reinterpret_cast< wxHtmlTag
* >(argp2
);
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->SetWidthFloat((wxHtmlTag
const &)*arg2
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= SWIG_Py_Void();
8897 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
= 0;
8899 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8901 int arg3
= (int) wxHTML_ALIGN_TOP
;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8910 PyObject
* obj2
= 0 ;
8911 char * kwnames
[] = {
8912 (char *) "self",(char *) "h",(char *) "align", NULL
8915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8917 if (!SWIG_IsOK(res1
)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8920 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8922 if (!SWIG_IsOK(ecode2
)) {
8923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8925 arg2
= static_cast< int >(val2
);
8927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8928 if (!SWIG_IsOK(ecode3
)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'");
8931 arg3
= static_cast< int >(val3
);
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->SetMinHeight(arg2
,arg3
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= SWIG_Py_Void();
8946 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
= 0;
8948 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8949 wxColour
*arg2
= 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 char * kwnames
[] = {
8956 (char *) "self",(char *) "clr", NULL
8959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8964 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= SWIG_Py_Void();
8982 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8983 PyObject
*resultobj
= 0;
8984 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
8988 PyObject
*swig_obj
[1] ;
8990 if (!args
) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
8996 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (arg1
)->GetBackgroundColour();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9010 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
= 0;
9012 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9013 wxColour
*arg2
= 0 ;
9014 wxColour
*arg3
= 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 PyObject
* obj2
= 0 ;
9022 char * kwnames
[] = {
9023 (char *) "self",(char *) "clr1",(char *) "clr2", NULL
9026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9028 if (!SWIG_IsOK(res1
)) {
9029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9031 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9034 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9038 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 (arg1
)->SetBorder((wxColour
const &)*arg2
,(wxColour
const &)*arg3
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= SWIG_Py_Void();
9053 SWIGINTERN PyObject
*_wrap_HtmlContainerCell_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9054 PyObject
*resultobj
= 0;
9055 wxHtmlContainerCell
*arg1
= (wxHtmlContainerCell
*) 0 ;
9056 wxHtmlCell
*result
= 0 ;
9059 PyObject
*swig_obj
[1] ;
9061 if (!args
) SWIG_fail
;
9063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
9064 if (!SWIG_IsOK(res1
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'");
9067 arg1
= reinterpret_cast< wxHtmlContainerCell
* >(argp1
);
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= (wxHtmlCell
*)(arg1
)->GetFirstChild();
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= wxPyMake_wxObject(result
, 0);
9083 SWIGINTERN PyObject
*HtmlContainerCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9086 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell
, SWIG_NewClientData(obj
));
9087 return SWIG_Py_Void();
9090 SWIGINTERN PyObject
*HtmlContainerCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9091 return SWIG_Python_InitShadowInstance(args
);
9094 SWIGINTERN PyObject
*_wrap_new_HtmlColourCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
= 0;
9096 wxColour
*arg1
= 0 ;
9097 int arg2
= (int) wxHTML_CLR_FOREGROUND
;
9098 wxHtmlColourCell
*result
= 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "clr",(char *) "flags", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlColourCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9111 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
9114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9115 if (!SWIG_IsOK(ecode2
)) {
9116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'");
9118 arg2
= static_cast< int >(val2
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (wxHtmlColourCell
*)new wxHtmlColourCell((wxColour
const &)*arg1
,arg2
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlColourCell
, SWIG_POINTER_NEW
| 0 );
9133 SWIGINTERN PyObject
*HtmlColourCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9136 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell
, SWIG_NewClientData(obj
));
9137 return SWIG_Py_Void();
9140 SWIGINTERN PyObject
*HtmlColourCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9141 return SWIG_Python_InitShadowInstance(args
);
9144 SWIGINTERN PyObject
*_wrap_new_HtmlFontCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
= 0;
9146 wxFont
*arg1
= (wxFont
*) 0 ;
9147 wxHtmlFontCell
*result
= 0 ;
9150 PyObject
* obj0
= 0 ;
9151 char * kwnames
[] = {
9152 (char *) "font", NULL
9155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_HtmlFontCell",kwnames
,&obj0
)) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'");
9160 arg1
= reinterpret_cast< wxFont
* >(argp1
);
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (wxHtmlFontCell
*)new wxHtmlFontCell(arg1
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlFontCell
, SWIG_POINTER_NEW
| 0 );
9174 SWIGINTERN PyObject
*HtmlFontCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9177 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell
, SWIG_NewClientData(obj
));
9178 return SWIG_Py_Void();
9181 SWIGINTERN PyObject
*HtmlFontCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9182 return SWIG_Python_InitShadowInstance(args
);
9185 SWIGINTERN PyObject
*_wrap_new_HtmlWidgetCell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
= 0;
9187 wxWindow
*arg1
= (wxWindow
*) 0 ;
9188 int arg2
= (int) 0 ;
9189 wxHtmlWidgetCell
*result
= 0 ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9196 char * kwnames
[] = {
9197 (char *) "wnd",(char *) "w", NULL
9200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_HtmlWidgetCell",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9202 if (!SWIG_IsOK(res1
)) {
9203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'");
9205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9208 if (!SWIG_IsOK(ecode2
)) {
9209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'");
9211 arg2
= static_cast< int >(val2
);
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (wxHtmlWidgetCell
*)new wxHtmlWidgetCell(arg1
,arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_POINTER_NEW
| 0 );
9226 SWIGINTERN PyObject
*HtmlWidgetCell_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9229 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell
, SWIG_NewClientData(obj
));
9230 return SWIG_Py_Void();
9233 SWIGINTERN PyObject
*HtmlWidgetCell_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9234 return SWIG_Python_InitShadowInstance(args
);
9237 SWIGINTERN PyObject
*_wrap_new_HtmlFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9238 PyObject
*resultobj
= 0;
9239 wxPyHtmlFilter
*result
= 0 ;
9241 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlFilter",0,0,0)) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxPyHtmlFilter
*)new wxPyHtmlFilter();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlFilter
, SWIG_POINTER_NEW
| 0 );
9255 SWIGINTERN PyObject
*_wrap_HtmlFilter__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
= 0;
9257 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
9258 PyObject
*arg2
= (PyObject
*) 0 ;
9259 PyObject
*arg3
= (PyObject
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 PyObject
* obj2
= 0 ;
9265 char * kwnames
[] = {
9266 (char *) "self",(char *) "self",(char *) "_class", NULL
9269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
9271 if (!SWIG_IsOK(res1
)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
9274 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_Py_Void();
9290 SWIGINTERN PyObject
*HtmlFilter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9293 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter
, SWIG_NewClientData(obj
));
9294 return SWIG_Py_Void();
9297 SWIGINTERN PyObject
*HtmlFilter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9298 return SWIG_Python_InitShadowInstance(args
);
9301 SWIGINTERN PyObject
*_wrap_delete_HtmlWindowInterface(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9302 PyObject
*resultobj
= 0;
9303 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_POINTER_DISOWN
| 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9314 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
= 0;
9331 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9332 wxString
*arg2
= 0 ;
9335 bool temp2
= false ;
9336 PyObject
* obj0
= 0 ;
9337 PyObject
* obj1
= 0 ;
9338 char * kwnames
[] = {
9339 (char *) "self",(char *) "title", NULL
9342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9344 if (!SWIG_IsOK(res1
)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9347 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9349 arg2
= wxString_in_helper(obj1
);
9350 if (arg2
== NULL
) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 (arg1
)->SetHTMLWindowTitle((wxString
const &)*arg2
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_Py_Void();
9374 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
= 0;
9376 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9377 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9388 char * kwnames
[] = {
9389 (char *) "self",(char *) "cell",(char *) "pos", NULL
9392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9394 if (!SWIG_IsOK(res1
)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9397 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
9399 if (!SWIG_IsOK(res2
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
9402 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
9405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= ((wxHtmlWindowInterface
const *)arg1
)->HTMLCoordsToWindow(arg2
,(wxPoint
const &)*arg3
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
9420 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9421 PyObject
*resultobj
= 0;
9422 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9423 wxWindow
*result
= 0 ;
9426 PyObject
*swig_obj
[1] ;
9428 if (!args
) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9434 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxWindow
*)(arg1
)->GetHTMLWindow();
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= wxPyMake_wxObject(result
, 0);
9450 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9451 PyObject
*resultobj
= 0;
9452 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9456 PyObject
*swig_obj
[1] ;
9458 if (!args
) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'");
9464 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= ((wxHtmlWindowInterface
const *)arg1
)->GetHTMLBackgroundColour();
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
9478 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
= 0;
9480 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9481 wxColour
*arg2
= 0 ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 char * kwnames
[] = {
9488 (char *) "self",(char *) "clr", NULL
9491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9493 if (!SWIG_IsOK(res1
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9496 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 (arg1
)->SetHTMLBackgroundColour((wxColour
const &)*arg2
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= SWIG_Py_Void();
9514 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= 0;
9516 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9517 wxBitmap
*arg2
= 0 ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "self",(char *) "bmpBg", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9533 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9535 if (!SWIG_IsOK(res2
)) {
9536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9541 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->SetHTMLBackgroundImage((wxBitmap
const &)*arg2
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_Py_Void();
9555 SWIGINTERN PyObject
*_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
= 0;
9557 wxHtmlWindowInterface
*arg1
= (wxHtmlWindowInterface
*) 0 ;
9558 wxString
*arg2
= 0 ;
9561 bool temp2
= false ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 char * kwnames
[] = {
9565 (char *) "self",(char *) "text", NULL
9568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowInterface
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'");
9573 arg1
= reinterpret_cast< wxHtmlWindowInterface
* >(argp1
);
9575 arg2
= wxString_in_helper(obj1
);
9576 if (arg2
== NULL
) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->SetHTMLStatusText((wxString
const &)*arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_Py_Void();
9600 SWIGINTERN PyObject
*HtmlWindowInterface_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9603 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface
, SWIG_NewClientData(obj
));
9604 return SWIG_Py_Void();
9607 SWIGINTERN PyObject
*_wrap_new_HtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
= 0;
9609 wxWindow
*arg1
= (wxWindow
*) 0 ;
9610 int arg2
= (int) -1 ;
9611 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9612 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9613 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9614 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9615 int arg5
= (int) wxHW_DEFAULT_STYLE
;
9616 wxString
const &arg6_defvalue
= wxPyHtmlWindowNameStr
;
9617 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9618 wxPyHtmlWindow
*result
= 0 ;
9627 bool temp6
= false ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 PyObject
* obj2
= 0 ;
9631 PyObject
* obj3
= 0 ;
9632 PyObject
* obj4
= 0 ;
9633 PyObject
* obj5
= 0 ;
9634 char * kwnames
[] = {
9635 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9646 if (!SWIG_IsOK(ecode2
)) {
9647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'");
9649 arg2
= static_cast< int >(val2
);
9654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9660 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9665 if (!SWIG_IsOK(ecode5
)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'");
9668 arg5
= static_cast< int >(val5
);
9672 arg6
= wxString_in_helper(obj5
);
9673 if (arg6
== NULL
) SWIG_fail
;
9678 if (!wxPyCheckForApp()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_NEW
| 0 );
9699 SWIGINTERN PyObject
*_wrap_new_PreHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9700 PyObject
*resultobj
= 0;
9701 wxPyHtmlWindow
*result
= 0 ;
9703 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlWindow",0,0,0)) SWIG_fail
;
9705 if (!wxPyCheckForApp()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (wxPyHtmlWindow
*)new wxPyHtmlWindow();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlWindow
, SWIG_POINTER_OWN
| 0 );
9718 SWIGINTERN PyObject
*_wrap_HtmlWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
= 0;
9720 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9721 wxWindow
*arg2
= (wxWindow
*) 0 ;
9722 int arg3
= (int) -1 ;
9723 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9724 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9725 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9726 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9727 int arg6
= (int) wxHW_SCROLLBAR_AUTO
;
9728 wxString
const &arg7_defvalue
= wxPyHtmlWindowNameStr
;
9729 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9741 bool temp7
= false ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9744 PyObject
* obj2
= 0 ;
9745 PyObject
* obj3
= 0 ;
9746 PyObject
* obj4
= 0 ;
9747 PyObject
* obj5
= 0 ;
9748 PyObject
* obj6
= 0 ;
9749 char * kwnames
[] = {
9750 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9758 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9759 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9760 if (!SWIG_IsOK(res2
)) {
9761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9763 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9766 if (!SWIG_IsOK(ecode3
)) {
9767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'");
9769 arg3
= static_cast< int >(val3
);
9774 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9780 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9784 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9785 if (!SWIG_IsOK(ecode6
)) {
9786 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'");
9788 arg6
= static_cast< int >(val6
);
9792 arg7
= wxString_in_helper(obj6
);
9793 if (arg7
== NULL
) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9820 SWIGINTERN PyObject
*_wrap_HtmlWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
= 0;
9822 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9823 PyObject
*arg2
= (PyObject
*) 0 ;
9824 PyObject
*arg3
= (PyObject
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "self",(char *) "_class", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9839 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_Py_Void();
9855 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
= 0;
9857 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9858 wxString
*arg2
= 0 ;
9862 bool temp2
= false ;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9865 char * kwnames
[] = {
9866 (char *) "self",(char *) "source", NULL
9869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9871 if (!SWIG_IsOK(res1
)) {
9872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9874 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9876 arg2
= wxString_in_helper(obj1
);
9877 if (arg2
== NULL
) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (bool)(arg1
)->SetPage((wxString
const &)*arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9903 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
= 0;
9905 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9906 wxString
*arg2
= 0 ;
9910 bool temp2
= false ;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9913 char * kwnames
[] = {
9914 (char *) "self",(char *) "location", NULL
9917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9919 if (!SWIG_IsOK(res1
)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9922 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9924 arg2
= wxString_in_helper(obj1
);
9925 if (arg2
== NULL
) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)(arg1
)->LoadPage((wxString
const &)*arg2
);
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9951 SWIGINTERN PyObject
*_wrap_HtmlWindow_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
= 0;
9953 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
9954 wxString
*arg2
= 0 ;
9958 bool temp2
= false ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9961 char * kwnames
[] = {
9962 (char *) "self",(char *) "filename", NULL
9965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
9967 if (!SWIG_IsOK(res1
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
9970 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
9972 arg2
= wxString_in_helper(obj1
);
9973 if (arg2
== NULL
) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9999 SWIGINTERN PyObject
*_wrap_HtmlWindow_AppendToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
= 0;
10001 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10002 wxString
*arg2
= 0 ;
10006 bool temp2
= false ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char * kwnames
[] = {
10010 (char *) "self",(char *) "source", NULL
10013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_AppendToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10015 if (!SWIG_IsOK(res1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10018 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10020 arg2
= wxString_in_helper(obj1
);
10021 if (arg2
== NULL
) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->AppendToPage((wxString
const &)*arg2
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10047 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10048 PyObject
*resultobj
= 0;
10049 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10053 PyObject
*swig_obj
[1] ;
10055 if (!args
) SWIG_fail
;
10056 swig_obj
[0] = args
;
10057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10061 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (arg1
)->GetOpenedPage();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10081 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10082 PyObject
*resultobj
= 0;
10083 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10087 PyObject
*swig_obj
[1] ;
10089 if (!args
) SWIG_fail
;
10090 swig_obj
[0] = args
;
10091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10095 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (arg1
)->GetOpenedAnchor();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10115 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetOpenedPageTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10129 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (arg1
)->GetOpenedPageTitle();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10149 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
= 0;
10151 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10152 wxFrame
*arg2
= (wxFrame
*) 0 ;
10153 wxString
*arg3
= 0 ;
10158 bool temp3
= false ;
10159 PyObject
* obj0
= 0 ;
10160 PyObject
* obj1
= 0 ;
10161 PyObject
* obj2
= 0 ;
10162 char * kwnames
[] = {
10163 (char *) "self",(char *) "frame",(char *) "format", NULL
10166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10168 if (!SWIG_IsOK(res1
)) {
10169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10171 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
10173 if (!SWIG_IsOK(res2
)) {
10174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
10176 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
10178 arg3
= wxString_in_helper(obj2
);
10179 if (arg3
== NULL
) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 (arg1
)->SetRelatedFrame(arg2
,(wxString
const &)*arg3
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_Py_Void();
10203 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetRelatedFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10204 PyObject
*resultobj
= 0;
10205 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10206 wxFrame
*result
= 0 ;
10209 PyObject
*swig_obj
[1] ;
10211 if (!args
) SWIG_fail
;
10212 swig_obj
[0] = args
;
10213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10214 if (!SWIG_IsOK(res1
)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10217 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 result
= (wxFrame
*)(arg1
)->GetRelatedFrame();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= wxPyMake_wxObject(result
, 0);
10233 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetRelatedStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
= 0;
10235 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char * kwnames
[] = {
10244 (char *) "self",(char *) "bar", NULL
10247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10252 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10254 if (!SWIG_IsOK(ecode2
)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'");
10257 arg2
= static_cast< int >(val2
);
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 (arg1
)->SetRelatedStatusBar(arg2
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_Py_Void();
10271 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
= 0;
10273 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10276 PyObject
*arg4
= (PyObject
*) NULL
;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 PyObject
* obj2
= 0 ;
10282 PyObject
* obj3
= 0 ;
10283 char * kwnames
[] = {
10284 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
10287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10289 if (!SWIG_IsOK(res1
)) {
10290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10292 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10294 wxString
* sptr
= wxString_in_helper(obj1
);
10295 if (sptr
== NULL
) SWIG_fail
;
10300 wxString
* sptr
= wxString_in_helper(obj2
);
10301 if (sptr
== NULL
) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 wxPyHtmlWindow_SetFonts(arg1
,arg2
,arg3
,arg4
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_Py_Void();
10321 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
= 0;
10323 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10324 int arg2
= (int) -1 ;
10325 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10326 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10333 bool temp3
= false ;
10334 bool temp4
= false ;
10335 PyObject
* obj0
= 0 ;
10336 PyObject
* obj1
= 0 ;
10337 PyObject
* obj2
= 0 ;
10338 PyObject
* obj3
= 0 ;
10339 char * kwnames
[] = {
10340 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
10343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10345 if (!SWIG_IsOK(res1
)) {
10346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10348 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
10354 arg2
= static_cast< int >(val2
);
10358 arg3
= wxString_in_helper(obj2
);
10359 if (arg3
== NULL
) SWIG_fail
;
10365 arg4
= wxString_in_helper(obj3
);
10366 if (arg4
== NULL
) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_Py_Void();
10399 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBorders(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
= 0;
10401 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 PyObject
* obj1
= 0 ;
10409 char * kwnames
[] = {
10410 (char *) "self",(char *) "b", NULL
10413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBorders",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10415 if (!SWIG_IsOK(res1
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10418 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10420 if (!SWIG_IsOK(ecode2
)) {
10421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'");
10423 arg2
= static_cast< int >(val2
);
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 (arg1
)->SetBorders(arg2
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_Py_Void();
10437 SWIGINTERN PyObject
*_wrap_HtmlWindow_SetBackgroundImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
= 0;
10439 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10440 wxBitmap
*arg2
= 0 ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 char * kwnames
[] = {
10448 (char *) "self",(char *) "bmpBg", NULL
10451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10456 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10458 if (!SWIG_IsOK(res2
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10464 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->SetBackgroundImage((wxBitmap
const &)*arg2
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_Py_Void();
10478 SWIGINTERN PyObject
*_wrap_HtmlWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10481 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10482 wxString arg3
= (wxString
) wxPyEmptyString
;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 PyObject
* obj2
= 0 ;
10490 char * kwnames
[] = {
10491 (char *) "self",(char *) "cfg",(char *) "path", NULL
10494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10499 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10501 if (!SWIG_IsOK(res2
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10504 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10507 wxString
* sptr
= wxString_in_helper(obj2
);
10508 if (sptr
== NULL
) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->ReadCustomization(arg2
,arg3
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_Py_Void();
10526 SWIGINTERN PyObject
*_wrap_HtmlWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
= 0;
10528 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10529 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
10530 wxString arg3
= (wxString
) wxPyEmptyString
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 char * kwnames
[] = {
10539 (char *) "self",(char *) "cfg",(char *) "path", NULL
10542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10544 if (!SWIG_IsOK(res1
)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10547 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
10549 if (!SWIG_IsOK(res2
)) {
10550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
10552 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
10555 wxString
* sptr
= wxString_in_helper(obj2
);
10556 if (sptr
== NULL
) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 (arg1
)->WriteCustomization(arg2
,arg3
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_Py_Void();
10574 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10575 PyObject
*resultobj
= 0;
10576 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10580 PyObject
*swig_obj
[1] ;
10582 if (!args
) SWIG_fail
;
10583 swig_obj
[0] = args
;
10584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10588 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (bool)(arg1
)->HistoryBack();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10604 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10605 PyObject
*resultobj
= 0;
10606 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10610 PyObject
*swig_obj
[1] ;
10612 if (!args
) SWIG_fail
;
10613 swig_obj
[0] = args
;
10614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10618 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (bool)(arg1
)->HistoryForward();
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10634 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanBack(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10635 PyObject
*resultobj
= 0;
10636 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10640 PyObject
*swig_obj
[1] ;
10642 if (!args
) SWIG_fail
;
10643 swig_obj
[0] = args
;
10644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10645 if (!SWIG_IsOK(res1
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10648 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->HistoryCanBack();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10664 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryCanForward(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10665 PyObject
*resultobj
= 0;
10666 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10670 PyObject
*swig_obj
[1] ;
10672 if (!args
) SWIG_fail
;
10673 swig_obj
[0] = args
;
10674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10675 if (!SWIG_IsOK(res1
)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10678 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (bool)(arg1
)->HistoryCanForward();
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10694 SWIGINTERN PyObject
*_wrap_HtmlWindow_HistoryClear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10695 PyObject
*resultobj
= 0;
10696 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10699 PyObject
*swig_obj
[1] ;
10701 if (!args
) SWIG_fail
;
10702 swig_obj
[0] = args
;
10703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10704 if (!SWIG_IsOK(res1
)) {
10705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10707 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 (arg1
)->HistoryClear();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_Py_Void();
10721 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetInternalRepresentation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10722 PyObject
*resultobj
= 0;
10723 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10724 wxHtmlContainerCell
*result
= 0 ;
10727 PyObject
*swig_obj
[1] ;
10729 if (!args
) SWIG_fail
;
10730 swig_obj
[0] = args
;
10731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10735 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (wxHtmlContainerCell
*)(arg1
)->GetInternalRepresentation();
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlContainerCell
, 0 | 0 );
10749 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetParser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10750 PyObject
*resultobj
= 0;
10751 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10752 wxHtmlWinParser
*result
= 0 ;
10755 PyObject
*swig_obj
[1] ;
10757 if (!args
) SWIG_fail
;
10758 swig_obj
[0] = args
;
10759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10760 if (!SWIG_IsOK(res1
)) {
10761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10763 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (wxHtmlWinParser
*)(arg1
)->GetParser();
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWinParser
, 0 | 0 );
10777 SWIGINTERN PyObject
*_wrap_HtmlWindow_ScrollToAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
= 0;
10779 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10780 wxString
*arg2
= 0 ;
10784 bool temp2
= false ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char * kwnames
[] = {
10788 (char *) "self",(char *) "anchor", NULL
10791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10796 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10798 arg2
= wxString_in_helper(obj1
);
10799 if (arg2
== NULL
) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (bool)(arg1
)->ScrollToAnchor((wxString
const &)*arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10825 SWIGINTERN PyObject
*_wrap_HtmlWindow_HasAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
= 0;
10827 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10828 wxString
*arg2
= 0 ;
10832 bool temp2
= false ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 char * kwnames
[] = {
10836 (char *) "self",(char *) "anchor", NULL
10839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_HasAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10841 if (!SWIG_IsOK(res1
)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10844 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10846 arg2
= wxString_in_helper(obj1
);
10847 if (arg2
== NULL
) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (bool)(arg1
)->HasAnchor((wxString
const &)*arg2
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10873 SWIGINTERN PyObject
*_wrap_HtmlWindow_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= 0;
10875 wxPyHtmlFilter
*arg1
= (wxPyHtmlFilter
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 char * kwnames
[] = {
10880 (char *) "filter", NULL
10883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
10884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlFilter
, 0 | 0 );
10885 if (!SWIG_IsOK(res1
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'");
10888 arg1
= reinterpret_cast< wxPyHtmlFilter
* >(argp1
);
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 wxPyHtmlWindow::AddFilter(arg1
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_Py_Void();
10902 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectWord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
= 0;
10904 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10905 wxPoint
*arg2
= 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "pos", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectWord",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10920 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->SelectWord((wxPoint
const &)*arg2
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= SWIG_Py_Void();
10938 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
= 0;
10940 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10941 wxPoint
*arg2
= 0 ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "pos", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_SelectLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10956 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->SelectLine((wxPoint
const &)*arg2
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_Py_Void();
10974 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10975 PyObject
*resultobj
= 0;
10976 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
10979 PyObject
*swig_obj
[1] ;
10981 if (!args
) SWIG_fail
;
10982 swig_obj
[0] = args
;
10983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
10987 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->SelectAll();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= SWIG_Py_Void();
11001 SWIGINTERN PyObject
*_wrap_HtmlWindow_SelectionToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11002 PyObject
*resultobj
= 0;
11003 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11007 PyObject
*swig_obj
[1] ;
11009 if (!args
) SWIG_fail
;
11010 swig_obj
[0] = args
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11015 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (arg1
)->SelectionToText();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11035 SWIGINTERN PyObject
*_wrap_HtmlWindow_ToText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11036 PyObject
*resultobj
= 0;
11037 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11041 PyObject
*swig_obj
[1] ;
11043 if (!args
) SWIG_fail
;
11044 swig_obj
[0] = args
;
11045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11046 if (!SWIG_IsOK(res1
)) {
11047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11049 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (arg1
)->ToText();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11069 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
= 0;
11071 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11072 wxHtmlLinkInfo
*arg2
= 0 ;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 char * kwnames
[] = {
11080 (char *) "self",(char *) "link", NULL
11083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11085 if (!SWIG_IsOK(res1
)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11088 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
11090 if (!SWIG_IsOK(res2
)) {
11091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'");
11096 arg2
= reinterpret_cast< wxHtmlLinkInfo
* >(argp2
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->OnLinkClicked((wxHtmlLinkInfo
const &)*arg2
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_Py_Void();
11110 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnSetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= 0;
11112 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11113 wxString
*arg2
= 0 ;
11116 bool temp2
= false ;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 char * kwnames
[] = {
11120 (char *) "self",(char *) "title", NULL
11123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindow_OnSetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11125 if (!SWIG_IsOK(res1
)) {
11126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11128 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11130 arg2
= wxString_in_helper(obj1
);
11131 if (arg2
== NULL
) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 (arg1
)->OnSetTitle((wxString
const &)*arg2
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_Py_Void();
11155 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellMouseHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
= 0;
11157 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11158 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11169 PyObject
* obj0
= 0 ;
11170 PyObject
* obj1
= 0 ;
11171 PyObject
* obj2
= 0 ;
11172 PyObject
* obj3
= 0 ;
11173 char * kwnames
[] = {
11174 (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL
11177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11179 if (!SWIG_IsOK(res1
)) {
11180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11182 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11184 if (!SWIG_IsOK(res2
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11187 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11189 if (!SWIG_IsOK(ecode3
)) {
11190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'");
11192 arg3
= static_cast< int >(val3
);
11193 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11194 if (!SWIG_IsOK(ecode4
)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'");
11197 arg4
= static_cast< int >(val4
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 (arg1
)->OnCellMouseHover(arg2
,arg3
,arg4
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_Py_Void();
11211 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnCellClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11214 wxHtmlCell
*arg2
= (wxHtmlCell
*) 0 ;
11217 wxMouseEvent
*arg5
= 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 PyObject
* obj2
= 0 ;
11232 PyObject
* obj3
= 0 ;
11233 PyObject
* obj4
= 0 ;
11234 char * kwnames
[] = {
11235 (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL
11238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11240 if (!SWIG_IsOK(res1
)) {
11241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'");
11243 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlCell
, 0 | 0 );
11245 if (!SWIG_IsOK(res2
)) {
11246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'");
11248 arg2
= reinterpret_cast< wxHtmlCell
* >(argp2
);
11249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11250 if (!SWIG_IsOK(ecode3
)) {
11251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'");
11253 arg3
= static_cast< int >(val3
);
11254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11255 if (!SWIG_IsOK(ecode4
)) {
11256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'");
11258 arg4
= static_cast< int >(val4
);
11259 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
11260 if (!SWIG_IsOK(res5
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'");
11266 arg5
= reinterpret_cast< wxMouseEvent
* >(argp5
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (bool)(arg1
)->OnCellClicked(arg2
,arg3
,arg4
,(wxMouseEvent
const &)*arg5
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11282 SWIGINTERN PyObject
*_wrap_HtmlWindow_OnOpeningURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
= 0;
11284 wxPyHtmlWindow
*arg1
= (wxPyHtmlWindow
*) 0 ;
11285 wxHtmlURLType arg2
;
11286 wxString
*arg3
= 0 ;
11287 wxString
*arg4
= (wxString
*) 0 ;
11288 wxHtmlOpeningStatus result
;
11293 bool temp3
= false ;
11294 bool temp4
= false ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 PyObject
* obj3
= 0 ;
11299 char * kwnames
[] = {
11300 (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlWindow
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'");
11308 arg1
= reinterpret_cast< wxPyHtmlWindow
* >(argp1
);
11309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11310 if (!SWIG_IsOK(ecode2
)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'");
11313 arg2
= static_cast< wxHtmlURLType
>(val2
);
11315 arg3
= wxString_in_helper(obj2
);
11316 if (arg3
== NULL
) SWIG_fail
;
11320 arg4
= wxString_in_helper(obj3
);
11321 if (arg4
== NULL
) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (wxHtmlOpeningStatus
)((wxPyHtmlWindow
const *)arg1
)->OnOpeningURL(arg2
,(wxString
const &)*arg3
,arg4
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_From_int(static_cast< int >(result
));
11353 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11356 SwigValueWrapper
<wxVisualAttributes
> result
;
11359 PyObject
* obj0
= 0 ;
11360 char * kwnames
[] = {
11361 (char *) "variant", NULL
11364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
11366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11367 if (!SWIG_IsOK(ecode1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
11370 arg1
= static_cast< wxWindowVariant
>(val1
);
11373 if (!wxPyCheckForApp()) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= wxPyHtmlWindow::GetClassDefaultAttributes(arg1
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
11386 SWIGINTERN PyObject
*_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
= 0;
11388 wxPyHtmlWindow::HTMLCursor arg1
;
11392 PyObject
* obj0
= 0 ;
11393 char * kwnames
[] = {
11394 (char *) "type", NULL
11397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames
,&obj0
)) SWIG_fail
;
11398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11399 if (!SWIG_IsOK(ecode1
)) {
11400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'");
11402 arg1
= static_cast< wxPyHtmlWindow::HTMLCursor
>(val1
);
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= wxPyHtmlWindow::GetDefaultHTMLCursor(arg1
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
11416 SWIGINTERN PyObject
*HtmlWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11419 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow
, SWIG_NewClientData(obj
));
11420 return SWIG_Py_Void();
11423 SWIGINTERN PyObject
*HtmlWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11424 return SWIG_Python_InitShadowInstance(args
);
11427 SWIGINTERN PyObject
*_wrap_new_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11428 PyObject
*resultobj
= 0;
11429 wxHtmlDCRenderer
*result
= 0 ;
11431 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlDCRenderer",0,0,0)) SWIG_fail
;
11433 if (!wxPyCheckForApp()) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (wxHtmlDCRenderer
*)new wxHtmlDCRenderer();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_NEW
| 0 );
11446 SWIGINTERN PyObject
*_wrap_delete_HtmlDCRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 PyObject
*resultobj
= 0;
11448 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11451 PyObject
*swig_obj
[1] ;
11453 if (!args
) SWIG_fail
;
11454 swig_obj
[0] = args
;
11455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_POINTER_DISOWN
| 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11459 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_Py_Void();
11474 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
= 0;
11476 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11477 wxDC
*arg2
= (wxDC
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 PyObject
* obj2
= 0 ;
11488 char * kwnames
[] = {
11489 (char *) "self",(char *) "dc",(char *) "maxwidth", NULL
11492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11494 if (!SWIG_IsOK(res1
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11497 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
11499 if (!SWIG_IsOK(res2
)) {
11500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
11502 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11504 if (!SWIG_IsOK(ecode3
)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'");
11507 arg3
= static_cast< int >(val3
);
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 (arg1
)->SetDC(arg2
,arg3
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_Py_Void();
11521 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
= 0;
11523 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 char * kwnames
[] = {
11536 (char *) "self",(char *) "width",(char *) "height", NULL
11539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11541 if (!SWIG_IsOK(res1
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11544 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11546 if (!SWIG_IsOK(ecode2
)) {
11547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'");
11549 arg2
= static_cast< int >(val2
);
11550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11551 if (!SWIG_IsOK(ecode3
)) {
11552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'");
11554 arg3
= static_cast< int >(val3
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 (arg1
)->SetSize(arg2
,arg3
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_Py_Void();
11568 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
= 0;
11570 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11571 wxString
*arg2
= 0 ;
11572 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11573 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11574 bool arg4
= (bool) true ;
11577 bool temp2
= false ;
11578 bool temp3
= false ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 PyObject
* obj2
= 0 ;
11584 PyObject
* obj3
= 0 ;
11585 char * kwnames
[] = {
11586 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11591 if (!SWIG_IsOK(res1
)) {
11592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11594 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11596 arg2
= wxString_in_helper(obj1
);
11597 if (arg2
== NULL
) SWIG_fail
;
11602 arg3
= wxString_in_helper(obj2
);
11603 if (arg3
== NULL
) SWIG_fail
;
11608 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11609 if (!SWIG_IsOK(ecode4
)) {
11610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11612 arg4
= static_cast< bool >(val4
);
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_Py_Void();
11643 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
= 0;
11645 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11648 PyObject
*arg4
= (PyObject
*) NULL
;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 PyObject
* obj2
= 0 ;
11654 PyObject
* obj3
= 0 ;
11655 char * kwnames
[] = {
11656 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
11659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11661 if (!SWIG_IsOK(res1
)) {
11662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11664 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11666 wxString
* sptr
= wxString_in_helper(obj1
);
11667 if (sptr
== NULL
) SWIG_fail
;
11672 wxString
* sptr
= wxString_in_helper(obj2
);
11673 if (sptr
== NULL
) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 wxHtmlDCRenderer_SetFonts(arg1
,arg2
,arg3
,arg4
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_Py_Void();
11693 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
= 0;
11695 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11696 int arg2
= (int) -1 ;
11697 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11698 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11699 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11700 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11705 bool temp3
= false ;
11706 bool temp4
= false ;
11707 PyObject
* obj0
= 0 ;
11708 PyObject
* obj1
= 0 ;
11709 PyObject
* obj2
= 0 ;
11710 PyObject
* obj3
= 0 ;
11711 char * kwnames
[] = {
11712 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
11715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11717 if (!SWIG_IsOK(res1
)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11720 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11723 if (!SWIG_IsOK(ecode2
)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
11726 arg2
= static_cast< int >(val2
);
11730 arg3
= wxString_in_helper(obj2
);
11731 if (arg3
== NULL
) SWIG_fail
;
11737 arg4
= wxString_in_helper(obj3
);
11738 if (arg4
== NULL
) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_Py_Void();
11771 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_Render(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
= 0;
11773 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11776 int arg4
= (int) 0 ;
11777 int arg5
= (int) false ;
11778 int arg6
= (int) INT_MAX
;
11779 int *arg7
= (int *) NULL
;
11780 int arg8
= (int) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 PyObject
* obj3
= 0 ;
11802 PyObject
* obj4
= 0 ;
11803 PyObject
* obj5
= 0 ;
11804 PyObject
* obj6
= 0 ;
11805 PyObject
* obj7
= 0 ;
11806 char * kwnames
[] = {
11807 (char *) "self",(char *) "x",(char *) "y",(char *) "_from",(char *) "dont_render",(char *) "maxHeight",(char *) "choices",(char *) "LCOUNT", NULL
11810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11815 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11817 if (!SWIG_IsOK(ecode2
)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'");
11820 arg2
= static_cast< int >(val2
);
11821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11822 if (!SWIG_IsOK(ecode3
)) {
11823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'");
11825 arg3
= static_cast< int >(val3
);
11827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11828 if (!SWIG_IsOK(ecode4
)) {
11829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "4"" of type '" "int""'");
11831 arg4
= static_cast< int >(val4
);
11834 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11835 if (!SWIG_IsOK(ecode5
)) {
11836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'");
11838 arg5
= static_cast< int >(val5
);
11841 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
11842 if (!SWIG_IsOK(ecode6
)) {
11843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'");
11845 arg6
= static_cast< int >(val6
);
11848 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_int
, 0 | 0 );
11849 if (!SWIG_IsOK(res7
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int *""'");
11852 arg7
= reinterpret_cast< int * >(argp7
);
11855 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
11856 if (!SWIG_IsOK(ecode8
)) {
11857 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HtmlDCRenderer_Render" "', expected argument " "8"" of type '" "int""'");
11859 arg8
= static_cast< int >(val8
);
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (int)(arg1
)->Render(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_From_int(static_cast< int >(result
));
11874 SWIGINTERN PyObject
*_wrap_HtmlDCRenderer_GetTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11875 PyObject
*resultobj
= 0;
11876 wxHtmlDCRenderer
*arg1
= (wxHtmlDCRenderer
*) 0 ;
11880 PyObject
*swig_obj
[1] ;
11882 if (!args
) SWIG_fail
;
11883 swig_obj
[0] = args
;
11884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlDCRenderer
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'");
11888 arg1
= reinterpret_cast< wxHtmlDCRenderer
* >(argp1
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (int)(arg1
)->GetTotalHeight();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_From_int(static_cast< int >(result
));
11902 SWIGINTERN PyObject
*HtmlDCRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11905 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer
, SWIG_NewClientData(obj
));
11906 return SWIG_Py_Void();
11909 SWIGINTERN PyObject
*HtmlDCRenderer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11910 return SWIG_Python_InitShadowInstance(args
);
11913 SWIGINTERN PyObject
*_wrap_new_HtmlPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
= 0;
11915 wxString
const &arg1_defvalue
= wxPyHtmlPrintoutTitleStr
;
11916 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11917 wxHtmlPrintout
*result
= 0 ;
11918 bool temp1
= false ;
11919 PyObject
* obj0
= 0 ;
11920 char * kwnames
[] = {
11921 (char *) "title", NULL
11924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_HtmlPrintout",kwnames
,&obj0
)) SWIG_fail
;
11927 arg1
= wxString_in_helper(obj0
);
11928 if (arg1
== NULL
) SWIG_fail
;
11933 if (!wxPyCheckForApp()) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (wxHtmlPrintout
*)new wxHtmlPrintout((wxString
const &)*arg1
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlPrintout
, SWIG_POINTER_NEW
| 0 );
11954 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
= 0;
11956 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
11957 wxString
*arg2
= 0 ;
11958 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11959 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11960 bool arg4
= (bool) true ;
11963 bool temp2
= false ;
11964 bool temp3
= false ;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 PyObject
* obj2
= 0 ;
11970 PyObject
* obj3
= 0 ;
11971 char * kwnames
[] = {
11972 (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL
11975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
11977 if (!SWIG_IsOK(res1
)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
11980 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
11982 arg2
= wxString_in_helper(obj1
);
11983 if (arg2
== NULL
) SWIG_fail
;
11988 arg3
= wxString_in_helper(obj2
);
11989 if (arg3
== NULL
) SWIG_fail
;
11994 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11995 if (!SWIG_IsOK(ecode4
)) {
11996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'");
11998 arg4
= static_cast< bool >(val4
);
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 (arg1
)->SetHtmlText((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= SWIG_Py_Void();
12029 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHtmlFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
= 0;
12031 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12032 wxString
*arg2
= 0 ;
12035 bool temp2
= false ;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 char * kwnames
[] = {
12039 (char *) "self",(char *) "htmlfile", NULL
12042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12044 if (!SWIG_IsOK(res1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12047 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12049 arg2
= wxString_in_helper(obj1
);
12050 if (arg2
== NULL
) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 (arg1
)->SetHtmlFile((wxString
const &)*arg2
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_Py_Void();
12074 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12077 wxString
*arg2
= 0 ;
12078 int arg3
= (int) wxPAGE_ALL
;
12081 bool temp2
= false ;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 PyObject
* obj2
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "header",(char *) "pg", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12096 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12098 arg2
= wxString_in_helper(obj1
);
12099 if (arg2
== NULL
) SWIG_fail
;
12103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12104 if (!SWIG_IsOK(ecode3
)) {
12105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'");
12107 arg3
= static_cast< int >(val3
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= SWIG_Py_Void();
12130 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12133 wxString
*arg2
= 0 ;
12134 int arg3
= (int) wxPAGE_ALL
;
12137 bool temp2
= false ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 PyObject
* obj2
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "footer",(char *) "pg", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12152 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12154 arg2
= wxString_in_helper(obj1
);
12155 if (arg2
== NULL
) SWIG_fail
;
12159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12160 if (!SWIG_IsOK(ecode3
)) {
12161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'");
12163 arg3
= static_cast< int >(val3
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_Py_Void();
12186 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
= 0;
12188 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12191 PyObject
*arg4
= (PyObject
*) NULL
;
12194 PyObject
* obj0
= 0 ;
12195 PyObject
* obj1
= 0 ;
12196 PyObject
* obj2
= 0 ;
12197 PyObject
* obj3
= 0 ;
12198 char * kwnames
[] = {
12199 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12204 if (!SWIG_IsOK(res1
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12207 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12209 wxString
* sptr
= wxString_in_helper(obj1
);
12210 if (sptr
== NULL
) SWIG_fail
;
12215 wxString
* sptr
= wxString_in_helper(obj2
);
12216 if (sptr
== NULL
) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 wxHtmlPrintout_SetFonts(arg1
,arg2
,arg3
,arg4
);
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_Py_Void();
12236 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
= 0;
12238 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12239 int arg2
= (int) -1 ;
12240 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12241 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12242 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12243 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12248 bool temp3
= false ;
12249 bool temp4
= false ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 PyObject
* obj2
= 0 ;
12253 PyObject
* obj3
= 0 ;
12254 char * kwnames
[] = {
12255 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12260 if (!SWIG_IsOK(res1
)) {
12261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12263 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12266 if (!SWIG_IsOK(ecode2
)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12269 arg2
= static_cast< int >(val2
);
12273 arg3
= wxString_in_helper(obj2
);
12274 if (arg3
== NULL
) SWIG_fail
;
12280 arg4
= wxString_in_helper(obj3
);
12281 if (arg4
== NULL
) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_Py_Void();
12314 SWIGINTERN PyObject
*_wrap_HtmlPrintout_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
= 0;
12316 wxHtmlPrintout
*arg1
= (wxHtmlPrintout
*) 0 ;
12317 float arg2
= (float) 25.2 ;
12318 float arg3
= (float) 25.2 ;
12319 float arg4
= (float) 25.2 ;
12320 float arg5
= (float) 25.2 ;
12321 float arg6
= (float) 5 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 PyObject
* obj2
= 0 ;
12337 PyObject
* obj3
= 0 ;
12338 PyObject
* obj4
= 0 ;
12339 PyObject
* obj5
= 0 ;
12340 char * kwnames
[] = {
12341 (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL
12344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlPrintout
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'");
12349 arg1
= reinterpret_cast< wxHtmlPrintout
* >(argp1
);
12351 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
12352 if (!SWIG_IsOK(ecode2
)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'");
12355 arg2
= static_cast< float >(val2
);
12358 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
12359 if (!SWIG_IsOK(ecode3
)) {
12360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'");
12362 arg3
= static_cast< float >(val3
);
12365 ecode4
= SWIG_AsVal_float(obj3
, &val4
);
12366 if (!SWIG_IsOK(ecode4
)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'");
12369 arg4
= static_cast< float >(val4
);
12372 ecode5
= SWIG_AsVal_float(obj4
, &val5
);
12373 if (!SWIG_IsOK(ecode5
)) {
12374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'");
12376 arg5
= static_cast< float >(val5
);
12379 ecode6
= SWIG_AsVal_float(obj5
, &val6
);
12380 if (!SWIG_IsOK(ecode6
)) {
12381 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'");
12383 arg6
= static_cast< float >(val6
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetMargins(arg2
,arg3
,arg4
,arg5
,arg6
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_Py_Void();
12398 SWIGINTERN PyObject
*_wrap_HtmlPrintout_AddFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
= 0;
12400 wxHtmlFilter
*arg1
= (wxHtmlFilter
*) 0 ;
12403 PyObject
* obj0
= 0 ;
12404 char * kwnames
[] = {
12405 (char *) "filter", NULL
12408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlPrintout_AddFilter",kwnames
,&obj0
)) SWIG_fail
;
12409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlFilter
, 0 | 0 );
12410 if (!SWIG_IsOK(res1
)) {
12411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'");
12413 arg1
= reinterpret_cast< wxHtmlFilter
* >(argp1
);
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 wxHtmlPrintout::AddFilter(arg1
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= SWIG_Py_Void();
12427 SWIGINTERN PyObject
*_wrap_HtmlPrintout_CleanUpStatics(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12428 PyObject
*resultobj
= 0;
12430 if (!SWIG_Python_UnpackTuple(args
,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 wxHtmlPrintout::CleanUpStatics();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*HtmlPrintout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12447 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout
, SWIG_NewClientData(obj
));
12448 return SWIG_Py_Void();
12451 SWIGINTERN PyObject
*HtmlPrintout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12452 return SWIG_Python_InitShadowInstance(args
);
12455 SWIGINTERN PyObject
*_wrap_new_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
= 0;
12457 wxString
const &arg1_defvalue
= wxPyHtmlPrintingTitleStr
;
12458 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12459 wxWindow
*arg2
= (wxWindow
*) NULL
;
12460 wxHtmlEasyPrinting
*result
= 0 ;
12461 bool temp1
= false ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 char * kwnames
[] = {
12467 (char *) "name",(char *) "parentWindow", NULL
12470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlEasyPrinting",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12473 arg1
= wxString_in_helper(obj0
);
12474 if (arg1
== NULL
) SWIG_fail
;
12479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12480 if (!SWIG_IsOK(res2
)) {
12481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'");
12483 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12486 if (!wxPyCheckForApp()) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (wxHtmlEasyPrinting
*)new wxHtmlEasyPrinting((wxString
const &)*arg1
,arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_NEW
| 0 );
12507 SWIGINTERN PyObject
*_wrap_delete_HtmlEasyPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12508 PyObject
*resultobj
= 0;
12509 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12512 PyObject
*swig_obj
[1] ;
12514 if (!args
) SWIG_fail
;
12515 swig_obj
[0] = args
;
12516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_POINTER_DISOWN
| 0 );
12517 if (!SWIG_IsOK(res1
)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12520 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_Py_Void();
12535 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
= 0;
12537 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12538 wxString
*arg2
= 0 ;
12541 bool temp2
= false ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 char * kwnames
[] = {
12545 (char *) "self",(char *) "htmlfile", NULL
12548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12550 if (!SWIG_IsOK(res1
)) {
12551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12553 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12555 arg2
= wxString_in_helper(obj1
);
12556 if (arg2
== NULL
) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->PreviewFile((wxString
const &)*arg2
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_Py_Void();
12580 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PreviewText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= 0;
12582 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12583 wxString
*arg2
= 0 ;
12584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12588 bool temp2
= false ;
12589 bool temp3
= false ;
12590 PyObject
* obj0
= 0 ;
12591 PyObject
* obj1
= 0 ;
12592 PyObject
* obj2
= 0 ;
12593 char * kwnames
[] = {
12594 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12599 if (!SWIG_IsOK(res1
)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12602 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12604 arg2
= wxString_in_helper(obj1
);
12605 if (arg2
== NULL
) SWIG_fail
;
12610 arg3
= wxString_in_helper(obj2
);
12611 if (arg3
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 (arg1
)->PreviewText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_Py_Void();
12644 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= 0;
12646 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12647 wxString
*arg2
= 0 ;
12650 bool temp2
= false ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 char * kwnames
[] = {
12654 (char *) "self",(char *) "htmlfile", NULL
12657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12659 if (!SWIG_IsOK(res1
)) {
12660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12662 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12664 arg2
= wxString_in_helper(obj1
);
12665 if (arg2
== NULL
) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 (arg1
)->PrintFile((wxString
const &)*arg2
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= SWIG_Py_Void();
12689 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PrintText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
= 0;
12691 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12692 wxString
*arg2
= 0 ;
12693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12697 bool temp2
= false ;
12698 bool temp3
= false ;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 PyObject
* obj2
= 0 ;
12702 char * kwnames
[] = {
12703 (char *) "self",(char *) "htmltext",(char *) "basepath", NULL
12706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12708 if (!SWIG_IsOK(res1
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12711 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12713 arg2
= wxString_in_helper(obj1
);
12714 if (arg2
== NULL
) SWIG_fail
;
12719 arg3
= wxString_in_helper(obj2
);
12720 if (arg3
== NULL
) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 (arg1
)->PrintText((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= SWIG_Py_Void();
12753 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_PageSetup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12754 PyObject
*resultobj
= 0;
12755 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12758 PyObject
*swig_obj
[1] ;
12760 if (!args
) SWIG_fail
;
12761 swig_obj
[0] = args
;
12762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12763 if (!SWIG_IsOK(res1
)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12766 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 (arg1
)->PageSetup();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= SWIG_Py_Void();
12780 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetHeader(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
= 0;
12782 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12783 wxString
*arg2
= 0 ;
12784 int arg3
= (int) wxPAGE_ALL
;
12787 bool temp2
= false ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 PyObject
* obj2
= 0 ;
12793 char * kwnames
[] = {
12794 (char *) "self",(char *) "header",(char *) "pg", NULL
12797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12799 if (!SWIG_IsOK(res1
)) {
12800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12802 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12804 arg2
= wxString_in_helper(obj1
);
12805 if (arg2
== NULL
) SWIG_fail
;
12809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12810 if (!SWIG_IsOK(ecode3
)) {
12811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'");
12813 arg3
= static_cast< int >(val3
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->SetHeader((wxString
const &)*arg2
,arg3
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_Py_Void();
12836 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFooter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
= 0;
12838 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12839 wxString
*arg2
= 0 ;
12840 int arg3
= (int) wxPAGE_ALL
;
12843 bool temp2
= false ;
12846 PyObject
* obj0
= 0 ;
12847 PyObject
* obj1
= 0 ;
12848 PyObject
* obj2
= 0 ;
12849 char * kwnames
[] = {
12850 (char *) "self",(char *) "footer",(char *) "pg", NULL
12853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12855 if (!SWIG_IsOK(res1
)) {
12856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12858 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12860 arg2
= wxString_in_helper(obj1
);
12861 if (arg2
== NULL
) SWIG_fail
;
12865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12866 if (!SWIG_IsOK(ecode3
)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'");
12869 arg3
= static_cast< int >(val3
);
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 (arg1
)->SetFooter((wxString
const &)*arg2
,arg3
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= SWIG_Py_Void();
12892 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
= 0;
12894 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12897 PyObject
*arg4
= (PyObject
*) NULL
;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 PyObject
* obj2
= 0 ;
12903 PyObject
* obj3
= 0 ;
12904 char * kwnames
[] = {
12905 (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL
12908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12910 if (!SWIG_IsOK(res1
)) {
12911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12913 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12915 wxString
* sptr
= wxString_in_helper(obj1
);
12916 if (sptr
== NULL
) SWIG_fail
;
12921 wxString
* sptr
= wxString_in_helper(obj2
);
12922 if (sptr
== NULL
) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 wxHtmlEasyPrinting_SetFonts(arg1
,arg2
,arg3
,arg4
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_Py_Void();
12942 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
= 0;
12944 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
12945 int arg2
= (int) -1 ;
12946 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12947 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12948 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12949 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12954 bool temp3
= false ;
12955 bool temp4
= false ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 PyObject
* obj3
= 0 ;
12960 char * kwnames
[] = {
12961 (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
12964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
12966 if (!SWIG_IsOK(res1
)) {
12967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
12969 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
12971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12972 if (!SWIG_IsOK(ecode2
)) {
12973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'");
12975 arg2
= static_cast< int >(val2
);
12979 arg3
= wxString_in_helper(obj2
);
12980 if (arg3
== NULL
) SWIG_fail
;
12986 arg4
= wxString_in_helper(obj3
);
12987 if (arg4
== NULL
) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 (arg1
)->SetStandardFonts(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13021 PyObject
*resultobj
= 0;
13022 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13023 wxPrintData
*result
= 0 ;
13026 PyObject
*swig_obj
[1] ;
13028 if (!args
) SWIG_fail
;
13029 swig_obj
[0] = args
;
13030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13034 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (wxPrintData
*)(arg1
)->GetPrintData();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
13048 SWIGINTERN PyObject
*_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13049 PyObject
*resultobj
= 0;
13050 wxHtmlEasyPrinting
*arg1
= (wxHtmlEasyPrinting
*) 0 ;
13051 wxPageSetupDialogData
*result
= 0 ;
13054 PyObject
*swig_obj
[1] ;
13056 if (!args
) SWIG_fail
;
13057 swig_obj
[0] = args
;
13058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlEasyPrinting
, 0 | 0 );
13059 if (!SWIG_IsOK(res1
)) {
13060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'");
13062 arg1
= reinterpret_cast< wxHtmlEasyPrinting
* >(argp1
);
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (wxPageSetupDialogData
*)(arg1
)->GetPageSetupData();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
13076 SWIGINTERN PyObject
*HtmlEasyPrinting_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13079 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting
, SWIG_NewClientData(obj
));
13080 return SWIG_Py_Void();
13083 SWIGINTERN PyObject
*HtmlEasyPrinting_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13084 return SWIG_Python_InitShadowInstance(args
);
13087 SWIGINTERN PyObject
*_wrap_new_HtmlBookRecord(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
= 0;
13089 wxString
*arg1
= 0 ;
13090 wxString
*arg2
= 0 ;
13091 wxString
*arg3
= 0 ;
13092 wxString
*arg4
= 0 ;
13093 wxHtmlBookRecord
*result
= 0 ;
13094 bool temp1
= false ;
13095 bool temp2
= false ;
13096 bool temp3
= false ;
13097 bool temp4
= false ;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 PyObject
* obj2
= 0 ;
13101 PyObject
* obj3
= 0 ;
13102 char * kwnames
[] = {
13103 (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL
13106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_HtmlBookRecord",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13108 arg1
= wxString_in_helper(obj0
);
13109 if (arg1
== NULL
) SWIG_fail
;
13113 arg2
= wxString_in_helper(obj1
);
13114 if (arg2
== NULL
) SWIG_fail
;
13118 arg3
= wxString_in_helper(obj2
);
13119 if (arg3
== NULL
) SWIG_fail
;
13123 arg4
= wxString_in_helper(obj3
);
13124 if (arg4
== NULL
) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (wxHtmlBookRecord
*)new wxHtmlBookRecord((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecord
, SWIG_POINTER_NEW
| 0 );
13172 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBookFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13173 PyObject
*resultobj
= 0;
13174 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13178 PyObject
*swig_obj
[1] ;
13180 if (!args
) SWIG_fail
;
13181 swig_obj
[0] = args
;
13182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13186 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (arg1
)->GetBookFile();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13206 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 PyObject
*resultobj
= 0;
13208 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13212 PyObject
*swig_obj
[1] ;
13214 if (!args
) SWIG_fail
;
13215 swig_obj
[0] = args
;
13216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13220 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (arg1
)->GetTitle();
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13240 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13241 PyObject
*resultobj
= 0;
13242 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13254 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (arg1
)->GetStart();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13274 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13275 PyObject
*resultobj
= 0;
13276 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13280 PyObject
*swig_obj
[1] ;
13282 if (!args
) SWIG_fail
;
13283 swig_obj
[0] = args
;
13284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13285 if (!SWIG_IsOK(res1
)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13288 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (arg1
)->GetBasePath();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13308 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetContentsRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
= 0;
13310 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 PyObject
* obj2
= 0 ;
13322 char * kwnames
[] = {
13323 (char *) "self",(char *) "start",(char *) "end", NULL
13326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13328 if (!SWIG_IsOK(res1
)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13331 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13333 if (!SWIG_IsOK(ecode2
)) {
13334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'");
13336 arg2
= static_cast< int >(val2
);
13337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13338 if (!SWIG_IsOK(ecode3
)) {
13339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'");
13341 arg3
= static_cast< int >(val3
);
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetContentsRange(arg2
,arg3
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= SWIG_Py_Void();
13355 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13356 PyObject
*resultobj
= 0;
13357 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13361 PyObject
*swig_obj
[1] ;
13363 if (!args
) SWIG_fail
;
13364 swig_obj
[0] = args
;
13365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13366 if (!SWIG_IsOK(res1
)) {
13367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13369 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)(arg1
)->GetContentsStart();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= SWIG_From_int(static_cast< int >(result
));
13383 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetContentsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 PyObject
*resultobj
= 0;
13385 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13389 PyObject
*swig_obj
[1] ;
13391 if (!args
) SWIG_fail
;
13392 swig_obj
[0] = args
;
13393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13394 if (!SWIG_IsOK(res1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13397 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (int)(arg1
)->GetContentsEnd();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_From_int(static_cast< int >(result
));
13411 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
= 0;
13413 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13414 wxString
*arg2
= 0 ;
13417 bool temp2
= false ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char * kwnames
[] = {
13421 (char *) "self",(char *) "title", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13429 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13431 arg2
= wxString_in_helper(obj1
);
13432 if (arg2
== NULL
) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 (arg1
)->SetTitle((wxString
const &)*arg2
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_Py_Void();
13456 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetBasePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= 0;
13458 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13459 wxString
*arg2
= 0 ;
13462 bool temp2
= false ;
13463 PyObject
* obj0
= 0 ;
13464 PyObject
* obj1
= 0 ;
13465 char * kwnames
[] = {
13466 (char *) "self",(char *) "path", NULL
13469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13471 if (!SWIG_IsOK(res1
)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13474 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13476 arg2
= wxString_in_helper(obj1
);
13477 if (arg2
== NULL
) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->SetBasePath((wxString
const &)*arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_Py_Void();
13501 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_SetStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
= 0;
13503 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13504 wxString
*arg2
= 0 ;
13507 bool temp2
= false ;
13508 PyObject
* obj0
= 0 ;
13509 PyObject
* obj1
= 0 ;
13510 char * kwnames
[] = {
13511 (char *) "self",(char *) "start", NULL
13514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_SetStart",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13516 if (!SWIG_IsOK(res1
)) {
13517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'");
13519 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13521 arg2
= wxString_in_helper(obj1
);
13522 if (arg2
== NULL
) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 (arg1
)->SetStart((wxString
const &)*arg2
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_Py_Void();
13546 SWIGINTERN PyObject
*_wrap_HtmlBookRecord_GetFullPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
= 0;
13548 wxHtmlBookRecord
*arg1
= (wxHtmlBookRecord
*) 0 ;
13549 wxString
*arg2
= 0 ;
13553 bool temp2
= false ;
13554 PyObject
* obj0
= 0 ;
13555 PyObject
* obj1
= 0 ;
13556 char * kwnames
[] = {
13557 (char *) "self",(char *) "page", NULL
13560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlBookRecord
, 0 | 0 );
13562 if (!SWIG_IsOK(res1
)) {
13563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'");
13565 arg1
= reinterpret_cast< wxHtmlBookRecord
* >(argp1
);
13567 arg2
= wxString_in_helper(obj1
);
13568 if (arg2
== NULL
) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= ((wxHtmlBookRecord
const *)arg1
)->GetFullPath((wxString
const &)*arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13598 SWIGINTERN PyObject
*HtmlBookRecord_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13601 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord
, SWIG_NewClientData(obj
));
13602 return SWIG_Py_Void();
13605 SWIGINTERN PyObject
*HtmlBookRecord_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13606 return SWIG_Python_InitShadowInstance(args
);
13609 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_Search(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13610 PyObject
*resultobj
= 0;
13611 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13615 PyObject
*swig_obj
[1] ;
13617 if (!args
) SWIG_fail
;
13618 swig_obj
[0] = args
;
13619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13620 if (!SWIG_IsOK(res1
)) {
13621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13623 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 result
= (bool)(arg1
)->Search();
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13639 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13640 PyObject
*resultobj
= 0;
13641 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13645 PyObject
*swig_obj
[1] ;
13647 if (!args
) SWIG_fail
;
13648 swig_obj
[0] = args
;
13649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13653 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)(arg1
)->IsActive();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13669 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetCurIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13670 PyObject
*resultobj
= 0;
13671 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13675 PyObject
*swig_obj
[1] ;
13677 if (!args
) SWIG_fail
;
13678 swig_obj
[0] = args
;
13679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13680 if (!SWIG_IsOK(res1
)) {
13681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13683 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (int)(arg1
)->GetCurIndex();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_From_int(static_cast< int >(result
));
13697 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetMaxIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13698 PyObject
*resultobj
= 0;
13699 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13703 PyObject
*swig_obj
[1] ;
13705 if (!args
) SWIG_fail
;
13706 swig_obj
[0] = args
;
13707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13708 if (!SWIG_IsOK(res1
)) {
13709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13711 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (int)(arg1
)->GetMaxIndex();
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_From_int(static_cast< int >(result
));
13725 SWIGINTERN PyObject
*_wrap_HtmlSearchStatus_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13726 PyObject
*resultobj
= 0;
13727 wxHtmlSearchStatus
*arg1
= (wxHtmlSearchStatus
*) 0 ;
13728 wxString
*result
= 0 ;
13731 PyObject
*swig_obj
[1] ;
13733 if (!args
) SWIG_fail
;
13734 swig_obj
[0] = args
;
13735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlSearchStatus
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'");
13739 arg1
= reinterpret_cast< wxHtmlSearchStatus
* >(argp1
);
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 wxString
const &_result_ref
= (arg1
)->GetName();
13744 result
= (wxString
*) &_result_ref
;
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13753 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13762 SWIGINTERN PyObject
*HtmlSearchStatus_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13765 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus
, SWIG_NewClientData(obj
));
13766 return SWIG_Py_Void();
13769 SWIGINTERN PyObject
*_wrap_new_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13770 PyObject
*resultobj
= 0;
13771 wxHtmlHelpData
*result
= 0 ;
13773 if (!SWIG_Python_UnpackTuple(args
,"new_HtmlHelpData",0,0,0)) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (wxHtmlHelpData
*)new wxHtmlHelpData();
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_NEW
| 0 );
13787 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13788 PyObject
*resultobj
= 0;
13789 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13792 PyObject
*swig_obj
[1] ;
13794 if (!args
) SWIG_fail
;
13795 swig_obj
[0] = args
;
13796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, SWIG_POINTER_DISOWN
| 0 );
13797 if (!SWIG_IsOK(res1
)) {
13798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13800 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_Py_Void();
13815 SWIGINTERN PyObject
*_wrap_HtmlHelpData_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
= 0;
13817 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13818 wxString
*arg2
= 0 ;
13821 bool temp2
= false ;
13822 PyObject
* obj0
= 0 ;
13823 PyObject
* obj1
= 0 ;
13824 char * kwnames
[] = {
13825 (char *) "self",(char *) "path", NULL
13828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13830 if (!SWIG_IsOK(res1
)) {
13831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13833 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13835 arg2
= wxString_in_helper(obj1
);
13836 if (arg2
== NULL
) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 (arg1
)->SetTempDir((wxString
const &)*arg2
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_Py_Void();
13860 SWIGINTERN PyObject
*_wrap_HtmlHelpData_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
= 0;
13862 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13863 wxString
*arg2
= 0 ;
13867 bool temp2
= false ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char * kwnames
[] = {
13871 (char *) "self",(char *) "book", NULL
13874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_AddBook",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13879 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13881 arg2
= wxString_in_helper(obj1
);
13882 if (arg2
== NULL
) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= 0;
13910 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13911 wxString
*arg2
= 0 ;
13915 bool temp2
= false ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char * kwnames
[] = {
13919 (char *) "self",(char *) "page", NULL
13922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13924 if (!SWIG_IsOK(res1
)) {
13925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13927 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13929 arg2
= wxString_in_helper(obj1
);
13930 if (arg2
== NULL
) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (arg1
)->FindPageByName((wxString
const &)*arg2
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13960 SWIGINTERN PyObject
*_wrap_HtmlHelpData_FindPageById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
= 0;
13962 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
13969 PyObject
* obj0
= 0 ;
13970 PyObject
* obj1
= 0 ;
13971 char * kwnames
[] = {
13972 (char *) "self",(char *) "id", NULL
13975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpData_FindPageById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
13977 if (!SWIG_IsOK(res1
)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
13980 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
13981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13982 if (!SWIG_IsOK(ecode2
)) {
13983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'");
13985 arg2
= static_cast< int >(val2
);
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (arg1
)->FindPageById(arg2
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14005 SWIGINTERN PyObject
*_wrap_HtmlHelpData_GetBookRecArray(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14006 PyObject
*resultobj
= 0;
14007 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) 0 ;
14008 wxHtmlBookRecArray
*result
= 0 ;
14011 PyObject
*swig_obj
[1] ;
14013 if (!args
) SWIG_fail
;
14014 swig_obj
[0] = args
;
14015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14019 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 wxHtmlBookRecArray
const &_result_ref
= (arg1
)->GetBookRecArray();
14024 result
= (wxHtmlBookRecArray
*) &_result_ref
;
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlBookRecArray
, 0 | 0 );
14036 SWIGINTERN PyObject
*HtmlHelpData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14039 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData
, SWIG_NewClientData(obj
));
14040 return SWIG_Py_Void();
14043 SWIGINTERN PyObject
*HtmlHelpData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14044 return SWIG_Python_InitShadowInstance(args
);
14047 SWIGINTERN PyObject
*_wrap_new_HtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
= 0;
14049 wxWindow
*arg1
= (wxWindow
*) 0 ;
14051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14055 int arg5
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14056 int arg6
= (int) wxHF_DEFAULT_STYLE
;
14057 wxHtmlHelpData
*arg7
= (wxHtmlHelpData
*) NULL
;
14058 wxHtmlHelpWindow
*result
= 0 ;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 PyObject
* obj2
= 0 ;
14074 PyObject
* obj3
= 0 ;
14075 PyObject
* obj4
= 0 ;
14076 PyObject
* obj5
= 0 ;
14077 PyObject
* obj6
= 0 ;
14078 char * kwnames
[] = {
14079 (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL
14082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14084 if (!SWIG_IsOK(res1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
14087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14089 if (!SWIG_IsOK(ecode2
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'");
14092 arg2
= static_cast< int >(val2
);
14096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14106 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14107 if (!SWIG_IsOK(ecode5
)) {
14108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'");
14110 arg5
= static_cast< int >(val5
);
14113 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14114 if (!SWIG_IsOK(ecode6
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'");
14117 arg6
= static_cast< int >(val6
);
14120 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14121 if (!SWIG_IsOK(res7
)) {
14122 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'");
14124 arg7
= reinterpret_cast< wxHtmlHelpData
* >(argp7
);
14127 if (!wxPyCheckForApp()) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_NEW
| 0 );
14140 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
= 0;
14142 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
14143 wxHtmlHelpWindow
*result
= 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char * kwnames
[] = {
14148 (char *) "data", NULL
14151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpWindow",kwnames
,&obj0
)) SWIG_fail
;
14153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14154 if (!SWIG_IsOK(res1
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
14157 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
14160 if (!wxPyCheckForApp()) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (wxHtmlHelpWindow
*)new wxHtmlHelpWindow(arg1
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_POINTER_OWN
| 0 );
14173 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
= 0;
14175 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14176 wxWindow
*arg2
= (wxWindow
*) 0 ;
14178 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14179 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14180 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14181 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14182 int arg6
= (int) wxTAB_TRAVERSAL
|wxNO_BORDER
;
14183 int arg7
= (int) wxHF_DEFAULT_STYLE
;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 PyObject
* obj2
= 0 ;
14200 PyObject
* obj3
= 0 ;
14201 PyObject
* obj4
= 0 ;
14202 PyObject
* obj5
= 0 ;
14203 PyObject
* obj6
= 0 ;
14204 char * kwnames
[] = {
14205 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL
14208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14210 if (!SWIG_IsOK(res1
)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14213 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14215 if (!SWIG_IsOK(res2
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14220 if (!SWIG_IsOK(ecode3
)) {
14221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'");
14223 arg3
= static_cast< int >(val3
);
14227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14237 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14238 if (!SWIG_IsOK(ecode6
)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'");
14241 arg6
= static_cast< int >(val6
);
14244 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14245 if (!SWIG_IsOK(ecode7
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'");
14248 arg7
= static_cast< int >(val7
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14265 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14266 PyObject
*resultobj
= 0;
14267 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14268 wxHtmlHelpData
*result
= 0 ;
14271 PyObject
*swig_obj
[1] ;
14273 if (!args
) SWIG_fail
;
14274 swig_obj
[0] = args
;
14275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14276 if (!SWIG_IsOK(res1
)) {
14277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14279 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
14293 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14294 PyObject
*resultobj
= 0;
14295 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14296 wxHtmlHelpController
*result
= 0 ;
14299 PyObject
*swig_obj
[1] ;
14301 if (!args
) SWIG_fail
;
14302 swig_obj
[0] = args
;
14303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14304 if (!SWIG_IsOK(res1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14307 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (wxHtmlHelpController
*)((wxHtmlHelpWindow
const *)arg1
)->GetController();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
14321 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
= 0;
14323 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14324 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 char * kwnames
[] = {
14331 (char *) "self",(char *) "controller", NULL
14334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14339 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14340 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
14341 if (!SWIG_IsOK(res2
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->SetController(arg2
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_Py_Void();
14357 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
= 0;
14359 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14360 wxString
*arg2
= 0 ;
14364 bool temp2
= false ;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 char * kwnames
[] = {
14368 (char *) "self",(char *) "x", NULL
14371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14373 if (!SWIG_IsOK(res1
)) {
14374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14376 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14378 arg2
= wxString_in_helper(obj1
);
14379 if (arg2
== NULL
) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (bool)(arg1
)->Display((wxString
const &)*arg2
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14405 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
= 0;
14407 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char * kwnames
[] = {
14417 (char *) "self",(char *) "id", NULL
14420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14422 if (!SWIG_IsOK(res1
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14425 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14427 if (!SWIG_IsOK(ecode2
)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'");
14430 arg2
= static_cast< int >(val2
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (bool)(arg1
)->Display(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14446 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14447 PyObject
*resultobj
= 0;
14448 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14452 PyObject
*swig_obj
[1] ;
14454 if (!args
) SWIG_fail
;
14455 swig_obj
[0] = args
;
14456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14457 if (!SWIG_IsOK(res1
)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14460 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (bool)(arg1
)->DisplayContents();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14476 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14477 PyObject
*resultobj
= 0;
14478 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14482 PyObject
*swig_obj
[1] ;
14484 if (!args
) SWIG_fail
;
14485 swig_obj
[0] = args
;
14486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14487 if (!SWIG_IsOK(res1
)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14490 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (bool)(arg1
)->DisplayIndex();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
= 0;
14508 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14509 wxString
*arg2
= 0 ;
14510 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
14514 bool temp2
= false ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 PyObject
* obj2
= 0 ;
14520 char * kwnames
[] = {
14521 (char *) "self",(char *) "keyword",(char *) "mode", NULL
14524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14526 if (!SWIG_IsOK(res1
)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14529 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14531 arg2
= wxString_in_helper(obj1
);
14532 if (arg2
== NULL
) SWIG_fail
;
14537 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
14538 if (!SWIG_IsOK(res3
)) {
14539 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
14544 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
14546 if (SWIG_IsNewObj(res3
)) delete temp
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14573 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
= 0;
14575 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14576 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14577 wxString
const &arg3_defvalue
= wxEmptyString
;
14578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14583 bool temp3
= false ;
14584 PyObject
* obj0
= 0 ;
14585 PyObject
* obj1
= 0 ;
14586 PyObject
* obj2
= 0 ;
14587 char * kwnames
[] = {
14588 (char *) "self",(char *) "config",(char *) "rootpath", NULL
14591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14593 if (!SWIG_IsOK(res1
)) {
14594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14596 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14598 if (!SWIG_IsOK(res2
)) {
14599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14601 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14604 arg3
= wxString_in_helper(obj2
);
14605 if (arg3
== NULL
) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= SWIG_Py_Void();
14630 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
= 0;
14632 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14633 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14634 wxString
const &arg3_defvalue
= wxEmptyString
;
14635 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14640 bool temp3
= false ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 PyObject
* obj2
= 0 ;
14644 char * kwnames
[] = {
14645 (char *) "self",(char *) "cfg",(char *) "path", NULL
14648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14650 if (!SWIG_IsOK(res1
)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14653 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14655 if (!SWIG_IsOK(res2
)) {
14656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14658 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14661 arg3
= wxString_in_helper(obj2
);
14662 if (arg3
== NULL
) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 (arg1
)->ReadCustomization(arg2
,(wxString
const &)*arg3
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_Py_Void();
14687 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
= 0;
14689 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14690 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
14691 wxString
const &arg3_defvalue
= wxEmptyString
;
14692 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14697 bool temp3
= false ;
14698 PyObject
* obj0
= 0 ;
14699 PyObject
* obj1
= 0 ;
14700 PyObject
* obj2
= 0 ;
14701 char * kwnames
[] = {
14702 (char *) "self",(char *) "cfg",(char *) "path", NULL
14705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14710 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
14712 if (!SWIG_IsOK(res2
)) {
14713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
14715 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
14718 arg3
= wxString_in_helper(obj2
);
14719 if (arg3
== NULL
) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->WriteCustomization(arg2
,(wxString
const &)*arg3
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= SWIG_Py_Void();
14744 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14745 PyObject
*resultobj
= 0;
14746 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14749 PyObject
*swig_obj
[1] ;
14751 if (!args
) SWIG_fail
;
14752 swig_obj
[0] = args
;
14753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14754 if (!SWIG_IsOK(res1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14757 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->NotifyPageChanged();
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_Py_Void();
14771 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_RefreshLists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14772 PyObject
*resultobj
= 0;
14773 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14776 PyObject
*swig_obj
[1] ;
14778 if (!args
) SWIG_fail
;
14779 swig_obj
[0] = args
;
14780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14781 if (!SWIG_IsOK(res1
)) {
14782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14784 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 (arg1
)->RefreshLists();
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= SWIG_Py_Void();
14798 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14799 PyObject
*resultobj
= 0;
14800 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14801 wxHtmlWindow
*result
= 0 ;
14804 PyObject
*swig_obj
[1] ;
14806 if (!args
) SWIG_fail
;
14807 swig_obj
[0] = args
;
14808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14809 if (!SWIG_IsOK(res1
)) {
14810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14812 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= (wxHtmlWindow
*)((wxHtmlHelpWindow
const *)arg1
)->GetHtmlWindow();
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindow
, 0 | 0 );
14826 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14827 PyObject
*resultobj
= 0;
14828 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14829 wxSplitterWindow
*result
= 0 ;
14832 PyObject
*swig_obj
[1] ;
14834 if (!args
) SWIG_fail
;
14835 swig_obj
[0] = args
;
14836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14837 if (!SWIG_IsOK(res1
)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14840 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 result
= (wxSplitterWindow
*)(arg1
)->GetSplitterWindow();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
14854 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14855 PyObject
*resultobj
= 0;
14856 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14857 wxToolBar
*result
= 0 ;
14860 PyObject
*swig_obj
[1] ;
14862 if (!args
) SWIG_fail
;
14863 swig_obj
[0] = args
;
14864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14865 if (!SWIG_IsOK(res1
)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14868 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxToolBar
*)((wxHtmlHelpWindow
const *)arg1
)->GetToolBar();
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= wxPyMake_wxObject(result
, (bool)0);
14884 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetCfgData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14885 PyObject
*resultobj
= 0;
14886 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14887 wxHtmlHelpFrameCfg
*result
= 0 ;
14890 PyObject
*swig_obj
[1] ;
14892 if (!args
) SWIG_fail
;
14893 swig_obj
[0] = args
;
14894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14895 if (!SWIG_IsOK(res1
)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'");
14898 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 wxHtmlHelpFrameCfg
&_result_ref
= (arg1
)->GetCfgData();
14903 result
= (wxHtmlHelpFrameCfg
*) &_result_ref
;
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrameCfg
, 0 | 0 );
14915 SWIGINTERN PyObject
*_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14916 PyObject
*resultobj
= 0;
14917 wxHtmlHelpWindow
*arg1
= (wxHtmlHelpWindow
*) 0 ;
14918 wxTreeCtrl
*result
= 0 ;
14921 PyObject
*swig_obj
[1] ;
14923 if (!args
) SWIG_fail
;
14924 swig_obj
[0] = args
;
14925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
14926 if (!SWIG_IsOK(res1
)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'");
14929 arg1
= reinterpret_cast< wxHtmlHelpWindow
* >(argp1
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (wxTreeCtrl
*)((wxHtmlHelpWindow
const *)arg1
)->GetTreeCtrl();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
14943 SWIGINTERN PyObject
*HtmlHelpWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14946 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow
, SWIG_NewClientData(obj
));
14947 return SWIG_Py_Void();
14950 SWIGINTERN PyObject
*HtmlHelpWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14951 return SWIG_Python_InitShadowInstance(args
);
14954 SWIGINTERN PyObject
*_wrap_new_HtmlWindowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= 0;
14956 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14957 int arg2
= (int) 0 ;
14958 wxHtmlWindowEvent
*result
= 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char * kwnames
[] = {
14966 (char *) "commandType",(char *) "id", NULL
14969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlWindowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14971 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14972 if (!SWIG_IsOK(ecode1
)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlWindowEvent" "', expected argument " "1"" of type '" "wxEventType""'");
14975 arg1
= static_cast< wxEventType
>(val1
);
14978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14979 if (!SWIG_IsOK(ecode2
)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlWindowEvent" "', expected argument " "2"" of type '" "int""'");
14982 arg2
= static_cast< int >(val2
);
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (wxHtmlWindowEvent
*)new wxHtmlWindowEvent(arg1
,arg2
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_POINTER_NEW
| 0 );
14997 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
= 0;
14999 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
15000 wxString
*arg2
= 0 ;
15003 bool temp2
= false ;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char * kwnames
[] = {
15007 (char *) "self",(char *) "url", NULL
15010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlWindowEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
15012 if (!SWIG_IsOK(res1
)) {
15013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_SetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent *""'");
15015 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
15017 arg2
= wxString_in_helper(obj1
);
15018 if (arg2
== NULL
) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->SetURL((wxString
const &)*arg2
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= SWIG_Py_Void();
15042 SWIGINTERN PyObject
*_wrap_HtmlWindowEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15043 PyObject
*resultobj
= 0;
15044 wxHtmlWindowEvent
*arg1
= (wxHtmlWindowEvent
*) 0 ;
15045 wxString
*result
= 0 ;
15048 PyObject
*swig_obj
[1] ;
15050 if (!args
) SWIG_fail
;
15051 swig_obj
[0] = args
;
15052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlWindowEvent
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlWindowEvent_GetURL" "', expected argument " "1"" of type '" "wxHtmlWindowEvent const *""'");
15056 arg1
= reinterpret_cast< wxHtmlWindowEvent
* >(argp1
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 wxString
const &_result_ref
= ((wxHtmlWindowEvent
const *)arg1
)->GetURL();
15061 result
= (wxString
*) &_result_ref
;
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15070 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15079 SWIGINTERN PyObject
*HtmlWindowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15082 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowEvent
, SWIG_NewClientData(obj
));
15083 return SWIG_Py_Void();
15086 SWIGINTERN PyObject
*HtmlWindowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15087 return SWIG_Python_InitShadowInstance(args
);
15090 SWIGINTERN PyObject
*_wrap_new_HtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
= 0;
15092 wxWindow
*arg1
= (wxWindow
*) 0 ;
15094 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15096 int arg4
= (int) wxHF_DEFAULTSTYLE
;
15097 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15098 wxHtmlHelpFrame
*result
= 0 ;
15103 bool temp3
= false ;
15108 PyObject
* obj0
= 0 ;
15109 PyObject
* obj1
= 0 ;
15110 PyObject
* obj2
= 0 ;
15111 PyObject
* obj3
= 0 ;
15112 PyObject
* obj4
= 0 ;
15113 char * kwnames
[] = {
15114 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
15122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15124 if (!SWIG_IsOK(ecode2
)) {
15125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'");
15127 arg2
= static_cast< int >(val2
);
15130 arg3
= wxString_in_helper(obj2
);
15131 if (arg3
== NULL
) SWIG_fail
;
15136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15137 if (!SWIG_IsOK(ecode4
)) {
15138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'");
15140 arg4
= static_cast< int >(val4
);
15143 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15144 if (!SWIG_IsOK(res5
)) {
15145 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15147 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15150 if (!wxPyCheckForApp()) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_NEW
| 0 );
15171 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
= 0;
15173 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15174 wxHtmlHelpFrame
*result
= 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char * kwnames
[] = {
15179 (char *) "data", NULL
15182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpFrame",kwnames
,&obj0
)) SWIG_fail
;
15184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15185 if (!SWIG_IsOK(res1
)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15188 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15191 if (!wxPyCheckForApp()) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (wxHtmlHelpFrame
*)new wxHtmlHelpFrame(arg1
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_POINTER_OWN
| 0 );
15204 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
= 0;
15206 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15207 wxWindow
*arg2
= (wxWindow
*) 0 ;
15209 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15210 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15211 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15219 bool temp4
= false ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 PyObject
* obj2
= 0 ;
15225 PyObject
* obj3
= 0 ;
15226 PyObject
* obj4
= 0 ;
15227 char * kwnames
[] = {
15228 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15233 if (!SWIG_IsOK(res1
)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15236 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15238 if (!SWIG_IsOK(res2
)) {
15239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15243 if (!SWIG_IsOK(ecode3
)) {
15244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'");
15246 arg3
= static_cast< int >(val3
);
15249 arg4
= wxString_in_helper(obj3
);
15250 if (arg4
== NULL
) SWIG_fail
;
15255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15256 if (!SWIG_IsOK(ecode5
)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'");
15259 arg5
= static_cast< int >(val5
);
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15285 PyObject
*resultobj
= 0;
15286 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15287 wxHtmlHelpData
*result
= 0 ;
15290 PyObject
*swig_obj
[1] ;
15292 if (!args
) SWIG_fail
;
15293 swig_obj
[0] = args
;
15294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15295 if (!SWIG_IsOK(res1
)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15298 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15312 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
= 0;
15314 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15315 wxString
*arg2
= 0 ;
15318 bool temp2
= false ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 char * kwnames
[] = {
15322 (char *) "self",(char *) "format", NULL
15325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15330 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15332 arg2
= wxString_in_helper(obj1
);
15333 if (arg2
== NULL
) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_Py_Void();
15357 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15358 PyObject
*resultobj
= 0;
15359 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15362 PyObject
*swig_obj
[1] ;
15364 if (!args
) SWIG_fail
;
15365 swig_obj
[0] = args
;
15366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15367 if (!SWIG_IsOK(res1
)) {
15368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15370 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->AddGrabIfNeeded();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_Py_Void();
15384 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15385 PyObject
*resultobj
= 0;
15386 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15387 wxHtmlHelpController
*result
= 0 ;
15390 PyObject
*swig_obj
[1] ;
15392 if (!args
) SWIG_fail
;
15393 swig_obj
[0] = args
;
15394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15395 if (!SWIG_IsOK(res1
)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15398 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (wxHtmlHelpController
*)((wxHtmlHelpFrame
const *)arg1
)->GetController();
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15412 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
= 0;
15414 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15415 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char * kwnames
[] = {
15422 (char *) "self",(char *) "controller", NULL
15425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpFrame_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'");
15430 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15431 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15432 if (!SWIG_IsOK(res2
)) {
15433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->SetController(arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_Py_Void();
15448 SWIGINTERN PyObject
*_wrap_HtmlHelpFrame_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15449 PyObject
*resultobj
= 0;
15450 wxHtmlHelpFrame
*arg1
= (wxHtmlHelpFrame
*) 0 ;
15451 wxHtmlHelpWindow
*result
= 0 ;
15454 PyObject
*swig_obj
[1] ;
15456 if (!args
) SWIG_fail
;
15457 swig_obj
[0] = args
;
15458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpFrame
, 0 | 0 );
15459 if (!SWIG_IsOK(res1
)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'");
15462 arg1
= reinterpret_cast< wxHtmlHelpFrame
* >(argp1
);
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpFrame
const *)arg1
)->GetHelpWindow();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= wxPyMake_wxObject(result
, 0);
15478 SWIGINTERN PyObject
*HtmlHelpFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15481 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame
, SWIG_NewClientData(obj
));
15482 return SWIG_Py_Void();
15485 SWIGINTERN PyObject
*HtmlHelpFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15486 return SWIG_Python_InitShadowInstance(args
);
15489 SWIGINTERN PyObject
*_wrap_new_HtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
= 0;
15491 wxWindow
*arg1
= (wxWindow
*) 0 ;
15493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15495 int arg4
= (int) wxHF_DEFAULT_STYLE
;
15496 wxHtmlHelpData
*arg5
= (wxHtmlHelpData
*) NULL
;
15497 wxHtmlHelpDialog
*result
= 0 ;
15502 bool temp3
= false ;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 PyObject
* obj2
= 0 ;
15510 PyObject
* obj3
= 0 ;
15511 PyObject
* obj4
= 0 ;
15512 char * kwnames
[] = {
15513 (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL
15516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
15521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15523 if (!SWIG_IsOK(ecode2
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'");
15526 arg2
= static_cast< int >(val2
);
15529 arg3
= wxString_in_helper(obj2
);
15530 if (arg3
== NULL
) SWIG_fail
;
15535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15536 if (!SWIG_IsOK(ecode4
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'");
15539 arg4
= static_cast< int >(val4
);
15542 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15543 if (!SWIG_IsOK(res5
)) {
15544 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'");
15546 arg5
= reinterpret_cast< wxHtmlHelpData
* >(argp5
);
15549 if (!wxPyCheckForApp()) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_NEW
| 0 );
15570 SWIGINTERN PyObject
*_wrap_new_PreHtmlHelpDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
= 0;
15572 wxHtmlHelpData
*arg1
= (wxHtmlHelpData
*) NULL
;
15573 wxHtmlHelpDialog
*result
= 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char * kwnames
[] = {
15578 (char *) "data", NULL
15581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PreHtmlHelpDialog",kwnames
,&obj0
)) SWIG_fail
;
15583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15584 if (!SWIG_IsOK(res1
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'");
15587 arg1
= reinterpret_cast< wxHtmlHelpData
* >(argp1
);
15590 if (!wxPyCheckForApp()) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxHtmlHelpDialog
*)new wxHtmlHelpDialog(arg1
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_POINTER_OWN
| 0 );
15603 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
= 0;
15605 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15606 wxWindow
*arg2
= (wxWindow
*) 0 ;
15608 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15609 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15610 int arg5
= (int) wxHF_DEFAULT_STYLE
;
15618 bool temp4
= false ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 PyObject
* obj2
= 0 ;
15624 PyObject
* obj3
= 0 ;
15625 PyObject
* obj4
= 0 ;
15626 char * kwnames
[] = {
15627 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL
15630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15635 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15637 if (!SWIG_IsOK(res2
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15642 if (!SWIG_IsOK(ecode3
)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'");
15645 arg3
= static_cast< int >(val3
);
15648 arg4
= wxString_in_helper(obj3
);
15649 if (arg4
== NULL
) SWIG_fail
;
15654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15655 if (!SWIG_IsOK(ecode5
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'");
15658 arg5
= static_cast< int >(val5
);
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15683 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 PyObject
*resultobj
= 0;
15685 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15686 wxHtmlHelpData
*result
= 0 ;
15689 PyObject
*swig_obj
[1] ;
15691 if (!args
) SWIG_fail
;
15692 swig_obj
[0] = args
;
15693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15697 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (wxHtmlHelpData
*)(arg1
)->GetData();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpData
, 0 | 0 );
15711 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 PyObject
*resultobj
= 0;
15713 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15714 wxHtmlHelpController
*result
= 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15725 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (wxHtmlHelpController
*)((wxHtmlHelpDialog
const *)arg1
)->GetController();
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
15739 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
= 0;
15741 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15742 wxHtmlHelpController
*arg2
= (wxHtmlHelpController
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 PyObject
* obj1
= 0 ;
15748 char * kwnames
[] = {
15749 (char *) "self",(char *) "controller", NULL
15752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15754 if (!SWIG_IsOK(res1
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15757 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15758 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
15759 if (!SWIG_IsOK(res2
)) {
15760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'");
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 (arg1
)->SetController(arg2
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_Py_Void();
15775 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15776 PyObject
*resultobj
= 0;
15777 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15778 wxHtmlHelpWindow
*result
= 0 ;
15781 PyObject
*swig_obj
[1] ;
15783 if (!args
) SWIG_fail
;
15784 swig_obj
[0] = args
;
15785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15786 if (!SWIG_IsOK(res1
)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'");
15789 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (wxHtmlHelpWindow
*)((wxHtmlHelpDialog
const *)arg1
)->GetHelpWindow();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= wxPyMake_wxObject(result
, 0);
15805 SWIGINTERN PyObject
*_wrap_HtmlHelpDialog_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
= 0;
15807 wxHtmlHelpDialog
*arg1
= (wxHtmlHelpDialog
*) 0 ;
15808 wxString
*arg2
= 0 ;
15811 bool temp2
= false ;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 char * kwnames
[] = {
15815 (char *) "self",(char *) "format", NULL
15818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpDialog
, 0 | 0 );
15820 if (!SWIG_IsOK(res1
)) {
15821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'");
15823 arg1
= reinterpret_cast< wxHtmlHelpDialog
* >(argp1
);
15825 arg2
= wxString_in_helper(obj1
);
15826 if (arg2
== NULL
) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= SWIG_Py_Void();
15850 SWIGINTERN PyObject
*HtmlHelpDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15853 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog
, SWIG_NewClientData(obj
));
15854 return SWIG_Py_Void();
15857 SWIGINTERN PyObject
*HtmlHelpDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 return SWIG_Python_InitShadowInstance(args
);
15861 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15862 PyObject
*resultobj
= 0;
15863 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15864 wxString
*arg2
= 0 ;
15869 bool temp2
= false ;
15873 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
15874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15875 if (!SWIG_IsOK(res1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15878 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15880 arg2
= wxString_in_helper(swig_obj
[1]);
15881 if (arg2
== NULL
) SWIG_fail
;
15884 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
15885 if (!SWIG_IsOK(ecode3
)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'");
15888 arg3
= static_cast< int >(val3
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
,arg3
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15912 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
15913 PyObject
*resultobj
= 0;
15914 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15915 wxString
*arg2
= 0 ;
15919 bool temp2
= false ;
15921 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
15922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15923 if (!SWIG_IsOK(res1
)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15926 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15928 arg2
= wxString_in_helper(swig_obj
[1]);
15929 if (arg2
== NULL
) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (bool)(arg1
)->Initialize((wxString
const &)*arg2
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15955 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Initialize(PyObject
*self
, PyObject
*args
) {
15959 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_Initialize",0,3,argv
))) SWIG_fail
;
15962 return _wrap_HelpControllerBase_Initialize__SWIG_1(self
, argc
, argv
);
15965 return _wrap_HelpControllerBase_Initialize__SWIG_0(self
, argc
, argv
);
15969 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_Initialize'");
15974 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetViewer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
= 0;
15976 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
15977 wxString
*arg2
= 0 ;
15978 long arg3
= (long) 0 ;
15981 bool temp2
= false ;
15984 PyObject
* obj0
= 0 ;
15985 PyObject
* obj1
= 0 ;
15986 PyObject
* obj2
= 0 ;
15987 char * kwnames
[] = {
15988 (char *) "self",(char *) "viewer",(char *) "flags", NULL
15991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
15996 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
15998 arg2
= wxString_in_helper(obj1
);
15999 if (arg2
== NULL
) SWIG_fail
;
16003 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16004 if (!SWIG_IsOK(ecode3
)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'");
16007 arg3
= static_cast< long >(val3
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 (arg1
)->SetViewer((wxString
const &)*arg2
,arg3
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_Py_Void();
16030 SWIGINTERN PyObject
*_wrap_HelpControllerBase_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
= 0;
16032 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16033 wxString
const &arg2_defvalue
= wxEmptyString
;
16034 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16038 bool temp2
= false ;
16039 PyObject
* obj0
= 0 ;
16040 PyObject
* obj1
= 0 ;
16041 char * kwnames
[] = {
16042 (char *) "self",(char *) "file", NULL
16045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HelpControllerBase_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16047 if (!SWIG_IsOK(res1
)) {
16048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16050 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16053 arg2
= wxString_in_helper(obj1
);
16054 if (arg2
== NULL
) SWIG_fail
;
16059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16060 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16081 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16082 PyObject
*resultobj
= 0;
16083 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16087 PyObject
*swig_obj
[1] ;
16089 if (!args
) SWIG_fail
;
16090 swig_obj
[0] = args
;
16091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16092 if (!SWIG_IsOK(res1
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16095 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (bool)(arg1
)->DisplayContents();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16111 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16112 PyObject
*resultobj
= 0;
16113 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16121 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16123 if (!SWIG_IsOK(res1
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16126 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16127 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16128 if (!SWIG_IsOK(ecode2
)) {
16129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'");
16131 arg2
= static_cast< int >(val2
);
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (bool)(arg1
)->DisplaySection(arg2
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16147 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayContextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
= 0;
16149 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 PyObject
* obj1
= 0 ;
16158 char * kwnames
[] = {
16159 (char *) "self",(char *) "contextId", NULL
16162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16164 if (!SWIG_IsOK(res1
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16167 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16169 if (!SWIG_IsOK(ecode2
)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'");
16172 arg2
= static_cast< int >(val2
);
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)(arg1
)->DisplayContextPopup(arg2
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16188 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayTextPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
= 0;
16190 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16191 wxString
*arg2
= 0 ;
16192 wxPoint
*arg3
= 0 ;
16196 bool temp2
= false ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 PyObject
* obj2
= 0 ;
16201 char * kwnames
[] = {
16202 (char *) "self",(char *) "text",(char *) "pos", NULL
16205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16210 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16212 arg2
= wxString_in_helper(obj1
);
16213 if (arg2
== NULL
) SWIG_fail
;
16218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (bool)(arg1
)->DisplayTextPopup((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16244 PyObject
*resultobj
= 0;
16245 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16246 wxString
*arg2
= 0 ;
16250 bool temp2
= false ;
16252 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16254 if (!SWIG_IsOK(res1
)) {
16255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16257 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16259 arg2
= wxString_in_helper(swig_obj
[1]);
16260 if (arg2
== NULL
) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (bool)(arg1
)->DisplaySection((wxString
const &)*arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16286 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplaySection(PyObject
*self
, PyObject
*args
) {
16290 if (!(argc
= SWIG_Python_UnpackTuple(args
,"HelpControllerBase_DisplaySection",0,2,argv
))) SWIG_fail
;
16296 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
16299 if (!_v
) goto check_1
;
16300 return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self
, argc
, argv
);
16305 return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self
, argc
, argv
);
16309 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'HelpControllerBase_DisplaySection'");
16314 SWIGINTERN PyObject
*_wrap_HelpControllerBase_DisplayBlock(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
= 0;
16316 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 char * kwnames
[] = {
16326 (char *) "self",(char *) "blockNo", NULL
16329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16331 if (!SWIG_IsOK(res1
)) {
16332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16334 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16335 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16336 if (!SWIG_IsOK(ecode2
)) {
16337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'");
16339 arg2
= static_cast< long >(val2
);
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (bool)(arg1
)->DisplayBlock(arg2
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16355 SWIGINTERN PyObject
*_wrap_HelpControllerBase_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
= 0;
16357 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16358 wxString
*arg2
= 0 ;
16359 wxHelpSearchMode arg3
= (wxHelpSearchMode
) wxHELP_SEARCH_ALL
;
16363 bool temp2
= false ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 PyObject
* obj2
= 0 ;
16369 char * kwnames
[] = {
16370 (char *) "self",(char *) "k",(char *) "mode", NULL
16373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16375 if (!SWIG_IsOK(res1
)) {
16376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16378 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16380 arg2
= wxString_in_helper(obj1
);
16381 if (arg2
== NULL
) SWIG_fail
;
16386 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpSearchMode
, 0 | 0);
16387 if (!SWIG_IsOK(res3
)) {
16388 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'");
16393 wxHelpSearchMode
* temp
= reinterpret_cast< wxHelpSearchMode
* >(argp3
);
16395 if (SWIG_IsNewObj(res3
)) delete temp
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
,arg3
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16422 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
= 0;
16424 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16425 wxString
*arg2
= 0 ;
16427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16429 bool arg5
= (bool) false ;
16432 bool temp2
= false ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 PyObject
* obj2
= 0 ;
16440 PyObject
* obj3
= 0 ;
16441 PyObject
* obj4
= 0 ;
16442 char * kwnames
[] = {
16443 (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16448 if (!SWIG_IsOK(res1
)) {
16449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16451 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16453 arg2
= wxString_in_helper(obj1
);
16454 if (arg2
== NULL
) SWIG_fail
;
16459 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16468 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16469 if (!SWIG_IsOK(ecode5
)) {
16470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'");
16472 arg5
= static_cast< bool >(val5
);
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 (arg1
)->SetFrameParameters((wxString
const &)*arg2
,(wxSize
const &)*arg3
,(wxPoint
const &)*arg4
,arg5
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= SWIG_Py_Void();
16495 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetFrameParameters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
= 0;
16497 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16498 wxSize
*arg2
= (wxSize
*) NULL
;
16499 wxPoint
*arg3
= (wxPoint
*) NULL
;
16500 bool *arg4
= (bool *) NULL
;
16501 wxFrame
*result
= 0 ;
16510 PyObject
* obj0
= 0 ;
16511 PyObject
* obj1
= 0 ;
16512 PyObject
* obj2
= 0 ;
16513 PyObject
* obj3
= 0 ;
16514 char * kwnames
[] = {
16515 (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL
16518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16520 if (!SWIG_IsOK(res1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16523 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16525 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
16526 if (!SWIG_IsOK(res2
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'");
16529 arg2
= reinterpret_cast< wxSize
* >(argp2
);
16532 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16533 if (!SWIG_IsOK(res3
)) {
16534 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'");
16536 arg3
= reinterpret_cast< wxPoint
* >(argp3
);
16539 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_bool
, 0 | 0 );
16540 if (!SWIG_IsOK(res4
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'");
16543 arg4
= reinterpret_cast< bool * >(argp4
);
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (wxFrame
*)(arg1
)->GetFrameParameters(arg2
,arg3
,arg4
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= wxPyMake_wxObject(result
, 0);
16560 SWIGINTERN PyObject
*_wrap_HelpControllerBase_Quit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16561 PyObject
*resultobj
= 0;
16562 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16566 PyObject
*swig_obj
[1] ;
16568 if (!args
) SWIG_fail
;
16569 swig_obj
[0] = args
;
16570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16571 if (!SWIG_IsOK(res1
)) {
16572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16574 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (bool)(arg1
)->Quit();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16590 SWIGINTERN PyObject
*_wrap_HelpControllerBase_OnQuit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16591 PyObject
*resultobj
= 0;
16592 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16595 PyObject
*swig_obj
[1] ;
16597 if (!args
) SWIG_fail
;
16598 swig_obj
[0] = args
;
16599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16603 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_Py_Void();
16617 SWIGINTERN PyObject
*_wrap_HelpControllerBase_SetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
= 0;
16619 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16620 wxWindow
*arg2
= (wxWindow
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char * kwnames
[] = {
16628 (char *) "self",(char *) "win", NULL
16631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16633 if (!SWIG_IsOK(res1
)) {
16634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'");
16636 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16638 if (!SWIG_IsOK(res2
)) {
16639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
16641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 (arg1
)->SetParentWindow(arg2
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_Py_Void();
16655 SWIGINTERN PyObject
*_wrap_HelpControllerBase_GetParentWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16656 PyObject
*resultobj
= 0;
16657 wxHelpControllerBase
*arg1
= (wxHelpControllerBase
*) 0 ;
16658 wxWindow
*result
= 0 ;
16661 PyObject
*swig_obj
[1] ;
16663 if (!args
) SWIG_fail
;
16664 swig_obj
[0] = args
;
16665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpControllerBase
, 0 | 0 );
16666 if (!SWIG_IsOK(res1
)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'");
16669 arg1
= reinterpret_cast< wxHelpControllerBase
* >(argp1
);
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (wxWindow
*)((wxHelpControllerBase
const *)arg1
)->GetParentWindow();
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= wxPyMake_wxObject(result
, 0);
16685 SWIGINTERN PyObject
*HelpControllerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16688 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase
, SWIG_NewClientData(obj
));
16689 return SWIG_Py_Void();
16692 SWIGINTERN PyObject
*_wrap_new_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= 0;
16694 int arg1
= (int) wxHF_DEFAULT_STYLE
;
16695 wxWindow
*arg2
= (wxWindow
*) NULL
;
16696 wxHtmlHelpController
*result
= 0 ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 char * kwnames
[] = {
16704 (char *) "style",(char *) "parentWindow", NULL
16707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_HtmlHelpController",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16710 if (!SWIG_IsOK(ecode1
)) {
16711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'");
16713 arg1
= static_cast< int >(val1
);
16716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16717 if (!SWIG_IsOK(res2
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'");
16720 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16723 if (!wxPyCheckForApp()) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (wxHtmlHelpController
*)new wxHtmlHelpController(arg1
,arg2
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_NEW
| 0 );
16736 SWIGINTERN PyObject
*_wrap_delete_HtmlHelpController(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16737 PyObject
*resultobj
= 0;
16738 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16741 PyObject
*swig_obj
[1] ;
16743 if (!args
) SWIG_fail
;
16744 swig_obj
[0] = args
;
16745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, SWIG_POINTER_DISOWN
| 0 );
16746 if (!SWIG_IsOK(res1
)) {
16747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16749 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= SWIG_Py_Void();
16764 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16765 PyObject
*resultobj
= 0;
16766 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16767 wxHtmlHelpWindow
*result
= 0 ;
16770 PyObject
*swig_obj
[1] ;
16772 if (!args
) SWIG_fail
;
16773 swig_obj
[0] = args
;
16774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16775 if (!SWIG_IsOK(res1
)) {
16776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16778 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 result
= (wxHtmlHelpWindow
*)(arg1
)->GetHelpWindow();
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= wxPyMake_wxObject(result
, 0);
16794 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetHelpWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
= 0;
16796 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16797 wxHtmlHelpWindow
*arg2
= (wxHtmlHelpWindow
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 char * kwnames
[] = {
16805 (char *) "self",(char *) "helpWindow", NULL
16808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16810 if (!SWIG_IsOK(res1
)) {
16811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16813 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxHtmlHelpWindow
, 0 | 0 );
16815 if (!SWIG_IsOK(res2
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'");
16818 arg2
= reinterpret_cast< wxHtmlHelpWindow
* >(argp2
);
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->SetHelpWindow(arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_Py_Void();
16832 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16833 PyObject
*resultobj
= 0;
16834 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16835 wxHtmlHelpFrame
*result
= 0 ;
16838 PyObject
*swig_obj
[1] ;
16840 if (!args
) SWIG_fail
;
16841 swig_obj
[0] = args
;
16842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16846 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (wxHtmlHelpFrame
*)(arg1
)->GetFrame();
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= wxPyMake_wxObject(result
, 0);
16862 SWIGINTERN PyObject
*_wrap_HtmlHelpController_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16863 PyObject
*resultobj
= 0;
16864 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16865 wxHtmlHelpDialog
*result
= 0 ;
16868 PyObject
*swig_obj
[1] ;
16870 if (!args
) SWIG_fail
;
16871 swig_obj
[0] = args
;
16872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16876 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 result
= (wxHtmlHelpDialog
*)(arg1
)->GetDialog();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= wxPyMake_wxObject(result
, 0);
16892 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTitleFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
= 0;
16894 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16895 wxString
*arg2
= 0 ;
16898 bool temp2
= false ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 char * kwnames
[] = {
16902 (char *) "self",(char *) "format", NULL
16905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16907 if (!SWIG_IsOK(res1
)) {
16908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16910 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16912 arg2
= wxString_in_helper(obj1
);
16913 if (arg2
== NULL
) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 (arg1
)->SetTitleFormat((wxString
const &)*arg2
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_Py_Void();
16937 SWIGINTERN PyObject
*_wrap_HtmlHelpController_SetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
= 0;
16939 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16940 wxString
*arg2
= 0 ;
16943 bool temp2
= false ;
16944 PyObject
* obj0
= 0 ;
16945 PyObject
* obj1
= 0 ;
16946 char * kwnames
[] = {
16947 (char *) "self",(char *) "path", NULL
16950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_SetTempDir",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
16952 if (!SWIG_IsOK(res1
)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
16955 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
16957 arg2
= wxString_in_helper(obj1
);
16958 if (arg2
== NULL
) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 (arg1
)->SetTempDir((wxString
const &)*arg2
);
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16967 resultobj
= SWIG_Py_Void();
16982 SWIGINTERN PyObject
*_wrap_HtmlHelpController_AddBook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
= 0;
16984 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
16985 wxString
*arg2
= 0 ;
16986 int arg3
= (int) false ;
16990 bool temp2
= false ;
16993 PyObject
* obj0
= 0 ;
16994 PyObject
* obj1
= 0 ;
16995 PyObject
* obj2
= 0 ;
16996 char * kwnames
[] = {
16997 (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL
17000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_AddBook",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17002 if (!SWIG_IsOK(res1
)) {
17003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17005 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17007 arg2
= wxString_in_helper(obj1
);
17008 if (arg2
== NULL
) SWIG_fail
;
17012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17013 if (!SWIG_IsOK(ecode3
)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'");
17016 arg3
= static_cast< int >(val3
);
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (bool)(arg1
)->AddBook((wxString
const &)*arg2
,arg3
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17041 SWIGINTERN PyObject
*_wrap_HtmlHelpController_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
= 0;
17043 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17044 wxString
*arg2
= 0 ;
17047 bool temp2
= false ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 char * kwnames
[] = {
17051 (char *) "self",(char *) "x", NULL
17054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_Display",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17059 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17061 arg2
= wxString_in_helper(obj1
);
17062 if (arg2
== NULL
) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 (arg1
)->Display((wxString
const &)*arg2
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_Py_Void();
17086 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
= 0;
17088 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char * kwnames
[] = {
17097 (char *) "self",(char *) "id", NULL
17100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_DisplayID",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17102 if (!SWIG_IsOK(res1
)) {
17103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17105 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17107 if (!SWIG_IsOK(ecode2
)) {
17108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'");
17110 arg2
= static_cast< int >(val2
);
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 (arg1
)->Display(arg2
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= SWIG_Py_Void();
17124 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17125 PyObject
*resultobj
= 0;
17126 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17129 PyObject
*swig_obj
[1] ;
17131 if (!args
) SWIG_fail
;
17132 swig_obj
[0] = args
;
17133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17134 if (!SWIG_IsOK(res1
)) {
17135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17137 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->DisplayContents();
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= SWIG_Py_Void();
17151 SWIGINTERN PyObject
*_wrap_HtmlHelpController_DisplayIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17152 PyObject
*resultobj
= 0;
17153 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17156 PyObject
*swig_obj
[1] ;
17158 if (!args
) SWIG_fail
;
17159 swig_obj
[0] = args
;
17160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17161 if (!SWIG_IsOK(res1
)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17164 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 (arg1
)->DisplayIndex();
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= SWIG_Py_Void();
17178 SWIGINTERN PyObject
*_wrap_HtmlHelpController_KeywordSearch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
= 0;
17180 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17181 wxString
*arg2
= 0 ;
17185 bool temp2
= false ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 char * kwnames
[] = {
17189 (char *) "self",(char *) "keyword", NULL
17192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17194 if (!SWIG_IsOK(res1
)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17197 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17199 arg2
= wxString_in_helper(obj1
);
17200 if (arg2
== NULL
) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)(arg1
)->KeywordSearch((wxString
const &)*arg2
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17226 SWIGINTERN PyObject
*_wrap_HtmlHelpController_UseConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
= 0;
17228 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17229 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17230 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17236 bool temp3
= false ;
17237 PyObject
* obj0
= 0 ;
17238 PyObject
* obj1
= 0 ;
17239 PyObject
* obj2
= 0 ;
17240 char * kwnames
[] = {
17241 (char *) "self",(char *) "config",(char *) "rootpath", NULL
17244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17246 if (!SWIG_IsOK(res1
)) {
17247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17249 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17251 if (!SWIG_IsOK(res2
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17254 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17257 arg3
= wxString_in_helper(obj2
);
17258 if (arg3
== NULL
) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 (arg1
)->UseConfig(arg2
,(wxString
const &)*arg3
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_Py_Void();
17283 SWIGINTERN PyObject
*_wrap_HtmlHelpController_ReadCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
= 0;
17285 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17286 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17287 wxString arg3
= (wxString
) wxPyEmptyString
;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 PyObject
* obj2
= 0 ;
17295 char * kwnames
[] = {
17296 (char *) "self",(char *) "cfg",(char *) "path", NULL
17299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17301 if (!SWIG_IsOK(res1
)) {
17302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17304 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17306 if (!SWIG_IsOK(res2
)) {
17307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17309 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17312 wxString
* sptr
= wxString_in_helper(obj2
);
17313 if (sptr
== NULL
) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 (arg1
)->ReadCustomization(arg2
,arg3
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 resultobj
= SWIG_Py_Void();
17331 SWIGINTERN PyObject
*_wrap_HtmlHelpController_WriteCustomization(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
= 0;
17333 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17334 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
17335 wxString arg3
= (wxString
) wxPyEmptyString
;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 PyObject
* obj2
= 0 ;
17343 char * kwnames
[] = {
17344 (char *) "self",(char *) "cfg",(char *) "path", NULL
17347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17349 if (!SWIG_IsOK(res1
)) {
17350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17352 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
17354 if (!SWIG_IsOK(res2
)) {
17355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'");
17357 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
17360 wxString
* sptr
= wxString_in_helper(obj2
);
17361 if (sptr
== NULL
) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->WriteCustomization(arg2
,arg3
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_Py_Void();
17379 SWIGINTERN PyObject
*_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17380 PyObject
*resultobj
= 0;
17381 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17384 PyObject
*swig_obj
[1] ;
17386 if (!args
) SWIG_fail
;
17387 swig_obj
[0] = args
;
17388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17389 if (!SWIG_IsOK(res1
)) {
17390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17392 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 (arg1
)->MakeModalIfNeeded();
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= SWIG_Py_Void();
17406 SWIGINTERN PyObject
*_wrap_HtmlHelpController_FindTopLevelWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17407 PyObject
*resultobj
= 0;
17408 wxHtmlHelpController
*arg1
= (wxHtmlHelpController
*) 0 ;
17409 wxWindow
*result
= 0 ;
17412 PyObject
*swig_obj
[1] ;
17414 if (!args
) SWIG_fail
;
17415 swig_obj
[0] = args
;
17416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHtmlHelpController
, 0 | 0 );
17417 if (!SWIG_IsOK(res1
)) {
17418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'");
17420 arg1
= reinterpret_cast< wxHtmlHelpController
* >(argp1
);
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (wxWindow
*)(arg1
)->FindTopLevelWindow();
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= wxPyMake_wxObject(result
, 0);
17436 SWIGINTERN PyObject
*HtmlHelpController_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17439 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController
, SWIG_NewClientData(obj
));
17440 return SWIG_Py_Void();
17443 SWIGINTERN PyObject
*HtmlHelpController_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17444 return SWIG_Python_InitShadowInstance(args
);
17447 SWIGINTERN PyObject
*_wrap_new_HtmlModalHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
= 0;
17449 wxWindow
*arg1
= (wxWindow
*) 0 ;
17450 wxString
*arg2
= 0 ;
17451 wxString
const &arg3_defvalue
= wxEmptyString
;
17452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17453 int arg4
= (int) wxHF_DEFAULT_STYLE
|wxHF_DIALOG
|wxHF_MODAL
;
17454 wxHtmlModalHelp
*result
= 0 ;
17457 bool temp2
= false ;
17458 bool temp3
= false ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 PyObject
* obj2
= 0 ;
17464 PyObject
* obj3
= 0 ;
17465 char * kwnames
[] = {
17466 (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL
17469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_HtmlModalHelp",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17471 if (!SWIG_IsOK(res1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
17474 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17476 arg2
= wxString_in_helper(obj1
);
17477 if (arg2
== NULL
) SWIG_fail
;
17482 arg3
= wxString_in_helper(obj2
);
17483 if (arg3
== NULL
) SWIG_fail
;
17488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17489 if (!SWIG_IsOK(ecode4
)) {
17490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'");
17492 arg4
= static_cast< int >(val4
);
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= (wxHtmlModalHelp
*)new wxHtmlModalHelp(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHtmlModalHelp
, SWIG_POINTER_NEW
| 0 );
17523 SWIGINTERN PyObject
*HtmlModalHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17526 SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp
, SWIG_NewClientData(obj
));
17527 return SWIG_Py_Void();
17530 SWIGINTERN PyObject
*HtmlModalHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17531 return SWIG_Python_InitShadowInstance(args
);
17534 static PyMethodDef SwigMethods
[] = {
17535 { (char *)"new_HtmlLinkInfo", (PyCFunction
) _wrap_new_HtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17536 { (char *)"HtmlLinkInfo_GetHref", (PyCFunction
)_wrap_HtmlLinkInfo_GetHref
, METH_O
, NULL
},
17537 { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction
)_wrap_HtmlLinkInfo_GetTarget
, METH_O
, NULL
},
17538 { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction
)_wrap_HtmlLinkInfo_GetEvent
, METH_O
, NULL
},
17539 { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction
)_wrap_HtmlLinkInfo_GetHtmlCell
, METH_O
, NULL
},
17540 { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_HtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17541 { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_HtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17542 { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister
, METH_VARARGS
, NULL
},
17543 { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit
, METH_VARARGS
, NULL
},
17544 { (char *)"HtmlTag_GetName", (PyCFunction
)_wrap_HtmlTag_GetName
, METH_O
, NULL
},
17545 { (char *)"HtmlTag_HasParam", (PyCFunction
) _wrap_HtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17546 { (char *)"HtmlTag_GetParam", (PyCFunction
) _wrap_HtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17547 { (char *)"HtmlTag_GetAllParams", (PyCFunction
)_wrap_HtmlTag_GetAllParams
, METH_O
, NULL
},
17548 { (char *)"HtmlTag_HasEnding", (PyCFunction
)_wrap_HtmlTag_HasEnding
, METH_O
, NULL
},
17549 { (char *)"HtmlTag_GetBeginPos", (PyCFunction
)_wrap_HtmlTag_GetBeginPos
, METH_O
, NULL
},
17550 { (char *)"HtmlTag_GetEndPos1", (PyCFunction
)_wrap_HtmlTag_GetEndPos1
, METH_O
, NULL
},
17551 { (char *)"HtmlTag_GetEndPos2", (PyCFunction
)_wrap_HtmlTag_GetEndPos2
, METH_O
, NULL
},
17552 { (char *)"HtmlTag_swigregister", HtmlTag_swigregister
, METH_VARARGS
, NULL
},
17553 { (char *)"HtmlParser_SetFS", (PyCFunction
) _wrap_HtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17554 { (char *)"HtmlParser_GetFS", (PyCFunction
)_wrap_HtmlParser_GetFS
, METH_O
, NULL
},
17555 { (char *)"HtmlParser_Parse", (PyCFunction
) _wrap_HtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17556 { (char *)"HtmlParser_InitParser", (PyCFunction
) _wrap_HtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17557 { (char *)"HtmlParser_DoneParser", (PyCFunction
)_wrap_HtmlParser_DoneParser
, METH_O
, NULL
},
17558 { (char *)"HtmlParser_DoParsing", (PyCFunction
) _wrap_HtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17559 { (char *)"HtmlParser_StopParsing", (PyCFunction
)_wrap_HtmlParser_StopParsing
, METH_O
, NULL
},
17560 { (char *)"HtmlParser_AddTagHandler", (PyCFunction
) _wrap_HtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17561 { (char *)"HtmlParser_GetSource", (PyCFunction
)_wrap_HtmlParser_GetSource
, METH_O
, NULL
},
17562 { (char *)"HtmlParser_PushTagHandler", (PyCFunction
) _wrap_HtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17563 { (char *)"HtmlParser_PopTagHandler", (PyCFunction
)_wrap_HtmlParser_PopTagHandler
, METH_O
, NULL
},
17564 { (char *)"HtmlParser_GetInnerSource", (PyCFunction
) _wrap_HtmlParser_GetInnerSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17565 { (char *)"HtmlParser_swigregister", HtmlParser_swigregister
, METH_VARARGS
, NULL
},
17566 { (char *)"new_HtmlWinParser", (PyCFunction
) _wrap_new_HtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17567 { (char *)"HtmlWinParser_SetDC", (PyCFunction
) _wrap_HtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17568 { (char *)"HtmlWinParser_GetDC", (PyCFunction
)_wrap_HtmlWinParser_GetDC
, METH_O
, NULL
},
17569 { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction
)_wrap_HtmlWinParser_GetCharHeight
, METH_O
, NULL
},
17570 { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction
)_wrap_HtmlWinParser_GetCharWidth
, METH_O
, NULL
},
17571 { (char *)"HtmlWinParser_GetWindow", (PyCFunction
)_wrap_HtmlWinParser_GetWindow
, METH_O
, NULL
},
17572 { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction
)_wrap_HtmlWinParser_GetWindowInterface
, METH_O
, NULL
},
17573 { (char *)"HtmlWinParser_SetFonts", (PyCFunction
) _wrap_HtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17574 { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction
) _wrap_HtmlWinParser_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17575 { (char *)"HtmlWinParser_GetContainer", (PyCFunction
)_wrap_HtmlWinParser_GetContainer
, METH_O
, NULL
},
17576 { (char *)"HtmlWinParser_OpenContainer", (PyCFunction
)_wrap_HtmlWinParser_OpenContainer
, METH_O
, NULL
},
17577 { (char *)"HtmlWinParser_SetContainer", (PyCFunction
) _wrap_HtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17578 { (char *)"HtmlWinParser_CloseContainer", (PyCFunction
)_wrap_HtmlWinParser_CloseContainer
, METH_O
, NULL
},
17579 { (char *)"HtmlWinParser_GetFontSize", (PyCFunction
)_wrap_HtmlWinParser_GetFontSize
, METH_O
, NULL
},
17580 { (char *)"HtmlWinParser_SetFontSize", (PyCFunction
) _wrap_HtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17581 { (char *)"HtmlWinParser_GetFontBold", (PyCFunction
)_wrap_HtmlWinParser_GetFontBold
, METH_O
, NULL
},
17582 { (char *)"HtmlWinParser_SetFontBold", (PyCFunction
) _wrap_HtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17583 { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction
)_wrap_HtmlWinParser_GetFontItalic
, METH_O
, NULL
},
17584 { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_HtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17585 { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction
)_wrap_HtmlWinParser_GetFontUnderlined
, METH_O
, NULL
},
17586 { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_HtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17587 { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction
)_wrap_HtmlWinParser_GetFontFixed
, METH_O
, NULL
},
17588 { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_HtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17589 { (char *)"HtmlWinParser_GetAlign", (PyCFunction
)_wrap_HtmlWinParser_GetAlign
, METH_O
, NULL
},
17590 { (char *)"HtmlWinParser_SetAlign", (PyCFunction
) _wrap_HtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17591 { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction
)_wrap_HtmlWinParser_GetLinkColor
, METH_O
, NULL
},
17592 { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_HtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17593 { (char *)"HtmlWinParser_GetActualColor", (PyCFunction
)_wrap_HtmlWinParser_GetActualColor
, METH_O
, NULL
},
17594 { (char *)"HtmlWinParser_SetActualColor", (PyCFunction
) _wrap_HtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17595 { (char *)"HtmlWinParser_SetLink", (PyCFunction
) _wrap_HtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17596 { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction
)_wrap_HtmlWinParser_CreateCurrentFont
, METH_O
, NULL
},
17597 { (char *)"HtmlWinParser_GetLink", (PyCFunction
)_wrap_HtmlWinParser_GetLink
, METH_O
, NULL
},
17598 { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister
, METH_VARARGS
, NULL
},
17599 { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit
, METH_VARARGS
, NULL
},
17600 { (char *)"new_HtmlTagHandler", (PyCFunction
)_wrap_new_HtmlTagHandler
, METH_NOARGS
, NULL
},
17601 { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17602 { (char *)"HtmlTagHandler_SetParser", (PyCFunction
) _wrap_HtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17603 { (char *)"HtmlTagHandler_GetParser", (PyCFunction
)_wrap_HtmlTagHandler_GetParser
, METH_O
, NULL
},
17604 { (char *)"HtmlTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17605 { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister
, METH_VARARGS
, NULL
},
17606 { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit
, METH_VARARGS
, NULL
},
17607 { (char *)"new_HtmlWinTagHandler", (PyCFunction
)_wrap_new_HtmlWinTagHandler
, METH_NOARGS
, NULL
},
17608 { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_HtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17609 { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_HtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17610 { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction
)_wrap_HtmlWinTagHandler_GetParser
, METH_O
, NULL
},
17611 { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_HtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17612 { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister
, METH_VARARGS
, NULL
},
17613 { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit
, METH_VARARGS
, NULL
},
17614 { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_HtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17615 { (char *)"new_HtmlSelection", (PyCFunction
)_wrap_new_HtmlSelection
, METH_NOARGS
, NULL
},
17616 { (char *)"delete_HtmlSelection", (PyCFunction
)_wrap_delete_HtmlSelection
, METH_O
, NULL
},
17617 { (char *)"HtmlSelection_Set", (PyCFunction
) _wrap_HtmlSelection_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17618 { (char *)"HtmlSelection_SetCells", (PyCFunction
) _wrap_HtmlSelection_SetCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17619 { (char *)"HtmlSelection_GetFromCell", (PyCFunction
)_wrap_HtmlSelection_GetFromCell
, METH_O
, NULL
},
17620 { (char *)"HtmlSelection_GetToCell", (PyCFunction
)_wrap_HtmlSelection_GetToCell
, METH_O
, NULL
},
17621 { (char *)"HtmlSelection_GetFromPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPos
, METH_O
, NULL
},
17622 { (char *)"HtmlSelection_GetToPos", (PyCFunction
)_wrap_HtmlSelection_GetToPos
, METH_O
, NULL
},
17623 { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetFromPrivPos
, METH_O
, NULL
},
17624 { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction
)_wrap_HtmlSelection_GetToPrivPos
, METH_O
, NULL
},
17625 { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetFromPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17626 { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction
) _wrap_HtmlSelection_SetToPrivPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17627 { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction
)_wrap_HtmlSelection_ClearPrivPos
, METH_O
, NULL
},
17628 { (char *)"HtmlSelection_IsEmpty", (PyCFunction
)_wrap_HtmlSelection_IsEmpty
, METH_O
, NULL
},
17629 { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister
, METH_VARARGS
, NULL
},
17630 { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit
, METH_VARARGS
, NULL
},
17631 { (char *)"new_HtmlRenderingState", (PyCFunction
)_wrap_new_HtmlRenderingState
, METH_NOARGS
, NULL
},
17632 { (char *)"delete_HtmlRenderingState", (PyCFunction
)_wrap_delete_HtmlRenderingState
, METH_O
, NULL
},
17633 { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction
) _wrap_HtmlRenderingState_SetSelectionState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17634 { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction
)_wrap_HtmlRenderingState_GetSelectionState
, METH_O
, NULL
},
17635 { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetFgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17636 { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetFgColour
, METH_O
, NULL
},
17637 { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction
) _wrap_HtmlRenderingState_SetBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17638 { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction
)_wrap_HtmlRenderingState_GetBgColour
, METH_O
, NULL
},
17639 { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister
, METH_VARARGS
, NULL
},
17640 { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit
, METH_VARARGS
, NULL
},
17641 { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17642 { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction
) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17643 { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17644 { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister
, METH_VARARGS
, NULL
},
17645 { (char *)"new_HtmlRenderingInfo", (PyCFunction
)_wrap_new_HtmlRenderingInfo
, METH_NOARGS
, NULL
},
17646 { (char *)"delete_HtmlRenderingInfo", (PyCFunction
)_wrap_delete_HtmlRenderingInfo
, METH_O
, NULL
},
17647 { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction
) _wrap_HtmlRenderingInfo_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17648 { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction
)_wrap_HtmlRenderingInfo_GetSelection
, METH_O
, NULL
},
17649 { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction
) _wrap_HtmlRenderingInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17650 { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction
)_wrap_HtmlRenderingInfo_GetStyle
, METH_O
, NULL
},
17651 { (char *)"HtmlRenderingInfo_GetState", (PyCFunction
)_wrap_HtmlRenderingInfo_GetState
, METH_O
, NULL
},
17652 { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister
, METH_VARARGS
, NULL
},
17653 { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit
, METH_VARARGS
, NULL
},
17654 { (char *)"new_HtmlCell", (PyCFunction
)_wrap_new_HtmlCell
, METH_NOARGS
, NULL
},
17655 { (char *)"delete_HtmlCell", (PyCFunction
)_wrap_delete_HtmlCell
, METH_O
, NULL
},
17656 { (char *)"HtmlCell_GetPosX", (PyCFunction
)_wrap_HtmlCell_GetPosX
, METH_O
, NULL
},
17657 { (char *)"HtmlCell_GetPosY", (PyCFunction
)_wrap_HtmlCell_GetPosY
, METH_O
, NULL
},
17658 { (char *)"HtmlCell_GetWidth", (PyCFunction
)_wrap_HtmlCell_GetWidth
, METH_O
, NULL
},
17659 { (char *)"HtmlCell_GetHeight", (PyCFunction
)_wrap_HtmlCell_GetHeight
, METH_O
, NULL
},
17660 { (char *)"HtmlCell_GetDescent", (PyCFunction
)_wrap_HtmlCell_GetDescent
, METH_O
, NULL
},
17661 { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction
)_wrap_HtmlCell_GetMaxTotalWidth
, METH_O
, NULL
},
17662 { (char *)"HtmlCell_GetId", (PyCFunction
)_wrap_HtmlCell_GetId
, METH_O
, NULL
},
17663 { (char *)"HtmlCell_SetId", (PyCFunction
) _wrap_HtmlCell_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17664 { (char *)"HtmlCell_GetLink", (PyCFunction
) _wrap_HtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17665 { (char *)"HtmlCell_GetNext", (PyCFunction
)_wrap_HtmlCell_GetNext
, METH_O
, NULL
},
17666 { (char *)"HtmlCell_GetParent", (PyCFunction
)_wrap_HtmlCell_GetParent
, METH_O
, NULL
},
17667 { (char *)"HtmlCell_GetFirstChild", (PyCFunction
)_wrap_HtmlCell_GetFirstChild
, METH_O
, NULL
},
17668 { (char *)"HtmlCell_GetMouseCursor", (PyCFunction
) _wrap_HtmlCell_GetMouseCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17669 { (char *)"HtmlCell_GetCursor", (PyCFunction
)_wrap_HtmlCell_GetCursor
, METH_O
, NULL
},
17670 { (char *)"HtmlCell_IsFormattingCell", (PyCFunction
)_wrap_HtmlCell_IsFormattingCell
, METH_O
, NULL
},
17671 { (char *)"HtmlCell_SetLink", (PyCFunction
) _wrap_HtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17672 { (char *)"HtmlCell_SetNext", (PyCFunction
) _wrap_HtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17673 { (char *)"HtmlCell_SetParent", (PyCFunction
) _wrap_HtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17674 { (char *)"HtmlCell_SetPos", (PyCFunction
) _wrap_HtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17675 { (char *)"HtmlCell_Layout", (PyCFunction
) _wrap_HtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17676 { (char *)"HtmlCell_Draw", (PyCFunction
) _wrap_HtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17677 { (char *)"HtmlCell_DrawInvisible", (PyCFunction
) _wrap_HtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17678 { (char *)"HtmlCell_Find", (PyCFunction
) _wrap_HtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17679 { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction
) _wrap_HtmlCell_ProcessMouseClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17680 { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_HtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17681 { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_HtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17682 { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlCell_IsLinebreakAllowed
, METH_O
, NULL
},
17683 { (char *)"HtmlCell_IsTerminalCell", (PyCFunction
)_wrap_HtmlCell_IsTerminalCell
, METH_O
, NULL
},
17684 { (char *)"HtmlCell_FindCellByPos", (PyCFunction
) _wrap_HtmlCell_FindCellByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17685 { (char *)"HtmlCell_GetAbsPos", (PyCFunction
) _wrap_HtmlCell_GetAbsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17686 { (char *)"HtmlCell_GetRootCell", (PyCFunction
)_wrap_HtmlCell_GetRootCell
, METH_O
, NULL
},
17687 { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction
)_wrap_HtmlCell_GetFirstTerminal
, METH_O
, NULL
},
17688 { (char *)"HtmlCell_GetLastTerminal", (PyCFunction
)_wrap_HtmlCell_GetLastTerminal
, METH_O
, NULL
},
17689 { (char *)"HtmlCell_GetDepth", (PyCFunction
)_wrap_HtmlCell_GetDepth
, METH_O
, NULL
},
17690 { (char *)"HtmlCell_IsBefore", (PyCFunction
) _wrap_HtmlCell_IsBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17691 { (char *)"HtmlCell_ConvertToText", (PyCFunction
) _wrap_HtmlCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17692 { (char *)"HtmlCell_swigregister", HtmlCell_swigregister
, METH_VARARGS
, NULL
},
17693 { (char *)"HtmlCell_swiginit", HtmlCell_swiginit
, METH_VARARGS
, NULL
},
17694 { (char *)"new_HtmlWordCell", (PyCFunction
) _wrap_new_HtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17695 { (char *)"HtmlWordCell_ConvertToText", (PyCFunction
) _wrap_HtmlWordCell_ConvertToText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17696 { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction
)_wrap_HtmlWordCell_IsLinebreakAllowed
, METH_O
, NULL
},
17697 { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction
) _wrap_HtmlWordCell_SetPreviousWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17698 { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister
, METH_VARARGS
, NULL
},
17699 { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit
, METH_VARARGS
, NULL
},
17700 { (char *)"new_HtmlContainerCell", (PyCFunction
) _wrap_new_HtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17701 { (char *)"HtmlContainerCell_InsertCell", (PyCFunction
) _wrap_HtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17702 { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17703 { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignHor
, METH_O
, NULL
},
17704 { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_HtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17705 { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction
)_wrap_HtmlContainerCell_GetAlignVer
, METH_O
, NULL
},
17706 { (char *)"HtmlContainerCell_SetIndent", (PyCFunction
) _wrap_HtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17707 { (char *)"HtmlContainerCell_GetIndent", (PyCFunction
) _wrap_HtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17708 { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_HtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17709 { (char *)"HtmlContainerCell_SetAlign", (PyCFunction
) _wrap_HtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17710 { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17711 { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_HtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17712 { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_HtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17713 { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_HtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17714 { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction
)_wrap_HtmlContainerCell_GetBackgroundColour
, METH_O
, NULL
},
17715 { (char *)"HtmlContainerCell_SetBorder", (PyCFunction
) _wrap_HtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17716 { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction
)_wrap_HtmlContainerCell_GetFirstChild
, METH_O
, NULL
},
17717 { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister
, METH_VARARGS
, NULL
},
17718 { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit
, METH_VARARGS
, NULL
},
17719 { (char *)"new_HtmlColourCell", (PyCFunction
) _wrap_new_HtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17720 { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister
, METH_VARARGS
, NULL
},
17721 { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit
, METH_VARARGS
, NULL
},
17722 { (char *)"new_HtmlFontCell", (PyCFunction
) _wrap_new_HtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17723 { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister
, METH_VARARGS
, NULL
},
17724 { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit
, METH_VARARGS
, NULL
},
17725 { (char *)"new_HtmlWidgetCell", (PyCFunction
) _wrap_new_HtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17726 { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister
, METH_VARARGS
, NULL
},
17727 { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit
, METH_VARARGS
, NULL
},
17728 { (char *)"new_HtmlFilter", (PyCFunction
)_wrap_new_HtmlFilter
, METH_NOARGS
, NULL
},
17729 { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction
) _wrap_HtmlFilter__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17730 { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister
, METH_VARARGS
, NULL
},
17731 { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit
, METH_VARARGS
, NULL
},
17732 { (char *)"delete_HtmlWindowInterface", (PyCFunction
)_wrap_delete_HtmlWindowInterface
, METH_O
, NULL
},
17733 { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLWindowTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17734 { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction
) _wrap_HtmlWindowInterface_HTMLCoordsToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17735 { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLWindow
, METH_O
, NULL
},
17736 { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction
)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour
, METH_O
, NULL
},
17737 { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17738 { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17739 { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction
) _wrap_HtmlWindowInterface_SetHTMLStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17740 { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister
, METH_VARARGS
, NULL
},
17741 { (char *)"new_HtmlWindow", (PyCFunction
) _wrap_new_HtmlWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17742 { (char *)"new_PreHtmlWindow", (PyCFunction
)_wrap_new_PreHtmlWindow
, METH_NOARGS
, NULL
},
17743 { (char *)"HtmlWindow_Create", (PyCFunction
) _wrap_HtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17744 { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_HtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17745 { (char *)"HtmlWindow_SetPage", (PyCFunction
) _wrap_HtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17746 { (char *)"HtmlWindow_LoadPage", (PyCFunction
) _wrap_HtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17747 { (char *)"HtmlWindow_LoadFile", (PyCFunction
) _wrap_HtmlWindow_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17748 { (char *)"HtmlWindow_AppendToPage", (PyCFunction
) _wrap_HtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17749 { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPage
, METH_O
, NULL
},
17750 { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction
)_wrap_HtmlWindow_GetOpenedAnchor
, METH_O
, NULL
},
17751 { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction
)_wrap_HtmlWindow_GetOpenedPageTitle
, METH_O
, NULL
},
17752 { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_HtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17753 { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction
)_wrap_HtmlWindow_GetRelatedFrame
, METH_O
, NULL
},
17754 { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_HtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17755 { (char *)"HtmlWindow_SetFonts", (PyCFunction
) _wrap_HtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17756 { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction
) _wrap_HtmlWindow_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17757 { (char *)"HtmlWindow_SetBorders", (PyCFunction
) _wrap_HtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17758 { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction
) _wrap_HtmlWindow_SetBackgroundImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17759 { (char *)"HtmlWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17760 { (char *)"HtmlWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17761 { (char *)"HtmlWindow_HistoryBack", (PyCFunction
)_wrap_HtmlWindow_HistoryBack
, METH_O
, NULL
},
17762 { (char *)"HtmlWindow_HistoryForward", (PyCFunction
)_wrap_HtmlWindow_HistoryForward
, METH_O
, NULL
},
17763 { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction
)_wrap_HtmlWindow_HistoryCanBack
, METH_O
, NULL
},
17764 { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction
)_wrap_HtmlWindow_HistoryCanForward
, METH_O
, NULL
},
17765 { (char *)"HtmlWindow_HistoryClear", (PyCFunction
)_wrap_HtmlWindow_HistoryClear
, METH_O
, NULL
},
17766 { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction
)_wrap_HtmlWindow_GetInternalRepresentation
, METH_O
, NULL
},
17767 { (char *)"HtmlWindow_GetParser", (PyCFunction
)_wrap_HtmlWindow_GetParser
, METH_O
, NULL
},
17768 { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction
) _wrap_HtmlWindow_ScrollToAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17769 { (char *)"HtmlWindow_HasAnchor", (PyCFunction
) _wrap_HtmlWindow_HasAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17770 { (char *)"HtmlWindow_AddFilter", (PyCFunction
) _wrap_HtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17771 { (char *)"HtmlWindow_SelectWord", (PyCFunction
) _wrap_HtmlWindow_SelectWord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17772 { (char *)"HtmlWindow_SelectLine", (PyCFunction
) _wrap_HtmlWindow_SelectLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17773 { (char *)"HtmlWindow_SelectAll", (PyCFunction
)_wrap_HtmlWindow_SelectAll
, METH_O
, NULL
},
17774 { (char *)"HtmlWindow_SelectionToText", (PyCFunction
)_wrap_HtmlWindow_SelectionToText
, METH_O
, NULL
},
17775 { (char *)"HtmlWindow_ToText", (PyCFunction
)_wrap_HtmlWindow_ToText
, METH_O
, NULL
},
17776 { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction
) _wrap_HtmlWindow_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17777 { (char *)"HtmlWindow_OnSetTitle", (PyCFunction
) _wrap_HtmlWindow_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17778 { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction
) _wrap_HtmlWindow_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17779 { (char *)"HtmlWindow_OnCellClicked", (PyCFunction
) _wrap_HtmlWindow_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17780 { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction
) _wrap_HtmlWindow_OnOpeningURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17781 { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_HtmlWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17782 { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction
) _wrap_HtmlWindow_GetDefaultHTMLCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17783 { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister
, METH_VARARGS
, NULL
},
17784 { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit
, METH_VARARGS
, NULL
},
17785 { (char *)"new_HtmlDCRenderer", (PyCFunction
)_wrap_new_HtmlDCRenderer
, METH_NOARGS
, NULL
},
17786 { (char *)"delete_HtmlDCRenderer", (PyCFunction
)_wrap_delete_HtmlDCRenderer
, METH_O
, NULL
},
17787 { (char *)"HtmlDCRenderer_SetDC", (PyCFunction
) _wrap_HtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17788 { (char *)"HtmlDCRenderer_SetSize", (PyCFunction
) _wrap_HtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17789 { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_HtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17790 { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17791 { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction
) _wrap_HtmlDCRenderer_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17792 { (char *)"HtmlDCRenderer_Render", (PyCFunction
) _wrap_HtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17793 { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction
)_wrap_HtmlDCRenderer_GetTotalHeight
, METH_O
, NULL
},
17794 { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister
, METH_VARARGS
, NULL
},
17795 { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit
, METH_VARARGS
, NULL
},
17796 { (char *)"new_HtmlPrintout", (PyCFunction
) _wrap_new_HtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17797 { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17798 { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_HtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17799 { (char *)"HtmlPrintout_SetHeader", (PyCFunction
) _wrap_HtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17800 { (char *)"HtmlPrintout_SetFooter", (PyCFunction
) _wrap_HtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17801 { (char *)"HtmlPrintout_SetFonts", (PyCFunction
) _wrap_HtmlPrintout_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17802 { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction
) _wrap_HtmlPrintout_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17803 { (char *)"HtmlPrintout_SetMargins", (PyCFunction
) _wrap_HtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17804 { (char *)"HtmlPrintout_AddFilter", (PyCFunction
) _wrap_HtmlPrintout_AddFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17805 { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction
)_wrap_HtmlPrintout_CleanUpStatics
, METH_NOARGS
, NULL
},
17806 { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister
, METH_VARARGS
, NULL
},
17807 { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit
, METH_VARARGS
, NULL
},
17808 { (char *)"new_HtmlEasyPrinting", (PyCFunction
) _wrap_new_HtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17809 { (char *)"delete_HtmlEasyPrinting", (PyCFunction
)_wrap_delete_HtmlEasyPrinting
, METH_O
, NULL
},
17810 { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17811 { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_HtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17812 { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17813 { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_HtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17814 { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction
)_wrap_HtmlEasyPrinting_PageSetup
, METH_O
, NULL
},
17815 { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_HtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17816 { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17817 { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17818 { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction
) _wrap_HtmlEasyPrinting_SetStandardFonts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17819 { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPrintData
, METH_O
, NULL
},
17820 { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction
)_wrap_HtmlEasyPrinting_GetPageSetupData
, METH_O
, NULL
},
17821 { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister
, METH_VARARGS
, NULL
},
17822 { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit
, METH_VARARGS
, NULL
},
17823 { (char *)"new_HtmlBookRecord", (PyCFunction
) _wrap_new_HtmlBookRecord
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17824 { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction
)_wrap_HtmlBookRecord_GetBookFile
, METH_O
, NULL
},
17825 { (char *)"HtmlBookRecord_GetTitle", (PyCFunction
)_wrap_HtmlBookRecord_GetTitle
, METH_O
, NULL
},
17826 { (char *)"HtmlBookRecord_GetStart", (PyCFunction
)_wrap_HtmlBookRecord_GetStart
, METH_O
, NULL
},
17827 { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction
)_wrap_HtmlBookRecord_GetBasePath
, METH_O
, NULL
},
17828 { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction
) _wrap_HtmlBookRecord_SetContentsRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17829 { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsStart
, METH_O
, NULL
},
17830 { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction
)_wrap_HtmlBookRecord_GetContentsEnd
, METH_O
, NULL
},
17831 { (char *)"HtmlBookRecord_SetTitle", (PyCFunction
) _wrap_HtmlBookRecord_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17832 { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction
) _wrap_HtmlBookRecord_SetBasePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17833 { (char *)"HtmlBookRecord_SetStart", (PyCFunction
) _wrap_HtmlBookRecord_SetStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17834 { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction
) _wrap_HtmlBookRecord_GetFullPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17835 { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister
, METH_VARARGS
, NULL
},
17836 { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit
, METH_VARARGS
, NULL
},
17837 { (char *)"HtmlSearchStatus_Search", (PyCFunction
)_wrap_HtmlSearchStatus_Search
, METH_O
, NULL
},
17838 { (char *)"HtmlSearchStatus_IsActive", (PyCFunction
)_wrap_HtmlSearchStatus_IsActive
, METH_O
, NULL
},
17839 { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetCurIndex
, METH_O
, NULL
},
17840 { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction
)_wrap_HtmlSearchStatus_GetMaxIndex
, METH_O
, NULL
},
17841 { (char *)"HtmlSearchStatus_GetName", (PyCFunction
)_wrap_HtmlSearchStatus_GetName
, METH_O
, NULL
},
17842 { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister
, METH_VARARGS
, NULL
},
17843 { (char *)"new_HtmlHelpData", (PyCFunction
)_wrap_new_HtmlHelpData
, METH_NOARGS
, NULL
},
17844 { (char *)"delete_HtmlHelpData", (PyCFunction
)_wrap_delete_HtmlHelpData
, METH_O
, NULL
},
17845 { (char *)"HtmlHelpData_SetTempDir", (PyCFunction
) _wrap_HtmlHelpData_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17846 { (char *)"HtmlHelpData_AddBook", (PyCFunction
) _wrap_HtmlHelpData_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17847 { (char *)"HtmlHelpData_FindPageByName", (PyCFunction
) _wrap_HtmlHelpData_FindPageByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17848 { (char *)"HtmlHelpData_FindPageById", (PyCFunction
) _wrap_HtmlHelpData_FindPageById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17849 { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction
)_wrap_HtmlHelpData_GetBookRecArray
, METH_O
, NULL
},
17850 { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister
, METH_VARARGS
, NULL
},
17851 { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit
, METH_VARARGS
, NULL
},
17852 { (char *)"new_HtmlHelpWindow", (PyCFunction
) _wrap_new_HtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17853 { (char *)"new_PreHtmlHelpWindow", (PyCFunction
) _wrap_new_PreHtmlHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17854 { (char *)"HtmlHelpWindow_Create", (PyCFunction
) _wrap_HtmlHelpWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17855 { (char *)"HtmlHelpWindow_GetData", (PyCFunction
)_wrap_HtmlHelpWindow_GetData
, METH_O
, NULL
},
17856 { (char *)"HtmlHelpWindow_GetController", (PyCFunction
)_wrap_HtmlHelpWindow_GetController
, METH_O
, NULL
},
17857 { (char *)"HtmlHelpWindow_SetController", (PyCFunction
) _wrap_HtmlHelpWindow_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17858 { (char *)"HtmlHelpWindow_Display", (PyCFunction
) _wrap_HtmlHelpWindow_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17859 { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction
) _wrap_HtmlHelpWindow_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17860 { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayContents
, METH_O
, NULL
},
17861 { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpWindow_DisplayIndex
, METH_O
, NULL
},
17862 { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpWindow_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17863 { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction
) _wrap_HtmlHelpWindow_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17864 { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17865 { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17866 { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction
)_wrap_HtmlHelpWindow_NotifyPageChanged
, METH_O
, NULL
},
17867 { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction
)_wrap_HtmlHelpWindow_RefreshLists
, METH_O
, NULL
},
17868 { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetHtmlWindow
, METH_O
, NULL
},
17869 { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction
)_wrap_HtmlHelpWindow_GetSplitterWindow
, METH_O
, NULL
},
17870 { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction
)_wrap_HtmlHelpWindow_GetToolBar
, METH_O
, NULL
},
17871 { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction
)_wrap_HtmlHelpWindow_GetCfgData
, METH_O
, NULL
},
17872 { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction
)_wrap_HtmlHelpWindow_GetTreeCtrl
, METH_O
, NULL
},
17873 { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister
, METH_VARARGS
, NULL
},
17874 { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit
, METH_VARARGS
, NULL
},
17875 { (char *)"new_HtmlWindowEvent", (PyCFunction
) _wrap_new_HtmlWindowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17876 { (char *)"HtmlWindowEvent_SetURL", (PyCFunction
) _wrap_HtmlWindowEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17877 { (char *)"HtmlWindowEvent_GetURL", (PyCFunction
)_wrap_HtmlWindowEvent_GetURL
, METH_O
, NULL
},
17878 { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister
, METH_VARARGS
, NULL
},
17879 { (char *)"HtmlWindowEvent_swiginit", HtmlWindowEvent_swiginit
, METH_VARARGS
, NULL
},
17880 { (char *)"new_HtmlHelpFrame", (PyCFunction
) _wrap_new_HtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17881 { (char *)"new_PreHtmlHelpFrame", (PyCFunction
) _wrap_new_PreHtmlHelpFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"HtmlHelpFrame_Create", (PyCFunction
) _wrap_HtmlHelpFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17883 { (char *)"HtmlHelpFrame_GetData", (PyCFunction
)_wrap_HtmlHelpFrame_GetData
, METH_O
, NULL
},
17884 { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpFrame_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction
)_wrap_HtmlHelpFrame_AddGrabIfNeeded
, METH_O
, NULL
},
17886 { (char *)"HtmlHelpFrame_GetController", (PyCFunction
)_wrap_HtmlHelpFrame_GetController
, METH_O
, NULL
},
17887 { (char *)"HtmlHelpFrame_SetController", (PyCFunction
) _wrap_HtmlHelpFrame_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17888 { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpFrame_GetHelpWindow
, METH_O
, NULL
},
17889 { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister
, METH_VARARGS
, NULL
},
17890 { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit
, METH_VARARGS
, NULL
},
17891 { (char *)"new_HtmlHelpDialog", (PyCFunction
) _wrap_new_HtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17892 { (char *)"new_PreHtmlHelpDialog", (PyCFunction
) _wrap_new_PreHtmlHelpDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17893 { (char *)"HtmlHelpDialog_Create", (PyCFunction
) _wrap_HtmlHelpDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17894 { (char *)"HtmlHelpDialog_GetData", (PyCFunction
)_wrap_HtmlHelpDialog_GetData
, METH_O
, NULL
},
17895 { (char *)"HtmlHelpDialog_GetController", (PyCFunction
)_wrap_HtmlHelpDialog_GetController
, METH_O
, NULL
},
17896 { (char *)"HtmlHelpDialog_SetController", (PyCFunction
) _wrap_HtmlHelpDialog_SetController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17897 { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpDialog_GetHelpWindow
, METH_O
, NULL
},
17898 { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpDialog_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17899 { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister
, METH_VARARGS
, NULL
},
17900 { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit
, METH_VARARGS
, NULL
},
17901 { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize
, METH_VARARGS
, NULL
},
17902 { (char *)"HelpControllerBase_SetViewer", (PyCFunction
) _wrap_HelpControllerBase_SetViewer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17903 { (char *)"HelpControllerBase_LoadFile", (PyCFunction
) _wrap_HelpControllerBase_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17904 { (char *)"HelpControllerBase_DisplayContents", (PyCFunction
)_wrap_HelpControllerBase_DisplayContents
, METH_O
, NULL
},
17905 { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayContextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17906 { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction
) _wrap_HelpControllerBase_DisplayTextPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection
, METH_VARARGS
, NULL
},
17908 { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction
) _wrap_HelpControllerBase_DisplayBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17909 { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction
) _wrap_HelpControllerBase_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17910 { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_SetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17911 { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction
) _wrap_HelpControllerBase_GetFrameParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17912 { (char *)"HelpControllerBase_Quit", (PyCFunction
)_wrap_HelpControllerBase_Quit
, METH_O
, NULL
},
17913 { (char *)"HelpControllerBase_OnQuit", (PyCFunction
)_wrap_HelpControllerBase_OnQuit
, METH_O
, NULL
},
17914 { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction
) _wrap_HelpControllerBase_SetParentWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17915 { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction
)_wrap_HelpControllerBase_GetParentWindow
, METH_O
, NULL
},
17916 { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister
, METH_VARARGS
, NULL
},
17917 { (char *)"new_HtmlHelpController", (PyCFunction
) _wrap_new_HtmlHelpController
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17918 { (char *)"delete_HtmlHelpController", (PyCFunction
)_wrap_delete_HtmlHelpController
, METH_O
, NULL
},
17919 { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction
)_wrap_HtmlHelpController_GetHelpWindow
, METH_O
, NULL
},
17920 { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction
) _wrap_HtmlHelpController_SetHelpWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17921 { (char *)"HtmlHelpController_GetFrame", (PyCFunction
)_wrap_HtmlHelpController_GetFrame
, METH_O
, NULL
},
17922 { (char *)"HtmlHelpController_GetDialog", (PyCFunction
)_wrap_HtmlHelpController_GetDialog
, METH_O
, NULL
},
17923 { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction
) _wrap_HtmlHelpController_SetTitleFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17924 { (char *)"HtmlHelpController_SetTempDir", (PyCFunction
) _wrap_HtmlHelpController_SetTempDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17925 { (char *)"HtmlHelpController_AddBook", (PyCFunction
) _wrap_HtmlHelpController_AddBook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17926 { (char *)"HtmlHelpController_Display", (PyCFunction
) _wrap_HtmlHelpController_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17927 { (char *)"HtmlHelpController_DisplayID", (PyCFunction
) _wrap_HtmlHelpController_DisplayID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17928 { (char *)"HtmlHelpController_DisplayContents", (PyCFunction
)_wrap_HtmlHelpController_DisplayContents
, METH_O
, NULL
},
17929 { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction
)_wrap_HtmlHelpController_DisplayIndex
, METH_O
, NULL
},
17930 { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction
) _wrap_HtmlHelpController_KeywordSearch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17931 { (char *)"HtmlHelpController_UseConfig", (PyCFunction
) _wrap_HtmlHelpController_UseConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17932 { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction
) _wrap_HtmlHelpController_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17933 { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction
) _wrap_HtmlHelpController_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction
)_wrap_HtmlHelpController_MakeModalIfNeeded
, METH_O
, NULL
},
17935 { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction
)_wrap_HtmlHelpController_FindTopLevelWindow
, METH_O
, NULL
},
17936 { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister
, METH_VARARGS
, NULL
},
17937 { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit
, METH_VARARGS
, NULL
},
17938 { (char *)"new_HtmlModalHelp", (PyCFunction
) _wrap_new_HtmlModalHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17939 { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister
, METH_VARARGS
, NULL
},
17940 { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit
, METH_VARARGS
, NULL
},
17941 { NULL
, NULL
, 0, NULL
}
17945 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17947 static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x
) {
17948 return (void *)((wxHtmlRenderingStyle
*) ((wxDefaultHtmlRenderingStyle
*) x
));
17950 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
17951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17953 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
17954 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
17956 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
17957 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
17959 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
17960 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
17962 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
17963 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
17965 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
17966 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
17968 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
17969 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17971 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
17972 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
17974 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
17975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
17977 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
17978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17980 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
17981 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
17983 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
17984 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17986 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
17987 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17989 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
17990 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
17992 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
17993 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17995 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
17996 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17998 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
17999 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
18001 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
18002 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
18004 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
18005 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
18007 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
18008 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
18010 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
18011 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
18013 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
18014 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
18016 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
18017 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
18019 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
18020 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
18022 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
18023 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18025 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
18026 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18028 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
18029 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18031 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
18032 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18034 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
18035 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18037 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
18038 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
18040 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
18041 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
18043 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
18044 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18046 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
18047 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
18049 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
18050 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18052 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
18053 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
18055 static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x
) {
18056 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18058 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
18059 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
18061 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
18062 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18064 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
18065 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18067 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
18068 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18070 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
18071 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
18073 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
18074 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
18076 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
18077 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18079 static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x
) {
18080 return (void *)((wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18082 static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x
) {
18083 return (void *)((wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18085 static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x
) {
18086 return (void *)((wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18088 static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x
) {
18089 return (void *)((wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18091 static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x
) {
18092 return (void *)((wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18094 static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x
) {
18095 return (void *)((wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18097 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
18098 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18100 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
18101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18103 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
18104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18106 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
18107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18109 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
18110 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
18112 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
18113 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
18115 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
18116 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
18118 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
18119 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
18121 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
18122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18124 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
18125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18127 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
18128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18130 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
18131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18133 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
18134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18136 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
18137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18139 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
18140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18142 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
18143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18145 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
18146 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
18148 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
18149 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
18151 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
18152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18154 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
18155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18157 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
18158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18160 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
18161 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
18163 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
18164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18166 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
18167 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
18169 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
18170 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
18172 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
18173 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
18175 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
18176 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
18178 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
18179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18181 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
18182 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
18184 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
18185 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
18187 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
18188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18190 static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x
) {
18191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18193 static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x
) {
18194 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18196 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
18197 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
18199 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
18200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18202 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
18203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18205 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
18206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18208 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
18209 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
18211 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
18212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18214 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
18215 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
18217 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
18218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18220 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
18221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18223 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
18224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18226 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18229 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
18230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18232 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
18233 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18235 static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x
) {
18236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18238 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
18239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18241 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
18242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18244 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
18245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18247 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
18248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18250 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
18251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18253 static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x
) {
18254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18256 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
18257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18259 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x
) {
18260 return (void *)((wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18262 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
18263 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
18265 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
18266 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
18268 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
18269 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
18271 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
18272 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18274 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
18275 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
18277 static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x
) {
18278 return (void *)((wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18280 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
18281 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
18283 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
18284 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
18286 static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x
) {
18287 return (void *)((wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18289 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18292 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
18293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18295 static void *_p_wxEventTo_p_wxObject(void *x
) {
18296 return (void *)((wxObject
*) ((wxEvent
*) x
));
18298 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
18299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
18301 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18302 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18304 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18305 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18307 static void *_p_wxHtmlFontCellTo_p_wxObject(void *x
) {
18308 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlFontCell
*) x
));
18310 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
18311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18313 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
18314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18316 static void *_p_wxHtmlTagTo_p_wxObject(void *x
) {
18317 return (void *)((wxObject
*) ((wxHtmlTag
*) x
));
18319 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18320 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18322 static void *_p_wxImageTo_p_wxObject(void *x
) {
18323 return (void *)((wxObject
*) ((wxImage
*) x
));
18325 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18326 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18328 static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x
) {
18329 return (void *)((wxObject
*) ((wxPyHtmlFilter
*) x
));
18331 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
18332 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
18334 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
18335 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
18337 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18338 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18340 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
18341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18343 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
18344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
18346 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
18347 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
18349 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18350 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18352 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18355 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18356 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18358 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18359 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18361 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18362 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18364 static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x
) {
18365 return (void *)((wxObject
*) ((wxHtmlEasyPrinting
*) x
));
18367 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18370 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
18371 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
18373 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
18374 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
18376 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
18377 return (void *)((wxObject
*) ((wxPrinter
*) x
));
18379 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18382 static void *_p_wxHtmlWinParserTo_p_wxObject(void *x
) {
18383 return (void *)((wxObject
*) (wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
18385 static void *_p_wxHtmlParserTo_p_wxObject(void *x
) {
18386 return (void *)((wxObject
*) ((wxHtmlParser
*) x
));
18388 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18389 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18391 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18392 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18394 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18395 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18397 static void *_p_wxControlTo_p_wxObject(void *x
) {
18398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18400 static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x
) {
18401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18403 static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x
) {
18404 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWidgetCell
*) x
));
18406 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
18407 return (void *)((wxObject
*) ((wxColourData
*) x
));
18409 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18410 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18412 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18413 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18415 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18416 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18418 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18419 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18421 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18422 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18424 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18425 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18427 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18430 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18431 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18433 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
18434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
18436 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
18437 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
18439 static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x
) {
18440 return (void *)((wxObject
*) (wxPyPrintout
*) ((wxHtmlPrintout
*) x
));
18442 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
18443 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
18445 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
18446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18448 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
18449 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
18451 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18452 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18454 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18455 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18457 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18460 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
18461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
18463 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
18464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18466 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
18467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18469 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
18470 return (void *)((wxObject
*) ((wxPrintData
*) x
));
18472 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
18473 return (void *)((wxObject
*) ((wxFontData
*) x
));
18475 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
18476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18478 static void *_p_wxFrameTo_p_wxObject(void *x
) {
18479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
18481 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
18482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
18484 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
18485 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
18487 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
18488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18490 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18491 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18493 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
18494 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
18496 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
18497 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
18499 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18500 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18502 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18503 return (void *)((wxObject
*) ((wxSizer
*) x
));
18505 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18506 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18508 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18509 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18511 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18512 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18514 static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x
) {
18515 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlContainerCell
*) x
));
18517 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18518 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18520 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18521 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18523 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18524 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18526 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
18527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
18529 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18530 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18532 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18533 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18535 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18536 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18538 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18539 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18541 static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x
) {
18542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18544 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
18545 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
18547 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
18548 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
18550 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
18551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18553 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
18554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18556 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
18557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18559 static void *_p_wxDialogTo_p_wxObject(void *x
) {
18560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
18562 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18565 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18566 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18568 static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x
) {
18569 return (void *)((wxObject
*) (wxPyHtmlTagHandler
*) ((wxPyHtmlWinTagHandler
*) x
));
18571 static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x
) {
18572 return (void *)((wxObject
*) ((wxPyHtmlTagHandler
*) x
));
18574 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18575 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18577 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18580 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18583 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18584 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18586 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
18587 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
18589 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18590 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18592 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18593 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18595 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18596 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18598 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18599 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18601 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18602 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18604 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18605 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18607 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18608 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18610 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18613 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18614 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18616 static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x
) {
18617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
18619 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18620 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18622 static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x
) {
18623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18625 static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x
) {
18626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18628 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
18629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18631 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
18632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
18634 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
18635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18637 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
18638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18640 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
18641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18643 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
18644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
18646 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
18647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18649 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
18650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
18652 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
18653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
18655 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
18656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
18658 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
18659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
18661 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
18662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
18664 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18665 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18667 static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x
) {
18668 return (void *)((wxObject
*) ((wxHelpControllerBase
*) x
));
18670 static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x
) {
18671 return (void *)((wxObject
*) ((wxHtmlDCRenderer
*) x
));
18673 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
18674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18676 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
18677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18679 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
18680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18682 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
18683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18685 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
18686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18688 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
18689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18691 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
18692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18694 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
18695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18697 static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x
) {
18698 return (void *)((wxObject
*) ((wxHtmlLinkInfo
*) x
));
18700 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
18701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
18703 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18704 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18706 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18707 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18709 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18710 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18712 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18715 static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
18718 static void *_p_wxPanelTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
18721 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
18724 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18725 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18727 static void *_p_wxHtmlCellTo_p_wxObject(void *x
) {
18728 return (void *)((wxObject
*) ((wxHtmlCell
*) x
));
18730 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18731 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18733 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18736 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18739 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18742 static void *_p_wxHtmlColourCellTo_p_wxObject(void *x
) {
18743 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlColourCell
*) x
));
18745 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
18746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
18748 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18749 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18751 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18754 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18757 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18760 static void *_p_wxHtmlWordCellTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxHtmlCell
*) ((wxHtmlWordCell
*) x
));
18763 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18766 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
18767 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
18769 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
18770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
18772 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
18773 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
18775 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18776 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18778 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
18779 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
18781 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
18782 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
18784 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
18785 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
18787 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
18788 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18790 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
18791 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
18793 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
18794 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18796 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
18797 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18799 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
18800 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
18802 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
18803 return (void *)((wxWindow
*) ((wxPanel
*) x
));
18805 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
18806 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
18808 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
18809 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
18811 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
18812 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
18814 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
18815 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
18817 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
18818 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
18820 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
18821 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
18823 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
18824 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
18826 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
18827 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
18829 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
18830 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
18832 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
18833 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
18835 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
18836 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
18838 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
18839 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
18841 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
18842 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18844 static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x
) {
18845 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18847 static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x
) {
18848 return (void *)((wxWindow
*) ((wxHtmlHelpWindow
*) x
));
18850 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18851 return (void *)((wxWindow
*) ((wxControl
*) x
));
18853 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
18854 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
18856 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
18857 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18859 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
18860 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
18862 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18863 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18865 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
18866 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
18868 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
18869 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18871 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
18872 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
18874 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
18875 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
18877 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
18878 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
18880 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
18881 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
18883 static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x
) {
18884 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18886 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
18887 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
18889 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
18890 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
18892 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
18893 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
18895 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
18896 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
18898 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
18899 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
18901 static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x
) {
18902 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18904 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
18905 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
18907 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
18908 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
18910 static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x
) {
18911 return (void *)((wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
18913 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
18914 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
18916 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
18917 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
18919 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
18920 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
18922 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
18923 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
18925 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
18926 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
18928 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
18929 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
18931 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
18932 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
18934 static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x
) {
18935 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18937 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
18938 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
18940 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
18941 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
18943 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
18944 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
18946 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
18947 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
18949 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
18950 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
18952 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18953 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
18955 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
18956 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
18958 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18959 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
18961 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
18962 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18964 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
18965 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
18967 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
18968 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
18970 static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x
) {
18971 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxHtmlHelpFrame
*) x
));
18973 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18974 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
18976 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
18977 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
18979 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
18980 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
18982 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
18983 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
18985 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
18986 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
18988 static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x
) {
18989 return (void *)((wxDialog
*) ((wxHtmlHelpDialog
*) x
));
18991 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
18992 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
18994 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
18995 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
18997 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
18998 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
19000 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
19001 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
19003 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
19004 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
19006 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
19007 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
19009 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
19010 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
19012 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
19013 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
19015 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
19016 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
19018 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
19019 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
19021 static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x
) {
19022 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyHtmlWindow
*) x
));
19024 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
19025 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
19027 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
19028 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
19030 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
19031 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
19033 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
19034 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
19036 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
19037 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
19039 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
19040 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
19042 static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x
) {
19043 return (void *)((wxHtmlParser
*) ((wxHtmlWinParser
*) x
));
19045 static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x
) {
19046 return (void *)((wxHelpControllerBase
*) ((wxHtmlHelpController
*) x
));
19048 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
19049 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19051 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
19052 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
19054 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
19055 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19057 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
19058 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
19060 static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x
) {
19061 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxHtmlWindowEvent
*) x
));
19063 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
19064 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19066 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
19067 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
19069 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
19070 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19072 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
19073 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19075 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
19076 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
19078 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
19079 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19081 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
19082 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19084 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
19085 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
19087 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
19088 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
19089 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};
19090 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
19091 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
19092 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
19093 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
19094 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
19095 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
19096 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
19097 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
19098 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
19099 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
19100 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
19101 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
19102 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
19103 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
19104 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
19105 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
19106 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
19107 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
19108 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
19109 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
19110 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
19111 static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle
= {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19112 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
19113 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
19114 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
19115 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
19116 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
19117 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
19118 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
19119 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
19120 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
19121 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
19122 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
19123 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
19124 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
19125 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
19126 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
19127 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
19128 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
19129 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
19130 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
19131 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
19132 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
19133 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
19134 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
19135 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
19136 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
19137 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
19138 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
19139 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
19140 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
19141 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
19142 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
19143 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
19144 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
19145 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
19146 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
19147 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
19148 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
19149 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
19150 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
19151 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
19152 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
19153 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
19154 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
19155 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
19156 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
19157 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
19158 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
19159 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
19160 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
19161 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
19162 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
19163 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
19164 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
19165 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
19166 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
19167 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
19168 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
19169 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
19170 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
19171 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
19172 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
19173 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
19174 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
19175 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
19176 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
19177 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
19178 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
19179 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
19180 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
19181 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
19182 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
19183 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
19184 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
19185 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
19186 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
19187 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
19188 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
19189 static swig_type_info _swigt__p_wxHelpControllerBase
= {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0};
19190 static swig_type_info _swigt__p_wxHelpSearchMode
= {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0};
19191 static swig_type_info _swigt__p_wxHtmlBookRecArray
= {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0};
19192 static swig_type_info _swigt__p_wxHtmlBookRecord
= {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0};
19193 static swig_type_info _swigt__p_wxHtmlCell
= {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0};
19194 static swig_type_info _swigt__p_wxHtmlColourCell
= {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0};
19195 static swig_type_info _swigt__p_wxHtmlContainerCell
= {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0};
19196 static swig_type_info _swigt__p_wxHtmlDCRenderer
= {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0};
19197 static swig_type_info _swigt__p_wxHtmlEasyPrinting
= {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0};
19198 static swig_type_info _swigt__p_wxHtmlFilter
= {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0};
19199 static swig_type_info _swigt__p_wxHtmlFontCell
= {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0};
19200 static swig_type_info _swigt__p_wxHtmlHelpController
= {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0};
19201 static swig_type_info _swigt__p_wxHtmlHelpData
= {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0};
19202 static swig_type_info _swigt__p_wxHtmlHelpDialog
= {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0};
19203 static swig_type_info _swigt__p_wxHtmlHelpFrame
= {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0};
19204 static swig_type_info _swigt__p_wxHtmlHelpFrameCfg
= {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0};
19205 static swig_type_info _swigt__p_wxHtmlHelpWindow
= {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0};
19206 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
19207 static swig_type_info _swigt__p_wxHtmlModalHelp
= {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0};
19208 static swig_type_info _swigt__p_wxHtmlParser
= {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0};
19209 static swig_type_info _swigt__p_wxHtmlPrintout
= {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0};
19210 static swig_type_info _swigt__p_wxHtmlRenderingInfo
= {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0};
19211 static swig_type_info _swigt__p_wxHtmlRenderingState
= {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0};
19212 static swig_type_info _swigt__p_wxHtmlRenderingStyle
= {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0};
19213 static swig_type_info _swigt__p_wxHtmlSearchStatus
= {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0};
19214 static swig_type_info _swigt__p_wxHtmlSelection
= {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0};
19215 static swig_type_info _swigt__p_wxHtmlTag
= {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0};
19216 static swig_type_info _swigt__p_wxHtmlTagHandler
= {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0};
19217 static swig_type_info _swigt__p_wxHtmlWidgetCell
= {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0};
19218 static swig_type_info _swigt__p_wxHtmlWinParser
= {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0};
19219 static swig_type_info _swigt__p_wxHtmlWindow
= {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, (void*)0, 0};
19220 static swig_type_info _swigt__p_wxHtmlWindowEvent
= {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, (void*)0, 0};
19221 static swig_type_info _swigt__p_wxHtmlWindowInterface
= {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0};
19222 static swig_type_info _swigt__p_wxHtmlWordCell
= {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0};
19223 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
19224 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
19225 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
19226 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
19227 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
19228 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
19229 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
19230 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
19231 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
19232 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
19233 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
19234 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
19235 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
19236 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
19237 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
19238 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
19239 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
19240 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
19241 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
19242 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
19243 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
19244 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
19245 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
19246 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
19247 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
19248 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
19249 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
19250 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
19251 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
19252 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
19253 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
19254 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
19255 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
19256 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
19257 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
19258 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
19259 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
19260 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
19261 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
19262 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
19263 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
19264 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
19265 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
19266 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
19267 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
19268 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
19269 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
19270 static swig_type_info _swigt__p_wxPyHtmlFilter
= {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0};
19271 static swig_type_info _swigt__p_wxPyHtmlTagHandler
= {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0};
19272 static swig_type_info _swigt__p_wxPyHtmlWinTagHandler
= {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0};
19273 static swig_type_info _swigt__p_wxPyHtmlWindow
= {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0};
19274 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
19275 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
19276 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
19277 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
19278 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
19279 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
19280 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
19281 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
19282 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
19284 static swig_type_info
*swig_type_initial
[] = {
19287 &_swigt__p_form_ops_t
,
19289 &_swigt__p_unsigned_char
,
19290 &_swigt__p_unsigned_int
,
19291 &_swigt__p_unsigned_long
,
19292 &_swigt__p_wxANIHandler
,
19293 &_swigt__p_wxAcceleratorTable
,
19294 &_swigt__p_wxActivateEvent
,
19295 &_swigt__p_wxBMPHandler
,
19296 &_swigt__p_wxBitmap
,
19297 &_swigt__p_wxBoxSizer
,
19298 &_swigt__p_wxCURHandler
,
19299 &_swigt__p_wxCalculateLayoutEvent
,
19300 &_swigt__p_wxChildFocusEvent
,
19301 &_swigt__p_wxCloseEvent
,
19302 &_swigt__p_wxColour
,
19303 &_swigt__p_wxColourData
,
19304 &_swigt__p_wxColourDialog
,
19305 &_swigt__p_wxCommandEvent
,
19306 &_swigt__p_wxConfigBase
,
19307 &_swigt__p_wxContextMenuEvent
,
19308 &_swigt__p_wxControl
,
19309 &_swigt__p_wxControlWithItems
,
19310 &_swigt__p_wxCursor
,
19312 &_swigt__p_wxDateEvent
,
19313 &_swigt__p_wxDefaultHtmlRenderingStyle
,
19314 &_swigt__p_wxDialog
,
19315 &_swigt__p_wxDirDialog
,
19316 &_swigt__p_wxDisplayChangedEvent
,
19317 &_swigt__p_wxDropFilesEvent
,
19318 &_swigt__p_wxDuplexMode
,
19319 &_swigt__p_wxEraseEvent
,
19320 &_swigt__p_wxEvent
,
19321 &_swigt__p_wxEvtHandler
,
19322 &_swigt__p_wxFSFile
,
19323 &_swigt__p_wxFileDialog
,
19324 &_swigt__p_wxFileSystem
,
19325 &_swigt__p_wxFindDialogEvent
,
19326 &_swigt__p_wxFindReplaceData
,
19327 &_swigt__p_wxFindReplaceDialog
,
19328 &_swigt__p_wxFlexGridSizer
,
19329 &_swigt__p_wxFocusEvent
,
19331 &_swigt__p_wxFontData
,
19332 &_swigt__p_wxFontDialog
,
19333 &_swigt__p_wxFrame
,
19334 &_swigt__p_wxGBSizerItem
,
19335 &_swigt__p_wxGIFHandler
,
19336 &_swigt__p_wxGridBagSizer
,
19337 &_swigt__p_wxGridSizer
,
19338 &_swigt__p_wxHelpControllerBase
,
19339 &_swigt__p_wxHelpSearchMode
,
19340 &_swigt__p_wxHtmlBookRecArray
,
19341 &_swigt__p_wxHtmlBookRecord
,
19342 &_swigt__p_wxHtmlCell
,
19343 &_swigt__p_wxHtmlColourCell
,
19344 &_swigt__p_wxHtmlContainerCell
,
19345 &_swigt__p_wxHtmlDCRenderer
,
19346 &_swigt__p_wxHtmlEasyPrinting
,
19347 &_swigt__p_wxHtmlFilter
,
19348 &_swigt__p_wxHtmlFontCell
,
19349 &_swigt__p_wxHtmlHelpController
,
19350 &_swigt__p_wxHtmlHelpData
,
19351 &_swigt__p_wxHtmlHelpDialog
,
19352 &_swigt__p_wxHtmlHelpFrame
,
19353 &_swigt__p_wxHtmlHelpFrameCfg
,
19354 &_swigt__p_wxHtmlHelpWindow
,
19355 &_swigt__p_wxHtmlLinkInfo
,
19356 &_swigt__p_wxHtmlModalHelp
,
19357 &_swigt__p_wxHtmlParser
,
19358 &_swigt__p_wxHtmlPrintout
,
19359 &_swigt__p_wxHtmlRenderingInfo
,
19360 &_swigt__p_wxHtmlRenderingState
,
19361 &_swigt__p_wxHtmlRenderingStyle
,
19362 &_swigt__p_wxHtmlSearchStatus
,
19363 &_swigt__p_wxHtmlSelection
,
19364 &_swigt__p_wxHtmlTag
,
19365 &_swigt__p_wxHtmlTagHandler
,
19366 &_swigt__p_wxHtmlWidgetCell
,
19367 &_swigt__p_wxHtmlWinParser
,
19368 &_swigt__p_wxHtmlWindow
,
19369 &_swigt__p_wxHtmlWindowEvent
,
19370 &_swigt__p_wxHtmlWindowInterface
,
19371 &_swigt__p_wxHtmlWordCell
,
19372 &_swigt__p_wxICOHandler
,
19373 &_swigt__p_wxIconizeEvent
,
19374 &_swigt__p_wxIdleEvent
,
19375 &_swigt__p_wxImage
,
19376 &_swigt__p_wxImageHandler
,
19377 &_swigt__p_wxIndividualLayoutConstraint
,
19378 &_swigt__p_wxInitDialogEvent
,
19379 &_swigt__p_wxJPEGHandler
,
19380 &_swigt__p_wxKeyEvent
,
19381 &_swigt__p_wxLayoutAlgorithm
,
19382 &_swigt__p_wxLayoutConstraints
,
19383 &_swigt__p_wxMDIChildFrame
,
19384 &_swigt__p_wxMDIClientWindow
,
19385 &_swigt__p_wxMDIParentFrame
,
19386 &_swigt__p_wxMaximizeEvent
,
19388 &_swigt__p_wxMenuBar
,
19389 &_swigt__p_wxMenuEvent
,
19390 &_swigt__p_wxMenuItem
,
19391 &_swigt__p_wxMessageDialog
,
19392 &_swigt__p_wxMiniFrame
,
19393 &_swigt__p_wxMouseCaptureChangedEvent
,
19394 &_swigt__p_wxMouseEvent
,
19395 &_swigt__p_wxMoveEvent
,
19396 &_swigt__p_wxMultiChoiceDialog
,
19397 &_swigt__p_wxNavigationKeyEvent
,
19398 &_swigt__p_wxNcPaintEvent
,
19399 &_swigt__p_wxNotifyEvent
,
19400 &_swigt__p_wxObject
,
19401 &_swigt__p_wxPCXHandler
,
19402 &_swigt__p_wxPNGHandler
,
19403 &_swigt__p_wxPNMHandler
,
19404 &_swigt__p_wxPageSetupDialog
,
19405 &_swigt__p_wxPageSetupDialogData
,
19406 &_swigt__p_wxPaintEvent
,
19407 &_swigt__p_wxPaletteChangedEvent
,
19408 &_swigt__p_wxPanel
,
19409 &_swigt__p_wxPaperSize
,
19410 &_swigt__p_wxPasswordEntryDialog
,
19411 &_swigt__p_wxPoint
,
19412 &_swigt__p_wxPopupWindow
,
19413 &_swigt__p_wxPreviewCanvas
,
19414 &_swigt__p_wxPreviewControlBar
,
19415 &_swigt__p_wxPreviewFrame
,
19416 &_swigt__p_wxPrintData
,
19417 &_swigt__p_wxPrintDialog
,
19418 &_swigt__p_wxPrintDialogData
,
19419 &_swigt__p_wxPrintPreview
,
19420 &_swigt__p_wxPrinter
,
19421 &_swigt__p_wxProgressDialog
,
19422 &_swigt__p_wxPyApp
,
19423 &_swigt__p_wxPyCommandEvent
,
19424 &_swigt__p_wxPyEvent
,
19425 &_swigt__p_wxPyHtmlFilter
,
19426 &_swigt__p_wxPyHtmlListBox
,
19427 &_swigt__p_wxPyHtmlTagHandler
,
19428 &_swigt__p_wxPyHtmlWinTagHandler
,
19429 &_swigt__p_wxPyHtmlWindow
,
19430 &_swigt__p_wxPyImageHandler
,
19431 &_swigt__p_wxPyPanel
,
19432 &_swigt__p_wxPyPopupTransientWindow
,
19433 &_swigt__p_wxPyPreviewControlBar
,
19434 &_swigt__p_wxPyPreviewFrame
,
19435 &_swigt__p_wxPyPrintPreview
,
19436 &_swigt__p_wxPyPrintout
,
19437 &_swigt__p_wxPyScrolledWindow
,
19438 &_swigt__p_wxPySizer
,
19439 &_swigt__p_wxPyTaskBarIcon
,
19440 &_swigt__p_wxPyVListBox
,
19441 &_swigt__p_wxPyVScrolledWindow
,
19442 &_swigt__p_wxPyValidator
,
19443 &_swigt__p_wxPyWindow
,
19444 &_swigt__p_wxQueryLayoutInfoEvent
,
19445 &_swigt__p_wxQueryNewPaletteEvent
,
19446 &_swigt__p_wxSashEvent
,
19447 &_swigt__p_wxSashLayoutWindow
,
19448 &_swigt__p_wxSashWindow
,
19449 &_swigt__p_wxScrollEvent
,
19450 &_swigt__p_wxScrollWinEvent
,
19451 &_swigt__p_wxScrolledWindow
,
19452 &_swigt__p_wxSetCursorEvent
,
19453 &_swigt__p_wxShowEvent
,
19454 &_swigt__p_wxSingleChoiceDialog
,
19456 &_swigt__p_wxSizeEvent
,
19457 &_swigt__p_wxSizer
,
19458 &_swigt__p_wxSizerItem
,
19459 &_swigt__p_wxSplashScreen
,
19460 &_swigt__p_wxSplashScreenWindow
,
19461 &_swigt__p_wxSplitterEvent
,
19462 &_swigt__p_wxSplitterWindow
,
19463 &_swigt__p_wxStaticBoxSizer
,
19464 &_swigt__p_wxStatusBar
,
19465 &_swigt__p_wxStdDialogButtonSizer
,
19466 &_swigt__p_wxString
,
19467 &_swigt__p_wxSysColourChangedEvent
,
19468 &_swigt__p_wxTIFFHandler
,
19469 &_swigt__p_wxTaskBarIconEvent
,
19470 &_swigt__p_wxTextEntryDialog
,
19471 &_swigt__p_wxTipWindow
,
19472 &_swigt__p_wxTopLevelWindow
,
19473 &_swigt__p_wxTreeCtrl
,
19474 &_swigt__p_wxUpdateUIEvent
,
19475 &_swigt__p_wxValidator
,
19476 &_swigt__p_wxVisualAttributes
,
19477 &_swigt__p_wxWindow
,
19478 &_swigt__p_wxWindowCreateEvent
,
19479 &_swigt__p_wxWindowDestroyEvent
,
19480 &_swigt__p_wxXPMHandler
,
19483 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
19484 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
19485 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
19486 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
19487 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
19488 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
19489 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
19490 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
19491 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
19492 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
19493 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19494 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
19495 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
19496 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
19497 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19498 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19499 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19500 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19501 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19502 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
19503 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
19504 static swig_cast_info _swigc__p_wxConfigBase
[] = { {&_swigt__p_wxConfigBase
, 0, 0, 0},{0, 0, 0, 0}};
19505 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
19506 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
19507 static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle
[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle
, 0, 0, 0},{0, 0, 0, 0}};
19508 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
19509 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
19510 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
19511 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
19512 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19513 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19514 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19515 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
19516 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
19517 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
19518 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
19519 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
19520 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
19521 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19522 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19523 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
19524 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
19525 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19526 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
19527 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
19528 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
19529 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19530 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19531 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
19532 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
19533 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
19534 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19535 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
19536 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19537 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19538 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19539 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
19540 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
19541 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
19542 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
19543 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19544 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19545 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
19546 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
19547 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
19548 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
19549 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
19550 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
19551 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
19552 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
19553 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
19554 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
19555 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
19556 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
19557 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19558 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19559 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
19560 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
19561 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
19562 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
19563 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
19564 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
19565 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
19566 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19567 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
19568 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
19569 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
19570 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
19571 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
19572 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
19573 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
19574 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
19575 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
19576 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19577 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
19578 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
19579 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
19580 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
19581 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
19582 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
19583 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
19584 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}};
19585 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}};
19586 static swig_cast_info _swigc__p_wxHelpSearchMode
[] = { {&_swigt__p_wxHelpSearchMode
, 0, 0, 0},{0, 0, 0, 0}};
19587 static swig_cast_info _swigc__p_wxHtmlBookRecArray
[] = { {&_swigt__p_wxHtmlBookRecArray
, 0, 0, 0},{0, 0, 0, 0}};
19588 static swig_cast_info _swigc__p_wxHtmlBookRecord
[] = { {&_swigt__p_wxHtmlBookRecord
, 0, 0, 0},{0, 0, 0, 0}};
19589 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}};
19590 static swig_cast_info _swigc__p_wxHtmlColourCell
[] = { {&_swigt__p_wxHtmlColourCell
, 0, 0, 0},{0, 0, 0, 0}};
19591 static swig_cast_info _swigc__p_wxHtmlContainerCell
[] = { {&_swigt__p_wxHtmlContainerCell
, 0, 0, 0},{0, 0, 0, 0}};
19592 static swig_cast_info _swigc__p_wxHtmlDCRenderer
[] = { {&_swigt__p_wxHtmlDCRenderer
, 0, 0, 0},{0, 0, 0, 0}};
19593 static swig_cast_info _swigc__p_wxHtmlEasyPrinting
[] = { {&_swigt__p_wxHtmlEasyPrinting
, 0, 0, 0},{0, 0, 0, 0}};
19594 static swig_cast_info _swigc__p_wxHtmlFilter
[] = { {&_swigt__p_wxHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19595 static swig_cast_info _swigc__p_wxHtmlFontCell
[] = { {&_swigt__p_wxHtmlFontCell
, 0, 0, 0},{0, 0, 0, 0}};
19596 static swig_cast_info _swigc__p_wxHtmlHelpController
[] = { {&_swigt__p_wxHtmlHelpController
, 0, 0, 0},{0, 0, 0, 0}};
19597 static swig_cast_info _swigc__p_wxHtmlHelpData
[] = { {&_swigt__p_wxHtmlHelpData
, 0, 0, 0},{0, 0, 0, 0}};
19598 static swig_cast_info _swigc__p_wxHtmlHelpDialog
[] = { {&_swigt__p_wxHtmlHelpDialog
, 0, 0, 0},{0, 0, 0, 0}};
19599 static swig_cast_info _swigc__p_wxHtmlHelpFrame
[] = { {&_swigt__p_wxHtmlHelpFrame
, 0, 0, 0},{0, 0, 0, 0}};
19600 static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg
[] = { {&_swigt__p_wxHtmlHelpFrameCfg
, 0, 0, 0},{0, 0, 0, 0}};
19601 static swig_cast_info _swigc__p_wxHtmlHelpWindow
[] = { {&_swigt__p_wxHtmlHelpWindow
, 0, 0, 0},{0, 0, 0, 0}};
19602 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
19603 static swig_cast_info _swigc__p_wxHtmlModalHelp
[] = { {&_swigt__p_wxHtmlModalHelp
, 0, 0, 0},{0, 0, 0, 0}};
19604 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}};
19605 static swig_cast_info _swigc__p_wxHtmlPrintout
[] = { {&_swigt__p_wxHtmlPrintout
, 0, 0, 0},{0, 0, 0, 0}};
19606 static swig_cast_info _swigc__p_wxHtmlRenderingInfo
[] = { {&_swigt__p_wxHtmlRenderingInfo
, 0, 0, 0},{0, 0, 0, 0}};
19607 static swig_cast_info _swigc__p_wxHtmlRenderingState
[] = { {&_swigt__p_wxHtmlRenderingState
, 0, 0, 0},{0, 0, 0, 0}};
19608 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}};
19609 static swig_cast_info _swigc__p_wxHtmlSearchStatus
[] = { {&_swigt__p_wxHtmlSearchStatus
, 0, 0, 0},{0, 0, 0, 0}};
19610 static swig_cast_info _swigc__p_wxHtmlSelection
[] = { {&_swigt__p_wxHtmlSelection
, 0, 0, 0},{0, 0, 0, 0}};
19611 static swig_cast_info _swigc__p_wxHtmlTag
[] = { {&_swigt__p_wxHtmlTag
, 0, 0, 0},{0, 0, 0, 0}};
19612 static swig_cast_info _swigc__p_wxHtmlTagHandler
[] = { {&_swigt__p_wxHtmlTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19613 static swig_cast_info _swigc__p_wxHtmlWidgetCell
[] = { {&_swigt__p_wxHtmlWidgetCell
, 0, 0, 0},{0, 0, 0, 0}};
19614 static swig_cast_info _swigc__p_wxHtmlWinParser
[] = { {&_swigt__p_wxHtmlWinParser
, 0, 0, 0},{0, 0, 0, 0}};
19615 static swig_cast_info _swigc__p_wxHtmlWindow
[] = { {&_swigt__p_wxHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19616 static swig_cast_info _swigc__p_wxHtmlWindowEvent
[] = { {&_swigt__p_wxHtmlWindowEvent
, 0, 0, 0},{0, 0, 0, 0}};
19617 static swig_cast_info _swigc__p_wxHtmlWindowInterface
[] = { {&_swigt__p_wxHtmlWindowInterface
, 0, 0, 0},{0, 0, 0, 0}};
19618 static swig_cast_info _swigc__p_wxHtmlWordCell
[] = { {&_swigt__p_wxHtmlWordCell
, 0, 0, 0},{0, 0, 0, 0}};
19619 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
19620 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}};
19621 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
19622 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
19623 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
19624 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
19625 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
19626 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
19627 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19628 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
19629 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19630 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
19631 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
19632 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
19633 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
19634 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
19635 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19636 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
19637 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
19638 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19639 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19640 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
19641 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
19642 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
19643 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19644 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
19645 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
19646 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
19647 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19648 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19649 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19650 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
19651 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
19652 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
19653 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
19654 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
19655 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19656 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
19657 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
19658 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
19659 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
19660 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlFontCell
, _p_wxHtmlFontCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlTag
, _p_wxHtmlTagTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlFilter
, _p_wxPyHtmlFilterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting
, _p_wxHtmlEasyPrintingTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxHtmlParser
, _p_wxHtmlParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWinParser
, _p_wxHtmlWinParserTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWidgetCell
, _p_wxHtmlWidgetCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlPrintout
, _p_wxHtmlPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlContainerCell
, _p_wxHtmlContainerCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler
, _p_wxPyHtmlWinTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler
, _p_wxPyHtmlTagHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWindowEvent
, _p_wxHtmlWindowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpControllerBase
, _p_wxHelpControllerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlDCRenderer
, _p_wxHtmlDCRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlLinkInfo
, _p_wxHtmlLinkInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlHelpController
, _p_wxHtmlHelpControllerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlCell
, _p_wxHtmlCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlColourCell
, _p_wxHtmlColourCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHtmlWordCell
, _p_wxHtmlWordCellTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
19661 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
19662 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}};
19663 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
19664 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
19665 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
19666 static swig_cast_info _swigc__p_wxPyHtmlFilter
[] = { {&_swigt__p_wxPyHtmlFilter
, 0, 0, 0},{0, 0, 0, 0}};
19667 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}};
19668 static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler
[] = { {&_swigt__p_wxPyHtmlWinTagHandler
, 0, 0, 0},{0, 0, 0, 0}};
19669 static swig_cast_info _swigc__p_wxPyHtmlWindow
[] = { {&_swigt__p_wxPyHtmlWindow
, 0, 0, 0},{0, 0, 0, 0}};
19670 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}};
19671 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}};
19672 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
19673 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
19674 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
19675 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
19676 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
19677 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
19678 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpWindow
, _p_wxHtmlHelpWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlWindow
, _p_wxPyHtmlWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpFrame
, _p_wxHtmlHelpFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHtmlHelpDialog
, _p_wxHtmlHelpDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
19680 static swig_cast_info
*swig_cast_initial
[] = {
19683 _swigc__p_form_ops_t
,
19685 _swigc__p_unsigned_char
,
19686 _swigc__p_unsigned_int
,
19687 _swigc__p_unsigned_long
,
19688 _swigc__p_wxANIHandler
,
19689 _swigc__p_wxAcceleratorTable
,
19690 _swigc__p_wxActivateEvent
,
19691 _swigc__p_wxBMPHandler
,
19692 _swigc__p_wxBitmap
,
19693 _swigc__p_wxBoxSizer
,
19694 _swigc__p_wxCURHandler
,
19695 _swigc__p_wxCalculateLayoutEvent
,
19696 _swigc__p_wxChildFocusEvent
,
19697 _swigc__p_wxCloseEvent
,
19698 _swigc__p_wxColour
,
19699 _swigc__p_wxColourData
,
19700 _swigc__p_wxColourDialog
,
19701 _swigc__p_wxCommandEvent
,
19702 _swigc__p_wxConfigBase
,
19703 _swigc__p_wxContextMenuEvent
,
19704 _swigc__p_wxControl
,
19705 _swigc__p_wxControlWithItems
,
19706 _swigc__p_wxCursor
,
19708 _swigc__p_wxDateEvent
,
19709 _swigc__p_wxDefaultHtmlRenderingStyle
,
19710 _swigc__p_wxDialog
,
19711 _swigc__p_wxDirDialog
,
19712 _swigc__p_wxDisplayChangedEvent
,
19713 _swigc__p_wxDropFilesEvent
,
19714 _swigc__p_wxDuplexMode
,
19715 _swigc__p_wxEraseEvent
,
19717 _swigc__p_wxEvtHandler
,
19718 _swigc__p_wxFSFile
,
19719 _swigc__p_wxFileDialog
,
19720 _swigc__p_wxFileSystem
,
19721 _swigc__p_wxFindDialogEvent
,
19722 _swigc__p_wxFindReplaceData
,
19723 _swigc__p_wxFindReplaceDialog
,
19724 _swigc__p_wxFlexGridSizer
,
19725 _swigc__p_wxFocusEvent
,
19727 _swigc__p_wxFontData
,
19728 _swigc__p_wxFontDialog
,
19730 _swigc__p_wxGBSizerItem
,
19731 _swigc__p_wxGIFHandler
,
19732 _swigc__p_wxGridBagSizer
,
19733 _swigc__p_wxGridSizer
,
19734 _swigc__p_wxHelpControllerBase
,
19735 _swigc__p_wxHelpSearchMode
,
19736 _swigc__p_wxHtmlBookRecArray
,
19737 _swigc__p_wxHtmlBookRecord
,
19738 _swigc__p_wxHtmlCell
,
19739 _swigc__p_wxHtmlColourCell
,
19740 _swigc__p_wxHtmlContainerCell
,
19741 _swigc__p_wxHtmlDCRenderer
,
19742 _swigc__p_wxHtmlEasyPrinting
,
19743 _swigc__p_wxHtmlFilter
,
19744 _swigc__p_wxHtmlFontCell
,
19745 _swigc__p_wxHtmlHelpController
,
19746 _swigc__p_wxHtmlHelpData
,
19747 _swigc__p_wxHtmlHelpDialog
,
19748 _swigc__p_wxHtmlHelpFrame
,
19749 _swigc__p_wxHtmlHelpFrameCfg
,
19750 _swigc__p_wxHtmlHelpWindow
,
19751 _swigc__p_wxHtmlLinkInfo
,
19752 _swigc__p_wxHtmlModalHelp
,
19753 _swigc__p_wxHtmlParser
,
19754 _swigc__p_wxHtmlPrintout
,
19755 _swigc__p_wxHtmlRenderingInfo
,
19756 _swigc__p_wxHtmlRenderingState
,
19757 _swigc__p_wxHtmlRenderingStyle
,
19758 _swigc__p_wxHtmlSearchStatus
,
19759 _swigc__p_wxHtmlSelection
,
19760 _swigc__p_wxHtmlTag
,
19761 _swigc__p_wxHtmlTagHandler
,
19762 _swigc__p_wxHtmlWidgetCell
,
19763 _swigc__p_wxHtmlWinParser
,
19764 _swigc__p_wxHtmlWindow
,
19765 _swigc__p_wxHtmlWindowEvent
,
19766 _swigc__p_wxHtmlWindowInterface
,
19767 _swigc__p_wxHtmlWordCell
,
19768 _swigc__p_wxICOHandler
,
19769 _swigc__p_wxIconizeEvent
,
19770 _swigc__p_wxIdleEvent
,
19772 _swigc__p_wxImageHandler
,
19773 _swigc__p_wxIndividualLayoutConstraint
,
19774 _swigc__p_wxInitDialogEvent
,
19775 _swigc__p_wxJPEGHandler
,
19776 _swigc__p_wxKeyEvent
,
19777 _swigc__p_wxLayoutAlgorithm
,
19778 _swigc__p_wxLayoutConstraints
,
19779 _swigc__p_wxMDIChildFrame
,
19780 _swigc__p_wxMDIClientWindow
,
19781 _swigc__p_wxMDIParentFrame
,
19782 _swigc__p_wxMaximizeEvent
,
19784 _swigc__p_wxMenuBar
,
19785 _swigc__p_wxMenuEvent
,
19786 _swigc__p_wxMenuItem
,
19787 _swigc__p_wxMessageDialog
,
19788 _swigc__p_wxMiniFrame
,
19789 _swigc__p_wxMouseCaptureChangedEvent
,
19790 _swigc__p_wxMouseEvent
,
19791 _swigc__p_wxMoveEvent
,
19792 _swigc__p_wxMultiChoiceDialog
,
19793 _swigc__p_wxNavigationKeyEvent
,
19794 _swigc__p_wxNcPaintEvent
,
19795 _swigc__p_wxNotifyEvent
,
19796 _swigc__p_wxObject
,
19797 _swigc__p_wxPCXHandler
,
19798 _swigc__p_wxPNGHandler
,
19799 _swigc__p_wxPNMHandler
,
19800 _swigc__p_wxPageSetupDialog
,
19801 _swigc__p_wxPageSetupDialogData
,
19802 _swigc__p_wxPaintEvent
,
19803 _swigc__p_wxPaletteChangedEvent
,
19805 _swigc__p_wxPaperSize
,
19806 _swigc__p_wxPasswordEntryDialog
,
19808 _swigc__p_wxPopupWindow
,
19809 _swigc__p_wxPreviewCanvas
,
19810 _swigc__p_wxPreviewControlBar
,
19811 _swigc__p_wxPreviewFrame
,
19812 _swigc__p_wxPrintData
,
19813 _swigc__p_wxPrintDialog
,
19814 _swigc__p_wxPrintDialogData
,
19815 _swigc__p_wxPrintPreview
,
19816 _swigc__p_wxPrinter
,
19817 _swigc__p_wxProgressDialog
,
19819 _swigc__p_wxPyCommandEvent
,
19820 _swigc__p_wxPyEvent
,
19821 _swigc__p_wxPyHtmlFilter
,
19822 _swigc__p_wxPyHtmlListBox
,
19823 _swigc__p_wxPyHtmlTagHandler
,
19824 _swigc__p_wxPyHtmlWinTagHandler
,
19825 _swigc__p_wxPyHtmlWindow
,
19826 _swigc__p_wxPyImageHandler
,
19827 _swigc__p_wxPyPanel
,
19828 _swigc__p_wxPyPopupTransientWindow
,
19829 _swigc__p_wxPyPreviewControlBar
,
19830 _swigc__p_wxPyPreviewFrame
,
19831 _swigc__p_wxPyPrintPreview
,
19832 _swigc__p_wxPyPrintout
,
19833 _swigc__p_wxPyScrolledWindow
,
19834 _swigc__p_wxPySizer
,
19835 _swigc__p_wxPyTaskBarIcon
,
19836 _swigc__p_wxPyVListBox
,
19837 _swigc__p_wxPyVScrolledWindow
,
19838 _swigc__p_wxPyValidator
,
19839 _swigc__p_wxPyWindow
,
19840 _swigc__p_wxQueryLayoutInfoEvent
,
19841 _swigc__p_wxQueryNewPaletteEvent
,
19842 _swigc__p_wxSashEvent
,
19843 _swigc__p_wxSashLayoutWindow
,
19844 _swigc__p_wxSashWindow
,
19845 _swigc__p_wxScrollEvent
,
19846 _swigc__p_wxScrollWinEvent
,
19847 _swigc__p_wxScrolledWindow
,
19848 _swigc__p_wxSetCursorEvent
,
19849 _swigc__p_wxShowEvent
,
19850 _swigc__p_wxSingleChoiceDialog
,
19852 _swigc__p_wxSizeEvent
,
19854 _swigc__p_wxSizerItem
,
19855 _swigc__p_wxSplashScreen
,
19856 _swigc__p_wxSplashScreenWindow
,
19857 _swigc__p_wxSplitterEvent
,
19858 _swigc__p_wxSplitterWindow
,
19859 _swigc__p_wxStaticBoxSizer
,
19860 _swigc__p_wxStatusBar
,
19861 _swigc__p_wxStdDialogButtonSizer
,
19862 _swigc__p_wxString
,
19863 _swigc__p_wxSysColourChangedEvent
,
19864 _swigc__p_wxTIFFHandler
,
19865 _swigc__p_wxTaskBarIconEvent
,
19866 _swigc__p_wxTextEntryDialog
,
19867 _swigc__p_wxTipWindow
,
19868 _swigc__p_wxTopLevelWindow
,
19869 _swigc__p_wxTreeCtrl
,
19870 _swigc__p_wxUpdateUIEvent
,
19871 _swigc__p_wxValidator
,
19872 _swigc__p_wxVisualAttributes
,
19873 _swigc__p_wxWindow
,
19874 _swigc__p_wxWindowCreateEvent
,
19875 _swigc__p_wxWindowDestroyEvent
,
19876 _swigc__p_wxXPMHandler
,
19880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19882 static swig_const_info swig_const_table
[] = {
19883 {0, 0, 0, 0.0, 0, 0}};
19888 /* -----------------------------------------------------------------------------
19889 * Type initialization:
19890 * This problem is tough by the requirement that no dynamic
19891 * memory is used. Also, since swig_type_info structures store pointers to
19892 * swig_cast_info structures and swig_cast_info structures store pointers back
19893 * to swig_type_info structures, we need some lookup code at initialization.
19894 * The idea is that swig generates all the structures that are needed.
19895 * The runtime then collects these partially filled structures.
19896 * The SWIG_InitializeModule function takes these initial arrays out of
19897 * swig_module, and does all the lookup, filling in the swig_module.types
19898 * array with the correct data and linking the correct swig_cast_info
19899 * structures together.
19901 * The generated swig_type_info structures are assigned staticly to an initial
19902 * array. We just loop though that array, and handle each type individually.
19903 * First we lookup if this type has been already loaded, and if so, use the
19904 * loaded structure instead of the generated one. Then we have to fill in the
19905 * cast linked list. The cast data is initially stored in something like a
19906 * two-dimensional array. Each row corresponds to a type (there are the same
19907 * number of rows as there are in the swig_type_initial array). Each entry in
19908 * a column is one of the swig_cast_info structures for that type.
19909 * The cast_initial array is actually an array of arrays, because each row has
19910 * a variable number of columns. So to actually build the cast linked list,
19911 * we find the array of casts associated with the type, and loop through it
19912 * adding the casts to the list. The one last trick we need to do is making
19913 * sure the type pointer in the swig_cast_info struct is correct.
19915 * First off, we lookup the cast->type name to see if it is already loaded.
19916 * There are three cases to handle:
19917 * 1) If the cast->type has already been loaded AND the type we are adding
19918 * casting info to has not been loaded (it is in this module), THEN we
19919 * replace the cast->type pointer with the type pointer that has already
19921 * 2) If BOTH types (the one we are adding casting info to, and the
19922 * cast->type) are loaded, THEN the cast info has already been loaded by
19923 * the previous module so we just ignore it.
19924 * 3) Finally, if cast->type has not already been loaded, then we add that
19925 * swig_cast_info to the linked list (because the cast->type) pointer will
19927 * ----------------------------------------------------------------------------- */
19937 #define SWIGRUNTIME_DEBUG
19941 SWIG_InitializeModule(void *clientdata
) {
19943 swig_module_info
*module_head
;
19944 static int init_run
= 0;
19946 clientdata
= clientdata
;
19948 if (init_run
) return;
19951 /* Initialize the swig_module */
19952 swig_module
.type_initial
= swig_type_initial
;
19953 swig_module
.cast_initial
= swig_cast_initial
;
19955 /* Try and load any already created modules */
19956 module_head
= SWIG_GetModule(clientdata
);
19958 swig_module
.next
= module_head
->next
;
19959 module_head
->next
= &swig_module
;
19961 /* This is the first module loaded */
19962 swig_module
.next
= &swig_module
;
19963 SWIG_SetModule(clientdata
, &swig_module
);
19966 /* Now work on filling in swig_module.types */
19967 #ifdef SWIGRUNTIME_DEBUG
19968 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
19970 for (i
= 0; i
< swig_module
.size
; ++i
) {
19971 swig_type_info
*type
= 0;
19972 swig_type_info
*ret
;
19973 swig_cast_info
*cast
;
19975 #ifdef SWIGRUNTIME_DEBUG
19976 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
19979 /* if there is another module already loaded */
19980 if (swig_module
.next
!= &swig_module
) {
19981 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
19984 /* Overwrite clientdata field */
19985 #ifdef SWIGRUNTIME_DEBUG
19986 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
19988 if (swig_module
.type_initial
[i
]->clientdata
) {
19989 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
19990 #ifdef SWIGRUNTIME_DEBUG
19991 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
19995 type
= swig_module
.type_initial
[i
];
19998 /* Insert casting types */
19999 cast
= swig_module
.cast_initial
[i
];
20000 while (cast
->type
) {
20001 /* Don't need to add information already in the list */
20003 #ifdef SWIGRUNTIME_DEBUG
20004 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
20006 if (swig_module
.next
!= &swig_module
) {
20007 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
20008 #ifdef SWIGRUNTIME_DEBUG
20009 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
20013 if (type
== swig_module
.type_initial
[i
]) {
20014 #ifdef SWIGRUNTIME_DEBUG
20015 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
20020 /* Check for casting already in the list */
20021 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
20022 #ifdef SWIGRUNTIME_DEBUG
20023 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
20025 if (!ocast
) ret
= 0;
20030 #ifdef SWIGRUNTIME_DEBUG
20031 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
20034 type
->cast
->prev
= cast
;
20035 cast
->next
= type
->cast
;
20041 /* Set entry in modules->types array equal to the type */
20042 swig_module
.types
[i
] = type
;
20044 swig_module
.types
[i
] = 0;
20046 #ifdef SWIGRUNTIME_DEBUG
20047 printf("**** SWIG_InitializeModule: Cast List ******\n");
20048 for (i
= 0; i
< swig_module
.size
; ++i
) {
20050 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
20051 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
20052 while (cast
->type
) {
20053 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
20057 printf("---- Total casts: %d\n",j
);
20059 printf("**** SWIG_InitializeModule: Cast List ******\n");
20063 /* This function will propagate the clientdata field of type to
20064 * any new swig_type_info structures that have been added into the list
20065 * of equivalent types. It is like calling
20066 * SWIG_TypeClientData(type, clientdata) a second time.
20069 SWIG_PropagateClientData(void) {
20071 swig_cast_info
*equiv
;
20072 static int init_run
= 0;
20074 if (init_run
) return;
20077 for (i
= 0; i
< swig_module
.size
; i
++) {
20078 if (swig_module
.types
[i
]->clientdata
) {
20079 equiv
= swig_module
.types
[i
]->cast
;
20081 if (!equiv
->converter
) {
20082 if (equiv
->type
&& !equiv
->type
->clientdata
)
20083 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
20085 equiv
= equiv
->next
;
20105 /* Python-specific SWIG API */
20106 #define SWIG_newvarlink() SWIG_Python_newvarlink()
20107 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
20108 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
20110 /* -----------------------------------------------------------------------------
20111 * global variable support code.
20112 * ----------------------------------------------------------------------------- */
20114 typedef struct swig_globalvar
{
20115 char *name
; /* Name of global variable */
20116 PyObject
*(*get_attr
)(void); /* Return the current value */
20117 int (*set_attr
)(PyObject
*); /* Set the value */
20118 struct swig_globalvar
*next
;
20121 typedef struct swig_varlinkobject
{
20123 swig_globalvar
*vars
;
20124 } swig_varlinkobject
;
20126 SWIGINTERN PyObject
*
20127 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
20128 return PyString_FromString("<Swig global variables>");
20131 SWIGINTERN PyObject
*
20132 swig_varlink_str(swig_varlinkobject
*v
) {
20133 PyObject
*str
= PyString_FromString("(");
20134 swig_globalvar
*var
;
20135 for (var
= v
->vars
; var
; var
=var
->next
) {
20136 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
20137 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
20139 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
20144 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
20145 PyObject
*str
= swig_varlink_str(v
);
20146 fprintf(fp
,"Swig global variables ");
20147 fprintf(fp
,"%s\n", PyString_AsString(str
));
20153 swig_varlink_dealloc(swig_varlinkobject
*v
) {
20154 swig_globalvar
*var
= v
->vars
;
20156 swig_globalvar
*n
= var
->next
;
20163 SWIGINTERN PyObject
*
20164 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
20165 PyObject
*res
= NULL
;
20166 swig_globalvar
*var
= v
->vars
;
20168 if (strcmp(var
->name
,n
) == 0) {
20169 res
= (*var
->get_attr
)();
20174 if (res
== NULL
&& !PyErr_Occurred()) {
20175 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20181 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
20183 swig_globalvar
*var
= v
->vars
;
20185 if (strcmp(var
->name
,n
) == 0) {
20186 res
= (*var
->set_attr
)(p
);
20191 if (res
== 1 && !PyErr_Occurred()) {
20192 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
20197 SWIGINTERN PyTypeObject
*
20198 swig_varlink_type(void) {
20199 static char varlink__doc__
[] = "Swig var link object";
20200 static PyTypeObject varlink_type
;
20201 static int type_init
= 0;
20203 const PyTypeObject tmp
20205 PyObject_HEAD_INIT(NULL
)
20206 0, /* Number of items in variable part (ob_size) */
20207 (char *)"swigvarlink", /* Type name (tp_name) */
20208 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
20209 0, /* Itemsize (tp_itemsize) */
20210 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
20211 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
20212 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
20213 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
20214 0, /* tp_compare */
20215 (reprfunc
) swig_varlink_repr
, /* tp_repr */
20216 0, /* tp_as_number */
20217 0, /* tp_as_sequence */
20218 0, /* tp_as_mapping */
20221 (reprfunc
)swig_varlink_str
, /* tp_str */
20222 0, /* tp_getattro */
20223 0, /* tp_setattro */
20224 0, /* tp_as_buffer */
20226 varlink__doc__
, /* tp_doc */
20227 0, /* tp_traverse */
20229 0, /* tp_richcompare */
20230 0, /* tp_weaklistoffset */
20231 #if PY_VERSION_HEX >= 0x02020000
20232 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
20234 #if PY_VERSION_HEX >= 0x02030000
20237 #ifdef COUNT_ALLOCS
20238 0,0,0,0 /* tp_alloc -> tp_next */
20241 varlink_type
= tmp
;
20242 varlink_type
.ob_type
= &PyType_Type
;
20245 return &varlink_type
;
20248 /* Create a variable linking object for use later */
20249 SWIGINTERN PyObject
*
20250 SWIG_Python_newvarlink(void) {
20251 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
20255 return ((PyObject
*) result
);
20259 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
20260 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
20261 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
20263 size_t size
= strlen(name
)+1;
20264 gv
->name
= (char *)malloc(size
);
20266 strncpy(gv
->name
,name
,size
);
20267 gv
->get_attr
= get_attr
;
20268 gv
->set_attr
= set_attr
;
20269 gv
->next
= v
->vars
;
20275 SWIGINTERN PyObject
*
20277 static PyObject
*_SWIG_globals
= 0;
20278 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
20279 return _SWIG_globals
;
20282 /* -----------------------------------------------------------------------------
20283 * constants/methods manipulation
20284 * ----------------------------------------------------------------------------- */
20286 /* Install Constants */
20288 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
20291 for (i
= 0; constants
[i
].type
; ++i
) {
20292 switch(constants
[i
].type
) {
20293 case SWIG_PY_POINTER
:
20294 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
20296 case SWIG_PY_BINARY
:
20297 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
20304 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
20310 /* -----------------------------------------------------------------------------*/
20311 /* Fix SwigMethods to carry the callback ptrs when needed */
20312 /* -----------------------------------------------------------------------------*/
20315 SWIG_Python_FixMethods(PyMethodDef
*methods
,
20316 swig_const_info
*const_table
,
20317 swig_type_info
**types
,
20318 swig_type_info
**types_initial
) {
20320 for (i
= 0; methods
[i
].ml_name
; ++i
) {
20321 char *c
= methods
[i
].ml_doc
;
20322 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
20324 swig_const_info
*ci
= 0;
20325 char *name
= c
+ 10;
20326 for (j
= 0; const_table
[j
].type
; ++j
) {
20327 if (strncmp(const_table
[j
].name
, name
,
20328 strlen(const_table
[j
].name
)) == 0) {
20329 ci
= &(const_table
[j
]);
20334 size_t shift
= (ci
->ptype
) - types
;
20335 swig_type_info
*ty
= types_initial
[shift
];
20336 size_t ldoc
= (c
- methods
[i
].ml_doc
);
20337 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
20338 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
20341 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
20343 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
20345 strncpy(buff
, "swig_ptr: ", 10);
20347 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
20348 methods
[i
].ml_doc
= ndoc
;
20360 /* -----------------------------------------------------------------------------*
20361 * Partial Init method
20362 * -----------------------------------------------------------------------------*/
20367 SWIGEXPORT
void SWIG_init(void) {
20370 /* Fix SwigMethods to carry the callback ptrs when needed */
20371 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
20373 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
20374 d
= PyModule_GetDict(m
);
20376 SWIG_InitializeModule(0);
20377 SWIG_InstallConstants(d
,swig_const_table
);
20380 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
20381 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get
, HtmlWindowNameStr_set
);
20382 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get
, HtmlPrintoutTitleStr_set
);
20383 SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get
, HtmlPrintingTitleStr_set
);
20384 SWIG_Python_SetConstant(d
, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT
)));
20385 SWIG_Python_SetConstant(d
, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER
)));
20386 SWIG_Python_SetConstant(d
, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT
)));
20387 SWIG_Python_SetConstant(d
, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM
)));
20388 SWIG_Python_SetConstant(d
, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP
)));
20389 SWIG_Python_SetConstant(d
, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND
)));
20390 SWIG_Python_SetConstant(d
, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND
)));
20391 SWIG_Python_SetConstant(d
, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS
)));
20392 SWIG_Python_SetConstant(d
, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT
)));
20393 SWIG_Python_SetConstant(d
, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT
)));
20394 SWIG_Python_SetConstant(d
, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT
)));
20395 SWIG_Python_SetConstant(d
, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP
)));
20396 SWIG_Python_SetConstant(d
, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM
)));
20397 SWIG_Python_SetConstant(d
, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL
)));
20398 SWIG_Python_SetConstant(d
, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL
)));
20399 SWIG_Python_SetConstant(d
, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL
)));
20400 SWIG_Python_SetConstant(d
, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR
)));
20401 SWIG_Python_SetConstant(d
, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP
)));
20402 SWIG_Python_SetConstant(d
, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER
)));
20403 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_1",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_1
)));
20404 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_2",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_2
)));
20405 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_3",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_3
)));
20406 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_4",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_4
)));
20407 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_5",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_5
)));
20408 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_6",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_6
)));
20409 SWIG_Python_SetConstant(d
, "HTML_FONT_SIZE_7",SWIG_From_int(static_cast< int >(wxHTML_FONT_SIZE_7
)));
20410 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER
)));
20411 SWIG_Python_SetConstant(d
, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO
)));
20412 SWIG_Python_SetConstant(d
, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION
)));
20413 SWIG_Python_SetConstant(d
, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE
)));
20414 SWIG_Python_SetConstant(d
, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN
)));
20415 SWIG_Python_SetConstant(d
, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK
)));
20416 SWIG_Python_SetConstant(d
, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT
)));
20417 SWIG_Python_SetConstant(d
, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE
)));
20418 SWIG_Python_SetConstant(d
, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE
)));
20419 SWIG_Python_SetConstant(d
, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER
)));
20420 SWIG_Python_SetConstant(d
, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT
)));
20421 SWIG_Python_SetConstant(d
, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN
)));
20422 SWIG_Python_SetConstant(d
, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING
)));
20423 SWIG_Python_SetConstant(d
, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT
)));
20424 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE
)));
20425 SWIG_Python_SetConstant(d
, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER
)));
20426 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default
)));
20427 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link
)));
20428 SWIG_Python_SetConstant(d
, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text
)));
20429 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default
)));
20430 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link
)));
20431 SWIG_Python_SetConstant(d
, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text
)));
20432 SWIG_Python_SetConstant(d
, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD
)));
20433 SWIG_Python_SetConstant(d
, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN
)));
20434 SWIG_Python_SetConstant(d
, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL
)));
20435 SWIG_Python_SetConstant(d
, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR
)));
20436 SWIG_Python_SetConstant(d
, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS
)));
20437 SWIG_Python_SetConstant(d
, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX
)));
20438 SWIG_Python_SetConstant(d
, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH
)));
20439 SWIG_Python_SetConstant(d
, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS
)));
20440 SWIG_Python_SetConstant(d
, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES
)));
20441 SWIG_Python_SetConstant(d
, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT
)));
20442 SWIG_Python_SetConstant(d
, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR
)));
20443 SWIG_Python_SetConstant(d
, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS
)));
20444 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK
)));
20445 SWIG_Python_SetConstant(d
, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER
)));
20446 SWIG_Python_SetConstant(d
, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER
)));
20447 SWIG_Python_SetConstant(d
, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE
)));
20448 SWIG_Python_SetConstant(d
, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED
)));
20449 SWIG_Python_SetConstant(d
, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG
)));
20450 SWIG_Python_SetConstant(d
, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME
)));
20451 SWIG_Python_SetConstant(d
, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL
)));
20452 SWIG_Python_SetConstant(d
, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL
)));
20453 SWIG_Python_SetConstant(d
, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK
)));
20454 SWIG_Python_SetConstant(d
, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD
)));
20455 SWIG_Python_SetConstant(d
, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE
)));
20456 SWIG_Python_SetConstant(d
, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP
)));
20457 SWIG_Python_SetConstant(d
, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN
)));
20458 SWIG_Python_SetConstant(d
, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT
)));
20459 SWIG_Python_SetConstant(d
, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE
)));
20460 SWIG_Python_SetConstant(d
, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS
)));
20461 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST
)));
20462 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD
)));
20463 SWIG_Python_SetConstant(d
, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE
)));
20464 SWIG_Python_SetConstant(d
, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL
)));
20465 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE
)));
20466 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST
)));
20467 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT
)));
20468 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON
)));
20469 SWIG_Python_SetConstant(d
, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL
)));
20470 SWIG_Python_SetConstant(d
, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK
)));
20471 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE
)));
20472 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT
)));
20473 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST
)));
20474 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON
)));
20475 SWIG_Python_SetConstant(d
, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE
)));
20476 SWIG_Python_SetConstant(d
, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO
)));
20478 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
20479 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
20480 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
20481 wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter");